qmmp package and the AUR qmmp-svn package. The result was identical.[alex@alex-pc ~]$ gdb -ex run -ex bt -ex quit --args qmmp
GNU gdb (GDB) 11.1
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from qmmp...
(No debugging symbols found in qmmp)
Starting program: /usr/bin/qmmp
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7ffff2999640 (LWP 246581)]
Thread 1 "qmmp" received signal SIGSEGV, Segmentation fault.
0x00007ffff656ac70 in vtable for __cxxabiv1::__si_class_type_info () from /usr/lib/libstdc++.so.6
#0 0x00007ffff656ac70 in vtable for __cxxabiv1::__si_class_type_info ()
at /usr/lib/libstdc++.so.6
#1 0x00007ffff71d6a64 in QGnomeTheme::font(QPlatformTheme::Font) const ()
at /usr/lib/libQt6Gui.so.6
#2 0x00007ffff7513b4e in QApplicationPrivate::basePalette() const ()
--Type <RET> for more, q to quit, c to continue without paging--
at /usr/lib/libQt6Widgets.so.6
#3 0x00007ffff6d00508 in QGuiApplicationPrivate::setPalette(QPalette const&)
() at /usr/lib/libQt6Gui.so.6
#4 0x00007ffff6d005d5 in QGuiApplicationPrivate::updatePalette() ()
at /usr/lib/libQt6Gui.so.6
#5 0x00007ffff6d09353 in QGuiApplicationPrivate::init() ()
at /usr/lib/libQt6Gui.so.6
#6 0x00007ffff751c0ba in QApplicationPrivate::init() ()
at /usr/lib/libQt6Widgets.so.6
#7 0x000055555555a254 in ()
#8 0x00007ffff61a3b25 in __libc_start_main () at /usr/lib/libc.so.6
#9 0x000055555555a96e in ()
A debugging session is active.
Inferior 1 [process 246577] will be killed.
Quit anyway? (y or n) y
[alex@alex-pc ~]$
I am willing and able to provide any further information and/or files requested, and execute any commands requested on my machine. I do not know what information would be helpful.
Thank you for reading this and considering this issue.
How do I change the "type" of this ticket? It should say "defect", not "review". This is a defect in the program preventing me from running it, not a review. I can't see an "edit" button.
Ok. please show "export" output. I'll try to reproduce this issue.
I posted the output of the
exportcommand, but it says "Post awaiting moderation." instead. It seems this moderation is not automatic. From research, it sounds like the project administrator can accept the comment.Are your using qt6gtk2 style/platform plugin?
Yes. I have both qt5gtk2 and qt6gtk2 installed, to fix the issues with Qt programs having weird theming.
Try to recompile or remove qt6gtk2. For test purposes.
I recompiled qt6gtk2 using
yay -S qt6gtk2and pressing "A" when asked "Packages to cleanBuild?". After doing so, qmmp now runs without segfaulting. Thank you!I wonder why this happened and why it didn't affect any other software I use, including various KDE programs which also use Qt. Is there anything that should be changed in qmmp to improve the situation so this can't happen to others who haven't rebuilt qt6gtk2 lately, or should this ticket be closed instead?
qt6gtk2 uses private Qt headers and should be recompiled after each Qt upgrade. Qmmp gets system font from platform plugin and crashes more often. To solve this problem, I'll try to add some checks for binary compatibility to the qt6gtk2 and qt6ct.
Fixed by this commit: https://github.com/trialuser02/qt6gtk2/commit/a34df90780e695ccb35788f3311caeff61c22a70