Bug 299874

Summary: knotify4 segfaults
Product: [Unmaintained] kdelibs Reporter: psmammoth
Component: knotifyAssignee: Olivier Goffart <ogoffart>
Status: RESOLVED DUPLICATE    
Severity: crash CC: adaptee
Priority: NOR    
Version: 4.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description psmammoth 2012-05-12 11:54:16 UTC
Application: knotify4 (4.0)
KDE Platform Version: 4.8.3 (4.8.3) "release 503"
Qt Version: 4.8.1
Operating System: Linux 2.6.37.6-0.11-desktop x86_64
Distribution: "openSUSE 11.4 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed: It looks like each notification window causes knotify to segfault.

The crash can be reproduced every time.

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

Thread 2 (Thread 0x7f24eb4d5700 (LWP 12504)):
#0  0x00007f24f74c767e in __pthread_mutex_unlock_usercnt () from /lib64/libpthread.so.0
#1  0x00007f24f673f4e5 in g_main_context_query () from /lib64/libglib-2.0.so.0
#2  0x00007f24f674001b in ?? () from /lib64/libglib-2.0.so.0
#3  0x00007f24f6740650 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#4  0x00007f24f9b34666 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007f24f9b046f2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007f24f9b0496d in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#7  0x00007f24f9a014c8 in QThread::exec() () from /usr/lib64/libQtCore.so.4
#8  0x00007f24f9ae30f8 in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007f24f9a03bbb in ?? () from /usr/lib64/libQtCore.so.4
#10 0x00007f24f74c3a3f in start_thread () from /lib64/libpthread.so.0
#11 0x00007f24f93e171d in clone () from /lib64/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f24fc24d760 (LWP 12503)):
[KCrash Handler]
#6  Phonon::Gstreamer::Pipeline::setState (this=0x0, state=GST_STATE_PLAYING) at /usr/src/debug/phonon-backend-gstreamer-4.6.0/gstreamer/pipeline.cpp:220
#7  0x000000000040ef98 in play (this=0x7bbef0, eventId=86, config=<value optimized out>) at /usr/src/debug/kde-runtime-4.8.3/knotify/notifybysound.cpp:63
#8  NotifyBySound::notify (this=0x7bbef0, eventId=86, config=<value optimized out>) at /usr/src/debug/kde-runtime-4.8.3/knotify/notifybysound.cpp:245
#9  0x000000000040bc11 in KNotify::emitEvent (this=0x7fff0378b520, e=0x7f07c0) at /usr/src/debug/kde-runtime-4.8.3/knotify/knotify.cpp:230
#10 0x000000000040ca73 in KNotify::event (this=0x7fff0378b520, event=<value optimized out>, appname=..., contexts=<value optimized out>, title=<value optimized out>, text=<value optimized out>, image=..., actions=..., timeout=-1, winId=73400327) at /usr/src/debug/kde-runtime-4.8.3/knotify/knotify.cpp:149
#11 0x000000000040cdc0 in KNotifyAdaptor::event (this=0x7e6550, event=..., fromApp=..., contexts=<value optimized out>, title=..., text=..., image=..., actions=..., timeout=-1, winId=73400327) at /usr/src/debug/kde-runtime-4.8.3/knotify/knotify.cpp:289
#12 0x000000000040cf78 in KNotifyAdaptor::qt_static_metacall (_o=<value optimized out>, _c=<value optimized out>, _id=<value optimized out>, _a=0x7fff0378a760) at /usr/src/debug/kde-runtime-4.8.3/build/knotify/knotify.moc:218
#13 0x000000000040d05b in KNotifyAdaptor::qt_metacall (this=0x7e6550, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff0378a760) at /usr/src/debug/kde-runtime-4.8.3/build/knotify/knotify.moc:260
#14 0x00007f24f9e84ae8 in ?? () from /usr/lib64/libQtDBus.so.4
#15 0x00007f24f9e85d05 in ?? () from /usr/lib64/libQtDBus.so.4
#16 0x00007f24f9e86561 in ?? () from /usr/lib64/libQtDBus.so.4
#17 0x00007f24f9e8677b in ?? () from /usr/lib64/libQtDBus.so.4
#18 0x00007f24f9b1a066 in QObject::event(QEvent*) () from /usr/lib64/libQtCore.so.4
#19 0x00007f24fa791684 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#20 0x00007f24fa799cef in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#21 0x00007f24fbc3ea96 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#22 0x00007f24f9b0561c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#23 0x00007f24f9b08c18 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQtCore.so.4
#24 0x00007f24f9b34473 in ?? () from /usr/lib64/libQtCore.so.4
#25 0x00007f24f673fbd3 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#26 0x00007f24f67403b0 in ?? () from /lib64/libglib-2.0.so.0
#27 0x00007f24f6740650 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#28 0x00007f24f9b3460f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#29 0x00007f24fa837c4e in ?? () from /usr/lib64/libQtGui.so.4
#30 0x00007f24f9b046f2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#31 0x00007f24f9b0496d in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#32 0x00007f24f9b090bb in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#33 0x000000000040a2ef in main (argc=1, argv=0x7fff0378b8e8) at /usr/src/debug/kde-runtime-4.8.3/knotify/main.cpp:73

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

Possible duplicates by query: bug 299834.

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-05-12 12:06:39 UTC

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