Bug 276183 - amarok with vlc backend fail to play mp3 files occasionally and then crash when changing the backend [@ Phonon::VLC::MediaController::MediaController]
Summary: amarok with vlc backend fail to play mp3 files occasionally and then crash wh...
Status: RESOLVED DUPLICATE of bug 210427
Alias: None
Product: phonon-backend-vlc
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Harald Sitter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-21 12:43 UTC by Weizhi Tian
Modified: 2011-06-22 09:43 UTC (History)
5 users (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 Weizhi Tian 2011-06-21 12:43:02 UTC
Application: amarok (2.4.1)
KDE Platform Version: 4.6.3 (4.6.3)
Qt Version: 4.7.2
Operating System: Linux 2.6.38.8-32.fc15.x86_64 x86_64
Distribution: "Fedora release 15 (Lovelock)"

-- Information about the crash:
- What I was doing when the application crashed:

I was playing music with amarok using the vlc backend, then the sound went off but the progress bar is moving, I changed the phonon backend to Gstreamer and amarok crashed instantly.

The crash can be reproduced every time.

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

Thread 9 (Thread 0x7f70839ab700 (LWP 7240)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x000000308e62fcc4 in LoopRequest (p_playlist=0x1657170) at playlist/thread.c:539
#2  Thread (data=0x1657170) at playlist/thread.c:586
#3  0x000000393aa07af1 in start_thread (arg=0x7f70839ab700) at pthread_create.c:305
#4  0x000000393a2dfc2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 8 (Thread 0x7f706fffe700 (LWP 7325)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x0000003c663849c2 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x3c6667db00) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x0000003c663849f9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x000000393aa07af1 in start_thread (arg=0x7f706fffe700) at pthread_create.c:305
#4  0x000000393a2dfc2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 7 (Thread 0x7f706c333700 (LWP 7404)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x0000003c5e0745bb in wait (time=18446744073709551615, this=0x2306810) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x21e46e0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x0000003c6b40a164 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x26d1c70, th=0x21d1dd0) at /usr/src/debug/kdelibs-4.6.3/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x0000003c6b40c70b in ThreadWeaver::WorkingHardState::applyForWork (this=0x26dd9a0, th=0x21d1dd0) at /usr/src/debug/kdelibs-4.6.3/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x0000003c6b40c724 in ThreadWeaver::WorkingHardState::applyForWork (this=0x26dd9a0, th=0x21d1dd0) at /usr/src/debug/kdelibs-4.6.3/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x0000003c6b40c724 in ThreadWeaver::WorkingHardState::applyForWork (this=0x26dd9a0, th=0x21d1dd0) at /usr/src/debug/kdelibs-4.6.3/threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x0000003c6b40c724 in ThreadWeaver::WorkingHardState::applyForWork (this=0x26dd9a0, th=0x21d1dd0) at /usr/src/debug/kdelibs-4.6.3/threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x0000003c6b40b5cf in ThreadWeaver::ThreadRunHelper::run (this=0x7f706c332d60, parent=0x26d1c70, th=0x21d1dd0) at /usr/src/debug/kdelibs-4.6.3/threadweaver/Weaver/Thread.cpp:87
#9  0x0000003c6b40b65b in ThreadWeaver::Thread::run (this=0x21d1dd0) at /usr/src/debug/kdelibs-4.6.3/threadweaver/Weaver/Thread.cpp:142
#10 0x0000003c5e074125 in QThreadPrivate::start (arg=0x21d1dd0) at thread/qthread_unix.cpp:320
#11 0x000000393aa07af1 in start_thread (arg=0x7f706c333700) at pthread_create.c:305
#12 0x000000393a2dfc2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 6 (Thread 0x7f706bb32700 (LWP 7405)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x0000003c5e0745bb in wait (time=18446744073709551615, this=0x2306810) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x21e46e0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x0000003c6b40a164 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x26d1c70, th=0x21cd240) at /usr/src/debug/kdelibs-4.6.3/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x0000003c6b40c70b in ThreadWeaver::WorkingHardState::applyForWork (this=0x26dd9a0, th=0x21cd240) at /usr/src/debug/kdelibs-4.6.3/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x0000003c6b40c724 in ThreadWeaver::WorkingHardState::applyForWork (this=0x26dd9a0, th=0x21cd240) at /usr/src/debug/kdelibs-4.6.3/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x0000003c6b40c724 in ThreadWeaver::WorkingHardState::applyForWork (this=0x26dd9a0, th=0x21cd240) at /usr/src/debug/kdelibs-4.6.3/threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x0000003c6b40b5cf in ThreadWeaver::ThreadRunHelper::run (this=0x7f706bb31d60, parent=0x26d1c70, th=0x21cd240) at /usr/src/debug/kdelibs-4.6.3/threadweaver/Weaver/Thread.cpp:87
#8  0x0000003c6b40b65b in ThreadWeaver::Thread::run (this=0x21cd240) at /usr/src/debug/kdelibs-4.6.3/threadweaver/Weaver/Thread.cpp:142
#9  0x0000003c5e074125 in QThreadPrivate::start (arg=0x21cd240) at thread/qthread_unix.cpp:320
#10 0x000000393aa07af1 in start_thread (arg=0x7f706bb32700) at pthread_create.c:305
#11 0x000000393a2dfc2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 5 (Thread 0x7f706b331700 (LWP 7409)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x0000003c5e0745bb in wait (time=18446744073709551615, this=0x2306810) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x21e46e0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x0000003c6b40a164 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x26d1c70, th=0x1f34680) at /usr/src/debug/kdelibs-4.6.3/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x0000003c6b40c70b in ThreadWeaver::WorkingHardState::applyForWork (this=0x26dd9a0, th=0x1f34680) at /usr/src/debug/kdelibs-4.6.3/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x0000003c6b40c724 in ThreadWeaver::WorkingHardState::applyForWork (this=0x26dd9a0, th=0x1f34680) at /usr/src/debug/kdelibs-4.6.3/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x0000003c6b40c724 in ThreadWeaver::WorkingHardState::applyForWork (this=0x26dd9a0, th=0x1f34680) at /usr/src/debug/kdelibs-4.6.3/threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x0000003c6b40c724 in ThreadWeaver::WorkingHardState::applyForWork (this=0x26dd9a0, th=0x1f34680) at /usr/src/debug/kdelibs-4.6.3/threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x0000003c6b40c724 in ThreadWeaver::WorkingHardState::applyForWork (this=0x26dd9a0, th=0x1f34680) at /usr/src/debug/kdelibs-4.6.3/threadweaver/Weaver/WorkingHardState.cpp:74
#9  0x0000003c6b40b5cf in ThreadWeaver::ThreadRunHelper::run (this=0x7f706b330d60, parent=0x26d1c70, th=0x1f34680) at /usr/src/debug/kdelibs-4.6.3/threadweaver/Weaver/Thread.cpp:87
#10 0x0000003c6b40b65b in ThreadWeaver::Thread::run (this=0x1f34680) at /usr/src/debug/kdelibs-4.6.3/threadweaver/Weaver/Thread.cpp:142
#11 0x0000003c5e074125 in QThreadPrivate::start (arg=0x1f34680) at thread/qthread_unix.cpp:320
#12 0x000000393aa07af1 in start_thread (arg=0x7f706b331700) at pthread_create.c:305
#13 0x000000393a2dfc2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 4 (Thread 0x7f706ab30700 (LWP 7410)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x0000003c5e0745bb in wait (time=18446744073709551615, this=0x2306810) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x21e46e0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x0000003c6b40a164 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x26d1c70, th=0x2747ac0) at /usr/src/debug/kdelibs-4.6.3/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x0000003c6b40c70b in ThreadWeaver::WorkingHardState::applyForWork (this=0x26dd9a0, th=0x2747ac0) at /usr/src/debug/kdelibs-4.6.3/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x0000003c6b40b5cf in ThreadWeaver::ThreadRunHelper::run (this=0x7f706ab2fd60, parent=0x26d1c70, th=0x2747ac0) at /usr/src/debug/kdelibs-4.6.3/threadweaver/Weaver/Thread.cpp:87
#6  0x0000003c6b40b65b in ThreadWeaver::Thread::run (this=0x2747ac0) at /usr/src/debug/kdelibs-4.6.3/threadweaver/Weaver/Thread.cpp:142
#7  0x0000003c5e074125 in QThreadPrivate::start (arg=0x2747ac0) at thread/qthread_unix.cpp:320
#8  0x000000393aa07af1 in start_thread (arg=0x7f706ab30700) at pthread_create.c:305
#9  0x000000393a2dfc2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7f705b7b7700 (LWP 8148)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x00000034852caefa in WTF::TCMalloc_PageHeap::scavengerThread (this=0x3485ad02a0) at wtf/FastMalloc.cpp:2378
#2  0x00000034852cafe9 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at wtf/FastMalloc.cpp:1497
#3  0x000000393aa07af1 in start_thread (arg=0x7f705b7b7700) at pthread_create.c:305
#4  0x000000393a2dfc2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f7058790700 (LWP 8443)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x000000308e62fcc4 in LoopRequest (p_playlist=0x16424e0) at playlist/thread.c:539
#2  Thread (data=0x16424e0) at playlist/thread.c:586
#3  0x000000393aa07af1 in start_thread (arg=0x7f7058790700) at pthread_create.c:305
#4  0x000000393a2dfc2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f70bd8bd840 (LWP 6851)):
[KCrash Handler]
#6  0x00007f70b1339316 in node_create (avalue=..., akey=@0x790000000002b7fa, aupdate=0x7fff4e04b290, adt=0x2c0f020, this=0x163fb40) at /usr/include/QtCore/qmap.h:453
#7  QMap<Phonon::VLC::MediaController const*, QMap<int, int> >::detach_helper (this=0x163fb40) at /usr/include/QtCore/qmap.h:760
#8  0x00007f70b1333b21 in detach (this=0x163fb40) at /usr/include/QtCore/qmap.h:202
#9  end (this=0x163fb40) at /usr/include/QtCore/qmap.h:373
#10 register_ (mediaController=0x30001e8, this=0x163fb30) at /usr/src/debug/phonon-backend-vlc-0.4.0/vlc/globaldescriptioncontainer.h:96
#11 Phonon::VLC::MediaController::MediaController (this=0x30001e8) at /usr/src/debug/phonon-backend-vlc-0.4.0/vlc/mediacontroller.cpp:40
#12 0x00007f70b133f062 in Phonon::VLC::MediaObject::MediaObject (this=0x30001d0, parent=<optimized out>) at /usr/src/debug/phonon-backend-vlc-0.4.0/vlc/mediaobject.cpp:61
#13 0x00007f70b1326f68 in Phonon::VLC::Backend::createObject (this=0x2bfe3b0, c=<optimized out>, parent=0x1502dc0, args=<optimized out>) at /usr/src/debug/phonon-backend-vlc-0.4.0/vlc/backend.cpp:152
#14 0x00000034804309c1 in Phonon::Factory::createMediaObject (parent=0x1502dc0) at /usr/src/debug/phonon-4.5.0/phonon/factory.cpp:349
#15 0x000000348043bca6 in createBackendObject (this=0x1502f30) at /usr/src/debug/phonon-4.5.0/phonon/mediaobject.cpp:58
#16 Phonon::MediaObjectPrivate::createBackendObject (this=0x1502f30) at /usr/src/debug/phonon-4.5.0/phonon/mediaobject.cpp:58
#17 0x0000003480430199 in Phonon::FactoryPrivate::phononBackendChanged (this=0x1502fd0) at /usr/src/debug/phonon-4.5.0/phonon/factory.cpp:313
#18 0x0000003480430342 in Phonon::FactoryPrivate::qt_metacall (this=0x1502fd0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff4e04b750) at /usr/src/debug/phonon-4.5.0/x86_64-redhat-linux-gnu/phonon/factory.moc:77
#19 0x0000003c5ea205eb in QDBusConnectionPrivate::deliverCall (this=0x15021c0, object=0x1502fd0, msg=..., metaTypes=..., slotIdx=8) at qdbusintegrator.cpp:941
#20 0x0000003c5ea29d7f in QDBusCallDeliveryEvent::placeMetaCall (this=<optimized out>, object=<optimized out>) at qdbusintegrator_p.h:103
#21 0x0000003c5e170a8a in QObject::event (this=0x1502fd0, e=<optimized out>) at kernel/qobject.cpp:1217
#22 0x000000347c1b73d4 in notify_helper (e=0x2c48ee0, receiver=0x1502fd0, this=0x151c610) at kernel/qapplication.cpp:4462
#23 QApplicationPrivate::notify_helper (this=0x151c610, receiver=0x1502fd0, e=0x2c48ee0) at kernel/qapplication.cpp:4434
#24 0x000000347c1bc261 in QApplication::notify (this=0x7fff4e04c180, receiver=0x1502fd0, e=0x2c48ee0) at kernel/qapplication.cpp:4341
#25 0x000000347d841806 in KApplication::notify (this=0x7fff4e04c180, receiver=0x1502fd0, event=0x2c48ee0) at /usr/src/debug/kdelibs-4.6.3/kdeui/kernel/kapplication.cpp:311
#26 0x0000003c5e15a1bc in QCoreApplication::notifyInternal (this=0x7fff4e04c180, receiver=0x1502fd0, event=0x2c48ee0) at kernel/qcoreapplication.cpp:731
#27 0x0000003c5e15d784 in sendEvent (event=0x2c48ee0, receiver=0x1502fd0) at kernel/qcoreapplication.h:215
#28 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x13825a0) at kernel/qcoreapplication.cpp:1372
#29 0x0000003c5e1848c3 in sendPostedEvents () at kernel/qcoreapplication.h:220
#30 postEventSourceDispatch (s=0x151bc10) at kernel/qeventdispatcher_glib.cpp:277
#31 0x0000003c5cc427ed in g_main_dispatch (context=0x150fab0) at gmain.c:2441
#32 g_main_context_dispatch (context=0x150fab0) at gmain.c:3014
#33 0x0000003c5cc42fc8 in g_main_context_iterate (context=0x150fab0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3092
#34 0x0000003c5cc4325c in g_main_context_iteration (context=0x150fab0, may_block=1) at gmain.c:3155
#35 0x0000003c5e184d1f in QEventDispatcherGlib::processEvents (this=0x1383ca0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#36 0x000000347c259f2e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#37 0x0000003c5e1596d2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#38 0x0000003c5e1598cf in QEventLoop::exec (this=0x7fff4e04c110, flags=...) at kernel/qeventloop.cpp:201
#39 0x0000003c5e15da17 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#40 0x0000000000408916 in main (argc=3, argv=0x7fff4e04e788) at /usr/src/debug/amarok-2.4.1/src/main.cpp:288

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

Possible duplicates by query: bug 264972, bug 258337, bug 230052, bug 228032.

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2011-06-22 01:18:35 UTC
Which version of the phonon-backend-vlc are you using?
Comment 2 Weizhi Tian 2011-06-22 07:52:56 UTC
0.4.0
Comment 3 Harald Sitter 2011-06-22 09:36:48 UTC
Oh gosh.
Comment 4 Harald Sitter 2011-06-22 09:42:42 UTC
Ah, dbus call -> phononbackendchanged.

That is an issue resolved by removal of runtime backend changing.
Comment 5 Harald Sitter 2011-06-22 09:43:11 UTC

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