Bug 326075

Summary: randomly crashes
Product: [Unmaintained] kdelibs Reporter: Don Harter <don_h8>
Component: knotifyAssignee: Olivier Goffart <ogoffart>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 4.11.1   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Don Harter 2013-10-16 00:01:12 UTC
Application: knotify4 (4.11.1)
KDE Platform Version: 4.11.1
Qt Version: 4.8.5
Operating System: Linux 3.4.47-2.38-default x86_64
Distribution: "openSUSE 12.2 (x86_64)"

-- Information about the crash:
The computer desktop was locked.  I have had similar crashes when opening firefox windows/tabs  from downloading.
I have previously searched for old libraries on my system.

The crash can be reproduced every time.

-- Backtrace:
Application: KNotify (knotify4), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f3298561780 (LWP 21139))]

Thread 2 (Thread 0x7f3286b81700 (LWP 21142)):
#0  0x00007fffd7bff827 in clock_gettime ()
#1  0x00007f3290993f7d in clock_gettime () from /lib64/librt.so.1
#2  0x00007f3295df7de4 in do_gettime (frac=0x7f3286b80b38, sec=0x7f3286b80b30) at tools/qelapsedtimer_unix.cpp:127
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:144
#4  0x00007f3295eccdfd in QTimerInfoList::updateCurrentTime (this=this@entry=0x7f3280002860) at kernel/qeventdispatcher_unix.cpp:354
#5  0x00007f3295ecd143 in QTimerInfoList::timerWait (this=0x7f3280002860, tm=...) at kernel/qeventdispatcher_unix.cpp:460
#6  0x00007f3295ecbb3c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f3286b80c2c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007f3295ecbbe5 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007f3292bffebf in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#9  0x00007f3292c005ab in ?? () from /usr/lib64/libglib-2.0.so.0
#10 0x00007f3292c007a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#11 0x00007f3295ecc4f6 in QEventDispatcherGlib::processEvents (this=0x7f32800008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#12 0x00007f3295e9cb2f in QEventLoop::processEvents (this=this@entry=0x7f3286b80dd0, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007f3295e9cdb8 in QEventLoop::exec (this=0x7f3286b80dd0, flags=...) at kernel/qeventloop.cpp:204
#14 0x00007f3295d9f100 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#15 0x00007f3295e7d29f in QInotifyFileSystemWatcherEngine::run (this=0x2113810) at io/qfilesystemwatcher_inotify.cpp:256
#16 0x00007f3295da20dc in QThreadPrivate::start (arg=0x2113810) at thread/qthread_unix.cpp:338
#17 0x00007f3293808e0e in start_thread () from /lib64/libpthread.so.0
#18 0x00007f32957592cd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f3298561780 (LWP 21139)):
[KCrash Handler]
#6  Phonon::Gstreamer::Pipeline::setState (this=0x0, state=GST_STATE_PLAYING) at /usr/src/debug/phonon-backend-gstreamer-4.6.1/gstreamer/pipeline.cpp:236
#7  0x00007f3285c17ce2 in Phonon::Gstreamer::MediaObject::requestState (this=this@entry=0x2448b50, state=state@entry=Phonon::PlayingState) at /usr/src/debug/phonon-backend-gstreamer-4.6.1/gstreamer/mediaobject.cpp:839
#8  0x00007f3285c17fb4 in Phonon::Gstreamer::MediaObject::play (this=0x2448b50) at /usr/src/debug/phonon-backend-gstreamer-4.6.1/gstreamer/mediaobject.cpp:239
#9  0x000000000040ef99 in play (file=..., this=<optimized out>) at /usr/src/debug/kde-runtime-4.11.1/knotify/notifybysound.cpp:63
#10 NotifyBySound::notify (this=0x214b500, eventId=84, config=0x21ab048) at /usr/src/debug/kde-runtime-4.11.1/knotify/notifybysound.cpp:245
#11 0x000000000040be97 in KNotify::emitEvent (this=this@entry=0x7fffd7af9620, e=e@entry=0x21ab040) at /usr/src/debug/kde-runtime-4.11.1/knotify/knotify.cpp:230
#12 0x000000000040cc0a in KNotify::event (this=0x7fffd7af9620, event=..., appname=..., contexts=..., title=..., text=..., image=..., actions=..., timeout=timeout@entry=-1, winId=winId@entry=0) at /usr/src/debug/kde-runtime-4.11.1/knotify/knotify.cpp:149
#13 0x000000000040cf3d in KNotifyAdaptor::event (this=0x2138020, event=..., fromApp=..., contexts=..., title=..., text=..., image=..., actions=..., timeout=-1, winId=0) at /usr/src/debug/kde-runtime-4.11.1/knotify/knotify.cpp:289
#14 0x000000000040d0e0 in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /usr/src/debug/kde-runtime-4.11.1/build/knotify/knotify.moc:217
#15 KNotifyAdaptor::qt_static_metacall (_o=0x7fffd7af8130, _c=QMetaObject::QueryPropertyDesignable, _id=1, _a=0x7fffd7af8970) at /usr/src/debug/kde-runtime-4.11.1/build/knotify/knotify.moc:207
#16 0x000000000040d1bb in KNotifyAdaptor::qt_metacall (this=0x2138020, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffd7af8970) at /usr/src/debug/kde-runtime-4.11.1/build/knotify/knotify.moc:259
#17 0x00007f3296221e0a in QDBusConnectionPrivate::deliverCall (this=this@entry=0x1fb19c0, object=object@entry=0x2138020, msg=..., metaTypes=..., slotIdx=8) at qdbusintegrator.cpp:951
#18 0x00007f3296222f85 in QDBusConnectionPrivate::activateCall (this=this@entry=0x1fb19c0, object=0x2138020, flags=flags@entry=273, msg=...) at qdbusintegrator.cpp:863
#19 0x00007f32962238f6 in QDBusConnectionPrivate::activateObject (this=0x1fb19c0, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1427
#20 0x00007f32962239eb in QDBusActivateObjectEvent::placeMetaCall (this=0x21aafa0) at qdbusintegrator.cpp:1541
#21 0x00007f3295eb285e in QObject::event (this=0x7fffd7af9620, e=<optimized out>) at kernel/qobject.cpp:1203
#22 0x00007f3296b2491c in QApplicationPrivate::notify_helper (this=this@entry=0x1fc7780, receiver=receiver@entry=0x7fffd7af9620, e=e@entry=0x21aafa0) at kernel/qapplication.cpp:4562
#23 0x00007f3296b28d9a in QApplication::notify (this=0x7fffd7af9600, receiver=0x7fffd7af9620, e=0x21aafa0) at kernel/qapplication.cpp:4423
#24 0x00007f3297f92d76 in KApplication::notify (this=0x7fffd7af9600, receiver=0x7fffd7af9620, event=0x21aafa0) at /usr/src/debug/kdelibs-4.11.1/kdeui/kernel/kapplication.cpp:311
#25 0x00007f3295e9de7e in QCoreApplication::notifyInternal (this=0x7fffd7af9600, receiver=receiver@entry=0x7fffd7af9620, event=event@entry=0x21aafa0) at kernel/qcoreapplication.cpp:949
#26 0x00007f3295ea17e1 in sendEvent (event=0x21aafa0, receiver=0x7fffd7af9620) at kernel/qcoreapplication.h:231
#27 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1f952b0) at kernel/qcoreapplication.cpp:1573
#28 0x00007f3295ecc343 in sendPostedEvents () at kernel/qcoreapplication.h:236
#29 postEventSourceDispatch (s=0x1fc30f0) at kernel/qeventdispatcher_glib.cpp:280
#30 0x00007f3292c003b5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#31 0x00007f3292c006e8 in ?? () from /usr/lib64/libglib-2.0.so.0
#32 0x00007f3292c007a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#33 0x00007f3295ecc4d6 in QEventDispatcherGlib::processEvents (this=0x1f9a710, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#34 0x00007f3296bc4dde in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x00007f3295e9cb2f in QEventLoop::processEvents (this=this@entry=0x7fffd7af94d0, flags=...) at kernel/qeventloop.cpp:149
#36 0x00007f3295e9cdb8 in QEventLoop::exec (this=0x7fffd7af94d0, flags=...) at kernel/qeventloop.cpp:204
#37 0x00007f3295ea1af8 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#38 0x000000000040a2a7 in main (argc=1, argv=0x7fffd7af9768) at /usr/src/debug/kde-runtime-4.11.1/knotify/main.cpp:74

Possible duplicates by query: bug 325436, bug 317026, bug 314443.

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-10-16 00:48:11 UTC
Use phonon-vlc backend as workaround.  Or, just choose an external application (like mplayer) to play notification.

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