Crashing When System Tray Icon Disabled
-
Strawberry crashes/exits when "Show System Tray Icon" is disabled. First, it exits when I apply that setting. Then it will exit whenever I try to add a file/folder to the playlist.
I'm hesitant to file a bug, since:
- Even when running in terminal with --verbose, I don't see any errors or segfaults.
- I'm not sure if it's an issue with strawberry or something in Debian/KDE6
- It's easy to work around by setting the tray to hide the icon, instead of disabling it in strawberry.
I'm curious if anyone else has encountered this. I'd guess it's been happening to me for about a month.
EDIT: I build strawberry myself from git master on Debian unstable.
-
@idontknow
I tested it and it crashed the first time, but I'm unable to reproduce the crash, if you can reproduce it, can you do a backtrace of the crash: -
bt doesn't seem to be working.
(gdb) run Starting program: /usr/local/bin/strawberry [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". 16:56:45.729 INFO main:173 Strawberry 1.2.0-36-g4b551505 Qt "6.6.2" 16:56:45.729 INFO main:174 "Debian GNU/Linux trixie/sid unknown - (linux 6.10.11-1-siduction-amd64) [x86_64]" [New Thread 0x7fffef4006c0 (LWP 268055)] [New Thread 0x7fffeea006c0 (LWP 268056)] [New Thread 0x7fffd6e006c0 (LWP 268057)] [New Thread 0x7fffd64006c0 (LWP 268058)] [New Thread 0x7fffd5a006c0 (LWP 268059)] [New Thread 0x7fffd50006c0 (LWP 268060)] [New Thread 0x7fffcfe006c0 (LWP 268061)] [New Thread 0x7fffcf4006c0 (LWP 268062)] [New Thread 0x7fffcea006c0 (LWP 268063)] [New Thread 0x7fffce0006c0 (LWP 268064)] [New Thread 0x7fffcd6006c0 (LWP 268065)] [Thread 0x7fffcd6006c0 (LWP 268065) exited] [Thread 0x7fffce0006c0 (LWP 268064) exited] [Thread 0x7fffcea006c0 (LWP 268063) exited] [New Thread 0x7fffcea006c0 (LWP 268066)] [New Thread 0x7fffce0006c0 (LWP 268067)] [New Thread 0x7fffcd6006c0 (LWP 268068)] [New Thread 0x7fffc1a006c0 (LWP 268069)] [Detaching after vfork from child process 268070] [New Thread 0x7fffc10006c0 (LWP 268071)] 16:56:46.388 INFO GlobalShortcutsBackendKDE:160 Registered shortcut "next_track" QKeySequence("Alt+F3") 16:56:46.388 INFO GlobalShortcutsBackendKDE:160 Registered shortcut "play_pause" QKeySequence("Alt+F2") 16:56:46.389 INFO GlobalShortcutsBackendKDE:160 Registered shortcut "prev_track" QKeySequence("Alt+F1") 16:56:46.389 ERROR GlobalShortcutsBackendKDE:163 KGlobalAccel returned QList(QKeySequence("")) when setting shortcut QList(QKeySequence("Media Stop")) 16:56:46.395 INFO main:47 TagReader worker connecting to "/tmp/strawberry_869405157" [New Thread 0x7fffabe006c0 (LWP 268072)] [New Thread 0x7fffab4006c0 (LWP 268073)] [New Thread 0x7fffaaa006c0 (LWP 268074)] [New Thread 0x7fffaa0006c0 (LWP 268075)] 16:56:46.475 WARN unknown QColor::fromRgb: RGB parameters out of range 16:56:46.483 WARN unknown QColor::fromRgb: RGB parameters out of range [New Thread 0x7fffa96006c0 (LWP 268077)] [New Thread 0x7fffa8c006c0 (LWP 268078)] [New Thread 0x7fff9fe006c0 (LWP 268079)] [New Thread 0x7fff9f4006c0 (LWP 268080)] [New Thread 0x7fff9ea006c0 (LWP 268081)] [New Thread 0x7fff9e0006c0 (LWP 268082)] [New Thread 0x7fff9d6006c0 (LWP 268083)] 16:56:46.636 INFO DeviceManager:450 Device added: "Gio//btrfs/1023159566336" QList("Gio//btrfs/1023159566336") [New Thread 0x7fff93e006c0 (LWP 268084)] [New Thread 0x7fff934006c0 (LWP 268085)] [New Thread 0x7fff92a006c0 (LWP 268086)] [New Thread 0x7fff920006c0 (LWP 268087)] 16:57:13.884 INFO SettingsPage:113 "checkbox_showtrayicon" is changed for "Behavior" settings. 16:57:13.884 INFO SettingsPage:148 Saving settings for "Behavior" [Thread 0x7fffc1a006c0 (LWP 268069) exited] [Thread 0x7fffce0006c0 (LWP 268067) exited] [Thread 0x7fffa96006c0 (LWP 268077) exited] [Thread 0x7fffcea006c0 (LWP 268066) exited] [Thread 0x7fffcd6006c0 (LWP 268068) exited] [Thread 0x7fff9fe006c0 (LWP 268079) exited] [Thread 0x7fff9f4006c0 (LWP 268080) exited] [Thread 0x7fff9ea006c0 (LWP 268081) exited] [Thread 0x7fffa8c006c0 (LWP 268078) exited] [Thread 0x7fff9d6006c0 (LWP 268083) exited] [Thread 0x7fffaaa006c0 (LWP 268074) exited] [Thread 0x7fffc10006c0 (LWP 268071) exited] [Thread 0x7fff920006c0 (LWP 268087) exited] [Thread 0x7fff93e006c0 (LWP 268084) exited] [Thread 0x7fff92a006c0 (LWP 268086) exited] [Thread 0x7fffab4006c0 (LWP 268073) exited] [Thread 0x7fffabe006c0 (LWP 268072) exited] [Thread 0x7fffaa0006c0 (LWP 268075) exited] [Thread 0x7fff934006c0 (LWP 268085) exited] [Thread 0x7fffeea006c0 (LWP 268056) exited] [Thread 0x7fffd5a006c0 (LWP 268059) exited] [Thread 0x7fffd50006c0 (LWP 268060) exited] [Thread 0x7fffcfe006c0 (LWP 268061) exited] [Thread 0x7fffcf4006c0 (LWP 268062) exited] [Thread 0x7fffd64006c0 (LWP 268058) exited] [Thread 0x7fffd6e006c0 (LWP 268057) exited] [Thread 0x7fffef4006c0 (LWP 268055) exited] [Thread 0x7ffff12282c0 (LWP 268052) exited] [Thread 0x7fff9e0006c0 (LWP 268082) exited] [New process 268052] [Inferior 1 (process 268052) exited normally] (gdb) bt No stack.
And then trying to add a file:
(gdb) run Starting program: /usr/local/bin/strawberry [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". 17:00:21.025 INFO main:173 Strawberry 1.2.0-36-g4b551505 Qt "6.6.2" 17:00:21.025 INFO main:174 "Debian GNU/Linux trixie/sid unknown - (linux 6.10.11-1-siduction-amd64) [x86_64]" [New Thread 0x7fffef4006c0 (LWP 268253)] [New Thread 0x7fffeea006c0 (LWP 268254)] [New Thread 0x7fffd6e006c0 (LWP 268255)] [New Thread 0x7fffd64006c0 (LWP 268256)] [New Thread 0x7fffd5a006c0 (LWP 268257)] [New Thread 0x7fffd50006c0 (LWP 268258)] [New Thread 0x7fffcfe006c0 (LWP 268259)] [New Thread 0x7fffcf4006c0 (LWP 268260)] [New Thread 0x7fffcea006c0 (LWP 268261)] [New Thread 0x7fffce0006c0 (LWP 268262)] [New Thread 0x7fffcd6006c0 (LWP 268263)] [Thread 0x7fffcd6006c0 (LWP 268263) exited] [Thread 0x7fffce0006c0 (LWP 268262) exited] [Thread 0x7fffcea006c0 (LWP 268261) exited] [New Thread 0x7fffcea006c0 (LWP 268264)] [New Thread 0x7fffce0006c0 (LWP 268265)] [New Thread 0x7fffcd6006c0 (LWP 268266)] [New Thread 0x7fffc1a006c0 (LWP 268267)] [Detaching after vfork from child process 268268] [New Thread 0x7fffc10006c0 (LWP 268269)] 17:00:21.677 INFO GlobalShortcutsBackendKDE:160 Registered shortcut "next_track" QKeySequence("Alt+F3") 17:00:21.677 INFO GlobalShortcutsBackendKDE:160 Registered shortcut "play_pause" QKeySequence("Alt+F2") 17:00:21.677 INFO GlobalShortcutsBackendKDE:160 Registered shortcut "prev_track" QKeySequence("Alt+F1") 17:00:21.678 ERROR GlobalShortcutsBackendKDE:163 KGlobalAccel returned QList(QKeySequence("")) when setting shortcut QList(QKeySequence("Media Stop")) 17:00:21.685 INFO main:47 TagReader worker connecting to "/tmp/strawberry_1146100409" [New Thread 0x7fffabe006c0 (LWP 268270)] [New Thread 0x7fffab4006c0 (LWP 268271)] [New Thread 0x7fffaaa006c0 (LWP 268272)] [New Thread 0x7fffaa0006c0 (LWP 268273)] 17:00:21.765 WARN unknown QColor::fromRgb: RGB parameters out of range 17:00:21.773 WARN unknown QColor::fromRgb: RGB parameters out of range [New Thread 0x7fffa96006c0 (LWP 268275)] [New Thread 0x7fffa8c006c0 (LWP 268276)] [New Thread 0x7fff9fe006c0 (LWP 268277)] [New Thread 0x7fff9f4006c0 (LWP 268278)] [New Thread 0x7fff9ea006c0 (LWP 268279)] [New Thread 0x7fff9e0006c0 (LWP 268280)] [New Thread 0x7fff9d6006c0 (LWP 268281)] 17:00:21.924 INFO DeviceManager:450 Device added: "Gio//btrfs/1023159566336" QList("Gio//btrfs/1023159566336") [New Thread 0x7fff93e006c0 (LWP 268282)] [New Thread 0x7fff934006c0 (LWP 268283)] [New Thread 0x7fff92a006c0 (LWP 268284)] [New Thread 0x7fff920006c0 (LWP 268285)] [Detaching after vfork from child process 268287] [New Thread 0x7fff916006c0 (LWP 268289)] [New Thread 0x7fff90c006c0 (LWP 268290)] [New Thread 0x7fff87e006c0 (LWP 268291)] [Thread 0x7fffc1a006c0 (LWP 268267) exited] [Thread 0x7fffce0006c0 (LWP 268265) exited] [Thread 0x7fffa96006c0 (LWP 268275) exited] [Thread 0x7fffcea006c0 (LWP 268264) exited] [Thread 0x7fffcd6006c0 (LWP 268266) exited] [Thread 0x7fff9fe006c0 (LWP 268277) exited] [Thread 0x7fff9f4006c0 (LWP 268278) exited] [Thread 0x7fff9ea006c0 (LWP 268279) exited] [Thread 0x7fffa8c006c0 (LWP 268276) exited] [Thread 0x7fffaa0006c0 (LWP 268273) exited] [Thread 0x7fff9d6006c0 (LWP 268281) exited] [Thread 0x7fff92a006c0 (LWP 268284) exited] [Thread 0x7fff93e006c0 (LWP 268282) exited] [Thread 0x7fffc10006c0 (LWP 268269) exited] [Thread 0x7fffabe006c0 (LWP 268270) exited] [Thread 0x7fffab4006c0 (LWP 268271) exited] [Thread 0x7fff920006c0 (LWP 268285) exited] [Thread 0x7fff934006c0 (LWP 268283) exited] [Thread 0x7fffaaa006c0 (LWP 268272) exited] [Thread 0x7fff87e006c0 (LWP 268291) exited] [Thread 0x7fff90c006c0 (LWP 268290) exited] [Thread 0x7fff916006c0 (LWP 268289) exited] [Thread 0x7fffeea006c0 (LWP 268254) exited] [Thread 0x7fffd5a006c0 (LWP 268257) exited] [Thread 0x7fffd50006c0 (LWP 268258) exited] [Thread 0x7fffcfe006c0 (LWP 268259) exited] [Thread 0x7fffcf4006c0 (LWP 268260) exited] [Thread 0x7fffd64006c0 (LWP 268256) exited] [Thread 0x7fffd6e006c0 (LWP 268255) exited] [Thread 0x7fffef4006c0 (LWP 268253) exited] [Thread 0x7ffff12282c0 (LWP 268250) exited] [Thread 0x7fff9e0006c0 (LWP 268280) exited] [New process 268250] [Inferior 1 (process 268250) exited normally] (gdb) bt No stack.
-
@idontknow
Well there is a Qt bug https://bugreports.qt.io/browse/QTBUG-124386 that causes program exit even when windows are still open. I'm not entirely sure but I think also Qt 6.6 is affected, if you look at the bug report they picked the fixes to both 6.5, 6.7 and 6.8, so I assume also Qt 6.6 is affected, but since it's not a LTS version it's end of life so it didn't get the fix.