Bug 259818

Summary: KNOTIFY crashes
Product: [Unmaintained] kdelibs Reporter: Jehoshaphat <jehoca42>
Component: knotifyAssignee: Olivier Goffart <ogoffart>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: 4.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jehoshaphat 2010-12-14 09:40:02 UTC
Application: knotify4 (4.0)
KDE Platform Version: 4.4.2 (KDE 4.4.2) (Compiled from sources)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-26-generic i686
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
Knotify crashes at startup and anytime it has to notify me of an event. Irrespective of which application initiated the event, Knotify will crash when reporting the event.


The crash can be reproduced every time.

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

Thread 2 (Thread 0xb1eddb70 (LWP 3615)):
#0  0x002c1422 in __kernel_vsyscall ()
#1  0x00381b86 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0x016c8502 in ?? () from /usr/lib/libpulse.so.0
#3  0x016b4a59 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#4  0x016b6a13 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#5  0x016b6ae4 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#6  0x016c82a3 in ?? () from /usr/lib/libpulse.so.0
#7  0x01715e02 in ?? () from /usr/lib/libpulsecommon-0.9.21.so
#8  0x004df96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#9  0x0038fa4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb776c710 (LWP 3219)):
[KCrash Handler]
#6  0x0162ae5c in ?? () from /usr/lib/libasound.so.2
#7  0x015e7e9e in snd_pcm_close () from /usr/lib/libasound.so.2
#8  0x05df1662 in ?? () from /usr/lib/gstreamer-0.10/libgstalsa.so
#9  0x06eb8512 in ?? () from /usr/lib/libgstaudio-0.10.so.0
#10 0x06ea86f0 in gst_ring_buffer_close_device () from /usr/lib/libgstaudio-0.10.so.0
#11 0x06eb2e42 in ?? () from /usr/lib/libgstaudio-0.10.so.0
#12 0x017ee435 in gst_element_change_state (element=0x8fe0808, transition=GST_STATE_CHANGE_READY_TO_NULL) at gstelement.c:2548
#13 0x017f1928 in gst_element_set_state_func (element=0x8fe0808, state=GST_STATE_NULL) at gstelement.c:2504
#14 0x017ed7f0 in gst_element_set_state (element=0x8fe0808, state=GST_STATE_NULL) at gstelement.c:2405
#15 0x0166fe1c in Phonon::Gstreamer::AudioOutput::setOutputDevice (this=0x8f76890, newDevice=...) at ../../gstreamer/audiooutput.cpp:217
#16 0x006d1621 in callSetOutputDevice (this=0x8dbead0) at ../3rdparty/phonon/phonon/audiooutput.cpp:67
#17 Phonon::AudioOutputPrivate::setupBackendObject (this=0x8dbead0) at ../3rdparty/phonon/phonon/audiooutput.cpp:281
#18 0x006d1d22 in Phonon::AudioOutputPrivate::createBackendObject (this=0x8dbead0) at ../3rdparty/phonon/phonon/audiooutput.cpp:124
#19 0x006ce284 in Phonon::AudioOutputPrivate::init (this=0x8dbead0, c=Phonon::NotificationCategory) at ../3rdparty/phonon/phonon/audiooutput.cpp:106
#20 0x006ce929 in AudioOutput (this=0x8dbdd18, category=Phonon::NotificationCategory, parent=0x0) at ../3rdparty/phonon/phonon/audiooutput.cpp:76
#21 0x080535b4 in Player (this=0x8cff414) at ../../knotify/notifybysound.cpp:59
#22 PlayerPool::getPlayer (this=0x8cff414) at ../../knotify/notifybysound.cpp:99
#23 0x08053b01 in NotifyBySound::notify (this=0x8d98f20, eventId=33, config=0x8dbdd78) at ../../knotify/notifybysound.cpp:243
#24 0x0804f475 in KNotify::emitEvent (this=0xbfc079d4, e=0x8dbdd70) at ../../knotify/knotify.cpp:179
#25 0x0804f70b in KNotify::event (this=0xbfc079d4, event=..., appname=..., contexts=..., title=..., text=..., image=..., actions=..., timeout=-1, winId=0) at ../../knotify/knotify.cpp:128
#26 0x0804fa05 in KNotifyAdaptor::event (this=0x8d9dd00, event=..., fromApp=..., contexts=..., title=..., text=..., image=..., actions=..., timeout=-1, winId=<value optimized out>)
    at ../../knotify/knotify.cpp:236
#27 0x080505ad in KNotifyAdaptor::qt_metacall (this=0x8d9dd00, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfc06fbc) at ./knotify.moc:227
#28 0x00130b34 in QDBusConnectionPrivate::deliverCall (this=0x8cee6d8, object=0x8d9dd00, msg=..., metaTypes=..., slotIdx=8) at qdbusintegrator.cpp:904
#29 0x00131e45 in QDBusConnectionPrivate::activateCall (this=0x8cee6d8, object=0x8d9dd00, flags=273, msg=...) at qdbusintegrator.cpp:816
#30 0x00132880 in QDBusConnectionPrivate::activateObject (this=0x8cee6d8, node=..., msg=..., pathStartPos=7) at qdbusintegrator.cpp:1364
#31 0x00132b1a in QDBusActivateObjectEvent::placeMetaCall (this=0x8dbdf80) at qdbusintegrator.cpp:1477
#32 0x0100c3fe in QObject::event (this=0xbfc079d4, e=0x8dbdf80) at kernel/qobject.cpp:1248
#33 0x03ff04dc in QApplicationPrivate::notify_helper (this=0x8cfb938, receiver=0xbfc079d4, e=0x8dbdf80) at kernel/qapplication.cpp:4300
#34 0x03ff705e in QApplication::notify (this=0xbfc079e8, receiver=0xbfc079d4, e=0x8dbdf80) at kernel/qapplication.cpp:3704
#35 0x00cbbf2a in KApplication::notify (this=0xbfc079e8, receiver=0xbfc079d4, event=0x8dbdf80) at ../../kdeui/kernel/kapplication.cpp:302
#36 0x00ffba3b in QCoreApplication::notifyInternal (this=0xbfc079e8, receiver=0xbfc079d4, event=0x8dbdf80) at kernel/qcoreapplication.cpp:704
#37 0x00ffe473 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x8cd9a08) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#38 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8cd9a08) at kernel/qcoreapplication.cpp:1345
#39 0x00ffe5dd in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1238
#40 0x01027adf in QCoreApplication::sendPostedEvents (s=0x8cff510) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#41 postEventSourceDispatch (s=0x8cff510) at kernel/qeventdispatcher_glib.cpp:276
#42 0x0128c5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#43 0x012902d8 in ?? () from /lib/libglib-2.0.so.0
#44 0x012904b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#45 0x010275d5 in QEventDispatcherGlib::processEvents (this=0x8cd9be8, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#46 0x040b0135 in QGuiEventDispatcherGlib::processEvents (this=0x8cd9be8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#47 0x00ffa059 in QEventLoop::processEvents (this=0xbfc07934, flags=) at kernel/qeventloop.cpp:149
#48 0x00ffa4aa in QEventLoop::exec (this=0xbfc07934, flags=...) at kernel/qeventloop.cpp:201
#49 0x00ffe69f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#50 0x03ff0577 in QApplication::exec () at kernel/qapplication.cpp:3579
#51 0x0804e52f in main (argc=1, argv=0xbfc07b64) at ../../knotify/main.cpp:73

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

Possible duplicates by query: bug 257346, bug 255462, bug 255320, bug 253416, bug 250853.

Reported using DrKonqi
Comment 1 Dario Andres 2010-12-14 13:54:15 UTC
[Comment from a bug triager]
This issue was being tracked at bug 232068. It is a bug in the Alsa subsystem
when using the GStreamer phonon backend. Merging. Thanks

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