Segfault in libQt6Widgets.so.6 (all Qt libs installed properly)

Steps to reproduce

I am not sure if it is possible to reproduce. The program was working just fine yesterday. Which is why I am quite hesitant on filing this report, cause I am reluctant to believe it really is a bug in glaxnimate, but I am really stuck on this. I really like this program and want to see this improve.

  • Open Glaxnimate
  • Wait for window to open after splash screen
  • Crash!

Result

I expected the program to open normally. What actually happened was the program suddenly crashed with a segfault. After opening the program in gdb I found that it crashes with a segfault in libQt6Widgets.so.6. I tried to build it from sources and see if that would work but it yielded the same result. I ran the sources bin through gdb and it showed me the crash happening in src/gui/main.cpp at line 102. I have Qt6 installed properly. I am able to run other Qt applications just fine. I even tried to update my system, libraries, and glaxnimate etc with no luck. I did nothing differently between yesterday and today. I even restarted my system. I am completely lost on this. I hope this information is enough to try to get something done from it. I was also unfortunately unable to find reproducible steps. I am not experienced enough with Qt to know where to even begin. I did a lot of googling and still could not find anything on this. I was hoping maybe this has been experienced before here, and if not, then I don't know.

While writing this I decided to do a bit more investigating: I used my development tools in VS Code and I found that it actually crashes inside of Qt6 in QLayoutPrivate::doResize, with the last in-project function on the stack to be in external/QtAppSetup/src/app/appliation.cpp in function app:Application::notify on line 102, where on line 105, QApplication::notify is called. The last known function on the stack was in QLayoutPrivate::doResize. The stacktrace actually has another call after it but I was unable to locate it in the debugger. I am not sure if this is a Qt bug or not, or if this is just human error (on my part). I have done everything that I could think of.

Version

Arch Linux with both glaxnimate versions glaxnimate 0.5.2-6-g09923d6f (AUR) and 0.5.2-47-g83744da2.

I really wish I could help further and provide some kind of reproducible example, but I am just not experienced enough with Qt or this code base to know how.