Bug 264004

Summary: Amarok crashes when backend (xine, gstreamer) is changed
Product: [Unmaintained] phonon-backend-gstreamer Reporter: Arjon <buijert>
Component: generalAssignee: Harald Sitter <sitter>
Status: RESOLVED DUPLICATE    
Severity: crash CC: martin.sandsmark, myriam
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Arjon 2011-01-22 20:15:22 UTC
Application: amarok (2.4.0)
KDE Platform Version: 4.5.5 (KDE 4.5.5) "release 1"
Qt Version: 4.6.3
Operating System: Linux 2.6.34.7-0.7-desktop x86_64

-- Information about the crash:
Amarok crashes when backend is changed while amarok is open. It will crash when playback is continued. It works both for changing to xine and changing to gstreamer. Amarok has to be opend (but not playing?) while the change is made

-- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f9f11e4d780 (LWP 5667))]

Thread 12 (Thread 0x7f9ef6683710 (LWP 5670)):
#0  0x00007f9f0cece39c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f9ef73a13f9 in os_event_wait_low () from /usr/lib64/libmysqld.so.0
#2  0x00007f9ef73a00b6 in os_aio_simulated_handle () from /usr/lib64/libmysqld.so.0
#3  0x00007f9ef735fb5a in fil_aio_wait () from /usr/lib64/libmysqld.so.0
#4  0x00007f9ef73dab90 in ?? () from /usr/lib64/libmysqld.so.0
#5  0x00007f9f0cec9a4f in start_thread () from /lib64/libpthread.so.0
#6  0x00007f9f0ea7682d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f9ef4269710 (LWP 5671)):
#0  0x00007f9f0cece39c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f9ef73a13f9 in os_event_wait_low () from /usr/lib64/libmysqld.so.0
#2  0x00007f9ef73a00b6 in os_aio_simulated_handle () from /usr/lib64/libmysqld.so.0
#3  0x00007f9ef735fb5a in fil_aio_wait () from /usr/lib64/libmysqld.so.0
#4  0x00007f9ef73dab90 in ?? () from /usr/lib64/libmysqld.so.0
#5  0x00007f9f0cec9a4f in start_thread () from /lib64/libpthread.so.0
#6  0x00007f9f0ea7682d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f9ef3a68710 (LWP 5672)):
#0  0x00007f9f0cece39c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f9ef73a13f9 in os_event_wait_low () from /usr/lib64/libmysqld.so.0
#2  0x00007f9ef73a00b6 in os_aio_simulated_handle () from /usr/lib64/libmysqld.so.0
#3  0x00007f9ef735fb5a in fil_aio_wait () from /usr/lib64/libmysqld.so.0
#4  0x00007f9ef73dab90 in ?? () from /usr/lib64/libmysqld.so.0
#5  0x00007f9f0cec9a4f in start_thread () from /lib64/libpthread.so.0
#6  0x00007f9f0ea7682d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f9ef3267710 (LWP 5673)):
#0  0x00007f9f0cece39c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f9ef73a13f9 in os_event_wait_low () from /usr/lib64/libmysqld.so.0
#2  0x00007f9ef73a00b6 in os_aio_simulated_handle () from /usr/lib64/libmysqld.so.0
#3  0x00007f9ef735fb5a in fil_aio_wait () from /usr/lib64/libmysqld.so.0
#4  0x00007f9ef73dab90 in ?? () from /usr/lib64/libmysqld.so.0
#5  0x00007f9f0cec9a4f in start_thread () from /lib64/libpthread.so.0
#6  0x00007f9f0ea7682d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f9ef1d4f710 (LWP 5675)):
#0  0x00007f9f0ea6fe13 in select () from /lib64/libc.so.6
#1  0x00007f9ef73a1bfb in os_thread_sleep () from /usr/lib64/libmysqld.so.0
#2  0x00007f9ef73d982a in srv_lock_timeout_thread () from /usr/lib64/libmysqld.so.0
#3  0x00007f9f0cec9a4f in start_thread () from /lib64/libpthread.so.0
#4  0x00007f9f0ea7682d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f9ef154e710 (LWP 5676)):
#0  0x00007f9f0ea6fe13 in select () from /lib64/libc.so.6
#1  0x00007f9ef73a1bfb in os_thread_sleep () from /usr/lib64/libmysqld.so.0
#2  0x00007f9ef73d9b45 in srv_error_monitor_thread () from /usr/lib64/libmysqld.so.0
#3  0x00007f9f0cec9a4f in start_thread () from /lib64/libpthread.so.0
#4  0x00007f9f0ea7682d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f9ef0d4d710 (LWP 5677)):
#0  0x00007f9f0ea6fe13 in select () from /lib64/libc.so.6
#1  0x00007f9ef73a1bfb in os_thread_sleep () from /usr/lib64/libmysqld.so.0
#2  0x00007f9ef73d9492 in srv_monitor_thread () from /usr/lib64/libmysqld.so.0
#3  0x00007f9f0cec9a4f in start_thread () from /lib64/libpthread.so.0
#4  0x00007f9f0ea7682d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f9ef054c710 (LWP 5678)):
#0  0x00007f9f0cece39c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f9ef73a13f9 in os_event_wait_low () from /usr/lib64/libmysqld.so.0
#2  0x00007f9ef73da182 in srv_master_thread () from /usr/lib64/libmysqld.so.0
#3  0x00007f9f0cec9a4f in start_thread () from /lib64/libpthread.so.0
#4  0x00007f9f0ea7682d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f9ee8873710 (LWP 5682)):
#0  0x00007f9f0cece39c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f9f0acd4e30 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f9f0afba220) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
#2  0x00007f9f0acd4e69 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f9f0afc82ec) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#3  0x00007f9f0cec9a4f in start_thread () from /lib64/libpthread.so.0
#4  0x00007f9f0ea7682d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f9ee3f3f710 (LWP 5683)):
#0  0x00007f9f0cece39c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f9f0ff0e2bb in wait (this=<value optimized out>, mutex=0x1ed5680, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1ed5680, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f9f0c3433f6 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1ed5380, th=0x1ed5ab0) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f9f0c345e45 in waitForAvailableJob (this=0x1858340, th=0x1ed5ab0) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/WeaverImpl.cpp:356
#5  ThreadWeaver::WorkingHardState::applyForWork (this=0x1858340, th=0x1ed5ab0) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/WorkingHardState.cpp:71
#6  0x00007f9f0c3437ef in ThreadWeaver::ThreadRunHelper::run (this=0x7f9ee3f3ee10, parent=0x1ed5380, th=0x1ed5ab0) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/Thread.cpp:87
#7  0x00007f9f0c343878 in ThreadWeaver::Thread::run (this=0x1ed5ab0) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/Thread.cpp:142
#8  0x00007f9f0ff0dbf5 in QThreadPrivate::start (arg=0x1ed5ab0) at thread/qthread_unix.cpp:248
#9  0x00007f9f0cec9a4f in start_thread () from /lib64/libpthread.so.0
#10 0x00007f9f0ea7682d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f9ee34a5710 (LWP 5686)):
#0  0x00007f9f0cece39c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f9ef9e2a1c0 in ?? () from /usr/lib64/libgstreamer-0.10.so.0
#2  0x00007f9f084e3604 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f9f084e0e86 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f9f0cec9a4f in start_thread () from /lib64/libpthread.so.0
#5  0x00007f9f0ea7682d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f9f11e4d780 (LWP 5667)):
[KCrash Handler]
#6  Phonon::Gstreamer::Backend::logMessage (this=0x61002000730065, message=..., priority=2, obj=0x962330) at /usr/src/debug/phonon-4.4.2/gstreamer/backend.cpp:466
#7  0x00007f9efa0a0f23 in Phonon::Gstreamer::MediaObject::changeState (this=0x962330, newstate=Phonon::ErrorState) at /usr/src/debug/phonon-4.4.2/gstreamer/mediaobject.cpp:760
#8  0x00007f9efa0a5199 in Phonon::Gstreamer::MediaObject::handleBusMessage (this=0x962330, message=<value optimized out>) at /usr/src/debug/phonon-4.4.2/gstreamer/mediaobject.cpp:1495
#9  0x00007f9efa09a506 in Phonon::Gstreamer::Backend::qt_metacall (this=0x8c54b0, _c=<value optimized out>, _id=<value optimized out>, _a=0x22ad3c0)
    at /usr/src/debug/phonon-4.4.2/build/gstreamer/moc_backend.cpp:82
#10 0x00007f9f10006509 in QObject::event (this=0x8c54b0, e=0x778e00) at kernel/qobject.cpp:1248
#11 0x00007f9f0f3e64d4 in QApplicationPrivate::notify_helper (this=0x77f5f0, receiver=0x8c54b0, e=0x778e00) at kernel/qapplication.cpp:4302
#12 0x00007f9f0f3eeaca in QApplication::notify (this=<value optimized out>, receiver=0x8c54b0, e=0x778e00) at kernel/qapplication.cpp:4185
#13 0x00007f9f118ee876 in KApplication::notify (this=0x7fffe2246d20, receiver=0x8c54b0, event=0x778e00) at /usr/src/debug/kdelibs-4.5.5/kdeui/kernel/kapplication.cpp:310
#14 0x00007f9f0fff4e4c in QCoreApplication::notifyInternal (this=0x7fffe2246d20, receiver=0x8c54b0, event=0x778e00) at kernel/qcoreapplication.cpp:726
#15 0x00007f9f0fff85ba in sendEvent (receiver=0x0, event_type=0, data=0x6225f0) at kernel/qcoreapplication.h:215
#16 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x6225f0) at kernel/qcoreapplication.cpp:1367
#17 0x00007f9f1001d173 in sendPostedEvents (s=<value optimized out>) at kernel/qcoreapplication.h:220
#18 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#19 0x00007f9f084b9a93 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#20 0x00007f9f084ba270 in ?? () from /usr/lib64/libglib-2.0.so.0
#21 0x00007f9f084ba510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#22 0x00007f9f1001d67f in QEventDispatcherGlib::processEvents (this=0x628070, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#23 0x00007f9f0f48714e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#24 0x00007f9f0fff4292 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#25 0x00007f9f0fff4495 in QEventLoop::exec (this=0x7fffe2246cb0, flags=...) at kernel/qeventloop.cpp:201
#26 0x00007f9f0fff888b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#27 0x00000000004095ad in _start ()

Possible duplicates by query: bug 263885, bug 263471, bug 263302, bug 262240, bug 262090.

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2011-01-23 10:43:34 UTC

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