xentropy
xentropy
MModular
Created by xentropy on 8/27/2024 in #questions
mojo-lsp-server crashing
Still crashing. Tried the latest nightly today.
35 replies
MModular
Created by xentropy on 8/27/2024 in #questions
mojo-lsp-server crashing
I just gave the last 15 lines
35 replies
MModular
Created by xentropy on 8/27/2024 in #questions
mojo-lsp-server crashing
Would it help if I gave a more complete log?
35 replies
MModular
Created by xentropy on 8/27/2024 in #questions
mojo-lsp-server crashing
awesome!
35 replies
MModular
Created by xentropy on 8/27/2024 in #questions
mojo-lsp-server crashing
I'm running WSL2 with Ubuntu and that whole cpufreq path is missing.
35 replies
MModular
Created by xentropy on 8/27/2024 in #questions
mojo-lsp-server crashing
Looks like it's still trying to access this non-existent file: /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
35 replies
MModular
Created by xentropy on 8/27/2024 in #questions
mojo-lsp-server crashing
35 replies
MModular
Created by xentropy on 8/27/2024 in #questions
mojo-lsp-server crashing
I'll check and let you know.
35 replies
MModular
Created by xentropy on 8/27/2024 in #questions
mojo-lsp-server crashing
perhaps it is trying to throttle itself from using too much cpu
35 replies
MModular
Created by xentropy on 8/27/2024 in #questions
mojo-lsp-server crashing
that file is not implemented for me in WSL2
35 replies
MModular
Created by xentropy on 8/27/2024 in #questions
mojo-lsp-server crashing
The best info I can give you is it is crashing because it tries to open this: /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
35 replies
MModular
Created by xentropy on 8/27/2024 in #questions
mojo-lsp-server crashing
yeah it's kind of dynamic. I can't just do it with a certain code snippet. I have to produce a lot of errors pretty quickly
35 replies
MModular
Created by xentropy on 8/27/2024 in #questions
mojo-lsp-server crashing
Let me try
35 replies
MModular
Created by xentropy on 8/27/2024 in #questions
mojo-lsp-server crashing
Well, that's tricky because it's not just one code snippet. It's kind of as a2svior described.
35 replies
MModular
Created by xentropy on 8/27/2024 in #questions
mojo-lsp-server crashing
What OS are you using?
35 replies
MModular
Created by xentropy on 8/27/2024 in #questions
mojo-lsp-server crashing
Yep same behavior for me.
35 replies
MModular
Created by xentropy on 8/27/2024 in #questions
mojo-lsp-server crashing
From what I just found in a quick search, could be related to WSL2 or Hyper-V
35 replies
MModular
Created by xentropy on 8/27/2024 in #questions
mojo-lsp-server crashing
Looks like the issue is related to /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
35 replies
MModular
Created by xentropy on 8/27/2024 in #questions
mojo-lsp-server crashing
[ERROR][2024-08-27 15:40:05] .../vim/lsp/rpc.lua:770 "rpc" "/home/xentropy/.modular/pkg/packages.modular.com_max/bin/mojo-lsp-server" "stderr" "[18617:18617:20240827,154005.398678:ERROR file_io_posix.cc:144] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory (2)\n[18617:18617:20240827,154005.398728:ERROR file_io_posix.cc:144] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file or directory (2)\n"
[ERROR][2024-08-27 15:40:05] .../vim/lsp/rpc.lua:770 "rpc" "/home/xentropy/.modular/pkg/packages.modular.com_max/bin/mojo-lsp-server" "stderr" "Please submit a bug report to https://github.com/modularml/mojo/issues and include the crash backtrace along with all the relevant source codes with the contents they had at crash time.\n"
[ERROR][2024-08-27 15:40:05] .../vim/lsp/rpc.lua:770 "rpc" "/home/xentropy/.modular/pkg/packages.modular.com_max/bin/mojo-lsp-server" "stderr" "[18617:18617:20240827,154005.398678:ERROR file_io_posix.cc:144] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory (2)\n[18617:18617:20240827,154005.398728:ERROR file_io_posix.cc:144] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file or directory (2)\n"
[ERROR][2024-08-27 15:40:05] .../vim/lsp/rpc.lua:770 "rpc" "/home/xentropy/.modular/pkg/packages.modular.com_max/bin/mojo-lsp-server" "stderr" "Please submit a bug report to https://github.com/modularml/mojo/issues and include the crash backtrace along with all the relevant source codes with the contents they had at crash time.\n"
35 replies
MModular
Created by xentropy on 8/9/2024 in #questions
Is this broken or is it me? Parameterized function alias...
gotcha. so what I'm trying to do is fundamentally incorrect.
15 replies