Bug 202649 - amarok doesn't play a Shoutcast stream, then crashes on exit
Summary: amarok doesn't play a Shoutcast stream, then crashes on exit
Status: RESOLVED FIXED
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 2.1.1
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
: 204152 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-08-05 16:41 UTC by Alex
Modified: 2010-04-21 09:18 UTC (History)
1 user (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 Alex 2009-08-05 16:41:37 UTC
Application that crashed: amarok
Version of the application: 2.1.1
KDE Version: 4.3.00 (KDE 4.3.0)
Qt Version: 4.5.2
Operating System: Linux 2.6.28-14-generic x86_64
Distribution: Ubuntu 9.04

 -- 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:217
	in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
[Current thread is 0 (LWP 9856)]

Thread 6 (Thread 0x7fcf6a4dc950 (LWP 9857)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
#1  0x00007fcf6f3f2f91 in metronom_sync_loop (this=0x2072570) at metronom.c:870
#2  0x00007fcf807fc3ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#3  0x00007fcf7e055fcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fcf68e35950 (LWP 9858)):
[KCrash Handler]
#5  QHash<Phonon::Xine::SinkNode*, QHashDummyValue>::duplicateNode (node=0x800000001, newNode=0x7fcf61041100) at /usr/include/qt4/QtCore/qhash.h:205
#6  0x00007fcf7eb0cd55 in QHashData::detach_helper (this=0x20766d0, node_duplicate=0x7fcf6f64dfb0 <QHash<Phonon::Xine::SinkNode*, QHashDummyValue>::duplicateNode(QHashData::Node*, void*)>, 
    nodeSize=<value optimized out>) at tools/qhash.cpp:207
#7  0x00007fcf6f65cad1 in QForeachContainer (this=0x7fcf68e34290, t=<value optimized out>) at /usr/include/qt4/QtCore/qhash.h:568
#8  0x00007fcf6f6540f2 in Phonon::Xine::XineStream::createStream (this=0x1f1aca0) at /build/buildd/phonon-4.3.1/xine/xinestream.cpp:510
#9  0x00007fcf6f65b8be in Phonon::Xine::XineStream::event (this=0x1f1aca0, ev=0x20e1d60) at /build/buildd/phonon-4.3.1/xine/xinestream.cpp:1235
#10 0x00007fcf7f752f4d in QApplicationPrivate::notify_helper (this=0x1ec3b90, receiver=0x1f1aca0, e=0x20e1d60) at kernel/qapplication.cpp:4056
#11 0x00007fcf7f75b18a in QApplication::notify (this=0x7fff89b622a0, receiver=0x1f1aca0, e=0x20e1d60) at kernel/qapplication.cpp:4021
#12 0x00007fcf7ebd46ac in QCoreApplication::notifyInternal (this=0x7fff89b622a0, receiver=0x1f1aca0, event=0x20e1d60) at kernel/qcoreapplication.cpp:610
#13 0x00007fcf7ebd531a in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1fb4db0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#14 0x00007fcf7ebfde03 in postEventSourceDispatch (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#15 0x00007fcf76c8320a in IA__g_main_context_dispatch (context=0x1fdda20) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:1814
#16 0x00007fcf76c868e0 in g_main_context_iterate (context=0x1fdda20, block=1, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2448
#17 0x00007fcf76c86a7c in IA__g_main_context_iteration (context=0x1fdda20, may_block=1) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2511
#18 0x00007fcf7ebfda8f in QEventDispatcherGlib::processEvents (this=0x1ebc470, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#19 0x00007fcf7ebd2f42 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 1759727504}) at kernel/qeventloop.cpp:149
#20 0x00007fcf7ebd3314 in QEventLoop::exec (this=0x7fcf68e34fd0, flags={i = 1759727584}) at kernel/qeventloop.cpp:201
#21 0x00007fcf7eae7dc8 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#22 0x00007fcf6f64e62c in Phonon::Xine::XineThread::run (this=0x1f1b550) at /build/buildd/phonon-4.3.1/xine/xinethread.cpp:143
#23 0x00007fcf7eaead35 in QThreadPrivate::start (arg=0x1f1b550) at thread/qthread_unix.cpp:188
#24 0x00007fcf807fc3ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#25 0x00007fcf7e055fcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#26 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fcf67225950 (LWP 9863)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fcf6f404353 in ao_loop (this_gen=<value optimized out>) at audio_out.c:348
#2  0x00007fcf807fc3ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#3  0x00007fcf7e055fcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fcf66458950 (LWP 9870)):
#0  0x00007fcf7e04e742 in select () from /lib/libc.so.6
#1  0x00007fcf6f41c0a4 in xine_usec_sleep (usec=<value optimized out>) at utils.c:481
#2  0x00007fcf6f400deb in video_out_loop (this_gen=<value optimized out>) at video_out.c:1246
#3  0x00007fcf807fc3ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#4  0x00007fcf7e055fcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fcf49621950 (LWP 14311)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fcf6f404353 in ao_loop (this_gen=<value optimized out>) at audio_out.c:348
#2  0x00007fcf807fc3ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#3  0x00007fcf7e055fcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fcf81a1e790 (LWP 9856)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
#1  0x00007fcf7eaea785 in thread_sleep (ti=0x7fff89b61fa0) at thread/qthread_unix.cpp:297
#2  0x00007fcf7eaea8ee in QThread::msleep (msecs=200) at thread/qthread_unix.cpp:323
#3  0x00007fcf6f67224a in ~Backend (this=0x1ffe640) at /build/buildd/phonon-4.3.1/xine/backend.cpp:108
#4  0x00007fcf7aebf130 in ~FactoryPrivate (this=0x1fb3380) at /build/buildd/phonon-4.3.1/phonon/factory.cpp:199
#5  0x00007fcf7ebd4c35 in qt_call_post_routines () at kernel/qcoreapplication.cpp:163
#6  0x00007fcf7f75d458 in ~QApplication (this=0xffffffffffffff92) at kernel/qapplication.cpp:971
#7  0x00007fcf80f6b70d in App::~App () from /usr/lib/libamaroklib.so.1
#8  0x0000000000533074 in _start ()
217	in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S

Reported using DrKonqi
Comment 1 Alex 2009-08-05 16:46:36 UTC
Sorry for writing everything in the title: that was my first time with the kde crash assistant...

That are the steps to reproduce the problem:
1)
Add in the playlist a stream like this one:
http://80.93.90.220:8000
That I suppose is not working or slow to respond

2)
note that amarok status (bottom-right corner) says "playing.." but nothing is heard

3)
even if you press "stop" amarok status does not change and it's impossibile to make it play something again

4) exit the application

5) crash
Comment 2 Myriam Schweingruber 2009-08-05 17:45:25 UTC
> for example http://80.93.90.220:8000

Hm, that's a shoutcast stream, and the server seems to be down currently, which would explain that you can't hear anything.
Comment 3 Alex 2009-08-05 18:46:08 UTC
Of course, but that's not the problem: the problem is that amarok locks up and I need to quit it (crashing) and reload it to use it again.
Comment 4 Myriam Schweingruber 2009-08-06 19:23:34 UTC
I can't reproduce this with current 2.2-git, so this is most likely already fixed in trunk.
Comment 5 Dario Andres 2009-08-17 18:06:19 UTC
*** Bug 204152 has been marked as a duplicate of this bug. ***
Comment 6 Sven Krohlas 2010-04-21 09:18:23 UTC
*** Bug 234688 has been marked as a duplicate of this bug. ***