Bug 254559

Summary: amarok fails to play stream, then crashes on quit
Product: [Applications] amarok Reporter: Niels Mayer <NielsMayer>
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 2.3.2   
Target Milestone: 2.4.0   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Niels Mayer 2010-10-18 17:36:13 UTC
Application: amarok (2.3.2)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.3
Operating System: Linux 2.6.32.21-168.fc12.x86_64 x86_64
Distribution: "Fedora release 12 (Constantine)"

-- Information about the crash:
Was playing KCRW live stream at http://64.12.61.1:80/stream/1046 and switching to other streams until amarok failed to actually play the selected stream. As i've seen that problem before, I quit amarok and it crashed (which is what usually happens after such hangs).

I'm using Fedora's Amarok:
amarok-2.3.2-3.fc12.x86_64
amarok-libs-2.3.2-3.fc12.x86_64
amarok-utils-2.3.2-3.fc12.x86_64


The crash can be reproduced some of the time.

 -- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
87	  int result = INLINE_SYSCALL (poll, 3, CHECK_N (fds, nfds), nfds, timeout);
[Current thread is 1 (Thread 0x7f1d98671840 (LWP 16758))]

Thread 13 (Thread 0x7f1d8be1c710 (LWP 16765)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x0000003069e13631 in ?? () from /usr/lib64/libxine.so.1
#2  0x00000038e8a06a3a in start_thread (arg=0x7f1d8be1c710) at pthread_create.c:297
#3  0x00000038e7ede77d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7f1d8c81d710 (LWP 16766)):
[KCrash Handler]
#5  0x00007f1d9083cac2 in QExplicitlySharedDataPointer (this=0x7f1d84002620) at /usr/include/QtCore/qshareddata.h:162
#6  threadSafeObject (this=0x7f1d84002620) at /usr/src/debug/phonon-4.4.2/xine/sinknode.h:76
#7  Phonon::Xine::XineStream::createStream (this=0x7f1d84002620) at /usr/src/debug/phonon-4.4.2/xine/xinestream.cpp:515
#8  0x00007f1d9083ffe3 in Phonon::Xine::XineStream::event (this=0x7f1d84002620, ev=0x37873a0) at /usr/src/debug/phonon-4.4.2/xine/xinestream.cpp:1244
#9  0x0000003982dab36c in QApplicationPrivate::notify_helper (this=0x103d4b0, receiver=0x7f1d84002620, e=0x37873a0) at kernel/qapplication.cpp:4306
#10 0x0000003982db173b in QApplication::notify (this=<value optimized out>, receiver=0x7f1d84002620, e=0x37873a0) at kernel/qapplication.cpp:4189
#11 0x000000367c9539cc in QCoreApplication::notifyInternal (this=0x7fff753e0ab0, receiver=0x7f1d84002620, event=0x37873a0) at kernel/qcoreapplication.cpp:726
#12 0x000000367c955ac4 in sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x115b040) at kernel/qcoreapplication.h:215
#13 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x115b040) at kernel/qcoreapplication.cpp:1367
#14 0x000000367c9798b3 in sendPostedEvents (s=<value optimized out>) at kernel/qcoreapplication.h:220
#15 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#16 0x00000038e963923e in g_main_dispatch (context=0x7f1d84000a60) at gmain.c:1960
#17 IA__g_main_context_dispatch (context=0x7f1d84000a60) at gmain.c:2513
#18 0x00000038e963cc28 in g_main_context_iterate (context=0x7f1d84000a60, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#19 0x00000038e963cd4a in IA__g_main_context_iteration (context=0x7f1d84000a60, may_block=1) at gmain.c:2654
#20 0x000000367c9793f3 in QEventDispatcherGlib::processEvents (this=0x7f1d84000970, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#21 0x000000367c952412 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#22 0x000000367c9526dc in QEventLoop::exec (this=0x7f1d8c81cce0, flags=...) at kernel/qeventloop.cpp:201
#23 0x000000367c86f06b in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#24 0x00007f1d90832b30 in Phonon::Xine::XineThread::run (this=0x11e8010) at /usr/src/debug/phonon-4.4.2/xine/xinethread.cpp:143
#25 0x000000367c8711b5 in QThreadPrivate::start (arg=0x11e8010) at thread/qthread_unix.cpp:248
#26 0x00000038e8a06a3a in start_thread (arg=0x7f1d8c81d710) at pthread_create.c:297
#27 0x00000038e7ede77d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#28 0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f1d8a9c8710 (LWP 16769)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000003069e243e3 in ?? () from /usr/lib64/libxine.so.1
#2  0x00000038e8a06a3a in start_thread (arg=0x7f1d8a9c8710) at pthread_create.c:297
#3  0x00000038e7ede77d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f1d89fc7710 (LWP 16770)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000003069e243e3 in ?? () from /usr/lib64/libxine.so.1
#2  0x00000038e8a06a3a in start_thread (arg=0x7f1d89fc7710) at pthread_create.c:297
#3  0x00000038e7ede77d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f1d88ac1710 (LWP 16772)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x000000367c87213b in wait (this=<value optimized out>, mutex=0x1e7ea50, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1e7ea50, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x0000003708809f86 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1e89d90, th=0x1e817f0) at /usr/src/debug/kdelibs-4.4.5/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x000000370880c4ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x1e83dd0, th=0x1e817f0) at /usr/src/debug/kdelibs-4.4.5/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x000000370880ae6f in ThreadWeaver::ThreadRunHelper::run (this=0x7f1d88ac0d50, parent=0x1e89d90, th=0x1e817f0) at /usr/src/debug/kdelibs-4.4.5/threadweaver/Weaver/Thread.cpp:87
#6  0x000000370880b358 in ThreadWeaver::Thread::run (this=0x1e817f0) at /usr/src/debug/kdelibs-4.4.5/threadweaver/Weaver/Thread.cpp:142
#7  0x000000367c8711b5 in QThreadPrivate::start (arg=0x1e817f0) at thread/qthread_unix.cpp:248
#8  0x00000038e8a06a3a in start_thread (arg=0x7f1d88ac1710) at pthread_create.c:297
#9  0x00000038e7ede77d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f1d7555a710 (LWP 16775)):
#0  0x00000038e7ea4d5d in nanosleep () at ../sysdeps/unix/syscall-template.S:82
#1  0x00000038e7ea4bd0 in __sleep (seconds=0) at ../sysdeps/unix/sysv/linux/sleep.c:138
#2  0x0000003684727487 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x3684a00d40) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2308
#3  0x0000003684727539 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f1d75559d30) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#4  0x00000038e8a06a3a in start_thread (arg=0x7f1d7555a710) at pthread_create.c:297
#5  0x00000038e7ede77d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f1d6d1bf710 (LWP 16777)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x000000367c87213b in wait (this=<value optimized out>, mutex=0x1e7ea50, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1e7ea50, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x0000003708809f86 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1e89d90, th=0x21ea520) at /usr/src/debug/kdelibs-4.4.5/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x000000370880c4ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x1e83dd0, th=0x21ea520) at /usr/src/debug/kdelibs-4.4.5/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x000000370880ae6f in ThreadWeaver::ThreadRunHelper::run (this=0x7f1d6d1bed50, parent=0x1e89d90, th=0x21ea520) at /usr/src/debug/kdelibs-4.4.5/threadweaver/Weaver/Thread.cpp:87
#6  0x000000370880b358 in ThreadWeaver::Thread::run (this=0x21ea520) at /usr/src/debug/kdelibs-4.4.5/threadweaver/Weaver/Thread.cpp:142
#7  0x000000367c8711b5 in QThreadPrivate::start (arg=0x21ea520) at thread/qthread_unix.cpp:248
#8  0x00000038e8a06a3a in start_thread (arg=0x7f1d6d1bf710) at pthread_create.c:297
#9  0x00000038e7ede77d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f1d67fff710 (LWP 16778)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x000000367c87213b in wait (this=<value optimized out>, mutex=0x1e7ea50, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1e7ea50, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x0000003708809f86 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1e89d90, th=0x21ea440) at /usr/src/debug/kdelibs-4.4.5/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x000000370880c4ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x1e83dd0, th=0x21ea440) at /usr/src/debug/kdelibs-4.4.5/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x000000370880ae6f in ThreadWeaver::ThreadRunHelper::run (this=0x7f1d67ffed50, parent=0x1e89d90, th=0x21ea440) at /usr/src/debug/kdelibs-4.4.5/threadweaver/Weaver/Thread.cpp:87
#6  0x000000370880b358 in ThreadWeaver::Thread::run (this=0x21ea440) at /usr/src/debug/kdelibs-4.4.5/threadweaver/Weaver/Thread.cpp:142
#7  0x000000367c8711b5 in QThreadPrivate::start (arg=0x21ea440) at thread/qthread_unix.cpp:248
#8  0x00000038e8a06a3a in start_thread (arg=0x7f1d67fff710) at pthread_create.c:297
#9  0x00000038e7ede77d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f1d673f1710 (LWP 16780)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x000000367c87213b in wait (this=<value optimized out>, mutex=0x1e7ea50, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1e7ea50, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x0000003708809f86 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1e89d90, th=0x24bccb0) at /usr/src/debug/kdelibs-4.4.5/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x000000370880c4ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x1e83dd0, th=0x24bccb0) at /usr/src/debug/kdelibs-4.4.5/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x000000370880ae6f in ThreadWeaver::ThreadRunHelper::run (this=0x7f1d673f0d50, parent=0x1e89d90, th=0x24bccb0) at /usr/src/debug/kdelibs-4.4.5/threadweaver/Weaver/Thread.cpp:87
#6  0x000000370880b358 in ThreadWeaver::Thread::run (this=0x24bccb0) at /usr/src/debug/kdelibs-4.4.5/threadweaver/Weaver/Thread.cpp:142
#7  0x000000367c8711b5 in QThreadPrivate::start (arg=0x24bccb0) at thread/qthread_unix.cpp:248
#8  0x00000038e8a06a3a in start_thread (arg=0x7f1d673f1710) at pthread_create.c:297
#9  0x00000038e7ede77d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f1d665ba710 (LWP 16781)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000003d1dffea36 in WTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib64/libQtWebKit.so.4
#2  0x0000003d1dffea79 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/libQtWebKit.so.4
#3  0x00000038e8a06a3a in start_thread (arg=0x7f1d665ba710) at pthread_create.c:297
#4  0x00000038e7ede77d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f1d5d1c3710 (LWP 19852)):
#0  0x00000038e7ed7553 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x0000003069e3b925 in xine_usec_sleep () from /usr/lib64/libxine.so.1
#2  0x0000003069e21259 in ?? () from /usr/lib64/libxine.so.1
#3  0x00000038e8a06a3a in start_thread (arg=0x7f1d5d1c3710) at pthread_create.c:297
#4  0x00000038e7ede77d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f1d43449710 (LWP 19881)):
#0  0x00000038e7ed7553 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x0000003069e3b925 in xine_usec_sleep () from /usr/lib64/libxine.so.1
#2  0x0000003069e21259 in ?? () from /usr/lib64/libxine.so.1
#3  0x00000038e8a06a3a in start_thread (arg=0x7f1d43449710) at pthread_create.c:297
#4  0x00000038e7ede77d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f1d98671840 (LWP 16758)):
#0  0x00000038e7ed5353 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x000000397a20885a in ?? () from /usr/lib64/libxcb.so.1
#2  0x000000397a20a1ec in xcb_wait_for_reply () from /usr/lib64/libxcb.so.1
#3  0x0000003978a4d563 in _XReply (dpy=0x106c290, rep=0x7fff753e00e0, extra=0, discard=1) at xcb_io.c:454
#4  0x0000003978a2a973 in XGetSelectionOwner (dpy=0x106c290, selection=288) at GetSOwner.c:43
#5  0x0000003982e29f63 in QClipboard::event (this=0x10b2250, e=<value optimized out>) at kernel/qclipboard_x11.cpp:928
#6  0x0000003982dab36c in QApplicationPrivate::notify_helper (this=0x103d4b0, receiver=0x10b2250, e=0x7fff753e0900) at kernel/qapplication.cpp:4306
#7  0x0000003982db173b in QApplication::notify (this=<value optimized out>, receiver=0x10b2250, e=0x7fff753e0900) at kernel/qapplication.cpp:4189
#8  0x000000367c9539cc in QCoreApplication::notifyInternal (this=0x7fff753e0ab0, receiver=0x10b2250, event=0x7fff753e0900) at kernel/qcoreapplication.cpp:726
#9  0x0000003982db6a4b in sendEvent (this=0x7fff753e0ab0, __in_chrg=<value optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:215
#10 QApplication::~QApplication (this=0x7fff753e0ab0, __in_chrg=<value optimized out>) at kernel/qapplication.cpp:1017
#11 0x00000030e6766437 in App::~App() () from /usr/lib64/libamaroklib.so.1
#12 0x000000000040857e in _start ()

This bug may be a duplicate of or related to bug 180214.

Possible duplicates by query: bug 252963, bug 245626, bug 245489, bug 243701, bug 241311.

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2010-10-18 21:58:24 UTC

*** This bug has been marked as a duplicate of bug 180214 ***