At GitHub - exergy-connect/xYang.mojo: Mojo version of the xYang Python library, supporting a subset of YANG constructs for document validation · GitHub I have narrowed things down to 2 cases:
-
A test that reproduces a bug: xYang.mojo/tests/crash/test.mojo at main · exergy-connect/xYang.mojo · GitHub
-
A test that “fixes” the bug by including a subset of Structs used in a standalone single file: xYang.mojo/tests/crash/test_fixed.mojo at main · exergy-connect/xYang.mojo · GitHub
(2) is a standalone version of (1). I cannot build a binary for (1) because the compiler crashes:
jeroen@j:~/Projects/xYang.mojo$ pixi run mojo build -I. tests/crash/test.mojo -o test
Please submit a bug report to GitHub · Where software is built and include the crash backtrace along with all the relevant source codes.
[336314:336315:20260315,090712.203029:ERROR directory_reader_posix.cc:42] opendir /home/jeroen/Projects/xYang.mojo/.pixi/envs/default/share/max/crashdb/attachments/87c2293c-626b-42a0-b9c5-3cb920499f4c: No such file or directory (2)
The crash dump file exists at …/completed/, not ../attachments/
Mojo 0.26.1.0 (156d3ac6)