Bug 279989

Summary: KDE demon crashed after resuming the system from a stand-by
Product: [Frameworks and Libraries] Phonon Reporter: f75.rua
Component: kded module for audio device listingAssignee: Harald Sitter <sitter>
Status: RESOLVED DUPLICATE    
Severity: crash CC: cfeck, martin.sandsmark, myriam
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description f75.rua 2011-08-12 19:15:26 UTC
Application: kded4 ($Id$)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-10-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed: I just typed my password and clicked Unlock to resume the system which I had previously put into stand-by mode.

-- Backtrace:
Application: Demone KDE (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f5ec1466780 (LWP 1836))]

Thread 3 (Thread 0x7f5ea5445700 (LWP 1843)):
#0  0x00007f5ebed27f03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f5ebc13f104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f5ebc13f639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5ec0110446 in QEventDispatcherGlib::processEvents (this=0x24b0c50, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f5ec00e4882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f5ec00e4abc in QEventLoop::exec (this=0x7f5ea5444d10, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f5ebfffb924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007f5ec00c6c2f in QInotifyFileSystemWatcherEngine::run (this=0x24be7c0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f5ebfffe175 in QThreadPrivate::start (arg=0x24be7c0) at thread/qthread_unix.cpp:320
#9  0x00007f5eb2bde853 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#10 0x00007f5ebc7fed8c in start_thread (arg=0x7f5ea5445700) at pthread_create.c:304
#11 0x00007f5ebed3504d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f5e9fbc6700 (LWP 1896)):
#0  pthread_mutex_lock (mutex=0x241c978) at forward.c:182
#1  0x00007f5ebc13d869 in g_main_context_release () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f5ebc13f13a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5ebc13f9f2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f5ea4394c44 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#5  0x00007f5ebc1663e4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f5eb2bde853 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#7  0x00007f5ebc7fed8c in start_thread (arg=0x7f5e9fbc6700) at pthread_create.c:304
#8  0x00007f5ebed3504d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f5ec1466780 (LWP 1836)):
[KCrash Handler]
#6  __strcpy_chk () at ../sysdeps/x86_64/strcpy_chk.S:71
#7  0x00007f5e9d1e1ed0 in ?? () from /usr/lib/libasound.so.2
#8  0x00007f5e9d1e2d4d in snd_device_name_hint () from /usr/lib/libasound.so.2
#9  0x00007f5e96cde4d0 in PhononServer::findVirtualDevices (this=0x2ff8dd0) at ../../../phonon/kded-module/phononserver.cpp:164
#10 0x00007f5e96ce244b in PhononServer::findDevices (this=0x2ff8dd0) at ../../../phonon/kded-module/phononserver.cpp:518
#11 0x00007f5e96ce528c in PhononServer::timerEvent (this=0x2ff8dd0, e=<value optimized out>) at ../../../phonon/kded-module/phononserver.cpp:767
#12 0x00007f5ec00f91c9 in QObject::event (this=0x2ff8dd0, e=<value optimized out>) at kernel/qobject.cpp:1190
#13 0x00007f5ebf4a29f4 in QApplicationPrivate::notify_helper (this=0x23556c0, receiver=0x2ff8dd0, e=0x7fff1ef202b0) at kernel/qapplication.cpp:4462
#14 0x00007f5ebf4a73ba in QApplication::notify (this=<value optimized out>, receiver=0x2ff8dd0, e=0x7fff1ef202b0) at kernel/qapplication.cpp:4341
#15 0x00007f5ec0e60866 in KApplication::notify (this=0x7fff1ef21710, receiver=0x2ff8dd0, event=0x7fff1ef202b0) at ../../kdeui/kernel/kapplication.cpp:311
#16 0x00007f5ec00e549c in QCoreApplication::notifyInternal (this=0x7fff1ef21710, receiver=0x2ff8dd0, event=0x7fff1ef202b0) at kernel/qcoreapplication.cpp:731
#17 0x00007f5ec0112f12 in sendEvent (this=0x23593d0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#18 QTimerInfoList::activateTimers (this=0x23593d0) at kernel/qeventdispatcher_unix.cpp:604
#19 0x00007f5ec010fcf4 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#20 0x00007f5ebc13ebcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007f5ebc13f3a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007f5ebc13f639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007f5ec01103ef in QEventDispatcherGlib::processEvents (this=0x2244ce0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#24 0x00007f5ebf54c4de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#25 0x00007f5ec00e4882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#26 0x00007f5ec00e4abc in QEventLoop::exec (this=0x7fff1ef20520, flags=...) at kernel/qeventloop.cpp:201
#27 0x00007f5ebf963fd6 in QDialog::exec (this=0x7f5ea001dbc0) at dialogs/qdialog.cpp:552
#28 0x00007f5ec0dcf66a in KMessageBox::createKMessageBox (dialog=0x7f5ea001dbc0, icon=<value optimized out>, text=..., strlist=<value optimized out>, ask=..., checkboxReturn=0x7fff1ef20cee, options=..., details=..., notifyType=QMessageBox::Information) at ../../kdeui/dialogs/kmessagebox.cpp:337
#29 0x00007f5e96ce5e28 in PhononServer::askToRemoveDevices (this=0x2ff8dd0, devList=..., indexes=...) at ../../../phonon/kded-module/phononserver.cpp:847
#30 0x00007f5e96cdcfd0 in PhononServer::qt_metacall (this=0x2ff8dd0, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x36cb480) at moc_phononserver.cpp:100
#31 0x00007f5ec00f949a in QObject::event (this=0x2ff8dd0, e=<value optimized out>) at kernel/qobject.cpp:1226
#32 0x00007f5ebf4a29f4 in QApplicationPrivate::notify_helper (this=0x23556c0, receiver=0x2ff8dd0, e=0x302be70) at kernel/qapplication.cpp:4462
#33 0x00007f5ebf4a73ba in QApplication::notify (this=<value optimized out>, receiver=0x2ff8dd0, e=0x302be70) at kernel/qapplication.cpp:4341
#34 0x00007f5ec0e60866 in KApplication::notify (this=0x7fff1ef21710, receiver=0x2ff8dd0, event=0x302be70) at ../../kdeui/kernel/kapplication.cpp:311
#35 0x00007f5ec00e549c in QCoreApplication::notifyInternal (this=0x7fff1ef21710, receiver=0x2ff8dd0, event=0x302be70) at kernel/qcoreapplication.cpp:731
#36 0x00007f5ec00e8c25 in sendEvent (receiver=0x0, event_type=0, data=0x2243890) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#37 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x2243890) at kernel/qcoreapplication.cpp:1372
#38 0x00007f5ec0110253 in sendPostedEvents (s=0x23581c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#39 postEventSourceDispatch (s=0x23581c0) at kernel/qeventdispatcher_glib.cpp:277
#40 0x00007f5ebc13ebcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007f5ebc13f3a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007f5ebc13f639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007f5ec01103ef in QEventDispatcherGlib::processEvents (this=0x2244ce0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#44 0x00007f5ebf54c4de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#45 0x00007f5ec00e4882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#46 0x00007f5ec00e4abc in QEventLoop::exec (this=0x7fff1ef216a0, flags=...) at kernel/qeventloop.cpp:201
#47 0x00007f5ec00e8ecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#48 0x00007f5eaf0b6135 in kdemain (argc=1, argv=0x23387d0) at ../../kded/kded.cpp:925
#49 0x0000000000406dd3 in launch (argc=1, _name=0x40b2d7 "kded4", args=<value optimized out>, cwd=0x0, envc=<value optimized out>, envs=<value optimized out>, reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x40b15e "0") at ../../kinit/kinit.cpp:746
#50 0x00000000004098fe in main (argc=4, argv=0x7fff1ef22828, envp=0x7fff1ef22850) at ../../kinit/kinit.cpp:1861

This bug may be a duplicate of or related to bug 255489.

Possible duplicates by query: bug 275797, bug 273146, bug 273031, bug 272428, bug 269610.

Reported using DrKonqi
Comment 1 Christoph Feck 2011-08-13 01:54:42 UTC
Recieves D-Bus events in nested event loop.
Comment 2 Myriam Schweingruber 2011-08-13 12:36:36 UTC

*** This bug has been marked as a duplicate of bug 228840 ***