Bug 242788

Summary: knotify crashes regularly
Product: [I don't know] kde Reporter: Chani <chanika>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: dnlwstr
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Chani 2010-06-25 15:47:56 UTC
Version:           unspecified (using Devel) 
OS:                Linux

hoo boy, I hit the maximum comment length for bugzilla with this backtrace, so I have to report it manually instead of through the wizard. I couldn't find a knotify component, though. o.0

good news is, the actual crash was in thread 293 of 294, so this partial backtrace should actually be useful! :)

I've got the full bt saved, too, but I won't bother attaching it unless someone really wants to read it.

here's the top of what the wizard wanted to send:
Application: knotify4 (4.0)
KDE Platform Version: 4.4.90 (KDE 4.4.90 (KDE 4.5 RC1)) (Compiled from sources)
Qt Version: 4.6.2
Operating System: Linux 2.6.31.12-0.2-default i686
Distribution: "openSUSE 11.2 (i586)"

-- Information about the crash:
for the past... week or two... knotify4 has been crashing several times a day. sometimes my system becomes unresponsive for a minute or so before it crashes - it gets hard to type, and sometimes kwin turns off compositing because that gets too slow. sound often seems to stop around the same time, too; in fact, I can't even use mplayer right now, and knotify4 is already using ~40% cpu again. :/ either knotify is going mad because it can't access the sound, or it's hogging the sound because it's gone mad. the latter would be more likely - I quit firefox and killall'd nspluginviewer, and I don't have any music apps running, so knotify *should* be the only thing using sound, and it's still nuts.
I just kill -9'd it (killall only worked on one of the two processes), and sound has returned - so yeah, it looks like it goes insane and eats my sound card every so often. :/

it's probably coincidence, but X has been destabilizing in the last two weeks as well (two random X crashes yesterday :( )

I'm running trunk kdelibs/kdebase (updated last night, no change), and suse 4.4 packages for nearly everything else.

The crash can be reproduced every time.

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

Thread 294 (Thread 0xb14acb70 (LWP 13785)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb6ce10c2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb264c1db in metronom_sync_loop () from /usr/lib/libxine.so.1
#3  0xb6cdc6e5 in start_thread () from /lib/libpthread.so.0
#4  0xb6cdc600 in ?? () from /lib/libpthread.so.0

Thread 293 (Thread 0xb0cabb70 (LWP 13786)):
[KCrash Handler]
#7  0xb6cdecc7 in pthread_mutex_lock () from /lib/libpthread.so.0
#8  0xb2661403 in xine_event_new_queue () from /usr/lib/libxine.so.1
#9  0xb26aff4e in Phonon::Xine::XineStream::createStream (this=0xb9198f30) at /home/chani/src/kde/phonon-git/xine/xinestream.cpp:549
#10 0xb26b250c in Phonon::Xine::XineStream::event (this=0xb9198f30, ev=0xbbfc9e08) at /home/chani/src/kde/phonon-git/xine/xinestream.cpp:1244
#11 0xb615ac9c in QApplicationPrivate::notify_helper (this=0x808eaa0, receiver=0xb9198f30, e=0xbbfc9e08) at /home/chani/src/kde/qt-copy/src/gui/kernel/qapplication.cpp:4304
#12 0xb61583de in QApplication::notify (this=0xbfc16cc8, receiver=0xb9198f30, e=0xbbfc9e08) at /home/chani/src/kde/qt-copy/src/gui/kernel/qapplication.cpp:3708
#13 0xb7663b7a in KApplication::notify (this=0xbfc16cc8, receiver=0xb9198f30, event=0xbbfc9e08) at /home/chani/src/kde/kdelibs/kdeui/kernel/kapplication.cpp:309
#14 0xb6ea1a11 in QCoreApplication::notifyInternal (this=0xbfc16cc8, receiver=0xb9198f30, event=0xbbfc9e08) at /home/chani/src/kde/qt-copy/src/corelib/kernel/qcoreapplication.cpp:704
#15 0xb6ea54dd in QCoreApplication::sendEvent (receiver=0xb9198f30, event=0xbbfc9e08) at ../../include/QtCore/../../../../../src/kde/qt-copy/src/corelib/kernel/qcoreapplication.h:215
#16 0xb6ea2ac5 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x81723f8) at /home/chani/src/kde/qt-copy/src/corelib/kernel/qcoreapplication.cpp:1345
#17 0xb6ea277d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /home/chani/src/kde/qt-copy/src/corelib/kernel/qcoreapplication.cpp:1238
#18 0xb6ed9b3a in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../../../../src/kde/qt-copy/src/corelib/kernel/qcoreapplication.h:220
#19 0xb6ed8418 in postEventSourceDispatch (s=0x80f7df0) at /home/chani/src/kde/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:276
#20 0xb59234c2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#21 0xb5926d98 in ?? () from /usr/lib/libglib-2.0.so.0
#22 0xb5926ebe in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#23 0xb6ed9424 in QEventDispatcherGlib::processEvents (this=0x81430e8, flags=...) at /home/chani/src/kde/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:412
#24 0xb6e9edeb in QEventLoop::processEvents (this=0xb0cab268, flags=...) at /home/chani/src/kde/qt-copy/src/corelib/kernel/qeventloop.cpp:149
#25 0xb6e9ef30 in QEventLoop::exec (this=0xb0cab268, flags=...) at /home/chani/src/kde/qt-copy/src/corelib/kernel/qeventloop.cpp:201
#26 0xb6d88524 in QThread::exec (this=0x81e88a8) at /home/chani/src/kde/qt-copy/src/corelib/thread/qthread.cpp:487
#27 0xb26a3a1a in Phonon::Xine::XineThread::run (this=0x81e88a8) at /home/chani/src/kde/phonon-git/xine/xinethread.cpp:143
#28 0xb6d8ae5c in QThreadPrivate::start (arg=0x81e88a8) at /home/chani/src/kde/qt-copy/src/corelib/thread/qthread_unix.cpp:248
#29 0xb6cdc6e5 in start_thread () from /lib/libpthread.so.0
#30 0xb6cdc600 in ?? () from /lib/libpthread.so.0

Thread 292 (Thread 0xb04a0b70 (LWP 13789)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb5dffd5e in poll () from /lib/libc.so.6
#2  0xb04a6349 in ao_alsa_handle_event_thread () from /usr/lib/xine/plugins/1.28/xineplug_ao_out_alsa.so
#3  0xb6cdc6e5 in start_thread () from /lib/libpthread.so.0
#4  0xb6cdc600 in ?? () from /lib/libpthread.so.0




Reproducible: Always
Comment 1 Christoph Feck 2010-06-25 18:16:18 UTC

*** This bug has been marked as a duplicate of bug 224391 ***
Comment 2 Daniel Wester 2010-07-14 17:34:11 UTC
I am not sure whether to post a new bug for my issue or if it is related to this one.
Different Kernel, OS and KDE Platform, but yet the same problem.
My system does _not_ freeze or behave strange before the error appears, but the crash is reproduced by starting program by hitting <alt+f2>, not always but every third time or so.

Application: knotify4 (4.0)
KDE Platform Version: 4.4.3 (KDE 4.4.3)
Qt Version: 4.6.2
Operating System: Linux 2.6.33.5-desktop586-2mnb i686
Distribution: "Mandriva Linux 2010.1"

-- Information about the crash:
Just this time I entered <alt+F2> "kdesu dolphin" but knotify crashes
occasionally regardless of command written in the run command dialog box.

The crash can be reproduced some of the time.

 -- Backtrace:
Application: KNotify (knotify4), signal: Aborted
[Current thread is 1 (Thread 0xb56516d0 (LWP 7132))]

Thread 1 (Thread 0xb56516d0 (LWP 7132)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb626bc4b in write () from /lib/i686/libc.so.6
#2  0xb34d7a30 in gst_poll_write_control () from /usr/lib/libgstreamer-0.10.so.0
#3  0xb34ec8a8 in ?? () from /usr/lib/libgstreamer-0.10.so.0
#4  0xb34eca30 in ?? () from /usr/lib/libgstreamer-0.10.so.0
#5  0xb34a3f1f in gst_clock_id_unschedule () from /usr/lib/libgstreamer-0.10.so.0
#6  0xb34447de in ?? () from /usr/lib/libgstbase-0.10.so.0
#7  0xb340c343 in ?? () from /usr/lib/libgstaudio-0.10.so.0
#8  0xb34ab55b in gst_element_change_state () from /usr/lib/libgstreamer-0.10.so.0
#9  0xb34aed37 in ?? () from /usr/lib/libgstreamer-0.10.so.0
#10 0xb34aa8a1 in gst_element_set_state () from /usr/lib/libgstreamer-0.10.so.0
#11 0xb3499828 in ?? () from /usr/lib/libgstreamer-0.10.so.0
#12 0xb34ab55b in gst_element_change_state () from /usr/lib/libgstreamer-0.10.so.0
#13 0xb34aed37 in ?? () from /usr/lib/libgstreamer-0.10.so.0
#14 0xb34aa8a1 in gst_element_set_state () from /usr/lib/libgstreamer-0.10.so.0
#15 0xb36959bf in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_gstreamer.so
#16 0xb7420d3a in Phonon::MediaNodePrivate::deleteBackendObject() () from /usr/lib/libphonon.so.4
#17 0xb7430b31 in ?? () from /usr/lib/libphonon.so.4
#18 0xb742fb7d in ?? () from /usr/lib/libphonon.so.4
#19 0xb742b849 in ?? () from /usr/lib/libphonon.so.4
#20 0xb61d1c4f in __run_exit_handlers () from /lib/i686/libc.so.6
#21 0xb61d1cbf in exit () from /lib/i686/libc.so.6
#22 0xb658e9d8 in ?? () from /usr/lib/libQtGui.so.4
#23 0xb763a0f9 in KApplication::xioErrhandler(_XDisplay*) () from /usr/lib/libkdeui.so.5
#24 0xb763a134 in ?? () from /usr/lib/libkdeui.so.5
#25 0xb6031034 in _XIOError () from /usr/lib/libX11.so.6
#26 0xb6038d90 in ?? () from /usr/lib/libX11.so.6
#27 0xb6039707 in _XEventsQueued () from /usr/lib/libX11.so.6
#28 0xb6021d34 in XEventsQueued () from /usr/lib/libX11.so.6
#29 0xb65cbe4d in ?? () from /usr/lib/libQtGui.so.4
#30 0xb5cc51e1 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#31 0xb5cc55c9 in ?? () from /usr/lib/libglib-2.0.so.0
#32 0xb5cc5b9e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#33 0xb70095c1 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#34 0xb65cbbda in ?? () from /usr/lib/libQtGui.so.4
#35 0xb6fdb0fd in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#36 0xb6fdb549 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#37 0xb6fdf6d0 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#38 0xb650afc4 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#39 0x0804dd5f in _start ()