Bug 239919

Summary: Crash when change phonon backend
Product: [Unmaintained] phonon-backend-gstreamer Reporter: Igor Murzich <sloth>
Component: generalAssignee: Matthias Kretz <kretz>
Status: RESOLVED DUPLICATE    
Severity: crash CC: martin.sandsmark, myriam
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Igor Murzich 2010-05-28 22:10:29 UTC
Application: systemsettings (1.0)
KDE Platform Version: 4.4.3 (KDE 4.4.3)
Qt Version: 4.6.2
Operating System: Linux 2.6.34-1-686 i686
Distribution: Debian GNU/Linux unstable (sid)

-- Information about the crash:
Crash when change from Xine to GStreamer backend for Phonon

The crash can be reproduced some of the time.

 -- Backtrace:
Application: Параметры системы (systemsettings), signal: Aborted
[Current thread is 1 (Thread 0xb5609930 (LWP 5172))]

Thread 4 (Thread 0xb180ab70 (LWP 5205)):
#0  0xb7869424 in __kernel_vsyscall ()
#1  0xb5c9d125 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0xb62c780d in __pthread_cond_wait (cond=0x9eeb02c, mutex=0x9eeb014) at forward.c:139
#3  0xabe75106 in fifo_buffer_get (fifo=0x9eeb000) at buffer.c:230
#4  0xabe7af2a in video_decoder_loop (stream_gen=0x9f10b38) at video_decoder.c:130
#5  0xb5c99585 in start_thread (arg=0xb180ab70) at pthread_create.c:300
#6  0xb62ba29e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xb0e3cb70 (LWP 5206)):
#0  0xb7869424 in __kernel_vsyscall ()
#1  0xb5c9d125 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0xb62c780d in __pthread_cond_wait (cond=0xa4e0ca4, mutex=0xa4e0c8c) at forward.c:139
#3  0xabe75106 in fifo_buffer_get (fifo=0xa4e0c78) at buffer.c:230
#4  0xabe7bf2a in audio_decoder_loop (stream_gen=0x9f10b38) at audio_decoder.c:66
#5  0xb5c99585 in start_thread (arg=0xb0e3cb70) at pthread_create.c:300
#6  0xb62ba29e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xaaedab70 (LWP 5217)):
#0  0xb7869424 in __kernel_vsyscall ()
#1  0xb62acb27 in *__GI___poll (fds=0x9e12fd0, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0xb2e9f6e2 in ?? () from /usr/lib/libpulse.so.0
#3  0xb2e8c409 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#4  0xb2e8dc73 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#5  0xb2e8dd44 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#6  0xb2e9f493 in ?? () from /usr/lib/libpulse.so.0
#7  0xb2e602d2 in ?? () from /usr/lib/libpulsecommon-0.9.21.so
#8  0xb5c99585 in start_thread (arg=0xaaedab70) at pthread_create.c:300
#9  0xb62ba29e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb5609930 (LWP 5172)):
[KCrash Handler]
#6  0xb7869424 in __kernel_vsyscall ()
#7  0xb62158e0 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#8  0xb6218e15 in *__GI_abort () at abort.c:88
#9  0xb648eb64 in qt_message_output (msgType=QtFatalMsg, buf=0x9d7d2d8 "ASSERT: \"sink->root()\" in file ../../gstreamer/medianode.cpp, line 203") at global/qglobal.cpp:2250
#10 0xb648ed1a in qt_message (msgType=<value optimized out>, msg=0xb660119c "ASSERT: \"%s\" in file %s, line %d", ap=0xbf8ccf54 "\324\333\224\256\202\333\224\256\313") at global/qglobal.cpp:2296
#11 0xb648ee29 in qFatal (msg=0xb660119c "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2479
#12 0xb648eeb5 in qt_assert (assertion=0xae94dbd4 "sink->root()", file=0xae94db82 "../../gstreamer/medianode.cpp", line=203) at global/qglobal.cpp:2013
#13 0xae93ed78 in Phonon::Gstreamer::MediaNode::disconnectNode (this=0x9f6a5c8, obj=0x9b1c988) at ../../gstreamer/medianode.cpp:203
#14 0xae92d328 in Phonon::Gstreamer::Backend::disconnectNodes (this=0x9c5f450, source=0x9f6a5b8, sink=0x9b1c988) at ../../gstreamer/backend.cpp:384
#15 0xb2ed21b6 in Phonon::PathPrivate::executeTransaction (this=0x9ea67a8, disconnections=..., connections=...) at ../../phonon/path.cpp:316
#16 0xb2ed464c in Phonon::PathPrivate::phononObjectDestroyed (this=0x9ea67a8, mediaNodePrivate=0x9de1db0) at ../../phonon/path.cpp:408
#17 0xb2ed118f in ~MediaNodePrivate (this=0x9de1db0, __in_chrg=<value optimized out>) at ../../phonon/medianode.cpp:71
#18 0xb2ed08ab in ~MediaObjectPrivate (this=0x9de1db0, __in_chrg=<value optimized out>) at ../../phonon/mediaobject_p.h:42
#19 0xb2ed0c0f in ~MediaNode (this=0xa02ed38, __in_chrg=<value optimized out>) at ../../phonon/medianode.cpp:57
#20 0xb2ecde4c in ~MediaObject (this=0xa02ed30, __in_chrg=<value optimized out>) at ../../phonon/mediaobject.cpp:65
#21 0xb2a52745 in DevicePreference::on_testPlaybackButton_toggled (this=0x9a6f8c0, down=false) at ../../../phonon/kcm/devicepreference.cpp:576
#22 0xb2a56ab0 in DevicePreference::qt_metacall (this=0x9a6f8c0, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0xbf8cd308) at ./moc_devicepreference.cpp:99
#23 0xb659eb2a in QMetaObject::metacall (object=0x9a6f8c0, cl=5172, idx=33, argv=0xbf8cd308) at kernel/qmetaobject.cpp:237
#24 0xb65ad0f5 in QMetaObject::activate (sender=0x98e6540, m=0xb7411584, local_signal_index=4, argv=0xbf8cd308) at kernel/qobject.cpp:3293
#25 0xb72022c9 in QAbstractButton::toggled (this=0x98e6540, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:213
#26 0xb6ee2554 in QAbstractButton::setChecked (this=0x98e6540, checked=false) at widgets/qabstractbutton.cpp:766
#27 0xb6ee26f0 in QAbstractButton::nextCheckState (this=0x98e6540) at widgets/qabstractbutton.cpp:1020
#28 0xb6fc5300 in QToolButton::nextCheckState (this=0x6) at widgets/qtoolbutton.cpp:1145
#29 0xb6ee2193 in QAbstractButtonPrivate::click (this=0x98e65c0) at widgets/qabstractbutton.cpp:528
#30 0xb6ee248e in QAbstractButton::mouseReleaseEvent (this=0x98e6540, e=0xbf8cdb54) at widgets/qabstractbutton.cpp:1121
#31 0xb6fc57bc in QToolButton::mouseReleaseEvent (this=0x98e6540, e=0xbf8cdb54) at widgets/qtoolbutton.cpp:721
#32 0xb6b38e78 in QWidget::event (this=0x98e6540, event=0xbf8cdb54) at kernel/qwidget.cpp:7998
#33 0xb6ee122e in QAbstractButton::event (this=0x98e6540, e=0x6) at widgets/qabstractbutton.cpp:1080
#34 0xb6fc82ea in QToolButton::event (this=0x98e6540, event=0xbf8cdb54) at widgets/qtoolbutton.cpp:1163
#35 0xb6adabec in QApplicationPrivate::notify_helper (this=0x9676d50, receiver=0x98e6540, e=0xbf8cdb54) at kernel/qapplication.cpp:4300
#36 0xb6ae20f7 in QApplication::notify (this=0xbf8ce33c, receiver=0x98e6540, e=0xbf8cdb54) at kernel/qapplication.cpp:3865
#37 0xb76007da in KApplication::notify (this=0xbf8ce33c, receiver=0x98e6540, event=0xbf8cdb54) at ../../kdeui/kernel/kapplication.cpp:302
#38 0xb659992b in QCoreApplication::notifyInternal (this=0xbf8ce33c, receiver=0x98e6540, event=0xbf8cdb54) at kernel/qcoreapplication.cpp:704
#39 0xb6ae1052 in QCoreApplication::sendEvent (receiver=0x98e6540, event=0xbf8cdb54, alienWidget=0x98e6540, nativeWidget=0x96ef318, buttonDown=0xb741f918, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#40 QApplicationPrivate::sendMouseEvent (receiver=0x98e6540, event=0xbf8cdb54, alienWidget=0x98e6540, nativeWidget=0x96ef318, buttonDown=0xb741f918, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2965
#41 0xb6b6c09c in QETWidget::translateMouseEvent (this=0x96ef318, event=0xbf8cdfa0) at kernel/qapplication_x11.cpp:4368
#42 0xb6b6b5ab in QApplication::x11ProcessEvent (this=0xbf8ce33c, event=0xbf8cdfa0) at kernel/qapplication_x11.cpp:3379
#43 0xb6b996f2 in x11EventSourceDispatch (s=0x967a1e8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#44 0xb5bef2f5 in g_main_dispatch (context=0x9679490) at /build/buildd-glib2.0_2.24.1-1-i386-84Pp4V/glib2.0-2.24.1/glib/gmain.c:1960
#45 IA__g_main_context_dispatch (context=0x9679490) at /build/buildd-glib2.0_2.24.1-1-i386-84Pp4V/glib2.0-2.24.1/glib/gmain.c:2513
#46 0xb5bf2fd8 in g_main_context_iterate (context=0x9679490, block=<value optimized out>, dispatch=1, self=0x9676e78) at /build/buildd-glib2.0_2.24.1-1-i386-84Pp4V/glib2.0-2.24.1/glib/gmain.c:2591
#47 0xb5bf31b8 in IA__g_main_context_iteration (context=0x9679490, may_block=1) at /build/buildd-glib2.0_2.24.1-1-i386-84Pp4V/glib2.0-2.24.1/glib/gmain.c:2654
#48 0xb65c5335 in QEventDispatcherGlib::processEvents (this=0x964ec18, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#49 0xb6b99255 in QGuiEventDispatcherGlib::processEvents (this=0x964ec18, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#50 0xb6597f49 in QEventLoop::processEvents (this=0xbf8ce294, flags=) at kernel/qeventloop.cpp:149
#51 0xb659839a in QEventLoop::exec (this=0xbf8ce294, flags=...) at kernel/qeventloop.cpp:201
#52 0xb659c52f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#53 0xb6adac87 in QApplication::exec () at kernel/qapplication.cpp:3579
#54 0x08056b5e in main (argc=5, argv=0xbf8ce464) at ../../../systemsettings/app/main.cpp:49

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2010-05-29 13:21:49 UTC

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