Bug 436619 - kmix crashes at start
Summary: kmix crashes at start
Status: RESOLVED FIXED
Alias: None
Product: kmix
Classification: Applications
Component: general (show other bugs)
Version: 21.04.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Christian Esken
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-05 10:51 UTC by kdereport.firehalls
Modified: 2021-09-03 17:44 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 21.08.1


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kdereport.firehalls 2021-05-05 10:51:27 UTC
SUMMARY
kmix crashes when starting plasma making it impossible to control sound volume, sound still works though.

STEPS TO REPRODUCE
1. Just start plasma (wayland)
2. kmix crashes and it's not possible to control audio


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.21.5
KDE Frameworks Version: 5.81.0
Qt Version: 

ADDITIONAL INFORMATION
I'm running pipewire.
Comment 1 kdereport.firehalls 2021-06-09 08:22:16 UTC
pipewire-media-session[2191]: GetManagedObjects() failed: org.freedesktop.systemd1.NoSuchUnit
audit[2178]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=1 pid=2178 comm="kmix" exe="/usr/bin/kmix" sig=11 res=1
systemd[1]: Created slice system-systemd\x2dcoredump.slice.
audit: BPF prog-id=25 op=LOAD
audit: BPF prog-id=26 op=LOAD
audit: BPF prog-id=27 op=LOAD
ystemd[1]: Started Process Core Dump (PID 2236/UID 0).
audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@0-2236-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr>
systemd-coredump[2237]: [🡕] Process 2178 (kmix) of user 1000 dumped core.
                                                
                                                Stack trace of thread 2178:
                                                #0  0x0000004fb7352b73 n/a (kmix + 0x28b73)
                                                #1  0x0000004fb7350122 n/a (kmix + 0x26122)
                                                #2  0x0000004fb73518f1 n/a (kmix + 0x278f1)
                                                #3  0x0000004fb7352072 n/a (kmix + 0x28072)
                                                #4  0x0000004fb73521f0 n/a (kmix + 0x281f0)
                                                #5  0x0000004fb7347a75 n/a (kmix + 0x1da75)
                                                #6  0x000069d8566feb25 __libc_start_main (libc.so.6 + 0x27b25)
                                                #7  0x0000004fb7347cae n/a (kmix + 0x1dcae)
                                                
                                                Stack trace of thread 2231:
                                                #0  0x000069d855f0b8ca __futex_abstimed_wait_common64 (libpthread.so.0 + 0x158ca)
                                                #1  0x000069d855f05270 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf270)
                                                #2  0x000069d8456d059c n/a (iris_dri.so + 0x1c659c)
                                                #3  0x000069d8456ca618 n/a (iris_dri.so + 0x1c0618)
                                                #4  0x000069d855eff259 start_thread (libpthread.so.0 + 0x9259)
                                                #5  0x000069d8567d55e3 __clone (libc.so.6 + 0xfe5e3)
                                                
                                                Stack trace of thread 2235:
                                                #0  0x000069d8567cd323 pselect (libc.so.6 + 0xf6323)
                                                #1  0x000069d8527d7524 n/a (libusbmuxd-2.0.so.6 + 0x2524)
                                                #2  0x000069d8527d88a9 n/a (libusbmuxd-2.0.so.6 + 0x38a9)
                                                #3  0x000069d855eff259 start_thread (libpthread.so.0 + 0x9259)
                                                #4  0x000069d8567d55e3 __clone (libc.so.6 + 0xfe5e3)
                                                
                                                Stack trace of thread 2232:
                                                #0  0x000069d855f0b8ca __futex_abstimed_wait_common64 (libpthread.so.0 + 0x158ca)
                                                #1  0x000069d855f05270 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf270)
                                                #2  0x000069d8456d059c n/a (iris_dri.so + 0x1c659c)
                                                #3  0x000069d8456ca618 n/a (iris_dri.so + 0x1c0618)
                                                #4  0x000069d855eff259 start_thread (libpthread.so.0 + 0x9259)
                                                #5  0x000069d8567d55e3 __clone (libc.so.6 + 0xfe5e3)
                                                
                                                Stack trace of thread 2223:
                                                #0  0x000069d8567cab2f __poll (libc.so.6 + 0xf3b2f)
                                                #1  0x000069d855311ae8 n/a (libglib-2.0.so.0 + 0xa7ae8)
                                                #2  0x000069d8552bb781 g_main_context_iteration (libglib-2.0.so.0 + 0x51781)
                                                #3  0x000069d856dcac36 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x311c36)
                                                #4  0x000069d856d7097c _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2b797c)
                                                #5  0x000069d856b85da2 _ZN7QThread4execEv (libQt5Core.so.5 + 0xccda2)
                                                #6  0x000069d857026ae8 n/a (libQt5DBus.so.5 + 0x15ae8)
                                                #7  0x000069d856b86f7f n/a (libQt5Core.so.5 + 0xcdf7f)
                                                #8  0x000069d855eff259 start_thread (libpthread.so.0 + 0x9259)
                                                #9  0x000069d8567d55e3 __clone (libc.so.6 + 0xfe5e3)
                                                
                                                Stack trace of thread 2233:
                                                #0  0x000069d855f0b8ca __futex_abstimed_wait_common64 (libpthread.so.0 + 0x158ca)
                                                #1  0x000069d855f05270 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf270)
                                                #2  0x000069d8456d059c n/a (iris_dri.so + 0x1c659c)
                                                #3  0x000069d8456ca618 n/a (iris_dri.so + 0x1c0618)
                                                #4  0x000069d855eff259 start_thread (libpthread.so.0 + 0x9259)
                                                #5  0x000069d8567d55e3 __clone (libc.so.6 + 0xfe5e3)
                                                
                                                Stack trace of thread 2234:
                                                #0  0x000069d855f0b8ca __futex_abstimed_wait_common64 (libpthread.so.0 + 0x158ca)
                                                #1  0x000069d855f05270 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf270)
                                                #2  0x000069d8456d059c n/a (iris_dri.so + 0x1c659c)
                                                #3  0x000069d8456ca618 n/a (iris_dri.so + 0x1c0618)
                                                #4  0x000069d855eff259 start_thread (libpthread.so.0 + 0x9259)
                                                #5  0x000069d8567d55e3 __clone (libc.so.6 + 0xfe5e3)
Comment 2 kdereport.firehalls 2021-06-09 08:25:48 UTC
The crash happens only when starting plasma for the first time, if I restart it kmix works fine.
Also if I start it the first time and then start kmix from the terminal, everything works fine.
To be more clear:
-I boot my machine -> start plasma -> kmix doesn't work -> restart plasma -> kmix works.
-I boot my machine -> start plasma -> kmix doesn't work -> I start kmix from terminal ( kmix &) -> kmix works.
Comment 3 Steve Leung 2021-08-17 03:13:01 UTC
I've opened https://invent.kde.org/multimedia/kmix/-/merge_requests/7 to try to fix this.
Comment 4 Ömer Fadıl USTA 2021-08-24 21:33:51 UTC
Fixed with https://invent.kde.org/multimedia/kmix/-/commit/1bd7c19681246bed1c768b4eb0be0d1800556344

I am closing this issue as Resolved/Fixed, if you hit same problem with incoming versions or compiled with this patch please reopen it.
Thank you for reporting
Comment 5 kdereport.firehalls 2021-09-03 17:44:02 UTC
Updated yesterday and everything works fine. Thank you guys for your amazing work!