Bug 305193 - KNotify crashes
Summary: KNotify crashes
Status: RESOLVED DUPLICATE of bug 294006
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: knotify (show other bugs)
Version: 4.0
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Olivier Goffart
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-15 12:00 UTC by andreas.davour
Modified: 2012-08-15 12:05 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description andreas.davour 2012-08-15 12:00:45 UTC
Application: knotify4 (4.0)
KDE Platform Version: 4.8.5 (4.8.5)
Qt Version: 4.8.2
Operating System: Linux 3.5.1-1.fc17.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed:

Every time I resume the desktop from suspend, KNotify crash.

Also, now it crashed when I closed an open window of KWrite before the "do you want to save" had a chance to pop up.

The crash can be reproduced every time.

-- Backtrace:
Application: KNotify (knotify4), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7fd25ff2f880 (LWP 3587))]

Thread 3 (Thread 0x7fd255365700 (LWP 3588)):
#0  0x00000036fec09bc2 in __pthread_mutex_lock (mutex=0x7fd250000a60) at pthread_mutex_lock.c:96
#1  0x0000003700c83701 in g_mutex_lock (mutex=mutex@entry=0x7fd2500009a0) at gthread-posix.c:208
#2  0x0000003700c4794a in g_main_context_poll (n_fds=1, fds=0x7fd250002bb0, timeout=-1, context=0x7fd2500009a0, priority=<optimized out>) at gmain.c:3435
#3  g_main_context_iterate (context=context@entry=0x7fd2500009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3141
#4  0x0000003700c47a84 in g_main_context_iteration (context=0x7fd2500009a0, may_block=1) at gmain.c:3207
#5  0x0000003709da4506 in QEventDispatcherGlib::processEvents (this=0x7fd2500008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x0000003709d7513f in QEventLoop::processEvents (this=this@entry=0x7fd255364cf0, flags=...) at kernel/qeventloop.cpp:149
#7  0x0000003709d753c8 in QEventLoop::exec (this=0x7fd255364cf0, flags=...) at kernel/qeventloop.cpp:204
#8  0x0000003709c78650 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x0000003709d55b4f in QInotifyFileSystemWatcherEngine::run (this=0x2754f90) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x0000003709c7b5eb in QThreadPrivate::start (arg=0x2754f90) at thread/qthread_unix.cpp:307
#11 0x00000036fec07d14 in start_thread (arg=0x7fd255365700) at pthread_create.c:309
#12 0x00000036fe4f197d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7fd24b9ab700 (LWP 21700)):
#0  0x00000036fe4e8ecf in __GI___poll (fds=fds@entry=0x7fd2440008c0, nfds=nfds@entry=2, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x000000371c630f4f in poll_func (ufds=0x7fd2440008c0, nfds=2, timeout=-1, userdata=0x28bbf60) at pulse/thread-mainloop.c:69
#2  0x000000371c6224cc in pa_mainloop_poll (m=m@entry=0x28bbd10) at pulse/mainloop.c:875
#3  0x000000371c622b29 in pa_mainloop_iterate (m=m@entry=0x28bbd10, block=block@entry=1, retval=retval@entry=0x0) at pulse/mainloop.c:957
#4  0x000000371c622be0 in pa_mainloop_run (m=0x28bbd10, retval=retval@entry=0x0) at pulse/mainloop.c:975
#5  0x000000371c630eff in thread (userdata=0x2b2c1e0) at pulse/thread-mainloop.c:88
#6  0x000000371b243343 in internal_thread_func (userdata=0x28bbf90) at pulsecore/thread-posix.c:83
#7  0x00000036fec07d14 in start_thread (arg=0x7fd24b9ab700) at pthread_create.c:309
#8  0x00000036fe4f197d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7fd25ff2f880 (LWP 3587)):
[KCrash Handler]
#6  Phonon::Gstreamer::MediaNode::linkMediaNodeList (this=this@entry=0x2b6ea20, list=..., bin=0x29b6170 [GstBin], tee=tee@entry=0x0, fakesink=fakesink@entry=0x0, src=src@entry=0x0) at /usr/src/debug/phonon-backend-gstreamer-4.6.1/gstreamer/medianode.cpp:352
#7  0x00007fd25444a341 in Phonon::Gstreamer::MediaNode::link (this=0x2b6ea20) at /usr/src/debug/phonon-backend-gstreamer-4.6.1/gstreamer/medianode.cpp:382
#8  0x00007fd25444c162 in Phonon::Gstreamer::MediaObject::loadingComplete (this=this@entry=0x2b6ea00) at /usr/src/debug/phonon-backend-gstreamer-4.6.1/gstreamer/mediaobject.cpp:402
#9  0x00007fd25444db38 in Phonon::Gstreamer::MediaObject::handleStateChange (this=this@entry=0x2b6ea00, oldState=GST_STATE_NULL, newState=GST_STATE_READY) at /usr/src/debug/phonon-backend-gstreamer-4.6.1/gstreamer/mediaobject.cpp:547
#10 0x00007fd25445006d in qt_static_metacall (_a=0x7fffd7750090, _id=29, _o=<optimized out>, _c=<optimized out>) at /usr/src/debug/phonon-backend-gstreamer-4.6.1/x86_64-redhat-linux-gnu/gstreamer/moc_mediaobject.cpp:141
#11 Phonon::Gstreamer::MediaObject::qt_static_metacall (_o=0x2b6ea00, _c=<optimized out>, _id=29, _a=0x7fffd7750090) at /usr/src/debug/phonon-backend-gstreamer-4.6.1/x86_64-redhat-linux-gnu/gstreamer/moc_mediaobject.cpp:106
#12 0x0000003709d8cb9f in QMetaObject::activate (sender=0x2bb6410, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffd7750090) at kernel/qobject.cpp:3547
#13 0x00007fd254454cdf in Phonon::Gstreamer::Pipeline::stateChanged (this=this@entry=0x2bb6410, _t1=GST_STATE_NULL, _t2=GST_STATE_READY) at /usr/src/debug/phonon-backend-gstreamer-4.6.1/x86_64-redhat-linux-gnu/gstreamer/moc_pipeline.cpp:190
#14 0x00007fd254455400 in Phonon::Gstreamer::Pipeline::cb_state (bus=<optimized out>, gstMessage=<optimized out>, data=0x2bb6410) at /usr/src/debug/phonon-backend-gstreamer-4.6.1/gstreamer/pipeline.cpp:381
#15 0x000000370280f664 in g_closure_invoke (closure=0x2bbd140, return_value=return_value@entry=0x0, n_param_values=2, param_values=param_values@entry=0x7fffd7750320, invocation_hint=invocation_hint@entry=0x7fffd77502c0) at gclosure.c:777
#16 0x00000037028206d8 in signal_emit_unlocked_R (node=node@entry=0x27f6e80, detail=detail@entry=245, instance=instance@entry=0x28163e0, emission_return=emission_return@entry=0x0, instance_and_params=instance_and_params@entry=0x7fffd7750320) at gsignal.c:3551
#17 0x000000370282866d in g_signal_emit_valist (instance=0x28163e0, signal_id=<optimized out>, detail=245, var_args=var_args@entry=0x7fffd7750578) at gsignal.c:3300
#18 0x00000037028287c2 in g_signal_emit (instance=instance@entry=0x28163e0, signal_id=<optimized out>, detail=<optimized out>) at gsignal.c:3356
#19 0x000000371e632b1a in gst_bus_sync_signal_handler (bus=bus@entry=0x28163e0 [GstBus], message=message@entry=0x2808ba0 [GstMessage], data=data@entry=0x0) at gstbus.c:1145
#20 0x000000371e632f32 in gst_bus_post (bus=bus@entry=0x28163e0 [GstBus], message=message@entry=0x2808ba0 [GstMessage]) at gstbus.c:322
#21 0x000000371e640ea3 in gst_element_post_message (element=element@entry=0x2bb9e70 [GstPlayBin2], message=0x2808ba0 [GstMessage]) at gstelement.c:1853
#22 0x000000371e64187c in _priv_gst_element_state_changed (element=element@entry=0x2bb9e70 [GstPlayBin2], oldstate=oldstate@entry=GST_STATE_NULL, newstate=newstate@entry=GST_STATE_READY, pending=pending@entry=GST_STATE_PLAYING) at gstelement.c:2372
#23 0x000000371e642170 in gst_element_continue_state (element=element@entry=0x2bb9e70 [GstPlayBin2], ret=ret@entry=GST_STATE_CHANGE_SUCCESS) at gstelement.c:2437
#24 0x000000371e641def in gst_element_change_state (element=element@entry=0x2bb9e70 [GstPlayBin2], transition=transition@entry=GST_STATE_CHANGE_NULL_TO_READY) at gstelement.c:2798
#25 0x000000371e6426b8 in gst_element_set_state_func (element=0x2bb9e70 [GstPlayBin2], state=GST_STATE_PLAYING) at gstelement.c:2717
#26 0x00007fd254453cc6 in Phonon::Gstreamer::Pipeline::setState (this=0x2bb6410, state=GST_STATE_PLAYING) at /usr/src/debug/phonon-backend-gstreamer-4.6.1/gstreamer/pipeline.cpp:242
#27 0x00007fd25444c512 in Phonon::Gstreamer::MediaObject::requestState (this=this@entry=0x2b6ea00, state=state@entry=Phonon::PlayingState) at /usr/src/debug/phonon-backend-gstreamer-4.6.1/gstreamer/mediaobject.cpp:837
#28 0x00007fd25444c7e4 in Phonon::Gstreamer::MediaObject::play (this=0x2b6ea00) at /usr/src/debug/phonon-backend-gstreamer-4.6.1/gstreamer/mediaobject.cpp:239
#29 0x000000000040ed69 in play (file=..., this=<optimized out>) at /usr/src/debug/kde-runtime-4.8.5/knotify/notifybysound.cpp:63
#30 NotifyBySound::notify (this=0x26f1370, eventId=725, config=0x27c55e8) at /usr/src/debug/kde-runtime-4.8.5/knotify/notifybysound.cpp:245
#31 0x000000000040b2f7 in KNotify::emitEvent (this=this@entry=0x7fffd7751db0, e=e@entry=0x27c55e0) at /usr/src/debug/kde-runtime-4.8.5/knotify/knotify.cpp:230
#32 0x000000000040c06a in KNotify::event (this=0x7fffd7751db0, event=..., appname=..., contexts=..., title=..., text=..., image=..., actions=..., timeout=timeout@entry=-1, winId=winId@entry=73400455) at /usr/src/debug/kde-runtime-4.8.5/knotify/knotify.cpp:149
#33 0x000000000040c39d in KNotifyAdaptor::event (this=0x2707e90, event=..., fromApp=..., contexts=..., title=..., text=..., image=..., actions=..., timeout=-1, winId=73400455) at /usr/src/debug/kde-runtime-4.8.5/knotify/knotify.cpp:289
#34 0x000000000040c540 in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /usr/src/debug/kde-runtime-4.8.5/x86_64-redhat-linux-gnu/knotify/knotify.moc:217
#35 KNotifyAdaptor::qt_static_metacall (_o=0x2b6ea20, _c=45541928, _id=43737456, _a=0x7fffd7751100) at /usr/src/debug/kde-runtime-4.8.5/x86_64-redhat-linux-gnu/knotify/knotify.moc:207
#36 0x000000000040c61b in KNotifyAdaptor::qt_metacall (this=0x2707e90, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffd7751100) at /usr/src/debug/kde-runtime-4.8.5/x86_64-redhat-linux-gnu/knotify/knotify.moc:259
#37 0x000000370aa22e53 in QDBusConnectionPrivate::deliverCall (this=this@entry=0x25a9fd0, object=object@entry=0x2707e90, msg=..., metaTypes=..., slotIdx=8) at qdbusintegrator.cpp:947
#38 0x000000370aa23f55 in QDBusConnectionPrivate::activateCall (this=this@entry=0x25a9fd0, object=0x2707e90, flags=flags@entry=273, msg=...) at qdbusintegrator.cpp:857
#39 0x000000370aa248c6 in QDBusConnectionPrivate::activateObject (this=0x25a9fd0, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1423
#40 0x000000370aa249bb in QDBusActivateObjectEvent::placeMetaCall (this=0x277cbe0) at qdbusintegrator.cpp:1537
#41 0x0000003709d8acee in QObject::event (this=0x7fffd7751db0, e=<optimized out>) at kernel/qobject.cpp:1195
#42 0x000000370cdca37c in QApplicationPrivate::notify_helper (this=this@entry=0x25c0c70, receiver=receiver@entry=0x7fffd7751db0, e=e@entry=0x277cbe0) at kernel/qapplication.cpp:4551
#43 0x000000370cdce7fa in QApplication::notify (this=0x7fffd7751d90, receiver=0x7fffd7751db0, e=0x277cbe0) at kernel/qapplication.cpp:4412
#44 0x0000003ad46462b6 in KApplication::notify (this=0x7fffd7751d90, receiver=0x7fffd7751db0, event=0x277cbe0) at /usr/src/debug/kdelibs-4.8.5/kdeui/kernel/kapplication.cpp:311
#45 0x0000003709d763ee in QCoreApplication::notifyInternal (this=0x7fffd7751d90, receiver=receiver@entry=0x7fffd7751db0, event=event@entry=0x277cbe0) at kernel/qcoreapplication.cpp:915
#46 0x0000003709d79ea1 in sendEvent (event=0x277cbe0, receiver=0x7fffd7751db0) at kernel/qcoreapplication.h:231
#47 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x25905e0) at kernel/qcoreapplication.cpp:1539
#48 0x0000003709da4353 in sendPostedEvents () at kernel/qcoreapplication.h:236
#49 postEventSourceDispatch (s=s@entry=0x25c3000) at kernel/qeventdispatcher_glib.cpp:279
#50 0x0000003700c47695 in g_main_dispatch (context=0x25befb0) at gmain.c:2539
#51 g_main_context_dispatch (context=context@entry=0x25befb0) at gmain.c:3075
#52 0x0000003700c479c8 in g_main_context_iterate (context=context@entry=0x25befb0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3146
#53 0x0000003700c47a84 in g_main_context_iteration (context=0x25befb0, may_block=1) at gmain.c:3207
#54 0x0000003709da44e6 in QEventDispatcherGlib::processEvents (this=0x2591ec0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#55 0x000000370ce6a2ee in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#56 0x0000003709d7513f in QEventLoop::processEvents (this=this@entry=0x7fffd7751c60, flags=...) at kernel/qeventloop.cpp:149
#57 0x0000003709d753c8 in QEventLoop::exec (this=0x7fffd7751c60, flags=...) at kernel/qeventloop.cpp:204
#58 0x0000003709d7a1b8 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#59 0x0000000000409707 in main (argc=1, argv=0x7fffd7751ef8) at /usr/src/debug/kde-runtime-4.8.5/knotify/main.cpp:73

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-08-15 12:05:01 UTC

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