Bug 210432

Summary: crash during NetworkManager restart
Product: [Applications] amarok Reporter: marcela maslanova <marcela.maslanova>
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 2.2.0   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description marcela maslanova 2009-10-13 14:21:46 UTC
Version:           2.2.0 (using KDE 4.3.1)
OS:                Linux
Installed from:    Fedora RPMs

NetworkManager went down during listening to music from stream which caused segfault of amarok.

 -- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
162	62:	movl	(%rsp), %edi
The current source language is "auto; currently asm".
[Current thread is 1 (Thread 0x7f50ffad1840 (LWP 2138))]

Thread 9 (Thread 0x7f50f3894710 (LWP 2357)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007f50f85554b1 in ?? () from /usr/lib64/libxine.so.1
#2  0x0000003bcaa0696a in start_thread (arg=<value optimized out>) at pthread_create.c:297
#3  0x0000003bc9ee13cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f50f1b5e710 (LWP 2359)):
[KCrash Handler]
#4  __pthread_mutex_lock (mutex=0x2c8) at pthread_mutex_lock.c:50
#5  0x00007f50f8552460 in xine_close () from /usr/lib64/libxine.so.1
#6  0x00007f50f87bc7c7 in Phonon::MediaSource::type() const () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#7  0x00007f50f87be71c in Phonon::MediaSource::type() const () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#8  0x00000035e7d8f6bc in QApplicationPrivate::notify_helper (this=0x2195420, receiver=0x7f50ec002510, e=0x4e6a140) at kernel/qapplication.cpp:4056
#9  0x00000035e7d9691e in QApplication::notify (this=<value optimized out>, receiver=0x7f50ec002510, e=0x4e6a140) at kernel/qapplication.cpp:4021
#10 0x00000035e8a11b56 in KApplication::notify (this=0x7fff34b85e80, receiver=0x7f50ec002510, event=0x4e6a140) at /usr/src/debug/kdelibs-4.3.1/kdeui/kernel/kapplication.cpp:302
#11 0x00000035e693f90c in QCoreApplication::notifyInternal (this=0x7fff34b85e80, receiver=0x7f50ec002510, event=0x4e6a140) at kernel/qcoreapplication.cpp:610
#12 0x00000035e6940512 in sendEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.h:213
#13 QCoreApplicationPrivate::sendPostedEvents (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.cpp:1247
#14 0x00000035e6968033 in sendPostedEvents () at kernel/qcoreapplication.h:218
#15 postEventSourceDispatch () at kernel/qeventdispatcher_glib.cpp:210
#16 0x00000035e483922e in g_main_dispatch (context=<value optimized out>) at gmain.c:1960
#17 IA__g_main_context_dispatch (context=<value optimized out>) at gmain.c:2513
#18 0x00000035e483cc18 in g_main_context_iterate (context=0x7f50ec000990, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#19 0x00000035e483cd3a in IA__g_main_context_iteration (context=0x7f50ec000990, may_block=1) at gmain.c:2654
#20 0x00000035e6967ca6 in QEventDispatcherGlib::processEvents (this=0x7f50ec0008c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#21 0x00000035e693e242 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#22 0x00000035e693e614 in QEventLoop::exec (this=0x7f50f1b5dd00, flags=) at kernel/qeventloop.cpp:201
#23 0x00000035e6856f8b in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#24 0x00007f50f87b0b3e in Phonon::MediaSource::type() const () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#25 0x00000035e6859d65 in QThreadPrivate::start (arg=0x21936f0) at thread/qthread_unix.cpp:188
#26 0x0000003bcaa0696a in start_thread (arg=<value optimized out>) at pthread_create.c:297
#27 0x0000003bc9ee13cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#28 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f50f115d710 (LWP 2362)):
#0  0x0000003bc9ed7fe3 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f50f2a7ac5f in ?? () from /usr/lib64/libpulse.so.0
#2  0x00007f50f2a6b326 in pa_mainloop_poll () from /usr/lib64/libpulse.so.0
#3  0x00007f50f2a6c6e9 in pa_mainloop_iterate () from /usr/lib64/libpulse.so.0
#4  0x00007f50f2a6c7a0 in pa_mainloop_run () from /usr/lib64/libpulse.so.0
#5  0x00007f50f2a7ab7b in ?? () from /usr/lib64/libpulse.so.0
#6  0x00007f50f2839f20 in ?? () from /usr/lib64/libpulsecommon-0.9.19.so
#7  0x0000003bcaa0696a in start_thread (arg=<value optimized out>) at pthread_create.c:297
#8  0x0000003bc9ee13cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 6 (Thread 0x7f50ebfff710 (LWP 2364)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f50f8566123 in ?? () from /usr/lib64/libxine.so.1
#2  0x0000003bcaa0696a in start_thread (arg=<value optimized out>) at pthread_create.c:297
#3  0x0000003bc9ee13cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f50eb5fe710 (LWP 2369)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f50f8566123 in ?? () from /usr/lib64/libxine.so.1
#2  0x0000003bcaa0696a in start_thread (arg=<value optimized out>) at pthread_create.c:297
#3  0x0000003bc9ee13cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 4 (Thread 0x7f50eabfd710 (LWP 2370)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f50f8566123 in ?? () from /usr/lib64/libxine.so.1
#2  0x0000003bcaa0696a in start_thread (arg=<value optimized out>) at pthread_create.c:297
#3  0x0000003bc9ee13cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f50e8f26710 (LWP 2403)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00000035e685ae1b in wait (time=18446744073709551615, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (time=18446744073709551615, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#3  0x00000035ed40aaf6 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2afb9b0, th=0x29f0460) at /usr/src/debug/kdelibs-4.3.1/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00000035ed40cbfb in ThreadWeaver::WorkingHardState::applyForWork (this=0x29ef2b0, th=0x29f0460) at /usr/src/debug/kdelibs-4.3.1/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00000035ed40b21f in ThreadWeaver::ThreadRunHelper::run (this=0x7f50e8f25d50, parent=0x2afb9b0, th=0x29f0460) at /usr/src/debug/kdelibs-4.3.1/threadweaver/Weaver/Thread.cpp:87
#6  0x00000035ed40b658 in ThreadWeaver::Thread::run (this=0x29f0460) at /usr/src/debug/kdelibs-4.3.1/threadweaver/Weaver/Thread.cpp:142
#7  0x00000035e6859d65 in QThreadPrivate::start (arg=0x29f0460) at thread/qthread_unix.cpp:188
#8  0x0000003bcaa0696a in start_thread (arg=<value optimized out>) at pthread_create.c:297
#9  0x0000003bc9ee13cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f50c9858710 (LWP 2420)):
#0  0x0000003bc9eda1c3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f50f857d565 in xine_usec_sleep () from /usr/lib64/libxine.so.1
#2  0x00007f50f8562f99 in ?? () from /usr/lib64/libxine.so.1
#3  0x0000003bcaa0696a in start_thread (arg=<value optimized out>) at pthread_create.c:297
#4  0x0000003bc9ee13cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f50ffad1840 (LWP 2138)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00000035e68595b3 in QMutexPrivate::wait (this=0x7f50ec002860, timeout=-1) at thread/qmutex_unix.cpp:80
#2  0x00000035e6855115 in QMutex::lock (this=0x7f50ec002588) at thread/qmutex.cpp:207
#3  0x00007f50f87b5707 in Phonon::MediaSource::type() const () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#4  0x00007f50f87c9456 in Phonon::MediaSource::type() const () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#5  0x00000035eae229d4 in Phonon::MediaNodePrivate::deleteBackendObject() () from /usr/lib64/libphonon.so.4
#6  0x00000035eae3077f in ?? () from /usr/lib64/libphonon.so.4
#7  0x0000003bc9e36a32 in __run_exit_handlers (status=<value optimized out>, listp=<value optimized out>, run_list_atexit=<value optimized out>) at exit.c:78
#8  exit (status=<value optimized out>, listp=<value optimized out>, run_list_atexit=<value optimized out>) at exit.c:100
#9  0x00000035e7dea6e8 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:707
#10 0x00000035e8a11538 in KApplication::xioErrhandler (this=0x7fff34b85e80, dpy=0x21c5d00) at /usr/src/debug/kdelibs-4.3.1/kdeui/kernel/kapplication.cpp:408
#11 0x0000003bcd64541e in _XIOError (dpy=0x21c5d00) at XlibInt.c:3138
#12 0x0000003bcd64ced5 in process_responses (dpy=0x21c5d00, wait_for_first_event=<value optimized out>, current_error=<value optimized out>, current_request=0) at xcb_io.c:240
#13 0x0000003bcd64d767 in _XEventsQueued (dpy=0x21c5d00, mode=<value optimized out>) at xcb_io.c:256
#14 0x0000003bcd6361ab in XEventsQueued (dpy=0x21c5d00, mode=2) at Pending.c:44
#15 0x00000035e7e2224c in x11EventSourceCheck (s=0x218eca0) at kernel/qguieventdispatcher_glib.cpp:87
#16 0x00000035e483c12a in IA__g_main_context_check (context=0x218d220, max_priority=0, fds=<value optimized out>, n_fds=<value optimized out>) at gmain.c:2469
#17 0x00000035e483c90d in g_main_context_iterate (context=0x218d220, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2588
#18 0x00000035e483cd3a in IA__g_main_context_iteration (context=0x218d220, may_block=1) at gmain.c:2654
#19 0x00000035e6967ca6 in QEventDispatcherGlib::processEvents (this=0x207cbd0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#20 0x00000035e7e2208e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#21 0x00000035e693e242 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#22 0x00000035e693e614 in QEventLoop::exec (this=0x7fff34b85e10, flags=) at kernel/qeventloop.cpp:201
#23 0x00000035e69407a9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#24 0x0000000000409d26 in _start ()
Comment 1 Mikko C. 2009-10-13 14:37:38 UTC
crash in phonon:

#4  __pthread_mutex_lock (mutex=0x2c8) at pthread_mutex_lock.c:50
#5  0x00007f50f8552460 in xine_close () from /usr/lib64/libxine.so.1
#6  0x00007f50f87bc7c7 in Phonon::MediaSource::type() const () from
/usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so

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