Bug 240845 - Amarok crashes when opening a radio stream that doesn't work.
Summary: Amarok crashes when opening a radio stream that doesn't work.
Status: RESOLVED DUPLICATE of bug 96320
Alias: None
Product: amarok
Classification: Applications
Component: Playback/Streams (show other bugs)
Version: 2.3.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-05 23:16 UTC by Roland G.
Modified: 2010-06-05 23:39 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roland G. 2010-06-05 23:16:10 UTC
Version:           2.3.0 (using KDE 4.4.2) 
OS:                Linux

Amarok ceases to be able to play any sound after trying to connect to a radio stream that seems not to be working. Trying to close amarok results in a crash. 


From the bug assistant:
This bug may be a duplicate of or related to bug 196320.

Possible duplicates by query: bug 237934, bug 227790, bug 225839, bug 221431.

Reproducible: Always

Steps to Reproduce:
Select from the "Internet" playlist a radio stream that does not work. Play.

Actual Results:  
Amarok tries to open the stream and fails. From this moment on, it won't play anything else and will crash after a while.

Expected Results:  
It should have played the stream.

Initially tried to report this with the assistant, but would not submit the bug due to an "unknown error". Here is the report it would have sent:


Application: amarok (2.3.0)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-22-generic x86_64
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
Amarok crashes when opening a radio stream that (seems) doesn't work. 

The crash can be reproduced some of the time.

 -- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
pthread_cond_timedwait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
	in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
[Current thread is 1 (Thread 0x7f2727b42780 (LWP 4205))]

Thread 15 (Thread 0x7f270813f710 (LWP 4206)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007f270d007081 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f2722ea69ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f2724a5c6cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 14 (Thread 0x7f270793e710 (LWP 4207)):
[KCrash Handler]
#5  QBasicAtomicInt::ref (this=0xb41e00) at /usr/include/qt4/QtCore/qatomic_x86_64.h:121
#6  QHash (this=0xb41e00) at /usr/include/qt4/QtCore/qhash.h:283
#7  QSet (this=0xb41e00) at /usr/include/qt4/QtCore/qset.h:60
#8  Phonon::Xine::SourceNode::sinks (this=0xb41e00) at ../../xine/sourcenode.cpp:85
#9  0x00007f270d26ec28 in Phonon::Xine::XineStream::createStream (this=0xbd7f00) at ../../xine/xinestream.cpp:512
#10 0x00007f270d270f53 in Phonon::Xine::XineStream::event (this=0xbd7f00, ev=0x15daf60) at ../../xine/xinestream.cpp:1241
#11 0x00007f2725d0522c in QApplicationPrivate::notify_helper (this=0x8ae8f0, receiver=0xbd7f00, e=0x15daf60) at kernel/qapplication.cpp:4300
#12 0x00007f2725d0b6fb in QApplication::notify (this=0x7fffeaded8a0, receiver=0xbd7f00, e=0x15daf60) at kernel/qapplication.cpp:4183
#13 0x00007f272539106c in QCoreApplication::notifyInternal (this=0x7fffeaded8a0, receiver=0xbd7f00, event=0x15daf60) at kernel/qcoreapplication.cpp:704
#14 0x00007f27253937e7 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x8f9d70) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#15 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x8f9d70) at kernel/qcoreapplication.cpp:1345
#16 0x00007f27253ba9d3 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 0x00007f271df2a8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#19 0x00007f271df2e748 in ?? () from /lib/libglib-2.0.so.0
#20 0x00007f271df2e8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#21 0x00007f27253ba513 in QEventDispatcherGlib::processEvents (this=0xbcc240, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#22 0x00007f272538f992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#23 0x00007f272538fd6c in QEventLoop::exec (this=0x7f270793dd70, flags=) at kernel/qeventloop.cpp:201
#24 0x00007f2725299d59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#25 0x00007f270d263440 in Phonon::Xine::XineThread::run (this=0xbcc610) at ../../xine/xinethread.cpp:143
#26 0x00007f272529c775 in QThreadPrivate::start (arg=0xbcc610) at thread/qthread_unix.cpp:248
#27 0x00007f2722ea69ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#28 0x00007f2724a5c6cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#29 0x0000000000000000 in ?? ()

Thread 13 (Thread 0x7f2701fe1710 (LWP 4216)):
#0  0x00007f2724a4ff53 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f2706b1d41f in ?? () from /usr/lib/libpulse.so.0
#2  0x00007f2706b0cd86 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#3  0x00007f2706b0e809 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#4  0x00007f2706b0e8c0 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#5  0x00007f2706b1d21b in ?? () from /usr/lib/libpulse.so.0
#6  0x00007f27068dc0e8 in ?? () from /usr/lib/libpulsecommon-0.9.21.so
#7  0x00007f2722ea69ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#8  0x00007f2724a5c6cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7f2705ddc710 (LWP 4217)):
#0  __pthread_mutex_unlock_full (mutex=0x7f26f800ea40, decr=135) at pthread_mutex_unlock.c:230
#1  0x00007f27068db3be in pa_mutex_unlock () from /usr/lib/libpulsecommon-0.9.21.so
#2  0x00007f2705ddfd70 in ?? () from /usr/lib/alsa-lib/libasound_module_ctl_pulse.so
#3  0x00007f2711aa9c98 in snd_hctl_handle_events () from /usr/lib/libasound.so.2
#4  0x00007f2711ab3a79 in snd_mixer_handle_events () from /usr/lib/libasound.so.2
#5  0x00007f2706f38956 in ?? () from /usr/lib/xine/plugins/1.27/xineplug_ao_out_alsa.so
#6  0x00007f2722ea69ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#7  0x00007f2724a5c6cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f26fd7df710 (LWP 4218)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f270d017e23 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f2722ea69ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f2724a5c6cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f27051d0710 (LWP 4219)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f270d017e23 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f2722ea69ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f2724a5c6cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f27049cf710 (LWP 4220)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f270d017e23 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f2722ea69ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f2724a5c6cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f27041ce710 (LWP 4221)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f270d017e23 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f2722ea69ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f2724a5c6cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f26f0fe5710 (LWP 4222)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f272529d72b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1aacbe0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1aacbe0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f27218f1026 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1aabdf0, th=0x1aad010) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f27218f36ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x1aaaee0, th=0x1aad010) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f27218f36c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1aaaee0, th=0x1aad010) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f27218f36c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1aaaee0, th=0x1aad010) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f27218f36c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1aaaee0, th=0x1aad010) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x00007f27218f36c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1aaaee0, th=0x1aad010) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#9  0x00007f27218f36c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1aaaee0, th=0x1aad010) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#10 0x00007f27218f36c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1aaaee0, th=0x1aad010) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0x00007f27218f1bff in ThreadWeaver::ThreadRunHelper::run (this=0x7f26f0fe4de0, parent=0x1aabdf0, th=0x1aad010) at ../../../threadweaver/Weaver/Thread.cpp:87
#12 0x00007f27218f2168 in ThreadWeaver::Thread::run (this=0x1aad010) at ../../../threadweaver/Weaver/Thread.cpp:142
#13 0x00007f272529c775 in QThreadPrivate::start (arg=0x1aad010) at thread/qthread_unix.cpp:248
#14 0x00007f2722ea69ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#15 0x00007f2724a5c6cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#16 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f26f07e4710 (LWP 4223)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f272529d72b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1aacbe0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1aacbe0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f27218f1026 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1aabdf0, th=0x7f26f8005150) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f27218f36ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x1aaaee0, th=0x7f26f8005150) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f27218f36c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1aaaee0, th=0x7f26f8005150) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f27218f36c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1aaaee0, th=0x7f26f8005150) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f27218f1bff in ThreadWeaver::ThreadRunHelper::run (this=0x7f26f07e3de0, parent=0x1aabdf0, th=0x7f26f8005150) at ../../../threadweaver/Weaver/Thread.cpp:87
#8  0x00007f27218f2168 in ThreadWeaver::Thread::run (this=0x7f26f8005150) at ../../../threadweaver/Weaver/Thread.cpp:142
#9  0x00007f272529c775 in QThreadPrivate::start (arg=0x7f26f8005150) at thread/qthread_unix.cpp:248
#10 0x00007f2722ea69ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#11 0x00007f2724a5c6cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f26ec44a710 (LWP 4224)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f272529d72b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1aacbe0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1aacbe0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f27218f1026 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1aabdf0, th=0x1849690) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f27218f36ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x1aaaee0, th=0x1849690) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f27218f1bff in ThreadWeaver::ThreadRunHelper::run (this=0x7f26ec449de0, parent=0x1aabdf0, th=0x1849690) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f27218f2168 in ThreadWeaver::Thread::run (this=0x1849690) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f272529c775 in QThreadPrivate::start (arg=0x1849690) at thread/qthread_unix.cpp:248
#8  0x00007f2722ea69ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f2724a5c6cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f26ebc49710 (LWP 4225)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f272529d72b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1aacbe0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1aacbe0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f27218f1026 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1aabdf0, th=0x181c400) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f27218f36ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x1aaaee0, th=0x181c400) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f27218f36c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1aaaee0, th=0x181c400) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f27218f1bff in ThreadWeaver::ThreadRunHelper::run (this=0x7f26ebc48de0, parent=0x1aabdf0, th=0x181c400) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f27218f2168 in ThreadWeaver::Thread::run (this=0x181c400) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f272529c775 in QThreadPrivate::start (arg=0x181c400) at thread/qthread_unix.cpp:248
#9  0x00007f2722ea69ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f2724a5c6cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f26e0d55710 (LWP 4228)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f272115c2a6 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f272143a220) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
#2  0x00007f272115c2e9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f27214482ec) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#3  0x00007f2722ea69ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f2724a5c6cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f26db29b710 (LWP 4231)):
#0  0x00007f2724a54fb3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f270d0302c5 in xine_usec_sleep () from /usr/lib/libxine.so.1
#2  0x00007f270d014c99 in ?? () from /usr/lib/libxine.so.1
#3  0x00007f2722ea69ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f2724a5c6cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f2727b42780 (LWP 4205)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007f272529c0e5 in thread_sleep (ti=0x7fffeaded5f0) at thread/qthread_unix.cpp:398
#2  0x00007f272529c250 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:424
#3  0x00007f270d28ab8a in ~Backend (this=0xb45000, __in_chrg=<value optimized out>) at ../../xine/backend.cpp:111
#4  0x00007f272227c846 in ~FactoryPrivate (this=0xb0b9a0, __in_chrg=<value optimized out>) at ../3rdparty/phonon/phonon/factory.cpp:218
#5  0x00007f27253915a6 in qt_call_post_routines () at kernel/qcoreapplication.cpp:201
#6  0x00007f2725d0e308 in ~QApplication (this=0x7fffeaded8a0, __in_chrg=<value optimized out>) at kernel/qapplication.cpp:1016
#7  0x00007f2726d711a7 in ~App (this=0x7fffeaded8a0, __in_chrg=<value optimized out>) at ../../src/App.cpp:302
#8  0x000000000040878e in main (argc=1, argv=0x7fffeadef818) at ../../src/main.cpp:237

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

Possible duplicates by query: bug 237934, bug 227790, bug 225839, bug 221431.

An https://bugs.kde.org berichten
Comment 1 Myriam Schweingruber 2010-06-05 23:39:22 UTC

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