Bug 368137 - Crash on sound event while another app is using sound card
Summary: Crash on sound event while another app is using sound card
Status: RESOLVED WORKSFORME
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: kded (show other bugs)
Version: unspecified
Platform: Slackware Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-09-02 06:51 UTC by ventyl86
Modified: 2018-11-02 22:36 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ventyl86 2016-09-02 06:51:07 UTC
Application: kded4 (4.14.21)
KDE Platform Version: 4.14.21
Qt Version: 4.8.7
Operating System: Linux 4.4.14 x86_64
Distribution (Platform): Slackware Packages

-- Information about the crash:
- What I was doing when the application crashed:
Firefox was playing video via HTML5 when Kopete played sound event on incoming message. The event was played successfully but KDE launched "Removed sound device" dialog, kmix disappeared and appeared again and something crashed. This is usual behavior after login.

- Custom settings of the application:
Sound is configured that alsa is directly accessing the sound card and pulseaudio is configured as passthrought to alsa for everyone who uses it.

The crash can be reproduced every time.

-- Backtrace:
Application: KDE Daemon (kded4), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fe9a47a5780 (LWP 1218))]

Thread 6 (Thread 0x7fe96af86700 (LWP 1350)):
#0  0x00007fe99d9f7cd5 in g_main_loop_run () at /usr/lib64/libglib-2.0.so.0
#1  0x00007fe9921a4a56 in  () at /usr/lib64/libgio-2.0.so.0
#2  0x00007fe99da1d1e5 in  () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fe9a2d93684 in start_thread () at /lib64/libpthread.so.0
#4  0x00007fe9a12daefd in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7fe97c947700 (LWP 1349)):
#0  0x00007fe9a12cf30d in poll () at /lib64/libc.so.6
#1  0x00007fe99d9f7954 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007fe99d9f7a5c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fe99d9f7a99 in  () at /usr/lib64/libglib-2.0.so.0
#4  0x00007fe99da1d1e5 in  () at /usr/lib64/libglib-2.0.so.0
#5  0x00007fe9a2d93684 in start_thread () at /lib64/libpthread.so.0
#6  0x00007fe9a12daefd in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7fe97d7c1700 (LWP 1240)):
#0  0x00007ffee53aeaf8 in clock_gettime ()
#1  0x00007fe9a12e9396 in clock_gettime () at /lib64/libc.so.6
#2  0x00007fe9a308b645 in  () at /usr/lib64/qt/lib/libQtCore.so.4
#3  0x00007fe9a3168e55 in  () at /usr/lib64/qt/lib/libQtCore.so.4
#4  0x00007fe9a31677dc in  () at /usr/lib64/qt/lib/libQtCore.so.4
#5  0x00007fe9a3167885 in  () at /usr/lib64/qt/lib/libQtCore.so.4
#6  0x00007fe99d9f6f7d in g_main_context_prepare () at /usr/lib64/libglib-2.0.so.0
#7  0x00007fe99d9f7883 in  () at /usr/lib64/libglib-2.0.so.0
#8  0x00007fe99d9f7a5c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#9  0x00007fe9a31680ce in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/qt/lib/libQtCore.so.4
#10 0x00007fe9a31385d1 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/qt/lib/libQtCore.so.4
#11 0x00007fe9a31388e5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/qt/lib/libQtCore.so.4
#12 0x00007fe9a3031c39 in QThread::exec() () at /usr/lib64/qt/lib/libQtCore.so.4
#13 0x00007fe9a3119733 in  () at /usr/lib64/qt/lib/libQtCore.so.4
#14 0x00007fe9a30343bc in  () at /usr/lib64/qt/lib/libQtCore.so.4
#15 0x00007fe9a2d93684 in start_thread () at /lib64/libpthread.so.0
#16 0x00007fe9a12daefd in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7fe97dfc2700 (LWP 1239)):
#0  0x00007fe9a31680d0 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/qt/lib/libQtCore.so.4
#1  0x00007fe9a31385d1 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/qt/lib/libQtCore.so.4
#2  0x00007fe9a31388e5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/qt/lib/libQtCore.so.4
#3  0x00007fe9a3031c39 in QThread::exec() () at /usr/lib64/qt/lib/libQtCore.so.4
#4  0x00007fe9a30343bc in  () at /usr/lib64/qt/lib/libQtCore.so.4
#5  0x00007fe9a2d93684 in start_thread () at /lib64/libpthread.so.0
#6  0x00007fe9a12daefd in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7fe97e7c3700 (LWP 1238)):
#0  0x00007ffee53aeaf8 in clock_gettime ()
#1  0x00007fe9a12e9396 in clock_gettime () at /lib64/libc.so.6
#2  0x00007fe9a308b645 in  () at /usr/lib64/qt/lib/libQtCore.so.4
#3  0x00007fe9a3168e55 in  () at /usr/lib64/qt/lib/libQtCore.so.4
#4  0x00007fe9a31677dc in  () at /usr/lib64/qt/lib/libQtCore.so.4
#5  0x00007fe9a3167885 in  () at /usr/lib64/qt/lib/libQtCore.so.4
#6  0x00007fe99d9f6f7d in g_main_context_prepare () at /usr/lib64/libglib-2.0.so.0
#7  0x00007fe99d9f7883 in  () at /usr/lib64/libglib-2.0.so.0
#8  0x00007fe99d9f7a5c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#9  0x00007fe9a31680ce in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/qt/lib/libQtCore.so.4
#10 0x00007fe9a31385d1 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/qt/lib/libQtCore.so.4
#11 0x00007fe9a31388e5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/qt/lib/libQtCore.so.4
#12 0x00007fe9a3031c39 in QThread::exec() () at /usr/lib64/qt/lib/libQtCore.so.4
#13 0x00007fe9847aed87 in KCupsConnection::run() () at /usr/lib64/libkcupslib.so
#14 0x00007fe9a30343bc in  () at /usr/lib64/qt/lib/libQtCore.so.4
#15 0x00007fe9a2d93684 in start_thread () at /lib64/libpthread.so.0
#16 0x00007fe9a12daefd in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7fe9a47a5780 (LWP 1218)):
[KCrash Handler]
#6  0x00007fe9a1257bf2 in free () at /lib64/libc.so.6
#7  0x00007fe9a2372981 in  () at /usr/lib64/qt/lib/libQtGui.so.4
#8  0x00007fe9a2483f42 in QRasterWindowSurface::prepareBuffer(QImage::Format, QWidget*) () at /usr/lib64/qt/lib/libQtGui.so.4
#9  0x00007fe9a2484ae8 in QRasterWindowSurface::setGeometry(QRect const&) () at /usr/lib64/qt/lib/libQtGui.so.4
#10 0x00007fe9a249d9cf in  () at /usr/lib64/qt/lib/libQtGui.so.4
#11 0x00007fe9a249ebe0 in  () at /usr/lib64/qt/lib/libQtGui.so.4
#12 0x00007fe9a22fd950 in  () at /usr/lib64/qt/lib/libQtGui.so.4
#13 0x00007fe9a230b9ad in QApplication::x11ProcessEvent(_XEvent*) () at /usr/lib64/qt/lib/libQtGui.so.4
#14 0x00007fe9a2332942 in  () at /usr/lib64/qt/lib/libQtGui.so.4
#15 0x00007fe99d9f7787 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#16 0x00007fe99d9f79b8 in  () at /usr/lib64/libglib-2.0.so.0
#17 0x00007fe99d9f7a5c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#18 0x00007fe9a31680ae in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/qt/lib/libQtCore.so.4
#19 0x00007fe9a23329e6 in  () at /usr/lib64/qt/lib/libQtGui.so.4
#20 0x00007fe9a31385d1 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/qt/lib/libQtCore.so.4
#21 0x00007fe9a31388e5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/qt/lib/libQtCore.so.4
#22 0x00007fe9a274304c in QDialog::exec() () at /usr/lib64/qt/lib/libQtGui.so.4
#23 0x00007fe9a410898a in KMessageBox::createKMessageBox(KDialog*, QIcon const&, QString const&, QStringList const&, QString const&, bool*, QFlags<KMessageBox::Option>, QString const&, QMessageBox::Icon) () at /usr/lib64/libkdeui.so.5
#24 0x00007fe9539cbe4d in  () at /usr/lib64/kde4/kded_phononserver.so
#25 0x00007fe9539c80b3 in  () at /usr/lib64/kde4/kded_phononserver.so
#26 0x00007fe9a3152921 in QObject::event(QEvent*) () at /usr/lib64/qt/lib/libQtCore.so.4
#27 0x00007fe9a228f48c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/qt/lib/libQtGui.so.4
#28 0x00007fe9a2295f5c in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/qt/lib/libQtGui.so.4
#29 0x00007fe9a419a8ea in KApplication::notify(QObject*, QEvent*) () at /usr/lib64/libkdeui.so.5
#30 0x00007fe9a3139c0d in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/qt/lib/libQtCore.so.4
#31 0x00007fe9a313ce6e in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/qt/lib/libQtCore.so.4
#32 0x00007fe9a3167f3e in  () at /usr/lib64/qt/lib/libQtCore.so.4
#33 0x00007fe99d9f7787 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#34 0x00007fe99d9f79b8 in  () at /usr/lib64/libglib-2.0.so.0
#35 0x00007fe99d9f7a5c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#36 0x00007fe9a31680ae in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/qt/lib/libQtCore.so.4
#37 0x00007fe9a23329e6 in  () at /usr/lib64/qt/lib/libQtGui.so.4
#38 0x00007fe9a31385d1 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/qt/lib/libQtCore.so.4
#39 0x00007fe9a31388e5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/qt/lib/libQtCore.so.4
#40 0x00007fe9a313dec9 in QCoreApplication::exec() () at /usr/lib64/qt/lib/libQtCore.so.4
#41 0x00007fe98ada07ba in kdemain () at /usr/lib64/libkdeinit4_kded4.so
#42 0x0000000000408c21 in  ()
#43 0x00000000004061e2 in  ()
#44 0x00007fe9a11f47d0 in __libc_start_main () at /lib64/libc.so.6
#45 0x00000000004067b9 in _start ()

Reported using DrKonqi
Comment 1 Andrew Crouthamel 2018-11-01 13:56:22 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 2 ventyl86 2018-11-02 08:51:42 UTC
Due to pervasive and highly disturbing nature of the bug - KDE with kded crashed is mostly useless for anything which runs behind curtains including power management - I stopped using KDE completely some time after reporting this bug.

There was no response here and I was not able to work around it by myself.
Comment 3 Andrew Crouthamel 2018-11-02 22:36:21 UTC
Thanks for the update!