Bug 263885 - Crash in amarok when playing file using phonon-gstreamer backend
Summary: Crash in amarok when playing file using phonon-gstreamer backend
Status: RESOLVED DUPLICATE of bug 259801
Alias: None
Product: phonon-backend-gstreamer
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Harald Sitter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-21 16:14 UTC by Timothy Brown
Modified: 2011-04-27 21:19 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Timothy Brown 2011-01-21 16:14:08 UTC
Application: amarok (2.4.0)
KDE Platform Version: 4.5.5 (KDE 4.5.5) (Compiled from sources)
Qt Version: 4.6.3
Operating System: Linux 2.6.36-gentoo-r5 x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
- What I was doing when the application crashed:
1. Start amarok
2. Try to play a song
3. Crash occurs before anything is played

- Custom settings of the application:
The backend for Phonon must be set to GStreamer. The crash does not occur with the Xine backend. My phonon version (Gentoo differentiates phonon and phonon-kde - I'm not sure what the difference is) is 4.4.3 (latest available in Gentoo) but the crash also occured with 4.4.2.

The crash can be reproduced every time.

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

Thread 11 (Thread 0x7f89f1618710 (LWP 18514)):
#0  0x00007f8a081b71b3 in select () from /lib/libc.so.6
#1  0x00007f8a08ac4fde in QProcessManager::run (this=0x7f8a08e01f20) at io/qprocess_unix.cpp:245
#2  0x00007f8a089f7395 in QThreadPrivate::start (arg=0x7f8a08e01f20) at thread/qthread_unix.cpp:248
#3  0x00007f8a065f1a4a in start_thread () from /lib/libpthread.so.0
#4  0x00007f8a081be87d in clone () from /lib/libc.so.6

Thread 10 (Thread 0x7f89ed0cf710 (LWP 18517)):
#0  0x00007f8a065f690c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f8a0432f4c6 in ?? () from /usr/lib64/qt4/libQtScript.so.4
#2  0x00007f8a0432f509 in ?? () from /usr/lib64/qt4/libQtScript.so.4
#3  0x00007f8a065f1a4a in start_thread () from /lib/libpthread.so.0
#4  0x00007f8a081be87d in clone () from /lib/libc.so.6

Thread 9 (Thread 0x7f89e563f710 (LWP 18522)):
#0  0x00007f8a065f6c79 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f8a089f835e in wait (this=<value optimized out>, mutex=0x13a7b40, time=30000) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x13a7b40, time=30000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f8a089ed2a8 in QThreadPoolThread::run (this=0x1209720) at concurrent/qthreadpool.cpp:140
#4  0x00007f8a089f7395 in QThreadPrivate::start (arg=0x1209720) at thread/qthread_unix.cpp:248
#5  0x00007f8a065f1a4a in start_thread () from /lib/libpthread.so.0
#6  0x00007f8a081be87d in clone () from /lib/libc.so.6

Thread 8 (Thread 0x7f89e49f0710 (LWP 18523)):
#0  0x00007f8a065f6c79 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f8a089f835e in wait (this=<value optimized out>, mutex=0x13a7b40, time=30000) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x13a7b40, time=30000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f8a089ed2a8 in QThreadPoolThread::run (this=0x1239700) at concurrent/qthreadpool.cpp:140
#4  0x00007f8a089f7395 in QThreadPrivate::start (arg=0x1239700) at thread/qthread_unix.cpp:248
#5  0x00007f8a065f1a4a in start_thread () from /lib/libpthread.so.0
#6  0x00007f8a081be87d in clone () from /lib/libc.so.6

Thread 7 (Thread 0x7f89e3be3710 (LWP 18524)):
#0  0x00007f8a065f690c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f8a089f83d3 in wait (this=<value optimized out>, mutex=0x1810ff0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1810ff0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f8a059f85fe in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007f8a059faf53 in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007f8a059f93c7 in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x00007f8a059f9918 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#7  0x00007f8a089f7395 in QThreadPrivate::start (arg=0x17f9550) at thread/qthread_unix.cpp:248
#8  0x00007f8a065f1a4a in start_thread () from /lib/libpthread.so.0
#9  0x00007f8a081be87d in clone () from /lib/libc.so.6

Thread 6 (Thread 0x7f89e33e2710 (LWP 18525)):
#0  0x00007f8a065f690c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f8a089f83d3 in wait (this=<value optimized out>, mutex=0x1810ff0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1810ff0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f8a059f85fe in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007f8a059faf53 in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007f8a059f93c7 in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x00007f8a059f9918 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#7  0x00007f8a089f7395 in QThreadPrivate::start (arg=0x7f89e80022c0) at thread/qthread_unix.cpp:248
#8  0x00007f8a065f1a4a in start_thread () from /lib/libpthread.so.0
#9  0x00007f8a081be87d in clone () from /lib/libc.so.6

Thread 5 (Thread 0x7f89e2be1710 (LWP 18526)):
#0  0x00007f8a065f690c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f8a089f83d3 in wait (this=<value optimized out>, mutex=0x1810ff0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1810ff0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f8a059f85fe in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007f8a059faf53 in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007f8a059f93c7 in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x00007f8a059f9918 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#7  0x00007f8a089f7395 in QThreadPrivate::start (arg=0x1806030) at thread/qthread_unix.cpp:248
#8  0x00007f8a065f1a4a in start_thread () from /lib/libpthread.so.0
#9  0x00007f8a081be87d in clone () from /lib/libc.so.6

Thread 4 (Thread 0x7f89d6f86710 (LWP 18527)):
#0  0x00007f8a015fb42a in clock_gettime () from /lib/librt.so.1
#1  0x00007f8a08b0f79f in qt_gettime () at kernel/qcore_unix.cpp:111
#2  0x00007f8a08b1448d in QTimerInfoList::updateCurrentTime (this=0x1) at kernel/qeventdispatcher_unix.cpp:340
#3  0x00007f8a08b144b5 in QTimerInfoList::timerWait (this=0x1, tm=...) at kernel/qeventdispatcher_unix.cpp:443
#4  0x00007f8a08b124bd in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x7f89d6f85bfc) at kernel/qeventdispatcher_glib.cpp:136
#5  0x00007f8a08b12570 in timerSourcePrepare (source=0x1, timeout=0x1) at kernel/qeventdispatcher_glib.cpp:169
#6  0x00007f8a02ba28ff in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#7  0x00007f8a02ba2d51 in ?? () from /usr/lib/libglib-2.0.so.0
#8  0x00007f8a02ba32e2 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#9  0x00007f8a08b122ae in QEventDispatcherGlib::processEvents (this=0x187fb50, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#10 0x00007f8a08ae70d2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#11 0x00007f8a08ae7497 in QEventLoop::exec (this=0x7f89d6f85d90, flags=) at kernel/qeventloop.cpp:201
#12 0x00007f8a089f48fb in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#13 0x00007f8a08ac7600 in QInotifyFileSystemWatcherEngine::run (this=0x1850f50) at io/qfilesystemwatcher_inotify.cpp:248
#14 0x00007f8a089f7395 in QThreadPrivate::start (arg=0x1850f50) at thread/qthread_unix.cpp:248
#15 0x00007f8a065f1a4a in start_thread () from /lib/libpthread.so.0
#16 0x00007f8a081be87d in clone () from /lib/libc.so.6

Thread 3 (Thread 0x7f89d6785710 (LWP 18528)):
#0  0x00007f8a065f690c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f8a089f83d3 in wait (this=<value optimized out>, mutex=0x1810ff0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1810ff0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f8a059f85fe in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007f8a059faf53 in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007f8a059f93c7 in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x00007f8a059f9918 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#7  0x00007f8a089f7395 in QThreadPrivate::start (arg=0x1860180) at thread/qthread_unix.cpp:248
#8  0x00007f8a065f1a4a in start_thread () from /lib/libpthread.so.0
#9  0x00007f8a081be87d in clone () from /lib/libc.so.6

Thread 2 (Thread 0x7f89d5d79710 (LWP 18529)):
#0  0x00007f8a065f690c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f89ff18fee6 in ?? () from /usr/lib64/qt4/libQtWebKit.so.4
#2  0x00007f89ff18ff29 in ?? () from /usr/lib64/qt4/libQtWebKit.so.4
#3  0x00007f8a065f1a4a in start_thread () from /lib/libpthread.so.0
#4  0x00007f8a081be87d in clone () from /lib/libc.so.6

Thread 1 (Thread 0x7f8a0b4a8780 (LWP 18512)):
[KCrash Handler]
#6  Phonon::Gstreamer::Backend::logMessage (this=0x51, message=..., priority=2, obj=0xb893b0) at /home/tmp/portage/media-sound/phonon-4.4.3/work/phonon-4.4.3/gstreamer/backend.cpp:469
#7  0x00007f89f58fe46f in Phonon::Gstreamer::MediaObject::changeState (this=0xb893b0, newstate=<value optimized out>) at /home/tmp/portage/media-sound/phonon-4.4.3/work/phonon-4.4.3/gstreamer/mediaobject.cpp:763
#8  0x00007f89f59001ec in Phonon::Gstreamer::MediaObject::noMorePadsAvailable (this=0xb893b0) at /home/tmp/portage/media-sound/phonon-4.4.3/work/phonon-4.4.3/gstreamer/mediaobject.cpp:239
#9  0x00007f89f5904396 in Phonon::Gstreamer::MediaObject::handleBusMessage (this=0xb893b0, message=<value optimized out>) at /home/tmp/portage/media-sound/phonon-4.4.3/work/phonon-4.4.3/gstreamer/mediaobject.cpp:1423
#10 0x00007f89f58f0dce in Phonon::Gstreamer::Backend::qt_metacall (this=0x9af480, _c=<value optimized out>, _id=<value optimized out>, _a=0x1e595c0) at /home/tmp/portage/media-sound/phonon-4.4.3/work/phonon-4.4.3_build/gstreamer/moc_backend.cpp:82
#11 0x00007f8a08af87d7 in QObject::event (this=0x9af480, e=0x1ac7c70) at kernel/qobject.cpp:1240
#12 0x00007f8a094a0dee in QApplicationPrivate::notify_helper (this=<value optimized out>, receiver=0x9af480, e=0x1ac7c70) at kernel/qapplication.cpp:4302
#13 0x00007f8a094a73d2 in QApplication::notify (this=0x7fffe0b96b70, receiver=0x9af480, e=0x1ac7c70) at kernel/qapplication.cpp:4185
#14 0x00007f8a0afc8288 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#15 0x00007f8a08ae87cb in QCoreApplication::notifyInternal (this=0x7fffe0b96b70, receiver=0x9af480, event=0x1ac7c70) at kernel/qcoreapplication.cpp:726
#16 0x00007f8a08aebe53 in sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x731260) at kernel/qcoreapplication.h:215
#17 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x731260) at kernel/qcoreapplication.cpp:1367
#18 0x00007f8a08b12773 in sendPostedEvents (s=<value optimized out>) at kernel/qcoreapplication.h:220
#19 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#20 0x00007f8a02b9f39b in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#21 0x00007f8a02ba3138 in ?? () from /usr/lib/libglib-2.0.so.0
#22 0x00007f8a02ba32e2 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#23 0x00007f8a08b1225e in QEventDispatcherGlib::processEvents (this=0x730950, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#24 0x00007f8a09551288 in QGuiEventDispatcherGlib::processEvents (this=0x51, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#25 0x00007f8a08ae70d2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#26 0x00007f8a08ae7497 in QEventLoop::exec (this=0x7fffe0b96b00, flags=) at kernel/qeventloop.cpp:201
#27 0x00007f8a08aec11b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#28 0x0000000000409cfe in main (argc=<value optimized out>, argv=<value optimized out>) at /home/tmp/portage/media-sound/amarok-2.4.0/work/amarok-2.4.0/src/main.cpp:268

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2011-01-21 16:33:28 UTC
This is already solved for the next Phonon version.

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