Bug 213704

Summary: Crash while changing from xine -> GStreamer during amarok playback
Product: [Unmaintained] phonon-backend-gstreamer Reporter: Jonathan Thomas <echidnaman>
Component: generalAssignee: Matthias Kretz <kretz>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra, martin.sandsmark, myriam, Simon80
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Jonathan Thomas 2009-11-08 16:53:57 UTC
Version:            (using KDE 4.3.3)
OS:                Linux
Installed from:    Ubuntu Packages

Testcase:
- Open Amarok (with the Xine backend enabled)
- Play your favorite mp3
- Configure Amarok -> playback
- In the Phonon settings dialog, prefer GStreamer and hit OK.

Amarok should now give you a nice crash: (forgive the lack of threadweaver symbols, no clue what's up there...)

Application: Amarok (amarok), signal: Aborted
[Current thread is 1 (Thread 0xb2d24710 (LWP 25434))]

Thread 10 (Thread 0xac578b70 (LWP 25444)):
#0  0xb7784422 in __kernel_vsyscall ()
#1  0xb3bfee05 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb5daa76d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb5f6c7d7 in QWaitConditionPrivate::wait (this=0x93de268, mutex=0x932bfe8, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x93de268, mutex=0x932bfe8, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0xb51a5b30 in ?? () from /usr/lib/libthreadweaver.so.4
#6  0xb51a819c in ?? () from /usr/lib/libthreadweaver.so.4
#7  0xb51a41fb in ?? () from /usr/lib/libthreadweaver.so.4
#8  0xb51a8292 in ?? () from /usr/lib/libthreadweaver.so.4
#9  0xb51a5db3 in ?? () from /usr/lib/libthreadweaver.so.4
#10 0xb51a82b1 in ?? () from /usr/lib/libthreadweaver.so.4
#11 0xb51a5db3 in ?? () from /usr/lib/libthreadweaver.so.4
#12 0xb51a63be in ?? () from /usr/lib/libthreadweaver.so.4
#13 0xb51a69db in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#14 0xb5f6b87e in QThreadPrivate::start (arg=0x91b0930) at thread/qthread_unix.cpp:244
#15 0xb3bfa80e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#16 0xb5d9d7ce in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 9 (Thread 0xa9a1ab70 (LWP 25445)):
#0  0xb7784422 in __kernel_vsyscall ()
#1  0xb3bfee05 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb5daa76d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb5f6c7d7 in QWaitConditionPrivate::wait (this=0x93de268, mutex=0x932bfe8, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x93de268, mutex=0x932bfe8, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0xb51a5b30 in ?? () from /usr/lib/libthreadweaver.so.4
#6  0xb51a819c in ?? () from /usr/lib/libthreadweaver.so.4
#7  0xb51a41fb in ?? () from /usr/lib/libthreadweaver.so.4
#8  0xb51a8292 in ?? () from /usr/lib/libthreadweaver.so.4
#9  0xb51a5db3 in ?? () from /usr/lib/libthreadweaver.so.4
#10 0xb51a82b1 in ?? () from /usr/lib/libthreadweaver.so.4
#11 0xb51a5db3 in ?? () from /usr/lib/libthreadweaver.so.4
#12 0xb51a82b1 in ?? () from /usr/lib/libthreadweaver.so.4
#13 0xb51a5db3 in ?? () from /usr/lib/libthreadweaver.so.4
#14 0xb51a63be in ?? () from /usr/lib/libthreadweaver.so.4
#15 0xb51a69db in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#16 0xb5f6b87e in QThreadPrivate::start (arg=0x933c128) at thread/qthread_unix.cpp:244
#17 0xb3bfa80e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#18 0xb5d9d7ce in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 8 (Thread 0xa9219b70 (LWP 25446)):
#0  0xb7784422 in __kernel_vsyscall ()
#1  0xb3bfee05 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb5daa76d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb5f6c7d7 in QWaitConditionPrivate::wait (this=0x93de268, mutex=0x932bfe8, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x93de268, mutex=0x932bfe8, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0xb51a5b30 in ?? () from /usr/lib/libthreadweaver.so.4
#6  0xb51a819c in ?? () from /usr/lib/libthreadweaver.so.4
#7  0xb51a41fb in ?? () from /usr/lib/libthreadweaver.so.4
#8  0xb51a8292 in ?? () from /usr/lib/libthreadweaver.so.4
#9  0xb51a5db3 in ?? () from /usr/lib/libthreadweaver.so.4
#10 0xb51a63be in ?? () from /usr/lib/libthreadweaver.so.4
#11 0xb51a69db in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#12 0xb5f6b87e in QThreadPrivate::start (arg=0x927cdd8) at thread/qthread_unix.cpp:244
#13 0xb3bfa80e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#14 0xb5d9d7ce in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 7 (Thread 0xa88ffb70 (LWP 25447)):
#0  0xb7784422 in __kernel_vsyscall ()
#1  0xb3bfee05 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb5daa76d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb4d136b7 in WTF::TCMalloc_PageHeap::scavengerThread (this=0xb4de8180) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2299
#4  0xb4d13701 in WTF::TCMalloc_PageHeap::runScavengerThread (context=0xb4de8180) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1433
#5  0xb3bfa80e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0xb5d9d7ce in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 6 (Thread 0xa2689b70 (LWP 25451)):
#0  0xb7784422 in __kernel_vsyscall ()
#1  0xb3bfee05 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb5daa76d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb101ffb2 in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 5 (Thread 0xa1cbbb70 (LWP 25452)):
#0  0xb7784422 in __kernel_vsyscall ()
#1  0xb3bfee05 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb5daa76d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb101ffb2 in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 4 (Thread 0xa0be8b70 (LWP 25456)):
#0  0xb7784422 in __kernel_vsyscall ()
#1  0xb3bfee05 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb5daa76d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb5f6c7d7 in QWaitConditionPrivate::wait (this=0x93de268, mutex=0x932bfe8, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x93de268, mutex=0x932bfe8, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0xb51a5b30 in ?? () from /usr/lib/libthreadweaver.so.4
#6  0xb51a819c in ?? () from /usr/lib/libthreadweaver.so.4
#7  0xb51a41fb in ?? () from /usr/lib/libthreadweaver.so.4
#8  0xb51a8292 in ?? () from /usr/lib/libthreadweaver.so.4
#9  0xb51a5db3 in ?? () from /usr/lib/libthreadweaver.so.4
#10 0xb51a63be in ?? () from /usr/lib/libthreadweaver.so.4
#11 0xb51a69db in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#12 0xb5f6b87e in QThreadPrivate::start (arg=0x93b7938) at thread/qthread_unix.cpp:244
#13 0xb3bfa80e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#14 0xb5d9d7ce in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0x98932b70 (LWP 25458)):
#0  0xb7784422 in __kernel_vsyscall ()
#1  0xb3bfee05 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb5daa76d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb5f6c7d7 in QWaitConditionPrivate::wait (this=0x9bf1fe0, mutex=0x9bf1fdc, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x9bf1fe0, mutex=0x9bf1fdc, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0xb6a6521a in QFileInfoGatherer::run (this=0x9bf1fd4) at dialogs/qfileinfogatherer.cpp:203
#6  0xb5f6b87e in QThreadPrivate::start (arg=0x9bf1fd4) at thread/qthread_unix.cpp:244
#7  0xb3bfa80e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0xb5d9d7ce in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0x9792bb70 (LWP 25459)):
#0  0xb7784422 in __kernel_vsyscall ()
#1  0xb5d8fb86 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0xb388153b in g_poll () from /lib/libglib-2.0.so.0
#3  0xb387455b in ?? () from /lib/libglib-2.0.so.0
#4  0xb3874853 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0xb6097cef in QEventDispatcherGlib::processEvents (this=0x9162cf8, flags=...) at kernel/qeventdispatcher_glib.cpp:409
#6  0xb606a7d9 in QEventLoop::processEvents (this=0x9792b290, flags=) at kernel/qeventloop.cpp:149
#7  0xb606ac2a in QEventLoop::exec (this=0x9792b290, flags=...) at kernel/qeventloop.cpp:201
#8  0xb5f68a88 in QThread::exec (this=0x9bf30f0) at thread/qthread.cpp:487
#9  0xb604a5bb in QInotifyFileSystemWatcherEngine::run (this=0x9bf30f0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0xb5f6b87e in QThreadPrivate::start (arg=0x9bf30f0) at thread/qthread_unix.cpp:244
#11 0xb3bfa80e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#12 0xb5d9d7ce in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb2d24710 (LWP 25434)):
[KCrash Handler]
#6  0xb7784422 in __kernel_vsyscall ()
#7  0xb5cfb4e1 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb5cfe942 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb5f6290c in qt_message_output (msgType=QtFatalMsg, buf=0x9c9b290 "ASSERT: \"0\" in file ../../gstreamer/audioeffect.cpp, line 43") at global/qglobal.cpp:2211
#10 0xb5f62ada in qt_message (msgType=<value optimized out>, msg=0xb60d2b5c "ASSERT: \"%s\" in file %s, line %d", ap=0xbfcb80a4 "{\262\352\255 \312\352\255+") at global/qglobal.cpp:2257
#11 0xb5f62be9 in qFatal (msg=0xb60d2b5c "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2440
#12 0xb5f62c75 in qt_assert (assertion=0xadeab27b "0", file=0xadeaca20 "../../gstreamer/audioeffect.cpp", line=43) at global/qglobal.cpp:1974
#13 0xadea64f0 in AudioEffect (this=0x9c98d48, backend=0x9360528, effectId=2130706437, parent=0x89ee060) at ../../gstreamer/audioeffect.cpp:43
#14 0xade9299e in Phonon::Gstreamer::Backend::createObject (this=0x9360528, c=Phonon::BackendInterface::EffectClass, parent=0x89ee060, args=...) at ../../gstreamer/backend.cpp:121
#15 0xb511dafd in Phonon::Factory::createEffect (arg1=2130706437, parent=0x89ee060) at ../3rdparty/phonon/phonon/factory.cpp:337
#16 0xb511136e in Phonon::EffectPrivate::createBackendObject (this=0x89edfe0) at ../3rdparty/phonon/phonon/effect.cpp:58
#17 0xb511bc13 in Phonon::FactoryPrivate::phononBackendChanged (this=0x87e1ae0) at ../3rdparty/phonon/phonon/factory.cpp:299
#18 0xb511bc91 in Phonon::FactoryPrivate::qt_metacall (this=0x87e1ae0, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0xbfcb835c) at .moc/release-shared/factory.moc:77
#19 0xb594bee4 in QDBusConnectionPrivate::deliverCall (this=0x87d1e78, object=0x87e1ae0, msg=..., metaTypes=..., slotIdx=7) at qdbusintegrator.cpp:891
#20 0xb5954647 in QDBusCallDeliveryEvent::placeMetaCall(QObject*) () from /usr/lib/libQtDBus.so.4
#21 0xb607cb0e in QObject::event (this=0x87e1ae0, e=0x9d29e58) at kernel/qobject.cpp:1246
#22 0xb64fbc6c in QApplicationPrivate::notify_helper (this=0x87dc598, receiver=0x87e1ae0, e=0x9d29e58) at kernel/qapplication.cpp:4277
#23 0xb6502a1e in QApplication::notify (this=0xbfcb8b8c, receiver=0x87e1ae0, e=0x9d29e58) at kernel/qapplication.cpp:3702
#24 0xb75a814a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#25 0xb606c18b in QCoreApplication::notifyInternal (this=0xbfcb8b8c, receiver=0x87e1ae0, event=0x9d29e58) at kernel/qcoreapplication.cpp:704
#26 0xb606ebc3 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x87378f8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#27 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x87378f8) at kernel/qcoreapplication.cpp:1345
#28 0xb606ed2d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1238
#29 0xb60981bf in QCoreApplication::sendPostedEvents (s=0x87e4ec0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#30 postEventSourceDispatch (s=0x87e4ec0) at kernel/qeventdispatcher_glib.cpp:276
#31 0xb3870e78 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#32 0xb3874720 in ?? () from /lib/libglib-2.0.so.0
#33 0xb3874853 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#34 0xb6097cb5 in QEventDispatcherGlib::processEvents (this=0x8737ad0, flags=...) at kernel/qeventdispatcher_glib.cpp:407
#35 0xb65af5a5 in QGuiEventDispatcherGlib::processEvents (this=0x8737ad0, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#36 0xb606a7d9 in QEventLoop::processEvents (this=0xbfcb8af4, flags=) at kernel/qeventloop.cpp:149
#37 0xb606ac2a in QEventLoop::exec (this=0xbfcb8af4, flags=...) at kernel/qeventloop.cpp:201
#38 0xb606edef in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#39 0xb64fbd07 in QApplication::exec () at kernel/qapplication.cpp:3616
#40 0x08051e49 in _start ()
Comment 1 Jonathan Thomas 2009-11-09 05:06:20 UTC
Present in the latest Phonon trunk as of now.
Comment 2 Dario Andres 2009-11-11 02:21:11 UTC
This is reported at bug 213718. Bug 213684 is also related. Thanks

*** This bug has been marked as a duplicate of bug 213718 ***
Comment 3 Simon80 2009-11-11 03:49:45 UTC
*** Bug 213720 has been marked as a duplicate of this bug. ***
Comment 4 Simon80 2010-06-02 07:45:49 UTC
Created attachment 47591 [details]
New crash information added by DrKonqi

Same as usual, go to phonon config dialog from within Amarok settings, prefer gstreamer backend, hit apply, and then it crashes.
Comment 5 Simon80 2010-06-02 07:50:33 UTC
Someone please reopen this as not being a duplicate. 213718 is invalid, since I got the title and description swapped with another stack trace when I reported it.
Comment 6 Myriam Schweingruber 2011-04-27 21:16:17 UTC
reassigning to the new bugzilla product for better bug tracing of the various backends. Sorry for the noise.