Bug 281960

Summary: Amarok crash during phono backend change.
Product: [Applications] amarok Reporter: Cody <cody>
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bugzilla
Priority: NOR    
Version: 2.4.3   
Target Milestone: 2.5   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Cody 2011-09-13 19:13:36 UTC
Application: amarok (2.4.3)
KDE Platform Version: 4.7.00 (4.7.0)
Qt Version: 4.7.3
Operating System: Linux 2.6.40.4-5.fc15.x86_64 x86_64
Distribution: "Fedora release 15 (Lovelock)"

-- Information about the crash:
- What I was doing when the application crashed:
Editing system-settings to change the phonon backend from VLC to Gstreamer. Upon applying the settings Amarok crashed.

-- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7fd941199840 (LWP 4920))]

Thread 11 (Thread 0x7fd900f0b700 (LWP 4949)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x00007fd9363b3cd4 in LoopRequest (p_playlist=0x1e26060) at playlist/thread.c:539
#2  Thread (data=0x1e26060) at playlist/thread.c:586
#3  0x0000003bc0a07b31 in start_thread (arg=0x7fd900f0b700) at pthread_create.c:305
#4  0x0000003bc06dfd2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 10 (Thread 0x7fd8f8c5c700 (LWP 4962)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x0000003bca2745db in wait (time=18446744073709551615, this=0x235ccc0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x235cee0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x0000003bd000a164 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x235caf0, th=0x235dd90) at /usr/src/debug/kdelibs-4.7.0/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x0000003bd000c70b in ThreadWeaver::WorkingHardState::applyForWork (this=0x235d000, th=0x235dd90) at /usr/src/debug/kdelibs-4.7.0/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x0000003bd000c724 in ThreadWeaver::WorkingHardState::applyForWork (this=0x235d000, th=0x235dd90) at /usr/src/debug/kdelibs-4.7.0/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x0000003bd000c724 in ThreadWeaver::WorkingHardState::applyForWork (this=0x235d000, th=0x235dd90) at /usr/src/debug/kdelibs-4.7.0/threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x0000003bd000b5cf in ThreadWeaver::ThreadRunHelper::run (this=0x7fd8f8c5bd60, parent=0x235caf0, th=0x235dd90) at /usr/src/debug/kdelibs-4.7.0/threadweaver/Weaver/Thread.cpp:87
#8  0x0000003bd000b65b in ThreadWeaver::Thread::run (this=0x235dd90) at /usr/src/debug/kdelibs-4.7.0/threadweaver/Weaver/Thread.cpp:142
#9  0x0000003bca274145 in QThreadPrivate::start (arg=0x235dd90) at thread/qthread_unix.cpp:320
#10 0x0000003bc0a07b31 in start_thread (arg=0x7fd8f8c5c700) at pthread_create.c:305
#11 0x0000003bc06dfd2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 9 (Thread 0x7fd8ef926700 (LWP 4963)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x0000003bca2745db in wait (time=18446744073709551615, this=0x235ccc0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x235cee0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x0000003bd000a164 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x235caf0, th=0x270a240) at /usr/src/debug/kdelibs-4.7.0/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x0000003bd000c70b in ThreadWeaver::WorkingHardState::applyForWork (this=0x235d000, th=0x270a240) at /usr/src/debug/kdelibs-4.7.0/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x0000003bd000c724 in ThreadWeaver::WorkingHardState::applyForWork (this=0x235d000, th=0x270a240) at /usr/src/debug/kdelibs-4.7.0/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x0000003bd000b5cf in ThreadWeaver::ThreadRunHelper::run (this=0x7fd8ef925d60, parent=0x235caf0, th=0x270a240) at /usr/src/debug/kdelibs-4.7.0/threadweaver/Weaver/Thread.cpp:87
#7  0x0000003bd000b65b in ThreadWeaver::Thread::run (this=0x270a240) at /usr/src/debug/kdelibs-4.7.0/threadweaver/Weaver/Thread.cpp:142
#8  0x0000003bca274145 in QThreadPrivate::start (arg=0x270a240) at thread/qthread_unix.cpp:320
#9  0x0000003bc0a07b31 in start_thread (arg=0x7fd8ef926700) at pthread_create.c:305
#10 0x0000003bc06dfd2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 8 (Thread 0x7fd8eef1b700 (LWP 4964)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x0000003bca2745db in wait (time=18446744073709551615, this=0x235ccc0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x235cee0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x0000003bd000a164 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x235caf0, th=0x26bc440) at /usr/src/debug/kdelibs-4.7.0/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x0000003bd000c70b in ThreadWeaver::WorkingHardState::applyForWork (this=0x235d000, th=0x26bc440) at /usr/src/debug/kdelibs-4.7.0/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x0000003bd000b5cf in ThreadWeaver::ThreadRunHelper::run (this=0x7fd8eef1ad60, parent=0x235caf0, th=0x26bc440) at /usr/src/debug/kdelibs-4.7.0/threadweaver/Weaver/Thread.cpp:87
#6  0x0000003bd000b65b in ThreadWeaver::Thread::run (this=0x26bc440) at /usr/src/debug/kdelibs-4.7.0/threadweaver/Weaver/Thread.cpp:142
#7  0x0000003bca274145 in QThreadPrivate::start (arg=0x26bc440) at thread/qthread_unix.cpp:320
#8  0x0000003bc0a07b31 in start_thread (arg=0x7fd8eef1b700) at pthread_create.c:305
#9  0x0000003bc06dfd2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 7 (Thread 0x7fd8ee71a700 (LWP 4965)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x0000003bca2745db in wait (time=18446744073709551615, this=0x235ccc0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x235cee0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x0000003bd000a164 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x235caf0, th=0x26bd3b0) at /usr/src/debug/kdelibs-4.7.0/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x0000003bd000c70b in ThreadWeaver::WorkingHardState::applyForWork (this=0x235d000, th=0x26bd3b0) at /usr/src/debug/kdelibs-4.7.0/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x0000003bd000c724 in ThreadWeaver::WorkingHardState::applyForWork (this=0x235d000, th=0x26bd3b0) at /usr/src/debug/kdelibs-4.7.0/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x0000003bd000c724 in ThreadWeaver::WorkingHardState::applyForWork (this=0x235d000, th=0x26bd3b0) at /usr/src/debug/kdelibs-4.7.0/threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x0000003bd000b5cf in ThreadWeaver::ThreadRunHelper::run (this=0x7fd8ee719d60, parent=0x235caf0, th=0x26bd3b0) at /usr/src/debug/kdelibs-4.7.0/threadweaver/Weaver/Thread.cpp:87
#8  0x0000003bd000b65b in ThreadWeaver::Thread::run (this=0x26bd3b0) at /usr/src/debug/kdelibs-4.7.0/threadweaver/Weaver/Thread.cpp:142
#9  0x0000003bca274145 in QThreadPrivate::start (arg=0x26bd3b0) at thread/qthread_unix.cpp:320
#10 0x0000003bc0a07b31 in start_thread (arg=0x7fd8ee71a700) at pthread_create.c:305
#11 0x0000003bc06dfd2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 6 (Thread 0x7fd8ed8da700 (LWP 4966)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x0000003d29ecb09a in WTF::TCMalloc_PageHeap::scavengerThread (this=0x3d2a6d02a0) at wtf/FastMalloc.cpp:2378
#2  0x0000003d29ecb189 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at wtf/FastMalloc.cpp:1497
#3  0x0000003bc0a07b31 in start_thread (arg=0x7fd8ed8da700) at pthread_create.c:305
#4  0x0000003bc06dfd2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 5 (Thread 0x7fd8df7fe700 (LWP 5013)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x0000003bdb184b32 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x3bdb47db00) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x0000003bdb184b69 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x0000003bc0a07b31 in start_thread (arg=0x7fd8df7fe700) at pthread_create.c:305
#4  0x0000003bc06dfd2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 4 (Thread 0x7fd8b37fd700 (LWP 1257)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x0000003bca2745db in wait (time=18446744073709551615, this=0x3764a40) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x3764478, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x0000003d20099db4 in QFileInfoGatherer::run (this=0x3764468) at dialogs/qfileinfogatherer.cpp:214
#4  0x0000003bca274145 in QThreadPrivate::start (arg=0x3764468) at thread/qthread_unix.cpp:320
#5  0x0000003bc0a07b31 in start_thread (arg=0x7fd8b37fd700) at pthread_create.c:305
#6  0x0000003bc06dfd2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7fd8b2ffc700 (LWP 1258)):
#0  0x0000003bc06d7423 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x0000003bc2642d24 in g_main_context_poll (n_fds=1, fds=0x7fd8a4001400, priority=<optimized out>, timeout=-1, context=0x7fd8a4001600) at gmain.c:3405
#2  g_main_context_iterate (context=0x7fd8a4001600, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3087
#3  0x0000003bc264325c in g_main_context_iteration (context=0x7fd8a4001600, may_block=1) at gmain.c:3155
#4  0x0000003bca384d76 in QEventDispatcherGlib::processEvents (this=0x7fd8a4001c90, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x0000003bca3596c2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x0000003bca3598bf in QEventLoop::exec (this=0x7fd8b2ffbd10, flags=...) at kernel/qeventloop.cpp:201
#7  0x0000003bca2716cf in QThread::exec (this=<optimized out>) at thread/qthread.cpp:492
#8  0x0000003bca33c72f in QInotifyFileSystemWatcherEngine::run (this=0x37609c0) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x0000003bca274145 in QThreadPrivate::start (arg=0x37609c0) at thread/qthread_unix.cpp:320
#10 0x0000003bc0a07b31 in start_thread (arg=0x7fd8b2ffc700) at pthread_create.c:305
#11 0x0000003bc06dfd2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7fd8ce5ed700 (LWP 1405)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x00007fd9363b3cd4 in LoopRequest (p_playlist=0x3594f50) at playlist/thread.c:539
#2  Thread (data=0x3594f50) at playlist/thread.c:586
#3  0x0000003bc0a07b31 in start_thread (arg=0x7fd8ce5ed700) at pthread_create.c:305
#4  0x0000003bc06dfd2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7fd941199840 (LWP 4920)):
[KCrash Handler]
#6  0x00007fd9368b04d6 in node_create (avalue=..., akey=@0x100000003bc09943, aupdate=0x7fff90a64f70, adt=0x2c49d40, this=0x1aa2d50) at /usr/include/QtCore/qmap.h:453
#7  QMap<Phonon::VLC::MediaController const*, QMap<int, int> >::detach_helper (this=0x1aa2d50) at /usr/include/QtCore/qmap.h:760
#8  0x00007fd9368aace1 in detach (this=0x1aa2d50) at /usr/include/QtCore/qmap.h:202
#9  end (this=0x1aa2d50) at /usr/include/QtCore/qmap.h:373
#10 register_ (mediaController=0x320ce38, this=0x1aa2d40) at /usr/src/debug/phonon-backend-vlc-0.4.1/vlc/globaldescriptioncontainer.h:96
#11 Phonon::VLC::MediaController::MediaController (this=0x320ce38) at /usr/src/debug/phonon-backend-vlc-0.4.1/vlc/mediacontroller.cpp:40
#12 0x00007fd9368b60d2 in Phonon::VLC::MediaObject::MediaObject (this=0x320ce20, parent=<optimized out>) at /usr/src/debug/phonon-backend-vlc-0.4.1/vlc/mediaobject.cpp:61
#13 0x00007fd93689dd20 in Phonon::VLC::Backend::createObject (this=0x3579730, c=<optimized out>, parent=0x194c620, args=...) at /usr/src/debug/phonon-backend-vlc-0.4.1/vlc/backend.cpp:154
#14 0x0000003d25e309c1 in Phonon::Factory::createMediaObject (parent=0x194c620) at /usr/src/debug/phonon-4.5.0/phonon/factory.cpp:349
#15 0x0000003d25e3bca6 in createBackendObject (this=0x19b7f70) at /usr/src/debug/phonon-4.5.0/phonon/mediaobject.cpp:58
#16 Phonon::MediaObjectPrivate::createBackendObject (this=0x19b7f70) at /usr/src/debug/phonon-4.5.0/phonon/mediaobject.cpp:58
#17 0x0000003d25e30199 in Phonon::FactoryPrivate::phononBackendChanged (this=0x1a25960) at /usr/src/debug/phonon-4.5.0/phonon/factory.cpp:313
#18 0x0000003d25e30342 in Phonon::FactoryPrivate::qt_metacall (this=0x1a25960, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff90a65430) at /usr/src/debug/phonon-4.5.0/x86_64-redhat-linux-gnu/phonon/factory.moc:77
#19 0x0000003bcc0205fb in QDBusConnectionPrivate::deliverCall (this=0x18b5d90, object=0x1a25960, msg=..., metaTypes=..., slotIdx=8) at qdbusintegrator.cpp:941
#20 0x0000003bcc029d8f in QDBusCallDeliveryEvent::placeMetaCall (this=<optimized out>, object=<optimized out>) at qdbusintegrator_p.h:103
#21 0x0000003bca370a7a in QObject::event (this=0x1a25960, e=<optimized out>) at kernel/qobject.cpp:1217
#22 0x0000003d1fbb7444 in notify_helper (e=0x3835790, receiver=0x1a25960, this=0x18cf0e0) at kernel/qapplication.cpp:4462
#23 QApplicationPrivate::notify_helper (this=0x18cf0e0, receiver=0x1a25960, e=0x3835790) at kernel/qapplication.cpp:4434
#24 0x0000003d1fbbc2d1 in QApplication::notify (this=0x7fff90a65e60, receiver=0x1a25960, e=0x3835790) at kernel/qapplication.cpp:4341
#25 0x0000003d2124c156 in KApplication::notify (this=0x7fff90a65e60, receiver=0x1a25960, event=0x3835790) at /usr/src/debug/kdelibs-4.7.0/kdeui/kernel/kapplication.cpp:311
#26 0x0000003bca35a1ac in QCoreApplication::notifyInternal (this=0x7fff90a65e60, receiver=0x1a25960, event=0x3835790) at kernel/qcoreapplication.cpp:731
#27 0x0000003bca35d774 in sendEvent (event=0x3835790, receiver=0x1a25960) at kernel/qcoreapplication.h:215
#28 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x17564e0) at kernel/qcoreapplication.cpp:1372
#29 0x0000003bca3848b3 in sendPostedEvents () at kernel/qcoreapplication.h:220
#30 postEventSourceDispatch (s=0x18ce9e0) at kernel/qeventdispatcher_glib.cpp:277
#31 0x0000003bc26427ed in g_main_dispatch (context=0x179d100) at gmain.c:2441
#32 g_main_context_dispatch (context=0x179d100) at gmain.c:3014
#33 0x0000003bc2642fc8 in g_main_context_iterate (context=0x179d100, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3092
#34 0x0000003bc264325c in g_main_context_iteration (context=0x179d100, may_block=1) at gmain.c:3155
#35 0x0000003bca384d0f in QEventDispatcherGlib::processEvents (this=0x1757bd0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#36 0x0000003d1fc59fde in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#37 0x0000003bca3596c2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#38 0x0000003bca3598bf in QEventLoop::exec (this=0x7fff90a65df0, flags=...) at kernel/qeventloop.cpp:201
#39 0x0000003bca35da07 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#40 0x000000000040916e in main (argc=1, argv=0x7fff90a68468) at /usr/src/debug/amarok-2.4.3/src/main.cpp:289

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2011-09-14 07:35:36 UTC

*** This bug has been marked as a duplicate of bug 210427 ***
Comment 2 wintonian 2012-06-30 01:30:16 UTC
Created attachment 72226 [details]
New crash information added by DrKonqi

amarok (2.4.3) on KDE Platform 4.7.4 (4.7.4) using Qt 4.7.4

- What I was doing when the application crashed:

Changeing the phonon backend from VLC to GStreamer as above.

-- Backtrace (Reduced):
#9  end (this=0xd9b870) at /usr/include/qt4/QtCore/qmap.h:373
#10 register_ (mediaController=0x2a2d908, this=0xd9b860) at ../../vlc/globaldescriptioncontainer.h:96
#11 Phonon::VLC::MediaController::MediaController (this=0x2a2d908) at ../../vlc/mediacontroller.cpp:40
#12 0x00007f7e8cb11282 in Phonon::VLC::MediaObject::MediaObject (this=0x2a2d8f0, parent=<optimized out>) at ../../vlc/mediaobject.cpp:61
#13 0x00007f7e8caf9000 in Phonon::VLC::Backend::createObject (this=0x1fa62c0, c=<optimized out>, parent=0xc9fbd0, args=...) at ../../vlc/backend.cpp:154