hexops / mach

zig game engine & graphics toolkit
https://machengine.org
Other
3.32k stars 159 forks source link

core: mach triangle example project segfaults (PopOS) #1232

Open wsdevv opened 3 months ago

wsdevv commented 3 months ago

(can expand on anything if you'd like. However the error is very obscure, so I'm not sure how helpful this report will be :/ ) Hardware:

Software:

The problem: After a few seconds of running the triangle-shader example project with zig version 0.13.0-dev.351+64ef45eb0 (latest mach version), the program segfaults with the following message

Segmentation fault at address 0x0
???:?:?: 0x7e91acda7db1 in ??? (libvulkan_intel.so)
Unwind information for "libvulkan_intel.so:0x7e91acda7db1" was not available, trace may be incomplete

run
└─ run {project-name} failure
error: the following command terminated unexpectedly:
/home/{user}/Documents/{project-name}/zig-out/bin/{project-name}
Build Summary: 34/36 steps succeeded; 1 failed (disable with --summary none)
run transitive failure
└─ run {project-name} failure
error: the following build command failed with exit code 1:
/home/{user}/Documents/{project-name}/.zig-cache/o/df0ae361e441204d340ce80a2e5a7aff/build /home/{user}/zig/0.13.0-dev.351+64ef45eb0/files/zig /home/{user}/Documents/{project-name} /home/{user}/Documents/{project-name}/.zig-cache /home/{user}/.cache/zig --seed 0x9c5994d9 -Z8982752a60a55545 run
RonaldZielaznicki commented 5 days ago

@wsdevv Would you be able to verify that this issue is fixed after https://github.com/hexops/mach/pull/1289?