Bug 240562

Summary: crash on statrup and shutdown
Product: [Unmaintained] kdelibs Reporter: Pwoz <the_pwoz>
Component: knotifyAssignee: Olivier Goffart <ogoffart>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kde
Priority: NOR    
Version: 4.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Pwoz 2010-06-03 09:25:27 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:
Knotify crashes on startup and shutdown; maybe when playing sound? pulseaudio involved?

The crash can be reproduced every time.

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

Thread 2 (Thread 0x7f6022019710 (LWP 1647)):
#0  0x00007f6033e94f53 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f602736441f in ?? () from /usr/lib/libpulse.so.0
#2  0x00007f6027353d86 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#3  0x00007f6027355809 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#4  0x00007f60273558c0 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#5  0x00007f602736421b in ?? () from /usr/lib/libpulse.so.0
#6  0x00007f60271230e8 in ?? () from /usr/lib/libpulsecommon-0.9.21.so
#7  0x00007f60325649ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#8  0x00007f6033ea16cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f603670c760 (LWP 1528)):
[KCrash Handler]
#5  0x00007f602b644e49 in ?? () from /usr/lib/libasound.so.2
#6  0x00007f602b607b15 in snd_pcm_close () from /usr/lib/libasound.so.2
#7  0x00007f60277866ff in ?? () from /usr/lib/gstreamer-0.10/libgstalsa.so
#8  0x00007f602a1823c6 in ?? () from /usr/lib/libgstaudio-0.10.so.0
#9  0x00007f602a175ecb in gst_ring_buffer_close_device () from /usr/lib/libgstaudio-0.10.so.0
#10 0x00007f602a17dca6 in ?? () from /usr/lib/libgstaudio-0.10.so.0
#11 0x00007f602aa2118c in gst_element_change_state (element=0x1c16b70, transition=0) at gstelement.c:2548
#12 0x00007f602aa241bb in gst_element_set_state_func (element=0x1ab4640, state=GST_STATE_NULL) at gstelement.c:2504
#13 0x00007f602b1bd9aa in Phonon::Gstreamer::AudioOutput::setOutputDevice (this=0x1c1c330, newDevice=<value optimized out>) at ../../gstreamer/audiooutput.cpp:217
#14 0x00007f6035ca6010 in callSetOutputDevice (this=0x1a77fa0) at ../3rdparty/phonon/phonon/audiooutput.cpp:67
#15 Phonon::AudioOutputPrivate::setupBackendObject (this=0x1a77fa0) at ../3rdparty/phonon/phonon/audiooutput.cpp:281
#16 0x00007f6035ca66f0 in Phonon::AudioOutputPrivate::createBackendObject (this=0x1a77fa0) at ../3rdparty/phonon/phonon/audiooutput.cpp:124
#17 0x00007f6035ca2eea in Phonon::AudioOutputPrivate::init (this=0x1a77fa0, c=<value optimized out>) at ../3rdparty/phonon/phonon/audiooutput.cpp:106
#18 0x00007f6035ca359d in AudioOutput (this=0x1ae3580, category=Phonon::NotificationCategory, parent=0x0) at ../3rdparty/phonon/phonon/audiooutput.cpp:76
#19 0x000000000040d101 in Player (this=0x19f4b48) at ../../knotify/notifybysound.cpp:59
#20 PlayerPool::getPlayer (this=0x19f4b48) at ../../knotify/notifybysound.cpp:99
#21 0x000000000040d63e in NotifyBySound::notify (this=0x19a23a0, eventId=4, config=0x7fff901c52a0) at ../../knotify/notifybysound.cpp:243
#22 0x0000000000408d63 in KNotify::emitEvent (this=0x7fff901c65a0, e=0x19fb8a0) at ../../knotify/knotify.cpp:179
#23 0x0000000000409022 in KNotify::event (this=0x7fff901c65a0, 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=0x1a70020, 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=0x1a70020, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff901c5830) at ./knotify.moc:227
#26 0x00007f603558f486 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 0x00007f603559074b in QDBusConnectionPrivate::activateCall (this=<value optimized out>, object=0x1a70020, flags=273, msg=...) at qdbusintegrator.cpp:816
#28 0x00007f60355911cd in QDBusConnectionPrivate::activateObject (this=<value optimized out>, node=<value optimized out>, msg=..., pathStartPos=<value optimized out>) at qdbusintegrator.cpp:1364
#29 0x00007f6035591468 in QDBusActivateObjectEvent::placeMetaCall (this=0x1aeeb80) at qdbusintegrator.cpp:1477
#30 0x00007f6035265d49 in QObject::event (this=0x7fff901c65a0, e=0x1aeeb80) at kernel/qobject.cpp:1248
#31 0x00007f603460f22c in QApplicationPrivate::notify_helper (this=0x19920c0, receiver=0x7fff901c65a0, e=0x1aeeb80) at kernel/qapplication.cpp:4300
#32 0x00007f60346156fb in QApplication::notify (this=0x7fff901c65d0, receiver=0x7fff901c65a0, e=0x1aeeb80) at kernel/qapplication.cpp:4183
#33 0x00007f6036110526 in KApplication::notify (this=0x7fff901c65d0, receiver=0x7fff901c65a0, event=0x1aeeb80) at ../../kdeui/kernel/kapplication.cpp:302
#34 0x00007f603525606c in QCoreApplication::notifyInternal (this=0x7fff901c65d0, receiver=0x7fff901c65a0, event=0x1aeeb80) at kernel/qcoreapplication.cpp:704
#35 0x00007f60352587e7 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x196cff0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#36 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x196cff0) at kernel/qcoreapplication.cpp:1345
#37 0x00007f603527f9d3 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 0x00007f6030e9c8c2 in g_main_dispatch (context=0x1994920) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:1960
#40 IA__g_main_context_dispatch (context=0x1994920) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2513
#41 0x00007f6030ea0748 in g_main_context_iterate (context=0x1994920, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2591
#42 0x00007f6030ea08fc in IA__g_main_context_iteration (context=0x1994920, may_block=1) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2654
#43 0x00007f603527f513 in QEventDispatcherGlib::processEvents (this=0x196cb30, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#44 0x00007f60346bf46e in QGuiEventDispatcherGlib::processEvents (this=0x1c16b70, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#45 0x00007f6035254992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#46 0x00007f6035254d6c in QEventLoop::exec (this=0x7fff901c64f0, flags=) at kernel/qeventloop.cpp:201
#47 0x00007f6035258aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#48 0x0000000000407f4f in main (argc=<value optimized out>, argv=<value optimized out>) at ../../knotify/main.cpp:73

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

Possible duplicates by query: bug 240477, bug 240428, bug 240181, bug 240162, bug 239073.

Reported using DrKonqi
Comment 1 Nicolas L. 2010-06-03 10:21:44 UTC

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