Bug 319797 - SIGSEGV in kded after screen lock
Summary: SIGSEGV in kded after screen lock
Status: RESOLVED DUPLICATE of bug 268185
Alias: None
Product: Phonon
Classification: Frameworks and Libraries
Component: kded module for audio device listing (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Harald Sitter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-13 18:08 UTC by Martin von Gagern
Modified: 2013-07-03 22:53 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (10.07 KB, text/plain)
2013-06-20 10:31 UTC, Martin Pluskal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin von Gagern 2013-05-13 18:08:47 UTC
Application: kded4 ($Id$)
KDE Platform Version: 4.10.2 (Compiled from sources)
Qt Version: 4.8.4
Operating System: Linux 3.9.0-gentoo x86_64
Distribution: "NAME=Gentoo"

-- Information about the crash:
- What I was doing when the application crashed:

I just got a crash handler after unlocking my screen lock. This is a Gentoo build, so addresses will differ from binary distributions, but the source lines should help. The crash report assistant considered this a possible duplicate of bug 268185 (indirectly via some other bug), but that one (and the intermediate one) was about an issue at startup.

The bug mentions a possible alsa-lib issue, which was fixed in alsa-lib in january. I have media-libs/alsa-lib-1.0.27-r2 installed, which I would guess should include fixes from january. I do have strange issues with my sound config on a regular basis: KDE often tells me that a device might have suddenly vanished, and whether it should forget about it. It seems like the device might just be too slow to respond, because I often do head the intended sound, some time after that message appears.

- Custom settings of the application:

Due to my attempts to debug bug #306338 a while ago, I have disabled various kded modules which might be enabled by default. I won't risk opening the system settings just now, for fear that the session with this bug reporter might freeze or crash on me since kded is gone.

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

Thread 4 (Thread 0x7fe5ccbc3700 (LWP 8977)):
#0  unixCheckClockType () at tools/qelapsedtimer_unix.cpp:74
#1  0x000000384cedda89 in QElapsedTimer::isMonotonic () at tools/qelapsedtimer_unix.cpp:107
#2  0x000000384cfb832d in QTimerInfoList::repairTimersIfNeeded (this=0x7fe5bc002660) at kernel/qeventdispatcher_unix.cpp:414
#3  0x000000384cfb8391 in QTimerInfoList::timerWait (this=0x7fe5bc002660, tm=...) at kernel/qeventdispatcher_unix.cpp:462
#4  0x000000384cfb6d1c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7fe5ccbc2c3c) at kernel/qeventdispatcher_glib.cpp:136
#5  0x000000384cfb6dcd in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#6  0x0000003e6ba4aa6f in g_main_context_prepare (context=0x7fe5bc0009a0, priority=0x7fe5ccbc2c78) at gmain.c:2986
#7  0x0000003e6ba4b13b in g_main_context_iterate (dispatch=1, block=1, context=0x7fe5bc0009a0, self=<optimized out>) at gmain.c:3270
#8  g_main_context_iterate (context=0x7fe5bc0009a0, block=1, dispatch=1, self=<optimized out>) at gmain.c:3227
#9  0x0000003e6ba4b32c in g_main_context_iteration (context=0x7fe5bc0009a0, may_block=1) at gmain.c:3351
#10 0x000000384cfb77ae in QEventDispatcherGlib::processEvents (this=0x7fe5bc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#11 0x000000384cf86e32 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#12 0x000000384cf870b7 in QEventLoop::exec (this=0x7fe5ccbc2da0, flags=...) at kernel/qeventloop.cpp:204
#13 0x000000384ce83d3f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#14 0x00007fe5cd2a2215 in KCupsConnection::run (this=0x1d3c630) at /var/tmp/portage/kde-base/print-manager-4.10.2/work/print-manager-4.10.2/libkcups/KCupsConnection.cpp:310
#15 0x000000384ce86dbc in QThreadPrivate::start (arg=0x1d3c630) at thread/qthread_unix.cpp:338
#16 0x0000003e67608fc7 in start_thread (arg=0x7fe5ccbc3700) at pthread_create.c:308
#17 0x0000003e66af04ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7fe5cc3c2700 (LWP 8978)):
#0  0x0000003e66ae6a6d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x0000003e6ba4b20e in g_main_context_poll (n_fds=1, fds=0x7fe5c40029c0, timeout=-1, context=0x7fe5c40009a0, priority=<optimized out>) at gmain.c:3584
#2  g_main_context_iterate (dispatch=1, block=<optimized out>, context=0x7fe5c40009a0, self=<optimized out>) at gmain.c:3285
#3  g_main_context_iterate (context=0x7fe5c40009a0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3227
#4  0x0000003e6ba4b32c in g_main_context_iteration (context=0x7fe5c40009a0, may_block=1) at gmain.c:3351
#5  0x000000384cfb77ae in QEventDispatcherGlib::processEvents (this=0x7fe5c40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x000000384cf86e32 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x000000384cf870b7 in QEventLoop::exec (this=0x7fe5cc3c1de0, flags=...) at kernel/qeventloop.cpp:204
#8  0x000000384ce83d3f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#9  0x000000384ce86dbc in QThreadPrivate::start (arg=0x1d41410) at thread/qthread_unix.cpp:338
#10 0x0000003e67608fc7 in start_thread (arg=0x7fe5cc3c2700) at pthread_create.c:308
#11 0x0000003e66af04ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7fe5cbbc1700 (LWP 8989)):
#0  0x0000003e66ae6a6d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x0000003e6ba4b20e in g_main_context_poll (n_fds=1, fds=0x7fe5c0002c00, timeout=-1, context=0x7fe5c00009a0, priority=<optimized out>) at gmain.c:3584
#2  g_main_context_iterate (dispatch=1, block=<optimized out>, context=0x7fe5c00009a0, self=<optimized out>) at gmain.c:3285
#3  g_main_context_iterate (context=0x7fe5c00009a0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3227
#4  0x0000003e6ba4b32c in g_main_context_iteration (context=0x7fe5c00009a0, may_block=1) at gmain.c:3351
#5  0x000000384cfb77ae in QEventDispatcherGlib::processEvents (this=0x7fe5c00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x000000384cf86e32 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x000000384cf870b7 in QEventLoop::exec (this=0x7fe5cbbc0db0, flags=...) at kernel/qeventloop.cpp:204
#8  0x000000384ce83d3f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#9  0x000000384cf6671f in QInotifyFileSystemWatcherEngine::run (this=0x1d77200) at io/qfilesystemwatcher_inotify.cpp:256
#10 0x000000384ce86dbc in QThreadPrivate::start (arg=0x1d77200) at thread/qthread_unix.cpp:338
#11 0x0000003e67608fc7 in start_thread (arg=0x7fe5cbbc1700) at pthread_create.c:308
#12 0x0000003e66af04ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7fe5d306b780 (LWP 8971)):
[KCrash Handler]
#6  snd_config_iterator_next (iterator=iterator@entry=0x736c75702f706d74) at conf.c:3892
#7  0x000000385083dc6e in add_software_devices (list=0x7fff38af6670, config=0x1fc3880) at namehint.c:506
#8  snd_device_name_hint (card=-1, iface=<optimized out>, hints=0x7fff38af6d78) at namehint.c:591
#9  0x00007fe5c89e9474 in PhononServer::findVirtualDevices (this=0x1ff8f60) at /var/tmp/portage/kde-base/phonon-kde-4.10.2/work/phonon-kde-4.10.2/phonon/kded-module/phononserver.cpp:169
#10 0x00007fe5c89eb892 in PhononServer::findDevices (this=0x1ff8f60) at /var/tmp/portage/kde-base/phonon-kde-4.10.2/work/phonon-kde-4.10.2/phonon/kded-module/phononserver.cpp:673
#11 0x00007fe5c89ef38d in PhononServer::timerEvent (this=0x1ff8f60, e=<optimized out>) at /var/tmp/portage/kde-base/phonon-kde-4.10.2/work/phonon-kde-4.10.2/phonon/kded-module/phononserver.cpp:1058
#12 0x000000384cfa1399 in QObject::event (this=0x1ff8f60, e=<optimized out>) at kernel/qobject.cpp:1156
#13 0x000000384dfe38f4 in notify_helper (e=0x7fff38af8340, receiver=0x1ff8f60, this=0x1c7aec0) at kernel/qapplication.cpp:4562
#14 QApplicationPrivate::notify_helper (this=0x1c7aec0, receiver=0x1ff8f60, e=0x7fff38af8340) at kernel/qapplication.cpp:4534
#15 0x000000384dfe8653 in QApplication::notify (this=0x7fff38af9820, receiver=0x1ff8f60, e=0x7fff38af8340) at kernel/qapplication.cpp:4423
#16 0x000000384f46b4c8 in KApplication::notify (this=0x7fff38af9820, receiver=0x1ff8f60, event=0x7fff38af8340) at /var/tmp/portage/kde-base/kdelibs-4.10.2/work/kdelibs-4.10.2/kdeui/kernel/kapplication.cpp:311
#17 0x000000384cf8838b in QCoreApplication::notifyInternal (this=0x7fff38af9820, receiver=0x1ff8f60, event=0x7fff38af8340) at kernel/qcoreapplication.cpp:946
#18 0x000000384cfb972a in sendEvent (event=0x7fff38af8340, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#19 QTimerInfoList::activateTimers (this=0x1c7c5a0) at kernel/qeventdispatcher_unix.cpp:622
#20 0x000000384cfb6fdd in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:186
#21 timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:180
#22 0x000000384cfb7011 in idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:233
#23 0x0000003e6ba4af32 in g_main_dispatch (context=0x1c7c400) at gmain.c:2715
#24 g_main_context_dispatch (context=0x1c7c400) at gmain.c:3219
#25 0x0000003e6ba4b275 in g_main_context_iterate (dispatch=1, block=<optimized out>, context=0x1c7c400, self=<optimized out>) at gmain.c:3290
#26 g_main_context_iterate (context=0x1c7c400, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3227
#27 0x0000003e6ba4b32c in g_main_context_iteration (context=0x1c7c400, may_block=1) at gmain.c:3351
#28 0x000000384cfb7756 in QEventDispatcherGlib::processEvents (this=0x1c7ae50, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#29 0x000000384e087c26 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#30 0x000000384cf86e32 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#31 0x000000384cf870b7 in QEventLoop::exec (this=0x7fff38af85c0, flags=...) at kernel/qeventloop.cpp:204
#32 0x000000384e49e185 in QDialog::exec (this=0x203e930) at dialogs/qdialog.cpp:554
#33 0x000000384f3d1522 in KMessageBox::createKMessageBox (dialog=<optimized out>, icon=..., text=..., strlist=..., ask=..., checkboxReturn=0x7fff38af8e2f, options=..., details=..., notifyType=QMessageBox::Information) at /var/tmp/portage/kde-base/kdelibs-4.10.2/work/kdelibs-4.10.2/kdeui/dialogs/kmessagebox.cpp:344
#34 0x00007fe5c89e8d62 in PhononServer::askToRemoveDevices (this=0x1ff8f60, devList=..., type=<optimized out>, indexes=...) at /var/tmp/portage/kde-base/phonon-kde-4.10.2/work/phonon-kde-4.10.2/phonon/kded-module/phononserver.cpp:1145
#35 0x00007fe5c89e4fae in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /var/tmp/portage/kde-base/phonon-kde-4.10.2/work/phonon-kde-4.10.2_build/phonon/kded-module/moc_phononserver.cpp:92
#36 PhononServer::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /var/tmp/portage/kde-base/phonon-kde-4.10.2/work/phonon-kde-4.10.2_build/phonon/kded-module/moc_phononserver.cpp:69
#37 0x000000384cfa167e in QObject::event (this=0x1ff8f60, e=<optimized out>) at kernel/qobject.cpp:1194
#38 0x000000384dfe38f4 in notify_helper (e=0x1f77d00, receiver=0x1ff8f60, this=0x1c7aec0) at kernel/qapplication.cpp:4562
#39 QApplicationPrivate::notify_helper (this=0x1c7aec0, receiver=0x1ff8f60, e=0x1f77d00) at kernel/qapplication.cpp:4534
#40 0x000000384dfe8653 in QApplication::notify (this=0x7fff38af9820, receiver=0x1ff8f60, e=0x1f77d00) at kernel/qapplication.cpp:4423
#41 0x000000384f46b4c8 in KApplication::notify (this=0x7fff38af9820, receiver=0x1ff8f60, event=0x1f77d00) at /var/tmp/portage/kde-base/kdelibs-4.10.2/work/kdelibs-4.10.2/kdeui/kernel/kapplication.cpp:311
#42 0x000000384cf8838b in QCoreApplication::notifyInternal (this=0x7fff38af9820, receiver=0x1ff8f60, event=0x1f77d00) at kernel/qcoreapplication.cpp:946
#43 0x000000384cf8bca9 in sendEvent (event=0x1f77d00, receiver=0x1ff8f60) at kernel/qcoreapplication.h:231
#44 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1c452b0) at kernel/qcoreapplication.cpp:1570
#45 0x000000384cfb7373 in sendPostedEvents () at kernel/qcoreapplication.h:236
#46 postEventSourceDispatch (s=0x1c7c4c0) at kernel/qeventdispatcher_glib.cpp:279
#47 0x0000003e6ba4af32 in g_main_dispatch (context=0x1c7c400) at gmain.c:2715
#48 g_main_context_dispatch (context=0x1c7c400) at gmain.c:3219
#49 0x0000003e6ba4b275 in g_main_context_iterate (dispatch=1, block=<optimized out>, context=0x1c7c400, self=<optimized out>) at gmain.c:3290
#50 g_main_context_iterate (context=0x1c7c400, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3227
#51 0x0000003e6ba4b32c in g_main_context_iteration (context=0x1c7c400, may_block=1) at gmain.c:3351
#52 0x000000384cfb7756 in QEventDispatcherGlib::processEvents (this=0x1c7ae50, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#53 0x000000384e087c26 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#54 0x000000384cf86e32 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#55 0x000000384cf870b7 in QEventLoop::exec (this=0x7fff38af97a0, flags=...) at kernel/qeventloop.cpp:204
#56 0x000000384cf8bfa5 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#57 0x00000038482095d0 in kdemain (argc=1, argv=0x7fff38af9bf8) at /var/tmp/portage/kde-base/kdelibs-4.10.2/work/kdelibs-4.10.2/kded/kded.cpp:924
#58 0x0000003e66a24b8d in __libc_start_main (main=0x400700 <main(int, char**)>, argc=1, ubp_av=0x7fff38af9bf8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff38af9be8) at libc-start.c:258
#59 0x0000000000400731 in _start ()

Possible duplicates by query: bug 298251.

Reported using DrKonqi
Comment 1 Martin Pluskal 2013-06-20 10:31:01 UTC
Created attachment 80665 [details]
New crash information added by DrKonqi

kded4 (4.10.4) on KDE Platform 4.10.4 using Qt 4.8.4

- What I was doing when the application crashed:

Screen locer locked screen (automatically), I have notice issue after unlocking.

-- Backtrace (Reduced):
#6  snd_config_iterator_next (iterator=iterator@entry=0x6972702e2f706d74) at conf.c:3892
#7  0x00007fc8aa450d97 in add_software_devices (list=0x7fff924b2e20, config=0x7fc8d5764b50) at namehint.c:506
#8  snd_device_name_hint (card=-1, iface=<optimized out>, hints=0x7fff924b2fd0) at namehint.c:591
#9  0x00007fc8b66c31bd in PhononServer::findVirtualDevices (this=this@entry=0x7fc8d57446c0) at /var/tmp/portage/kde-base/phonon-kde-4.10.4/work/phonon-kde-4.10.4/phonon/kded-module/phononserver.cpp:169
#10 0x00007fc8b66c5e9c in PhononServer::findDevices (this=this@entry=0x7fc8d57446c0) at /var/tmp/portage/kde-base/phonon-kde-4.10.4/work/phonon-kde-4.10.4/phonon/kded-module/phononserver.cpp:673
Comment 2 Harald Sitter 2013-07-03 22:53:17 UTC

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