Bug 252054

Summary: KNotify crashes immediately after login [@ Phonon::Gstreamer::MediaObject::setError]
Product: [Unmaintained] phonon-backend-gstreamer Reporter: Abhishek Tamhane <abhishek.tamhane>
Component: generalAssignee: Martin Sandsmark <martin.sandsmark>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra, colin, martin.sandsmark, myriam, uglyog
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Abhishek Tamhane 2010-09-22 16:56:00 UTC
Application: knotify4 (4.0)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.3
Operating System: Linux 2.6.34.7-56.fc13.i686 i686
Distribution: "Fedora release 13 (Goddard)"

-- Information about the crash:
 KNotify crashes immediately after login. Works fine once I restart it though. 

The crash can be reproduced some of the time.

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

Thread 4 (Thread 0xb1fc7b70 (LWP 2401)):
#0  0x00179416 in __kernel_vsyscall ()
#1  0x00a8422c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:169
#2  0x05352283 in gst_task_func (task=0xa140818 [GstTask]) at gsttask.c:259
#3  0x05353718 in default_func (tdata=0xa13d3c8, pool=0x9f98008 [GstTaskPool]) at gsttaskpool.c:68
#4  0x00b49214 in g_thread_pool_thread_proxy (data=0x9f95750) at gthreadpool.c:315
#5  0x00b47210 in g_thread_create_proxy (data=0xa13db80) at gthread.c:1893
#6  0x00a80919 in start_thread (arg=0xb1fc7b70) at pthread_create.c:301
#7  0x009c2cbe in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 3 (Thread 0xb5fc8b70 (LWP 2407)):
#0  0x00179416 in __kernel_vsyscall ()
#1  0x00a8422c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:169
#2  0x05352283 in gst_task_func (task=0xa140e78 [GstTask]) at gsttask.c:259
#3  0x05353718 in default_func (tdata=0xad4016b0, pool=0x9f98008 [GstTaskPool]) at gsttaskpool.c:68
#4  0x00b49214 in g_thread_pool_thread_proxy (data=0x9f95750) at gthreadpool.c:315
#5  0x00b47210 in g_thread_create_proxy (data=0xad401238) at gthread.c:1893
#6  0x00a80919 in start_thread (arg=0xb5fc8b70) at pthread_create.c:301
#7  0x009c2cbe in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 2 (Thread 0xb53ffb70 (LWP 2417)):
#0  0x00179416 in __kernel_vsyscall ()
#1  0x009b7de6 in __poll (fds=0xb4800468, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x05c84ce3 in poll_func (ufds=0xb4800468, nfds=1, timeout=-1, userdata=0xb5420560) at pulse/thread-mainloop.c:75
#3  0x05c714ca in pa_mainloop_poll (m=0xb54204c0) at pulse/mainloop.c:879
#4  0x05c72d54 in pa_mainloop_iterate (m=0xb54204c0, block=1, retval=0x0) at pulse/mainloop.c:961
#5  0x05c72e34 in pa_mainloop_run (m=0xb54204c0, retval=0x0) at pulse/mainloop.c:979
#6  0x05c84a84 in thread (userdata=0xb541f5e0) at pulse/thread-mainloop.c:94
#7  0x05c20863 in internal_thread_func (userdata=0xb54205f0) at pulsecore/thread-posix.c:72
#8  0x00a80919 in start_thread (arg=0xb53ffb70) at pthread_create.c:301
#9  0x009c2cbe in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 1 (Thread 0xb77ad780 (LWP 2223)):
[KCrash Handler]
#6  0x00179416 in __kernel_vsyscall ()
#7  0x0090fd11 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#8  0x009115ea in abort () at abort.c:92
#9  0x00b44264 in IA__g_assertion_message (domain=0x0, file=0x78aaad "pulsesink.c", line=2470, func=0x78bf23 "gst_pulsesink_change_state", message=<value optimized out>) at gtestutils.c:1318
#10 0x00b4480e in IA__g_assertion_message_expr (domain=0x0, file=0x78aaad "pulsesink.c", line=2470, func=0x78bf23 "gst_pulsesink_change_state", expr=0x78aef3 "pulsesink->mainloop == NULL")
    at gtestutils.c:1329
#11 0x00782974 in gst_pulsesink_change_state (element=0xa0e4598 [GstPulseSink], transition=GST_STATE_CHANGE_NULL_TO_READY) at pulsesink.c:2470
#12 0x05309206 in gst_element_change_state (element=0xa0e4598 [GstPulseSink], transition=GST_STATE_CHANGE_NULL_TO_READY) at gstelement.c:2546
#13 0x0530c9a7 in gst_element_set_state_func (element=0xa0e4598 [GstPulseSink], state=GST_STATE_READY) at gstelement.c:2502
#14 0x053085a0 in gst_element_set_state (element=0xa0e4598 [GstPulseSink], state=GST_STATE_READY) at gstelement.c:2403
#15 0x052f82ac in gst_bin_element_set_state (element=0xa0e18c8 [GstBin], transition=GST_STATE_CHANGE_NULL_TO_READY) at gstbin.c:2136
#16 gst_bin_change_state_func (element=0xa0e18c8 [GstBin], transition=GST_STATE_CHANGE_NULL_TO_READY) at gstbin.c:2435
#17 0x05309206 in gst_element_change_state (element=0xa0e18c8 [GstBin], transition=GST_STATE_CHANGE_NULL_TO_READY) at gstelement.c:2546
#18 0x0530c9a7 in gst_element_set_state_func (element=0xa0e18c8 [GstBin], state=GST_STATE_READY) at gstelement.c:2502
#19 0x053085a0 in gst_element_set_state (element=0xa0e18c8 [GstBin], state=GST_STATE_READY) at gstelement.c:2403
#20 0x052f82ac in gst_bin_element_set_state (element=0xa0fc4b8 [GstBin], transition=GST_STATE_CHANGE_NULL_TO_READY) at gstbin.c:2136
#21 gst_bin_change_state_func (element=0xa0fc4b8 [GstBin], transition=GST_STATE_CHANGE_NULL_TO_READY) at gstbin.c:2435
#22 0x05309206 in gst_element_change_state (element=0xa0fc4b8 [GstBin], transition=GST_STATE_CHANGE_NULL_TO_READY) at gstelement.c:2546
#23 0x0530c9a7 in gst_element_set_state_func (element=0xa0fc4b8 [GstBin], state=GST_STATE_READY) at gstelement.c:2502
#24 0x053085a0 in gst_element_set_state (element=0xa0fc4b8 [GstBin], state=GST_STATE_READY) at gstelement.c:2403
#25 0x052f82ac in gst_bin_element_set_state (element=0xa0e64c8 [GstPipeline], transition=18) at gstbin.c:2136
#26 gst_bin_change_state_func (element=0xa0e64c8 [GstPipeline], transition=18) at gstbin.c:2435
#27 0x0532d8bb in gst_pipeline_change_state (element=0xa0e64c8 [GstPipeline], transition=18) at gstpipeline.c:475
#28 0x05309206 in gst_element_change_state (element=0xa0e64c8 [GstPipeline], transition=18) at gstelement.c:2546
#29 0x0530c9a7 in gst_element_set_state_func (element=0xa0e64c8 [GstPipeline], state=GST_STATE_READY) at gstelement.c:2502
#30 0x053085a0 in gst_element_set_state (element=0xa0e64c8 [GstPipeline], state=GST_STATE_READY) at gstelement.c:2403
#31 0x00f85c65 in Phonon::Gstreamer::MediaObject::setError (this=0x9f4a338, errorString=..., error=Phonon::FatalError) at /usr/src/debug/phonon-4.4.2/gstreamer/mediaobject.cpp:779
#32 0x00f8a9aa in Phonon::Gstreamer::MediaObject::handleBusMessage (this=0x9f4a338, message=...) at /usr/src/debug/phonon-4.4.2/gstreamer/mediaobject.cpp:1499
#33 0x00f7df2f in Phonon::Gstreamer::Backend::handleBusMessage (this=0x9f8a7a0, message=...) at /usr/src/debug/phonon-4.4.2/gstreamer/backend.cpp:432
#34 0x00f7dfe1 in Phonon::Gstreamer::Backend::qt_metacall (this=0x9f8a7a0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x9f930d8)
    at /usr/src/debug/phonon-4.4.2/i686-redhat-linux-gnu/gstreamer/moc_backend.cpp:82
#35 0x040b7bcb in QMetaObject::metacall (object=0x9f8a7a0, cl=QMetaObject::InvokeMetaMethod, idx=5, argv=0x9f930d8) at kernel/qmetaobject.cpp:237
#36 0x040c2187 in QMetaCallEvent::placeMetaCall (this=0xa141ba8, object=0x9f8a7a0) at kernel/qobject.cpp:561
#37 0x040c309e in QObject::event (this=0x9f8a7a0, e=0xa141ba8) at kernel/qobject.cpp:1248
#38 0x0480c77c in QApplicationPrivate::notify_helper (this=0x9ecf510, receiver=0x9f8a7a0, e=0xa141ba8) at kernel/qapplication.cpp:4306
#39 0x048131d6 in QApplication::notify (this=0xbfcfbc78, receiver=0x9f8a7a0, e=0xa141ba8) at kernel/qapplication.cpp:3710
#40 0x073b500b in KApplication::notify (this=0xbfcfbc78, receiver=0x9f8a7a0, event=0xa141ba8) at /usr/src/debug/kdelibs-4.4.5/kdeui/kernel/kapplication.cpp:302
#41 0x040b3133 in QCoreApplication::notifyInternal (this=0xbfcfbc78, receiver=0x9f8a7a0, event=0xa141ba8) at kernel/qcoreapplication.cpp:726
#42 0x040b55bc in sendEvent (receiver=0x0, event_type=0, data=0x9ea8690) at kernel/qcoreapplication.h:215
#43 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9ea8690) at kernel/qcoreapplication.cpp:1367
#44 0x040b573e in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1260
#45 0x040db950 in sendPostedEvents (s=0x9ec6b90) at kernel/qcoreapplication.h:220
#46 postEventSourceDispatch (s=0x9ec6b90) at kernel/qeventdispatcher_glib.cpp:276
#47 0x00b1c525 in g_main_dispatch (context=0x9ec6b10) at gmain.c:1960
#48 IA__g_main_context_dispatch (context=0x9ec6b10) at gmain.c:2513
#49 0x00b20268 in g_main_context_iterate (context=0xa83490, block=1, dispatch=1, self=0x9ed0598) at gmain.c:2591
#50 0x00b20449 in IA__g_main_context_iteration (context=0x9ec6b10, may_block=1) at gmain.c:2654
#51 0x040db446 in QEventDispatcherGlib::processEvents (this=0x9ea8140, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#52 0x048bb336 in QGuiEventDispatcherGlib::processEvents (this=0x9ea8140, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#53 0x040b180a in QEventLoop::processEvents (this=0xbfcfbbc4, flags=...) at kernel/qeventloop.cpp:149
#54 0x040b1b4a in QEventLoop::exec (this=0xbfcfbbc4, flags=...) at kernel/qeventloop.cpp:201
#55 0x040b5807 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#56 0x0480c828 in QApplication::exec () at kernel/qapplication.cpp:3585
#57 0x0804dced in main (argc=) at /usr/src/debug/kdebase-runtime-4.4.5/knotify/main.cpp:73

Reported using DrKonqi
Comment 1 Colin Guthrie 2010-09-23 21:06:40 UTC
Please make sure you are running the latest version of gstreamer-plugins-good. I've a funny feeling this is already fixed.
Comment 2 Abhishek Tamhane 2010-09-23 22:45:35 UTC
(In reply to comment #1)
> Please make sure you are running the latest version of gstreamer-plugins-good.
> I've a funny feeling this is already fixed.

Thank you for the response. I am running gstreamer-plugins-good-0.10.25-1.fc13.i686, which seems to be the latest version available in the Fedora repositories.
Comment 3 Mikko C. 2010-10-02 08:52:09 UTC
*** Bug 252983 has been marked as a duplicate of this bug. ***
Comment 4 Ronald Holshausen 2010-10-07 11:52:00 UTC
Created attachment 52305 [details]
New crash information added by DrKonqi

amarok (2.3.2) on KDE Platform 4.5.2 (KDE 4.5.2) using Qt 4.7.0

- What I was doing when the application crashed: crash occurs after login and selecting a track to play

-- Backtrace (Reduced):
#8  0x00007fae82726804 in g_assertion_message (domain=<value optimized out>, file=<value optimized out>, line=<value optimized out>, func=0x7fae6d179f70 "gst_pulsesink_change_state", message=0x22c65f0 "assertion failed: (pulsesink->mainloop == NULL)") at /build/buildd/glib2.0-2.26.0/glib/gtestutils.c:1358
#9  0x00007fae82726da0 in g_assertion_message_expr (domain=0x0, file=0x7fae6d178a5e "pulsesink.c", line=2470, func=0x7fae6d179f70 "gst_pulsesink_change_state", expr=<value optimized out>) at /build/buildd/glib2.0-2.26.0/glib/gtestutils.c:1369
#10 0x00007fae6d171cb3 in gst_pulsesink_change_state (element=0x17b6310, transition=GST_STATE_CHANGE_NULL_TO_READY) at pulsesink.c:2470
#11 0x00007fae72251edc in gst_element_change_state (element=0xa7a, transition=2682) at gstelement.c:2546
#12 0x00007fae7225504b in gst_element_set_state_func (element=0x17b6310, state=GST_STATE_READY) at gstelement.c:2502
Comment 5 Dario Andres 2010-11-18 20:17:19 UTC
[Comment from a bug triager]
There is another report (bug 243521) with a similar/the same backtrace. Should them be merged ?
Regards
Comment 6 Colin Guthrie 2010-11-18 20:24:45 UTC
Yeah probably, but it looks like a GST bug rather than a phonon one per-se. I'd try the latest GST versions tho' as I doubt such a bug would be in their code for long as it'd likely show up fairly quickly.
Comment 7 Myriam Schweingruber 2010-11-30 03:03:06 UTC

*** This bug has been marked as a duplicate of bug 243521 ***
Comment 8 Myriam Schweingruber 2011-04-27 21:18:12 UTC
reassigning to the new bugzilla product for better bug tracing of the various backends. Sorry for the noise.