-
Notifications
You must be signed in to change notification settings - Fork 35
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
Crashes on Ubuntu 22.04 #38
Comments
I have the same experience. Ubuntu 22.04, instant crash on startup with a message of "aborted (core dumped)". |
I also got a core dump at boot. Recompiled with debug symbols (
|
Most probable cause of this is supported OpenGL version is less than required, which will cause a nullpointer dereference in the projectM library as of now. If you could compile both libprojectM and projectMSDL in debug mode (use |
I've fixed some possible string constructions using Also note that libprojectM has seen some recent commits that will break the SDL app build, as the API changed. To mitigate this and have all recent fixes before the incompatible changes, check out commit 44f51f9f of the library. |
While I'm refactoring the core library API, it will receive a callback to report any fatal errors happening while starting or rendering. This will also enable the library to throw an exception in case the shader level isn't high enough or other initializations fail, not crashing immediately. After the changes are done, I'll update the issue here and then you might check again if the above mentioned crashes still happen. |
Many changes were implemented in libprojectM and the SDL2 app since this bug was opened. If anyone cares to check again if the issue prevails, that'd be great! |
Hi - have built successfully on Ubuntu 22.04 but running from command line with --presetPath set to the projectm 'test' presets (or in fact any preset folder) results in a crash every time.
Running it through gdb gives the below. It's far beyond my level of understanding to figure out what's going on here though - hope it makes sense to someone on the team!
Thread 1 "projectMSDL" received signal SIGSEGV, Segmentation fault.
0x00007ffff48baf43 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
The text was updated successfully, but these errors were encountered: