Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on launch #4

Closed
Moarkill opened this issue May 20, 2024 · 6 comments
Closed

Crash on launch #4

Moarkill opened this issue May 20, 2024 · 6 comments

Comments

@Moarkill
Copy link

Launching the app results in a window opening but crashing directly afterwards. Output:
Failed to create the rml daxa raster pipeline. This should never happen, contact Gabe Rundlett
terminate called without an active exception
Aborted

App version: 0.4.1

I run ElementaryOS with spec:
Intel CPU, nvidia RTX gpu, 64GB RAM

Let me know if I can provide any more relevant information.

@RedNicStone
Copy link
Contributor

I can confirm this issue on fedora 39 with the 0.4.1 linux build.
The issue only seems to occur when running the application from a directory that is lower than the packaged directory.

@RedNicStone
Copy link
Contributor

@GabeRundlett The issue is this commit that changed the behavior of get_resource_dir for non-appimage builds.

When not building for appimage packaging the directory containing the binary should be returned, not an empty string. Either revert this change or modify the function to always return the directory containing the binary when not building for appimage packaging.

@GabeRundlett
Copy link
Owner

Thanks MoarKill and RedNicStone, I'll look at it in a few minutes

@GabeRundlett
Copy link
Owner

@Moarkill Can you confirm the app works when opening it with the cwd inside the folder that the executable is in? This is the intended behavior. I am not familiar with creating installers on Linux. RedNicStone and I tried before but didn't manage to make it work properly.

@Moarkill
Copy link
Author

Yes it works from the same dir 👍

@GabeRundlett
Copy link
Owner

Alright. I will make a new release (0.4.2) with the changes that RedNic had, which will allow you to run from any directory and close this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants