You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[49200:49200:20240515,120325.643597:ERROR file_io_posix.cc:144] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory (2)
[49200:49200:20240515,120325.643646:ERROR file_io_posix.cc:144] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file or directory (2)
Please submit a bug report to https://github.com/modularml/mojo/issues and include the crash backtrace along with all the relevant source codes.
[49200:49201:20240515,120325.644407:ERROR directory_reader_posix.cc:42] opendir /home/haislich/.modular/crashdb/attachments/cf926f79-6998-415a-af3c-ba615ad60a81: No such file or directory (2)
#0 0x0000556f85446d57 (/home/haislich/.modular/pkg/packages.modular.com_nightly_mojo/bin/mojo+0x1291d57)#1 0x0000556f85444bae (/home/haislich/.modular/pkg/packages.modular.com_nightly_mojo/bin/mojo+0x128fbae)#2 0x0000556f854473ef (/home/haislich/.modular/pkg/packages.modular.com_nightly_mojo/bin/mojo+0x12923ef)#3 0x00007f71db0c3520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)#4 0x0000556f85de7286 (/home/haislich/.modular/pkg/packages.modular.com_nightly_mojo/bin/mojo+0x1c32286)#5 0x0000556f86740b23 (/home/haislich/.modular/pkg/packages.modular.com_nightly_mojo/bin/mojo+0x258bb23)#6 0x0000556f8673bb38 (/home/haislich/.modular/pkg/packages.modular.com_nightly_mojo/bin/mojo+0x2586b38)#7 0x0000556f86b3aef3 (/home/haislich/.modular/pkg/packages.modular.com_nightly_mojo/bin/mojo+0x2985ef3)#8 0x0000556f86b3e9fa (/home/haislich/.modular/pkg/packages.modular.com_nightly_mojo/bin/mojo+0x29899fa)#9 0x0000556f85e2fa40 (/home/haislich/.modular/pkg/packages.modular.com_nightly_mojo/bin/mojo+0x1c7aa40)#10 0x0000556f858fb6ed (/home/haislich/.modular/pkg/packages.modular.com_nightly_mojo/bin/mojo+0x17466ed)#11 0x0000556f85e2f670 (/home/haislich/.modular/pkg/packages.modular.com_nightly_mojo/bin/mojo+0x1c7a670)#12 0x0000556f85e2f260 (/home/haislich/.modular/pkg/packages.modular.com_nightly_mojo/bin/mojo+0x1c7a260)#13 0x0000556f86c0c3c2 (/home/haislich/.modular/pkg/packages.modular.com_nightly_mojo/bin/mojo+0x2a573c2)#14 0x0000556f86c0c26a (/home/haislich/.modular/pkg/packages.modular.com_nightly_mojo/bin/mojo+0x2a5726a)#15 0x00007f71db3a8253 (/lib/x86_64-linux-gnu/libstdc++.so.6+0xdc253)#16 0x00007f71db115ac3 (/lib/x86_64-linux-gnu/libc.so.6+0x94ac3)#17 0x00007f71db1a7850 (/lib/x86_64-linux-gnu/libc.so.6+0x126850)
mojo crashed!
Please file a bug report.
Segmentation fault
System information
- What OS did you do install Mojo on ?
Ubuntu running on wsl2
> Linux Spotto 5.15.146.1-microsoft-standard-WSL2 #1 SMP Thu Jan 11 04:09:03 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux> Versione WSL: 2.1.5.0
> Versione kernel: 5.15.146.1-2
> Versione WSLg: 1.0.60
> Versione MSRDC: 1.2.5105
> Versione Direct3D: 1.611.1-81528511
> Versione DXCore: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
> Versione di Windows: 10.0.22631.3527
- Provide version information for Mojo by pasting the output of `mojo -v`> mojo 2024.5.1413 (8aa90515)
- Provide Modular CLI version by pasting the output of `modular -v`> modular 0.8.0 (39a426b5)
The text was updated successfully, but these errors were encountered:
In the latest nightly the error is a bit better but still doesn't parse:
error: TODO: partial application of member methods is not yet supported
if c.value == NoneType:
^
mojo: error: failed to parse the provided Mojo source module
Bug description
I was trying to understand how
Optional
works on mojo and got the formatter to crash.Steps to reproduce
Simply calling run on the playground caused:
The output on my local machine is the following:
System information
The text was updated successfully, but these errors were encountered: