Bug 271764

Summary: Amarok crashes after opening a radio stream and additional shutdown
Product: [Frameworks and Libraries] Phonon Reporter: Friedemann Frank <f.frank>
Component: Xine backendAssignee: Harald Sitter <sitter>
Status: RESOLVED DUPLICATE    
Severity: crash CC: martin.sandsmark, myriam
Priority: NOR    
Version: 4.4.1 (KDE 4.4.4)   
Target Milestone: 4.5.1   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Friedemann Frank 2011-04-26 13:40:47 UTC
Application: amarok (2.4.0)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-31-generic x86_64
Distribution: Ubuntu 10.04.2 LTS

-- Information about the crash:
a broken radio stream will be selected, after that, the player cannot play any radio stream. A shutdown afterwards leads into crash.

The crash can be reproduced every time.

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

Thread 10 (Thread 0x7f03869d3700 (LWP 2005)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007f038b874081 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f03a39879ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f03a553d70d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f0385fce700 (LWP 2008)):
[KCrash Handler]
#5  QBasicAtomicInt::ref (this=0x10b4430) at /usr/include/qt4/QtCore/qatomic_x86_64.h:121
#6  QHash (this=0x10b4430) at /usr/include/qt4/QtCore/qhash.h:283
#7  QSet (this=0x10b4430) at /usr/include/qt4/QtCore/qset.h:60
#8  Phonon::Xine::SourceNode::sinks (this=0x10b4430) at ../../xine/sourcenode.cpp:85
#9  0x00007f038badbc28 in Phonon::Xine::XineStream::createStream (this=0x10c6470) at ../../xine/xinestream.cpp:512
#10 0x00007f038baddf53 in Phonon::Xine::XineStream::event (this=0x10c6470, ev=0xdd1100) at ../../xine/xinestream.cpp:1241
#11 0x00007f03a67e722c in QApplicationPrivate::notify_helper (this=0xdf5cf0, receiver=0x10c6470, e=0xdd1100) at kernel/qapplication.cpp:4300
#12 0x00007f03a67ed6fb in QApplication::notify (this=0x7fff09c5e3f0, receiver=0x10c6470, e=0xdd1100) at kernel/qapplication.cpp:4183
#13 0x00007f03a5e7306c in QCoreApplication::notifyInternal (this=0x7fff09c5e3f0, receiver=0x10c6470, event=0xdd1100) at kernel/qcoreapplication.cpp:704
#14 0x00007f03a5e757e7 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x10b6c10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#15 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x10b6c10) at kernel/qcoreapplication.cpp:1345
#16 0x00007f03a5e9c9d3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#17 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#18 0x00007f039f9a68c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#19 0x00007f039f9aa748 in ?? () from /lib/libglib-2.0.so.0
#20 0x00007f039f9aa8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#21 0x00007f03a5e9c513 in QEventDispatcherGlib::processEvents (this=0x101d610, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#22 0x00007f03a5e71992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#23 0x00007f03a5e71d6c in QEventLoop::exec (this=0x7f0385fcdcb0, flags=) at kernel/qeventloop.cpp:201
#24 0x00007f03a5d7bd59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#25 0x00007f038bad0440 in Phonon::Xine::XineThread::run (this=0x10ad8d0) at ../../xine/xinethread.cpp:143
#26 0x00007f03a5d7e775 in QThreadPrivate::start (arg=0x10ad8d0) at thread/qthread_unix.cpp:248
#27 0x00007f03a39879ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#28 0x00007f03a553d70d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#29 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f037bffe700 (LWP 2014)):
#0  0x00007f03a552f4bd in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f03903f6fa5 in ?? () from /usr/lib/libasound.so.2
#2  0x00007f03903f1c98 in snd_hctl_handle_events () from /usr/lib/libasound.so.2
#3  0x00007f03903fba79 in snd_mixer_handle_events () from /usr/lib/libasound.so.2
#4  0x00007f03855c8956 in ?? () from /usr/lib/xine/plugins/1.27/xineplug_ao_out_alsa.so
#5  0x00007f03a39879ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f03a553d70d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f037fdf9700 (LWP 2015)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f038b884e23 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f03a39879ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f03a553d70d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f037f5f8700 (LWP 2016)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f038b884e23 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f03a39879ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f03a553d70d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f037dd14700 (LWP 2021)):
#0  0x00007f03a550139d in nanosleep () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f03a5501210 in __sleep (seconds=<value optimized out>) at ../sysdeps/unix/sysv/linux/sleep.c:138
#2  0x00007f03a1513237 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f03a17f1220) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2308
#3  0x00007f03a15132e9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f037dd13d00) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#4  0x00007f03a39879ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#5  0x00007f03a553d70d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f036501a700 (LWP 2028)):
#0  0x00007f03a5535ff3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f038b89d2c5 in xine_usec_sleep () from /usr/lib/libxine.so.1
#2  0x00007f038b881c99 in ?? () from /usr/lib/libxine.so.1
#3  0x00007f03a39879ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f03a553d70d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f036655f700 (LWP 2045)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f03a5d7f72b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x3271a20, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x3271a20, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f03a2d90026 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x15ad420, th=0x3271dd0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f03a2d926ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x15ad400, th=0x3271dd0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f03a2d90bff in ThreadWeaver::ThreadRunHelper::run (this=0x7f036655ed20, parent=0x15ad420, th=0x3271dd0) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f03a2d91168 in ThreadWeaver::Thread::run (this=0x3271dd0) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f03a5d7e775 in QThreadPrivate::start (arg=0x3271dd0) at thread/qthread_unix.cpp:248
#8  0x00007f03a39879ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f03a553d70d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f036110f700 (LWP 2068)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f03a5d7f72b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x3271a20, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x3271a20, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f03a2d90026 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x15ad420, th=0x3b16ed0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f03a2d926ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x15ad400, th=0x3b16ed0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f03a2d90bff in ThreadWeaver::ThreadRunHelper::run (this=0x7f036110ed20, parent=0x15ad420, th=0x3b16ed0) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f03a2d91168 in ThreadWeaver::Thread::run (this=0x3b16ed0) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f03a5d7e775 in QThreadPrivate::start (arg=0x3b16ed0) at thread/qthread_unix.cpp:248
#8  0x00007f03a39879ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f03a553d70d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f03a87ba840 (LWP 1991)):
#0  0x00007f03a5530f93 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f039dfef29a in ?? () from /usr/lib/libxcb.so.1
#2  0x00007f039dff0c2c in xcb_wait_for_reply () from /usr/lib/libxcb.so.1
#3  0x00007f03a4aec8d3 in _XReply () from /usr/lib/libX11.so.6
#4  0x00007f03a4ac9bd3 in XGetSelectionOwner () from /usr/lib/libX11.so.6
#5  0x00007f03a6874564 in QClipboard::event (this=0xfc48e0, e=<value optimized out>) at kernel/qclipboard_x11.cpp:928
#6  0x00007f03a67e722c in QApplicationPrivate::notify_helper (this=0xdf5cf0, receiver=0xfc48e0, e=0x7fff09c5e260) at kernel/qapplication.cpp:4300
#7  0x00007f03a67ed6fb in QApplication::notify (this=0x7fff09c5e3f0, receiver=0xfc48e0, e=0x7fff09c5e260) at kernel/qapplication.cpp:4183
#8  0x00007f03a5e7306c in QCoreApplication::notifyInternal (this=0x7fff09c5e3f0, receiver=0xfc48e0, event=0x7fff09c5e260) at kernel/qcoreapplication.cpp:704
#9  0x00007f03a67f02fb in QCoreApplication::sendEvent (this=0x7fff09c5e3f0, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#10 ~QApplication (this=0x7fff09c5e3f0, __in_chrg=<value optimized out>) at kernel/qapplication.cpp:1011
#11 0x00007f03a78303a6 in ~App (this=0x7fff09c5e3f0, __in_chrg=<value optimized out>) at ../../src/App.cpp:302
#12 0x0000000000409b1b in main (argc=<value optimized out>, argv=<value optimized out>) at ../../src/main.cpp:268

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

Possible duplicates by query: bug 250794, bug 249723, bug 241695, bug 241130, bug 240845.

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2011-04-26 15:08:43 UTC

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