Bug 297862 - Amarok crashes with no usable Phonon backend [@ Phonon::VLC::Backend::~Backend]
Summary: Amarok crashes with no usable Phonon backend [@ Phonon::VLC::Backend::~Backend]
Status: RESOLVED FIXED
Alias: None
Product: phonon-backend-vlc
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 0.5
Platform: Debian unstable Linux
: NOR crash
Target Milestone: 0.5.1
Assignee: Harald Sitter
URL:
Keywords: regression
: 297861 297950 298043 298418 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-04-10 18:52 UTC by Jeffrey
Modified: 2012-07-30 17:46 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In: 0.6


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeffrey 2012-04-10 18:52:30 UTC
Application: amarok (2.5.0)
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.7.4
Operating System: Linux 3.2.0-2-686-pae i686
Distribution: Debian GNU/Linux unstable (sid)

-- Information about the crash:
- What I was doing when the application crashed:
I'm trying to get Amarok to play but I don't seem to have a usabable Phonon backend.  Amarok doesn't say anything other than "Phonon's VLC backend failed to start." but Amarok is silent when i try to play.  I close Amarok and get this crash.

- Unusual behavior I noticed:
Phonon isn't working.

The crash can be reproduced every time.

-- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1".
[Current thread is 1 (Thread 0xb4d9c720 (LWP 19141))]

Thread 10 (Thread 0xaef5ab70 (LWP 30691)):
#0  0xb68d927b in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0xb68d9b3f in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb68d9d91 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x49de3dc7 in QEventDispatcherGlib::processEvents (this=0x8a741b8, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x49db497d in QEventLoop::processEvents (this=0xaef5a2a0, flags=...) at kernel/qeventloop.cpp:149
#5  0x49db4bc1 in QEventLoop::exec (this=0xaef5a2a0, flags=...) at kernel/qeventloop.cpp:201
#6  0x49cb7bbb in QThread::exec (this=0x8a73860) at thread/qthread.cpp:498
#7  0x49d9555d in QInotifyFileSystemWatcherEngine::run (this=0x8a73860) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x49cbaa63 in QThreadPrivate::start (arg=0x8a73860) at thread/qthread_unix.cpp:331
#9  0x4c747c39 in start_thread (arg=0xaef5ab70) at pthread_create.c:304
#10 0x4c68512e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 9 (Thread 0xad39eb70 (LWP 940)):
#0  0xb77ab424 in __kernel_vsyscall ()
#1  0x4c74c20a in __pthread_cond_wait (cond=0x8ed8b70, mutex=0x8ed8b58) at pthread_cond_wait.c:153
#2  0x4c69221d in __pthread_cond_wait (cond=0x8ed8b70, mutex=0x8ed8b58) at forward.c:139
#3  0x49cbaf70 in wait (time=4294967295, this=0x8ed8b58) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x8caa248, mutex=0x8ed8810, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x4bb779a6 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x8caa230, th=0x8caa2a8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x4bb7a49b in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x8c31f20, th=0x8caa2a8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x4bb775da in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x8caa230, th=0x8caa2a8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x4bb7a59c in ThreadWeaver::WorkingHardState::applyForWork (this=0x8c31f20, th=0x8caa2a8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x4bb77533 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8caa230, th=0x8caa2a8, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x4bb7a5b8 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8c31f20, th=0x8caa2a8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0x4bb77533 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8caa230, th=0x8caa2a8, previous=0x9b15828) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0x4bb790d4 in ThreadWeaver::ThreadRunHelper::run (this=0xad39e304, parent=0x8caa230, th=0x8caa2a8) at ../../../threadweaver/Weaver/Thread.cpp:87
#13 0x4bb7918a in ThreadWeaver::Thread::run (this=0x8caa2a8) at ../../../threadweaver/Weaver/Thread.cpp:142
#14 0x49cbaa63 in QThreadPrivate::start (arg=0x8caa2a8) at thread/qthread_unix.cpp:331
#15 0x4c747c39 in start_thread (arg=0xad39eb70) at pthread_create.c:304
#16 0x4c68512e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 8 (Thread 0xacb9db70 (LWP 941)):
#0  0xb77ab424 in __kernel_vsyscall ()
#1  0x4c74c20a in __pthread_cond_wait (cond=0x8ed8b70, mutex=0x8ed8b58) at pthread_cond_wait.c:153
#2  0x4c69221d in __pthread_cond_wait (cond=0x8ed8b70, mutex=0x8ed8b58) at forward.c:139
#3  0x49cbaf70 in wait (time=4294967295, this=0x8ed8b58) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x8caa248, mutex=0x8ed8810, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x4bb779a6 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x8caa230, th=0xad6025a8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x4bb7a49b in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x8c31f20, th=0xad6025a8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x4bb775da in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x8caa230, th=0xad6025a8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x4bb7a59c in ThreadWeaver::WorkingHardState::applyForWork (this=0x8c31f20, th=0xad6025a8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x4bb77533 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8caa230, th=0xad6025a8, previous=0x9b3c158) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x4bb790d4 in ThreadWeaver::ThreadRunHelper::run (this=0xacb9d304, parent=0x8caa230, th=0xad6025a8) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0x4bb7918a in ThreadWeaver::Thread::run (this=0xad6025a8) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0x49cbaa63 in QThreadPrivate::start (arg=0xad6025a8) at thread/qthread_unix.cpp:331
#13 0x4c747c39 in start_thread (arg=0xacb9db70) at pthread_create.c:304
#14 0x4c68512e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 7 (Thread 0xac39cb70 (LWP 942)):
#0  0xb77ab424 in __kernel_vsyscall ()
#1  0x4c74c20a in __pthread_cond_wait (cond=0x8ed8b70, mutex=0x8ed8b58) at pthread_cond_wait.c:153
#2  0x4c69221d in __pthread_cond_wait (cond=0x8ed8b70, mutex=0x8ed8b58) at forward.c:139
#3  0x49cbaf70 in wait (time=4294967295, this=0x8ed8b58) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x8caa248, mutex=0x8ed8810, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x4bb779a6 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x8caa230, th=0xad602e58) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x4bb7a49b in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x8c31f20, th=0xad602e58) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x4bb775da in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x8caa230, th=0xad602e58) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x4bb7a59c in ThreadWeaver::WorkingHardState::applyForWork (this=0x8c31f20, th=0xad602e58) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x4bb77533 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8caa230, th=0xad602e58, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x4bb7a5b8 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8c31f20, th=0xad602e58) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0x4bb77533 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8caa230, th=0xad602e58, previous=0x9ba7848) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0x4bb790d4 in ThreadWeaver::ThreadRunHelper::run (this=0xac39c304, parent=0x8caa230, th=0xad602e58) at ../../../threadweaver/Weaver/Thread.cpp:87
#13 0x4bb7918a in ThreadWeaver::Thread::run (this=0xad602e58) at ../../../threadweaver/Weaver/Thread.cpp:142
#14 0x49cbaa63 in QThreadPrivate::start (arg=0xad602e58) at thread/qthread_unix.cpp:331
#15 0x4c747c39 in start_thread (arg=0xac39cb70) at pthread_create.c:304
#16 0x4c68512e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 6 (Thread 0xab9ffb70 (LWP 943)):
#0  0xb77ab424 in __kernel_vsyscall ()
#1  0x4c74c20a in __pthread_cond_wait (cond=0x8ed8b70, mutex=0x8ed8b58) at pthread_cond_wait.c:153
#2  0x4c69221d in __pthread_cond_wait (cond=0x8ed8b70, mutex=0x8ed8b58) at forward.c:139
#3  0x49cbaf70 in wait (time=4294967295, this=0x8ed8b58) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x8caa248, mutex=0x8ed8810, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x4bb779a6 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x8caa230, th=0xaba009d0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x4bb7a49b in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x8c31f20, th=0xaba009d0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x4bb775da in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x8caa230, th=0xaba009d0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x4bb7a59c in ThreadWeaver::WorkingHardState::applyForWork (this=0x8c31f20, th=0xaba009d0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x4bb77533 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8caa230, th=0xaba009d0, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x4bb7a5b8 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8c31f20, th=0xaba009d0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0x4bb77533 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8caa230, th=0xaba009d0, previous=0x9a06660) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0x4bb790d4 in ThreadWeaver::ThreadRunHelper::run (this=0xab9ff304, parent=0x8caa230, th=0xaba009d0) at ../../../threadweaver/Weaver/Thread.cpp:87
#13 0x4bb7918a in ThreadWeaver::Thread::run (this=0xaba009d0) at ../../../threadweaver/Weaver/Thread.cpp:142
#14 0x49cbaa63 in QThreadPrivate::start (arg=0xaba009d0) at thread/qthread_unix.cpp:331
#15 0x4c747c39 in start_thread (arg=0xab9ffb70) at pthread_create.c:304
#16 0x4c68512e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xaafffb70 (LWP 944)):
#0  0xb77ab424 in __kernel_vsyscall ()
#1  0x4c74c20a in __pthread_cond_wait (cond=0xb682c830, mutex=0xb682c818) at pthread_cond_wait.c:153
#2  0x4c69221d in __pthread_cond_wait (cond=0xb682c830, mutex=0xb682c818) at forward.c:139
#3  0xb60fac6b in WTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib/libQtWebKit.so.4
#4  0xb60fad8f in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib/libQtWebKit.so.4
#5  0x4c747c39 in start_thread (arg=0xaafffb70) at pthread_create.c:304
#6  0x4c68512e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xa96fcb70 (LWP 956)):
#0  0xb77ab424 in __kernel_vsyscall ()
#1  0x4c74c20a in __pthread_cond_wait (cond=0x4b818570, mutex=0x4b818558) at pthread_cond_wait.c:153
#2  0x4c69221d in __pthread_cond_wait (cond=0x4b818570, mutex=0x4b818558) at forward.c:139
#3  0x4b7130a9 in ?? () from /usr/lib/libQtScript.so.4
#4  0x4b7130ef in ?? () from /usr/lib/libQtScript.so.4
#5  0x4c747c39 in start_thread (arg=0xa96fcb70) at pthread_create.c:304
#6  0x4c68512e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xa1742b70 (LWP 6204)):
#0  0xb77ab424 in __kernel_vsyscall ()
#1  0x4c74c20a in __pthread_cond_wait (cond=0x99f0518, mutex=0x99f0500) at pthread_cond_wait.c:153
#2  0x4c69221d in __pthread_cond_wait (cond=0x99f0518, mutex=0x99f0500) at forward.c:139
#3  0x49cbaf70 in wait (time=4294967295, this=0x99f0500) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x99f0338, mutex=0x99f0334, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x42a33dfb in QFileInfoGatherer::run (this=0x99f032c) at dialogs/qfileinfogatherer.cpp:214
#6  0x49cbaa63 in QThreadPrivate::start (arg=0x99f032c) at thread/qthread_unix.cpp:331
#7  0x4c747c39 in start_thread (arg=0xa1742b70) at pthread_create.c:304
#8  0x4c68512e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xa0f41b70 (LWP 6205)):
#0  0x4c779e11 in *__GI_clock_gettime (clock_id=1, tp=0xa0f41028) at ../sysdeps/unix/clock_gettime.c:116
#1  0x49d120b5 in do_gettime (frac=0xa0f41020, sec=0xa0f41018) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x49de4736 in QTimerInfoList::updateCurrentTime (this=0x99f34ec) at kernel/qeventdispatcher_unix.cpp:339
#4  0x49de4a9a in QTimerInfoList::timerWait (this=0x99f34ec, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x49de3303 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xa0f4112c) at kernel/qeventdispatcher_glib.cpp:136
#6  0x49de339d in timerSourcePrepare (source=0x99f34b8, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0xb68d931a in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0xb68d9b3f in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0xb68d9d91 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x49de3dc7 in QEventDispatcherGlib::processEvents (this=0x99f3538, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0x49db497d in QEventLoop::processEvents (this=0xa0f412a0, flags=...) at kernel/qeventloop.cpp:149
#12 0x49db4bc1 in QEventLoop::exec (this=0xa0f412a0, flags=...) at kernel/qeventloop.cpp:201
#13 0x49cb7bbb in QThread::exec (this=0x99efae0) at thread/qthread.cpp:498
#14 0x49d9555d in QInotifyFileSystemWatcherEngine::run (this=0x99efae0) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x49cbaa63 in QThreadPrivate::start (arg=0x99efae0) at thread/qthread_unix.cpp:331
#16 0x4c747c39 in start_thread (arg=0xa0f41b70) at pthread_create.c:304
#17 0x4c68512e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb4d9c720 (LWP 19141)):
[KCrash Handler]
#7  QLibrary::unload (this=0x0) at plugin/qlibrary.cpp:830
#8  0xb3bab254 in LibVLC::vlcUnload (this=0x885ea48) at ../../src/utils/libvlc.cpp:270
#9  0xb3bab2b1 in LibVLC::~LibVLC (this=0x885ea48, __in_chrg=<optimized out>) at ../../src/utils/libvlc.cpp:45
#10 0xb3b9e483 in Phonon::VLC::Backend::~Backend (this=0x8970838, __in_chrg=<optimized out>) at ../../src/backend.cpp:122
#11 0xb3b9e522 in Phonon::VLC::Backend::~Backend (this=0x8970838, __in_chrg=<optimized out>) at ../../src/backend.cpp:130
#12 0x4c3f0dec in ?? () from /usr/lib/libphonon.so.4
#13 0x4c3f0fa2 in ?? () from /usr/lib/libphonon.so.4
#14 0x4c3f08d2 in ?? () from /usr/lib/libphonon.so.4
#15 0x49db86fc in qt_call_post_routines () at kernel/qcoreapplication.cpp:255
#16 0x424c768a in QApplication::~QApplication (this=0xbfb42854, __in_chrg=<optimized out>) at kernel/qapplication.cpp:1106
#17 0x4b22c3e8 in KApplication::~KApplication (this=0xbfb42854, __in_chrg=<optimized out>) at ../../kdeui/kernel/kapplication.cpp:894
#18 0x4b234198 in KUniqueApplication::~KUniqueApplication (this=0xbfb42854, __in_chrg=<optimized out>) at ../../kdeui/kernel/kuniqueapplication.cpp:347
#19 0x48d377f7 in App::~App (this=0xbfb42854, __in_chrg=<optimized out>) at ../../src/App.cpp:188
#20 0x0804feaa in main (argc=<error reading variable: Cannot access memory at address 0x2>, argv=<error reading variable: Cannot access memory at address 0x6>) at ../../src/main.cpp:301

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2012-04-11 00:41:36 UTC
The crash is with the phonon-backend-vlc. Please install the -dbg package for that backend and make sure you have at least version 0.4.1 or higher of the backend.
Comment 2 Jeffrey 2012-04-11 17:50:56 UTC
> Please install the -dbg package for that backend
$ sudo aptitude install phonon-backend-vlc-dbg 
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 38 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.

>  make sure you have at least version 0.4.1 or higher of the backend.
$ aptitude show phonon-backend-vlc-dbg
Package: phonon-backend-vlc-dbg          
New: yes
State: installed
Automatically installed: no
Version: 0.5.0-1
Priority: extra
Section: debug
Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Architecture: i386
Uncompressed Size: 3,062 k
Depends: phonon-backend-vlc (= 0.5.0-1)
Description: Phonon VLC backend debugging symbols
 Phonon is the Qt 4 multimedia API, which provides a task-oriented abstraction layer for capturing, mixing, processing, and playing audio and video content. 
 
 This package contains the debugging symbols for the VLC Phonon backend.
Homepage: http://gitorious.org/phonon/phonon-vlc

When I start Amarok from the CLI this is the backtrace:
"
Application: Amarok (amarok), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1".
[Current thread is 1 (Thread 0xb4894720 (LWP 10800))]

Thread 8 (Thread 0xaebadb70 (LWP 10802)):
#0  0x465503da in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0x465c1666 in g_private_get () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0x465a59b4 in g_thread_self () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x46581d7f in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x468cedc7 in QEventDispatcherGlib::processEvents (this=0x9e78dc8, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x4689f97d in QEventLoop::processEvents (this=0xaebad2a0, flags=...) at kernel/qeventloop.cpp:149
#6  0x4689fbc1 in QEventLoop::exec (this=0xaebad2a0, flags=...) at kernel/qeventloop.cpp:201
#7  0x467a2bbb in QThread::exec (this=0x9e4e7c8) at thread/qthread.cpp:498
#8  0x4688055d in QInotifyFileSystemWatcherEngine::run (this=0x9e4e7c8) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x467a5a63 in QThreadPrivate::start (arg=0x9e4e7c8) at thread/qthread_unix.cpp:331
#10 0x4c747c39 in start_thread (arg=0xaebadb70) at pthread_create.c:304
#11 0x4c68512e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 7 (Thread 0xacfeab70 (LWP 10803)):
#0  0xb77b3424 in __kernel_vsyscall ()
#1  0x4c74c20a in __pthread_cond_wait (cond=0x9f8abd8, mutex=0x9f8abc0) at pthread_cond_wait.c:153
#2  0x4c69221d in __pthread_cond_wait (cond=0x9f8abd8, mutex=0x9f8abc0) at forward.c:139
#3  0x467a5f70 in wait (time=4294967295, this=0x9f8abc0) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x9f8aae0, mutex=0x9f878a0, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x4bb779a6 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9f8aac8, th=0x9f876d0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x4bb7a49b in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9f87ba0, th=0x9f876d0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x4bb775da in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x9f8aac8, th=0x9f876d0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x4bb7a59c in ThreadWeaver::WorkingHardState::applyForWork (this=0x9f87ba0, th=0x9f876d0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x4bb77533 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9f8aac8, th=0x9f876d0, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x4bb7a5b8 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9f87ba0, th=0x9f876d0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0x4bb77533 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9f8aac8, th=0x9f876d0, previous=0xa77d9e8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0x4bb790d4 in ThreadWeaver::ThreadRunHelper::run (this=0xacfea304, parent=0x9f8aac8, th=0x9f876d0) at ../../../threadweaver/Weaver/Thread.cpp:87
#13 0x4bb7918a in ThreadWeaver::Thread::run (this=0x9f876d0) at ../../../threadweaver/Weaver/Thread.cpp:142
#14 0x467a5a63 in QThreadPrivate::start (arg=0x9f876d0) at thread/qthread_unix.cpp:331
#15 0x4c747c39 in start_thread (arg=0xacfeab70) at pthread_create.c:304
#16 0x4c68512e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 6 (Thread 0xac7e9b70 (LWP 10804)):
#0  0xb77b3424 in __kernel_vsyscall ()
#1  0x4c74c20a in __pthread_cond_wait (cond=0x9f8abd8, mutex=0x9f8abc0) at pthread_cond_wait.c:153
#2  0x4c69221d in __pthread_cond_wait (cond=0x9f8abd8, mutex=0x9f8abc0) at forward.c:139
#3  0x467a5f70 in wait (time=4294967295, this=0x9f8abc0) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x9f8aae0, mutex=0x9f878a0, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x4bb779a6 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9f8aac8, th=0xad213540) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x4bb7a49b in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9f87ba0, th=0xad213540) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x4bb775da in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x9f8aac8, th=0xad213540) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x4bb7a59c in ThreadWeaver::WorkingHardState::applyForWork (this=0x9f87ba0, th=0xad213540) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x4bb77533 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9f8aac8, th=0xad213540, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x4bb7a5b8 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9f87ba0, th=0xad213540) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0x4bb77533 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9f8aac8, th=0xad213540, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0x4bb7a5b8 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9f87ba0, th=0xad213540) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#13 0x4bb77533 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9f8aac8, th=0xad213540, previous=0xad288070) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#14 0x4bb790d4 in ThreadWeaver::ThreadRunHelper::run (this=0xac7e9304, parent=0x9f8aac8, th=0xad213540) at ../../../threadweaver/Weaver/Thread.cpp:87
#15 0x4bb7918a in ThreadWeaver::Thread::run (this=0xad213540) at ../../../threadweaver/Weaver/Thread.cpp:142
#16 0x467a5a63 in QThreadPrivate::start (arg=0xad213540) at thread/qthread_unix.cpp:331
#17 0x4c747c39 in start_thread (arg=0xac7e9b70) at pthread_create.c:304
#18 0x4c68512e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xabfe8b70 (LWP 10805)):
#0  0xb77b3424 in __kernel_vsyscall ()
#1  0x4c74c20a in __pthread_cond_wait (cond=0x9f8abd8, mutex=0x9f8abc0) at pthread_cond_wait.c:153
#2  0x4c69221d in __pthread_cond_wait (cond=0x9f8abd8, mutex=0x9f8abc0) at forward.c:139
#3  0x467a5f70 in wait (time=4294967295, this=0x9f8abc0) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x9f8aae0, mutex=0x9f878a0, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x4bb779a6 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9f8aac8, th=0xad29d140) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x4bb7a49b in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9f87ba0, th=0xad29d140) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x4bb775da in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x9f8aac8, th=0xad29d140) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x4bb7a59c in ThreadWeaver::WorkingHardState::applyForWork (this=0x9f87ba0, th=0xad29d140) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x4bb77533 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9f8aac8, th=0xad29d140, previous=0x9cfe178) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x4bb790d4 in ThreadWeaver::ThreadRunHelper::run (this=0xabfe8304, parent=0x9f8aac8, th=0xad29d140) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0x4bb7918a in ThreadWeaver::Thread::run (this=0xad29d140) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0x467a5a63 in QThreadPrivate::start (arg=0xad29d140) at thread/qthread_unix.cpp:331
#13 0x4c747c39 in start_thread (arg=0xabfe8b70) at pthread_create.c:304
#14 0x4c68512e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xab5ffb70 (LWP 10806)):
#0  0xb77b3424 in __kernel_vsyscall ()
#1  0x4c74c20a in __pthread_cond_wait (cond=0x9f8abd8, mutex=0x9f8abc0) at pthread_cond_wait.c:153
#2  0x4c69221d in __pthread_cond_wait (cond=0x9f8abd8, mutex=0x9f8abc0) at forward.c:139
#3  0x467a5f70 in wait (time=4294967295, this=0x9f8abc0) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x9f8aae0, mutex=0x9f878a0, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x4bb779a6 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9f8aac8, th=0xab6006c8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x4bb7a49b in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9f87ba0, th=0xab6006c8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x4bb775da in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x9f8aac8, th=0xab6006c8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x4bb7a59c in ThreadWeaver::WorkingHardState::applyForWork (this=0x9f87ba0, th=0xab6006c8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x4bb77533 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9f8aac8, th=0xab6006c8, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x4bb7a5b8 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9f87ba0, th=0xab6006c8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0x4bb77533 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9f8aac8, th=0xab6006c8, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0x4bb7a5b8 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9f87ba0, th=0xab6006c8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#13 0x4bb77533 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9f8aac8, th=0xab6006c8, previous=0xa782568) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#14 0x4bb790d4 in ThreadWeaver::ThreadRunHelper::run (this=0xab5ff304, parent=0x9f8aac8, th=0xab6006c8) at ../../../threadweaver/Weaver/Thread.cpp:87
#15 0x4bb7918a in ThreadWeaver::Thread::run (this=0xab6006c8) at ../../../threadweaver/Weaver/Thread.cpp:142
#16 0x467a5a63 in QThreadPrivate::start (arg=0xab6006c8) at thread/qthread_unix.cpp:331
#17 0x4c747c39 in start_thread (arg=0xab5ffb70) at pthread_create.c:304
#18 0x4c68512e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xaadfeb70 (LWP 10807)):
#0  0xb77b3424 in __kernel_vsyscall ()
#1  0x4c74c20a in __pthread_cond_wait (cond=0xb64be830, mutex=0xb64be818) at pthread_cond_wait.c:153
#2  0x4c69221d in __pthread_cond_wait (cond=0xb64be830, mutex=0xb64be818) at forward.c:139
#3  0xb5d8cc6b in WTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib/libQtWebKit.so.4
#4  0xb5d8cd8f in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib/libQtWebKit.so.4
#5  0x4c747c39 in start_thread (arg=0xaadfeb70) at pthread_create.c:304
#6  0x4c68512e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xa9456b70 (LWP 10811)):
#0  0xb77b3424 in __kernel_vsyscall ()
#1  0x4c74c20a in __pthread_cond_wait (cond=0x4b818570, mutex=0x4b818558) at pthread_cond_wait.c:153
#2  0x4c69221d in __pthread_cond_wait (cond=0x4b818570, mutex=0x4b818558) at forward.c:139
#3  0x4b7130a9 in ?? () from /usr/lib/libQtScript.so.4
#4  0x4b7130ef in ?? () from /usr/lib/libQtScript.so.4
#5  0x4c747c39 in start_thread (arg=0xa9456b70) at pthread_create.c:304
#6  0x4c68512e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb4894720 (LWP 10800)):
[KCrash Handler]
#7  QLibrary::unload (this=0x0) at plugin/qlibrary.cpp:830
#8  0xb36a2254 in LibVLC::vlcUnload (this=0x9bdf2a8) at ../../src/utils/libvlc.cpp:270
#9  0xb36a22b1 in LibVLC::~LibVLC (this=0x9bdf2a8, __in_chrg=<optimized out>) at ../../src/utils/libvlc.cpp:45
#10 0xb3695483 in Phonon::VLC::Backend::~Backend (this=0x9ccc978, __in_chrg=<optimized out>) at ../../src/backend.cpp:122
#11 0xb3695522 in Phonon::VLC::Backend::~Backend (this=0x9ccc978, __in_chrg=<optimized out>) at ../../src/backend.cpp:130
#12 0x4c3f0dec in ?? () from /usr/lib/libphonon.so.4
#13 0x4c3f0fa2 in ?? () from /usr/lib/libphonon.so.4
#14 0x4c3f08d2 in ?? () from /usr/lib/libphonon.so.4
#15 0x468a36fc in qt_call_post_routines () at kernel/qcoreapplication.cpp:255
#16 0x46ea168a in QApplication::~QApplication (this=0xbf920244, __in_chrg=<optimized out>) at kernel/qapplication.cpp:1106
#17 0x47e533e8 in KApplication::~KApplication (this=0xbf920244, __in_chrg=<optimized out>) at ../../kdeui/kernel/kapplication.cpp:894
#18 0x47e5b198 in KUniqueApplication::~KUniqueApplication (this=0xbf920244, __in_chrg=<optimized out>) at ../../kdeui/kernel/kuniqueapplication.cpp:347
#19 0x48d377f7 in App::~App (this=0xbf920244, __in_chrg=<optimized out>) at ../../src/App.cpp:188
#20 0x0804feaa in main (argc=<error reading variable: Cannot access memory at address 0x2>, argv=<error reading variable: Cannot access memory at address 0x6>) at ../../src/main.cpp:301
"

Do you want the CLI output?  It's extensive/long.

Thanks Myriam!
Comment 3 Myriam Schweingruber 2012-04-13 10:21:57 UTC
Thank you for the feedback. No need for the command line output :) Reassigning to the phonon-backend-vlc. Although from the backtrace I suspect a problem with libvlc itself.
Comment 4 Myriam Schweingruber 2012-04-13 10:54:02 UTC
*** Bug 297950 has been marked as a duplicate of this bug. ***
Comment 5 Myriam Schweingruber 2012-04-13 13:24:51 UTC
*** Bug 298043 has been marked as a duplicate of this bug. ***
Comment 6 Myriam Schweingruber 2012-04-20 21:18:31 UTC
*** Bug 298418 has been marked as a duplicate of this bug. ***
Comment 7 Harald Sitter 2012-06-18 03:38:08 UTC
Git commit 9f3ed4e07af37710b2ba598a8f8cbe4f5b8ebd25 by Harald Sitter.
Committed on 18/06/2012 at 05:38.
Pushed by sitter into branch 'master'.

only unload the vlc library when we have an instance and it is loaded

stops crashes on exit when the library could not be loaded/inited etc.

M  +7    -3    src/utils/libvlc.cpp

http://commits.kde.org/phonon-vlc/9f3ed4e07af37710b2ba598a8f8cbe4f5b8ebd25
Comment 8 Harald Sitter 2012-06-18 03:38:28 UTC
Git commit 382da0da2b1a185221c94d2c52a06aa6952d02b3 by Harald Sitter.
Committed on 18/06/2012 at 05:38.
Pushed by sitter into branch '0.5'.

only unload the vlc library when we have an instance and it is loaded

stops crashes on exit when the library could not be loaded/inited etc.

M  +7    -3    src/utils/libvlc.cpp

http://commits.kde.org/phonon-vlc/382da0da2b1a185221c94d2c52a06aa6952d02b3
Comment 9 Harald Sitter 2012-07-04 00:21:31 UTC
*** Bug 297861 has been marked as a duplicate of this bug. ***