Bug 214483 - amarok hang when switching audit streams
Summary: amarok hang when switching audit streams
Status: RESOLVED DUPLICATE of bug 212820
Alias: None
Product: Phonon
Classification: Frameworks and Libraries
Component: Xine backend (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Matthias Kretz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-14 07:14 UTC by dljnk
Modified: 2009-11-14 14:35 UTC (History)
1 user (show)

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 dljnk 2009-11-14 07:14:21 UTC
Application that crashed: amarok
Version of the application: 2.2.0
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-14-generic x86_64
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
When switching audio streams, Amarok may become unresponsive (hang) if the stream is unavailable for some reason.

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

Thread 12 (Thread 0x7f8fec952910 (LWP 2293)):
#0  0x00007f8ffbc4882d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f8ff1dcbc91 in metronom_sync_loop (this=0x16f8e80) at metronom.c:870
#2  0x00007f8ffbc43a04 in start_thread () from /lib/libpthread.so.0
#3  0x00007f90013cb7bd in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f8feb409910 (LWP 2294)):
[KCrash Handler]
#5  QHashDummyNode (node=0xc3002a68d9058b48, newNode=0x7f8fa6719010) at /usr/include/qt4/QtCore/qhash.h:202
#6  QHash<Phonon::Xine::SinkNode*, QHashDummyValue>::duplicateNode (node=0xc3002a68d9058b48, newNode=0x7f8fa6719010) at /usr/include/qt4/QtCore/qhash.h:501
#7  0x00007f90019eb554 in QHashData::detach_helper (this=0x143d800, node_duplicate=0x7f8ff2025f10 <QHash<Phonon::Xine::SinkNode*, QHashDummyValue>::duplicateNode(QHashData::Node*, void*)>, 
    nodeSize=<value optimized out>) at tools/qhash.cpp:207
#8  0x00007f8ff202e73f in QHash<Phonon::Xine::SinkNode*, QHashDummyValue>::detach_helper (this=0x16fd000) at /usr/include/qt4/QtCore/qhash.h:565
#9  QHash<Phonon::Xine::SinkNode*, QHashDummyValue>::detach (this=0x16fd000) at /usr/include/qt4/QtCore/qhash.h:281
#10 QHash (this=0x16fd000) at /usr/include/qt4/QtCore/qhash.h:265
#11 QSet (this=0x16fd000) at /usr/include/qt4/QtCore/qset.h:60
#12 QForeachContainer (this=0x16fd000) at /usr/include/qt4/QtCore/qglobal.h:2054
#13 Phonon::Xine::XineStream::createStream (this=0x16fd000) at ../../xine/xinestream.cpp:510
#14 0x00007f8ff20342f2 in Phonon::Xine::XineStream::event (this=0x16fd000, ev=0x7f8fe5f68740) at ../../xine/xinestream.cpp:1229
#15 0x00007f90023cfefc in QApplicationPrivate::notify_helper (this=0x1558f30, receiver=0x16fd000, e=0x7f8fe5f68740) at kernel/qapplication.cpp:4056
#16 0x00007f90023d71ce in QApplication::notify (this=0x7ffffffad0a0, receiver=0x16fd000, e=0x7f8fe5f68740) at kernel/qapplication.cpp:4021
#17 0x00007f9001aafc2c in QCoreApplication::notifyInternal (this=0x7ffffffad0a0, receiver=0x16fd000, event=0x7f8fe5f68740) at kernel/qcoreapplication.cpp:610
#18 0x00007f9001ab080a in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x16fb620) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#19 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x16fb620) at kernel/qcoreapplication.cpp:1247
#20 0x00007f9001ad8533 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#21 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:210
#22 0x00007f8ffa57bbbe in g_main_dispatch (context=0x16fb9c0) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:1960
#23 IA__g_main_context_dispatch (context=0x16fb9c0) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2513
#24 0x00007f8ffa57f588 in g_main_context_iterate (context=0x16fb9c0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2591
#25 0x00007f8ffa57f6b0 in IA__g_main_context_iteration (context=0x16fb9c0, may_block=1) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2654
#26 0x00007f9001ad81a6 in QEventDispatcherGlib::processEvents (this=0x1545cf0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#27 0x00007f9001aae532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#28 0x00007f9001aae904 in QEventLoop::exec (this=0x7f8feb408fb0, flags=) at kernel/qeventloop.cpp:201
#29 0x00007f90019c66cb in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#30 0x00007f8ff202656e in Phonon::Xine::XineThread::run (this=0x16fb780) at ../../xine/xinethread.cpp:143
#31 0x00007f90019c9445 in QThreadPrivate::start (arg=0x16fb780) at thread/qthread_unix.cpp:188
#32 0x00007f8ffbc43a04 in start_thread () from /lib/libpthread.so.0
#33 0x00007f90013cb7bd in clone () from /lib/libc.so.6
#34 0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f8fea9fe910 (LWP 2297)):
#0  0x00007f90013bf373 in poll () from /lib/libc.so.6
#1  0x00007f8feaa04cbe in my_snd_mixer_wait (data=<value optimized out>) at audio_alsa_out.c:150
#2  ao_alsa_handle_event_thread (data=<value optimized out>) at audio_alsa_out.c:166
#3  0x00007f8ffbc43a04 in start_thread () from /lib/libpthread.so.0
#4  0x00007f90013cb7bd in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f8fea1fd910 (LWP 2298)):
#0  0x00007f8ffbc485a9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f8ff1ddc983 in fifo_peek_int (this_gen=<value optimized out>) at audio_out.c:348
#2  fifo_peek (this_gen=<value optimized out>) at audio_out.c:388
#3  ao_loop (this_gen=<value optimized out>) at audio_out.c:1015
#4  0x00007f8ffbc43a04 in start_thread () from /lib/libpthread.so.0
#5  0x00007f90013cb7bd in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f8fe9559910 (LWP 2299)):
#0  0x00007f8ffbc485a9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f8ff1ddc983 in fifo_peek_int (this_gen=<value optimized out>) at audio_out.c:348
#2  fifo_peek (this_gen=<value optimized out>) at audio_out.c:388
#3  ao_loop (this_gen=<value optimized out>) at audio_out.c:1015
#4  0x00007f8ffbc43a04 in start_thread () from /lib/libpthread.so.0
#5  0x00007f90013cb7bd in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f8fe8d58910 (LWP 2300)):
#0  0x00007f8ffbc485a9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f8ff1ddc983 in fifo_peek_int (this_gen=<value optimized out>) at audio_out.c:348
#2  fifo_peek (this_gen=<value optimized out>) at audio_out.c:388
#3  ao_loop (this_gen=<value optimized out>) at audio_out.c:1015
#4  0x00007f8ffbc43a04 in start_thread () from /lib/libpthread.so.0
#5  0x00007f90013cb7bd in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f8fe3340910 (LWP 2303)):
#0  0x00007f8ffbc485a9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f90019ca4fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x7f8fe4358440, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x7f8fe4358440, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f8ffe67d326 in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007f8ffe67f45b in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007f8ffe67f474 in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x00007f8ffe67f474 in ?? () from /usr/lib/libthreadweaver.so.4
#7  0x00007f8ffe67da5f in ?? () from /usr/lib/libthreadweaver.so.4
#8  0x00007f8ffe67deb8 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#9  0x00007f90019c9445 in QThreadPrivate::start (arg=0x7f8fe4324cc0) at thread/qthread_unix.cpp:188
#10 0x00007f8ffbc43a04 in start_thread () from /lib/libpthread.so.0
#11 0x00007f90013cb7bd in clone () from /lib/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f8fd8be8910 (LWP 2304)):
#0  0x00007f8ffbc485a9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f90019ca4fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x7f8fe4358440, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x7f8fe4358440, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f8ffe67d326 in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007f8ffe67f45b in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007f8ffe67da5f in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x00007f8ffe67deb8 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#7  0x00007f90019c9445 in QThreadPrivate::start (arg=0x7f8fe4371870) at thread/qthread_unix.cpp:188
#8  0x00007f8ffbc43a04 in start_thread () from /lib/libpthread.so.0
#9  0x00007f90013cb7bd in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f8fd83e7910 (LWP 2305)):
#0  0x00007f8ffbc485a9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f90019ca4fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x7f8fe4358440, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x7f8fe4358440, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f8ffe67d326 in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007f8ffe67f45b in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007f8ffe67f474 in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x00007f8ffe67f474 in ?? () from /usr/lib/libthreadweaver.so.4
#7  0x00007f8ffe67da5f in ?? () from /usr/lib/libthreadweaver.so.4
#8  0x00007f8ffe67deb8 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#9  0x00007f90019c9445 in QThreadPrivate::start (arg=0x1b0b100) at thread/qthread_unix.cpp:188
#10 0x00007f8ffbc43a04 in start_thread () from /lib/libpthread.so.0
#11 0x00007f90013cb7bd in clone () from /lib/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f8fd2c49910 (LWP 2310)):
#0  0x00007f8ffbc485a9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f90019ca4fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x7f8fe4358440, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x7f8fe4358440, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f8ffe67d326 in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007f8ffe67f45b in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007f8ffe67f474 in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x00007f8ffe67da5f in ?? () from /usr/lib/libthreadweaver.so.4
#7  0x00007f8ffe67deb8 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#8  0x00007f90019c9445 in QThreadPrivate::start (arg=0x7f8fe44b75b0) at thread/qthread_unix.cpp:188
#9  0x00007f8ffbc43a04 in start_thread () from /lib/libpthread.so.0
#10 0x00007f90013cb7bd in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f8fd17e3910 (LWP 2311)):
#0  0x00007f90013c43c2 in select () from /lib/libc.so.6
#1  0x00007f8ff1df4725 in xine_usec_sleep (usec=<value optimized out>) at utils.c:481
#2  0x00007f8ff1dd97e9 in video_out_loop (this_gen=<value optimized out>) at video_out.c:1246
#3  0x00007f8ffbc43a04 in start_thread () from /lib/libpthread.so.0
#4  0x00007f90013cb7bd in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f8ff54ed7a0 (LWP 2292)):
#0  0x00007f8ffbc4882d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f90019c8ed5 in thread_sleep (ti=0x7ffffffacdc0) at thread/qthread_unix.cpp:297
#2  0x00007f90019c9040 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:323
#3  0x00007f8ff204a79a in ~Backend (this=0x1685640, __in_chrg=<value optimized out>) at ../../xine/backend.cpp:108
#4  0x00007f8ffe1e7e66 in ~FactoryPrivate (this=0x162d310, __in_chrg=<value optimized out>) at ../3rdparty/phonon/phonon/factory.cpp:199
#5  0x00007f9001ab017e in qt_call_post_routines () at kernel/qcoreapplication.cpp:163
#6  0x00007f90023d7fd8 in ~QApplication (this=0x7ffffffad0a0, __in_chrg=<value optimized out>) at kernel/qapplication.cpp:971
#7  0x00007f9003254a63 in App::~App() () from /usr/lib/libamaroklib.so.1
#8  0x0000000000409ed2 in _start ()

This bug may be a duplicate of or related to bug 204152

Reported using DrKonqi
Comment 1 Dario Andres 2009-11-14 14:35:01 UTC
Merging with bug 212820. Thanks

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