Bug 243850

Summary: knotify segmentation fault
Product: [Unmaintained] kdelibs Reporter: Vince <professioneiso>
Component: knotifyAssignee: Olivier Goffart <ogoffart>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 4.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Vince 2010-07-07 14:13:56 UTC
Application: knotify4 (4.0)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-22-generic x86_64
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
Application: KNotify (knotify4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f93c1467760 (LWP 2386))]

Thread 2 (Thread 0x7f93ae474710 (LWP 2524)):
#0  __libc_disable_asynccancel () at ../nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S:97
#1  0x00007f93bebedf9b in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=2) at ../sysdeps/unix/sysv/linux/poll.c:89
#2  0x00007f93b37bf41f in poll_func (ufds=0x1c83200, nfds=2, timeout=-1, userdata=0x1f34ca0) at pulse/thread-mainloop.c:75
#3  0x00007f93b37aed86 in pa_mainloop_poll (m=0x1f2e7f0) at pulse/mainloop.c:879
#4  0x00007f93b37b0809 in pa_mainloop_iterate (m=0x1f2e7f0, block=<value optimized out>, retval=0x0) at pulse/mainloop.c:961
#5  0x00007f93b37b08c0 in pa_mainloop_run (m=0x1f2e7f0, retval=0x0) at pulse/mainloop.c:979
#6  0x00007f93b37bf21b in thread (userdata=0x1f2e7b0) at pulse/thread-mainloop.c:94
#7  0x00007f93b357e0e8 in internal_thread_func (userdata=0x1c831a0) at pulsecore/thread-posix.c:72
#8  0x00007f93bd2bd9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f93bebfa6fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f93c1467760 (LWP 2386)):
[KCrash Handler]
#5  0x00007f93b6356e49 in ?? () from /usr/lib/libasound.so.2
#6  0x00007f93b6319b15 in snd_pcm_close () from /usr/lib/libasound.so.2
#7  0x00007f93b3be16ff in ?? () from /usr/lib/gstreamer-0.10/libgstalsa.so
#8  0x00007f93b4e593c6 in ?? () from /usr/lib/libgstaudio-0.10.so.0
#9  0x00007f93b4e4cecb in gst_ring_buffer_close_device () from /usr/lib/libgstaudio-0.10.so.0
#10 0x00007f93b4e54ca6 in ?? () from /usr/lib/libgstaudio-0.10.so.0
#11 0x00007f93b56f818c in gst_element_change_state (element=0x1f2e6d0, transition=0) at gstelement.c:2548
#12 0x00007f93b56fb1bb in gst_element_set_state_func (element=0x1c82420, state=GST_STATE_NULL) at gstelement.c:2504
#13 0x00007f93b5ef29aa in Phonon::Gstreamer::AudioOutput::setOutputDevice (this=0x1c697e0, newDevice=<value optimized out>) at ../../gstreamer/audiooutput.cpp:217
#14 0x00007f93c0a00010 in callSetOutputDevice (this=0x1d389b0) at ../3rdparty/phonon/phonon/audiooutput.cpp:67
#15 Phonon::AudioOutputPrivate::setupBackendObject (this=0x1d389b0) at ../3rdparty/phonon/phonon/audiooutput.cpp:281
#16 0x00007f93c0a006f0 in Phonon::AudioOutputPrivate::createBackendObject (this=0x1d389b0) at ../3rdparty/phonon/phonon/audiooutput.cpp:124
#17 0x00007f93c09fceea in Phonon::AudioOutputPrivate::init (this=0x1d389b0, c=<value optimized out>) at ../3rdparty/phonon/phonon/audiooutput.cpp:106
#18 0x00007f93c09fd59d in AudioOutput (this=0x1d38030, category=Phonon::NotificationCategory, parent=0x0) at ../3rdparty/phonon/phonon/audiooutput.cpp:76
#19 0x000000000040d101 in Player (this=0x1cdea98) at ../../knotify/notifybysound.cpp:59
#20 PlayerPool::getPlayer (this=0x1cdea98) at ../../knotify/notifybysound.cpp:99
#21 0x000000000040d63e in NotifyBySound::notify (this=0x1ce0530, eventId=4, config=0x7fff221f2c80) at ../../knotify/notifybysound.cpp:243
#22 0x0000000000408d63 in KNotify::emitEvent (this=0x7fff221f3f80, e=0x1ce0aa0) at ../../knotify/knotify.cpp:179
#23 0x0000000000409022 in KNotify::event (this=0x7fff221f3f80, event=<value optimized out>, appname=<value optimized out>, contexts=<value optimized out>, title=<value optimized out>, 
    text=<value optimized out>, image=..., actions=..., timeout=-1, winId=0) at ../../knotify/knotify.cpp:128
#24 0x000000000040935f in KNotifyAdaptor::event (this=0x1cec0c0, event=..., fromApp=..., contexts=<value optimized out>, title=..., text=<value optimized out>, image=..., actions=..., timeout=-1, 
    winId=0) at ../../knotify/knotify.cpp:236
#25 0x000000000040a03b in KNotifyAdaptor::qt_metacall (this=0x1cec0c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff221f3210) at ./knotify.moc:227
#26 0x00007f93c02e9486 in QDBusConnectionPrivate::deliverCall (this=<value optimized out>, object=<value optimized out>, msg=<value optimized out>, metaTypes=..., slotIdx=<value optimized out>)
    at qdbusintegrator.cpp:904
#27 0x00007f93c02ea74b in QDBusConnectionPrivate::activateCall (this=<value optimized out>, object=0x1cec0c0, flags=273, msg=...) at qdbusintegrator.cpp:816
#28 0x00007f93c02eb1cd in QDBusConnectionPrivate::activateObject (this=<value optimized out>, node=<value optimized out>, msg=..., pathStartPos=<value optimized out>) at qdbusintegrator.cpp:1364
#29 0x00007f93c02eb468 in QDBusActivateObjectEvent::placeMetaCall (this=0x1ce1c80) at qdbusintegrator.cpp:1477
#30 0x00007f93bffbfd49 in QObject::event (this=0x7fff221f3f80, e=0x1ce1c80) at kernel/qobject.cpp:1248
#31 0x00007f93bf36922c in QApplicationPrivate::notify_helper (this=0x1c0f9a0, receiver=0x7fff221f3f80, e=0x1ce1c80) at kernel/qapplication.cpp:4300
#32 0x00007f93bf36f6fb in QApplication::notify (this=0x7fff221f3fb0, receiver=0x7fff221f3f80, e=0x1ce1c80) at kernel/qapplication.cpp:4183
#33 0x00007f93c0e6a526 in KApplication::notify (this=0x7fff221f3fb0, receiver=0x7fff221f3f80, event=0x1ce1c80) at ../../kdeui/kernel/kapplication.cpp:302
#34 0x00007f93bffb006c in QCoreApplication::notifyInternal (this=0x7fff221f3fb0, receiver=0x7fff221f3f80, event=0x1ce1c80) at kernel/qcoreapplication.cpp:704
#35 0x00007f93bffb27e7 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x1bebff0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#36 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x1bebff0) at kernel/qcoreapplication.cpp:1345
#37 0x00007f93bffd99d3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#38 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#39 0x00007f93bbbf58c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#40 0x00007f93bbbf9748 in ?? () from /lib/libglib-2.0.so.0
#41 0x00007f93bbbf98fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#42 0x00007f93bffd9513 in QEventDispatcherGlib::processEvents (this=0x1bebb30, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#43 0x00007f93bf41946e in QGuiEventDispatcherGlib::processEvents (this=0x1f2e6d0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#44 0x00007f93bffae992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#45 0x00007f93bffaed6c in QEventLoop::exec (this=0x7fff221f3ed0, flags=) at kernel/qeventloop.cpp:201
#46 0x00007f93bffb2aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#47 0x0000000000407f4f in main (argc=<value optimized out>, argv=<value optimized out>) at ../../knotify/main.cpp:73


The crash can be reproduced every time.

 -- Backtrace:
Application: KNotify (knotify4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f93c1467760 (LWP 2386))]

Thread 2 (Thread 0x7f93ae474710 (LWP 2524)):
#0  __libc_disable_asynccancel () at ../nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S:97
#1  0x00007f93bebedf9b in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=2) at ../sysdeps/unix/sysv/linux/poll.c:89
#2  0x00007f93b37bf41f in poll_func (ufds=0x1c83200, nfds=2, timeout=-1, userdata=0x1f34ca0) at pulse/thread-mainloop.c:75
#3  0x00007f93b37aed86 in pa_mainloop_poll (m=0x1f2e7f0) at pulse/mainloop.c:879
#4  0x00007f93b37b0809 in pa_mainloop_iterate (m=0x1f2e7f0, block=<value optimized out>, retval=0x0) at pulse/mainloop.c:961
#5  0x00007f93b37b08c0 in pa_mainloop_run (m=0x1f2e7f0, retval=0x0) at pulse/mainloop.c:979
#6  0x00007f93b37bf21b in thread (userdata=0x1f2e7b0) at pulse/thread-mainloop.c:94
#7  0x00007f93b357e0e8 in internal_thread_func (userdata=0x1c831a0) at pulsecore/thread-posix.c:72
#8  0x00007f93bd2bd9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f93bebfa6fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f93c1467760 (LWP 2386)):
[KCrash Handler]
#5  0x00007f93b6356e49 in ?? () from /usr/lib/libasound.so.2
#6  0x00007f93b6319b15 in snd_pcm_close () from /usr/lib/libasound.so.2
#7  0x00007f93b3be16ff in ?? () from /usr/lib/gstreamer-0.10/libgstalsa.so
#8  0x00007f93b4e593c6 in ?? () from /usr/lib/libgstaudio-0.10.so.0
#9  0x00007f93b4e4cecb in gst_ring_buffer_close_device () from /usr/lib/libgstaudio-0.10.so.0
#10 0x00007f93b4e54ca6 in ?? () from /usr/lib/libgstaudio-0.10.so.0
#11 0x00007f93b56f818c in gst_element_change_state (element=0x1f2e6d0, transition=0) at gstelement.c:2548
#12 0x00007f93b56fb1bb in gst_element_set_state_func (element=0x1c82420, state=GST_STATE_NULL) at gstelement.c:2504
#13 0x00007f93b5ef29aa in Phonon::Gstreamer::AudioOutput::setOutputDevice (this=0x1c697e0, newDevice=<value optimized out>) at ../../gstreamer/audiooutput.cpp:217
#14 0x00007f93c0a00010 in callSetOutputDevice (this=0x1d389b0) at ../3rdparty/phonon/phonon/audiooutput.cpp:67
#15 Phonon::AudioOutputPrivate::setupBackendObject (this=0x1d389b0) at ../3rdparty/phonon/phonon/audiooutput.cpp:281
#16 0x00007f93c0a006f0 in Phonon::AudioOutputPrivate::createBackendObject (this=0x1d389b0) at ../3rdparty/phonon/phonon/audiooutput.cpp:124
#17 0x00007f93c09fceea in Phonon::AudioOutputPrivate::init (this=0x1d389b0, c=<value optimized out>) at ../3rdparty/phonon/phonon/audiooutput.cpp:106
#18 0x00007f93c09fd59d in AudioOutput (this=0x1d38030, category=Phonon::NotificationCategory, parent=0x0) at ../3rdparty/phonon/phonon/audiooutput.cpp:76
#19 0x000000000040d101 in Player (this=0x1cdea98) at ../../knotify/notifybysound.cpp:59
#20 PlayerPool::getPlayer (this=0x1cdea98) at ../../knotify/notifybysound.cpp:99
#21 0x000000000040d63e in NotifyBySound::notify (this=0x1ce0530, eventId=4, config=0x7fff221f2c80) at ../../knotify/notifybysound.cpp:243
#22 0x0000000000408d63 in KNotify::emitEvent (this=0x7fff221f3f80, e=0x1ce0aa0) at ../../knotify/knotify.cpp:179
#23 0x0000000000409022 in KNotify::event (this=0x7fff221f3f80, event=<value optimized out>, appname=<value optimized out>, contexts=<value optimized out>, title=<value optimized out>, 
    text=<value optimized out>, image=..., actions=..., timeout=-1, winId=0) at ../../knotify/knotify.cpp:128
#24 0x000000000040935f in KNotifyAdaptor::event (this=0x1cec0c0, event=..., fromApp=..., contexts=<value optimized out>, title=..., text=<value optimized out>, image=..., actions=..., timeout=-1, 
    winId=0) at ../../knotify/knotify.cpp:236
#25 0x000000000040a03b in KNotifyAdaptor::qt_metacall (this=0x1cec0c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff221f3210) at ./knotify.moc:227
#26 0x00007f93c02e9486 in QDBusConnectionPrivate::deliverCall (this=<value optimized out>, object=<value optimized out>, msg=<value optimized out>, metaTypes=..., slotIdx=<value optimized out>)
    at qdbusintegrator.cpp:904
#27 0x00007f93c02ea74b in QDBusConnectionPrivate::activateCall (this=<value optimized out>, object=0x1cec0c0, flags=273, msg=...) at qdbusintegrator.cpp:816
#28 0x00007f93c02eb1cd in QDBusConnectionPrivate::activateObject (this=<value optimized out>, node=<value optimized out>, msg=..., pathStartPos=<value optimized out>) at qdbusintegrator.cpp:1364
#29 0x00007f93c02eb468 in QDBusActivateObjectEvent::placeMetaCall (this=0x1ce1c80) at qdbusintegrator.cpp:1477
#30 0x00007f93bffbfd49 in QObject::event (this=0x7fff221f3f80, e=0x1ce1c80) at kernel/qobject.cpp:1248
#31 0x00007f93bf36922c in QApplicationPrivate::notify_helper (this=0x1c0f9a0, receiver=0x7fff221f3f80, e=0x1ce1c80) at kernel/qapplication.cpp:4300
#32 0x00007f93bf36f6fb in QApplication::notify (this=0x7fff221f3fb0, receiver=0x7fff221f3f80, e=0x1ce1c80) at kernel/qapplication.cpp:4183
#33 0x00007f93c0e6a526 in KApplication::notify (this=0x7fff221f3fb0, receiver=0x7fff221f3f80, event=0x1ce1c80) at ../../kdeui/kernel/kapplication.cpp:302
#34 0x00007f93bffb006c in QCoreApplication::notifyInternal (this=0x7fff221f3fb0, receiver=0x7fff221f3f80, event=0x1ce1c80) at kernel/qcoreapplication.cpp:704
#35 0x00007f93bffb27e7 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x1bebff0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#36 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x1bebff0) at kernel/qcoreapplication.cpp:1345
#37 0x00007f93bffd99d3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#38 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#39 0x00007f93bbbf58c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#40 0x00007f93bbbf9748 in ?? () from /lib/libglib-2.0.so.0
#41 0x00007f93bbbf98fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#42 0x00007f93bffd9513 in QEventDispatcherGlib::processEvents (this=0x1bebb30, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#43 0x00007f93bf41946e in QGuiEventDispatcherGlib::processEvents (this=0x1f2e6d0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#44 0x00007f93bffae992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#45 0x00007f93bffaed6c in QEventLoop::exec (this=0x7fff221f3ed0, flags=) at kernel/qeventloop.cpp:201
#46 0x00007f93bffb2aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#47 0x0000000000407f4f in main (argc=<value optimized out>, argv=<value optimized out>) at ../../knotify/main.cpp:73

Possible duplicates by query: bug 242941, bug 241577, bug 241403, bug 241334, bug 241121.

Reported using DrKonqi
Comment 1 Christoph Feck 2010-07-07 15:55:45 UTC

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