| Summary: | Amarok crashes when switching streams if the previous stream was offline | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] phonon-backend-vlc | Reporter: | lafferx |
| Component: | general | Assignee: | Harald Sitter <sitter> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | bcooksley, fabo, jb, myriam |
| Priority: | NOR | Keywords: | drkonqi |
| Version First Reported In: | 0.8.2 | ||
| Target Milestone: | 0.9 | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
lafferx
2015-06-23 15:15:51 UTC
Apparently you do not have debugging symbols installed, please do so and provide a better backtrace. See also https://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports#openSUSE You need to install debugging symbols at least for Amarok, phonon and the phonon-backend you use. FWIW: a first glance at the backtrace seems to indicate the problem is with some avcodec, not with Amarok, please make sure you have all necessary codecs installed correctly and do not try to play a video, as Amarok is an audio player. Here is a better backtrace with phonon, phonon-backend-vlc and amarok debugging symbols installed. Also, the stream I used (http://pub7.sky.fm:80/sky_classical) used to be an audio stream which seems to have gone offline (I get a server not found response), so codecs shouldn't matter here. Application: Amarok (amarok), signal: Aborted Using host libthread_db library "/lib64/libthread_db.so.1". [Current thread is 1 (Thread 0x7f209043a800 (LWP 13326))] Thread 13 (Thread 0x7f2068c94700 (LWP 13332)): #0 0x00007f208b2e9408 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0 #1 0x00007f2069a74f4a in () at /usr/lib64/libmysqld.so.18 #2 0x00007f20697e2976 in () at /usr/lib64/libmysqld.so.18 #3 0x00007f208b2e50a4 in start_thread () at /lib64/libpthread.so.0 #4 0x00007f208d1a608d in clone () at /lib64/libc.so.6 Thread 12 (Thread 0x7f2053fff700 (LWP 13333)): #0 0x00007f208b2e9408 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0 #1 0x00007f208d7f1c64 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQtCore.so.4 #2 0x00007f208f4b317e in AbstractDirectoryWatcher::run() (this=0xef3440) at /usr/src/debug/amarok-2.8.0/src/scanner/AbstractDirectoryWatcher.cpp:65 #3 0x00007f208a3e5542 in () at /usr/lib64/libthreadweaver.so.4 #4 0x00007f208a3e56fe in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) () at /usr/lib64/libthreadweaver.so.4 #5 0x00007f208a3e4f4b in ThreadWeaver::Thread::run() () at /usr/lib64/libthreadweaver.so.4 #6 0x00007f208d7f179f in () at /usr/lib64/libQtCore.so.4 #7 0x00007f208b2e50a4 in start_thread () at /lib64/libpthread.so.0 #8 0x00007f208d1a608d in clone () at /lib64/libc.so.6 Thread 11 (Thread 0x7f20537fe700 (LWP 13334)): #0 0x00007f208d19dc5d in poll () at /lib64/libc.so.6 #1 0x00007f20875f8be4 in () at /usr/lib64/libglib-2.0.so.0 #2 0x00007f20875f8cec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0 #3 0x00007f208d9200de in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4 #4 0x00007f208d8f1e6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4 #5 0x00007f208d8f2165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4 #6 0x00007f208d7ef0bf in QThread::exec() () at /usr/lib64/libQtCore.so.4 #7 0x00007f208d8d3783 in () at /usr/lib64/libQtCore.so.4 #8 0x00007f208d7f179f in () at /usr/lib64/libQtCore.so.4 #9 0x00007f208b2e50a4 in start_thread () at /lib64/libpthread.so.0 #10 0x00007f208d1a608d in clone () at /lib64/libc.so.6 Thread 10 (Thread 0x7f2052ffd700 (LWP 13335)): #0 0x00007f208b2e905f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0 #1 0x00007f208d7f1c86 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQtCore.so.4 #2 0x00007f208a3e36fc in () at /usr/lib64/libthreadweaver.so.4 #3 0x00007f208a3e6193 in () at /usr/lib64/libthreadweaver.so.4 #4 0x00007f208a3e4eaf in ThreadWeaver::Thread::run() () at /usr/lib64/libthreadweaver.so.4 #5 0x00007f208d7f179f in () at /usr/lib64/libQtCore.so.4 #6 0x00007f208b2e50a4 in start_thread () at /lib64/libpthread.so.0 #7 0x00007f208d1a608d in clone () at /lib64/libc.so.6 Thread 9 (Thread 0x7f20527fc700 (LWP 13336)): #0 0x00007f208b2e905f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0 #1 0x00007f208d7f1c86 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQtCore.so.4 #2 0x00007f208a3e36fc in () at /usr/lib64/libthreadweaver.so.4 #3 0x00007f208a3e6193 in () at /usr/lib64/libthreadweaver.so.4 #4 0x00007f208a3e61ac in () at /usr/lib64/libthreadweaver.so.4 #5 0x00007f208a3e4eaf in ThreadWeaver::Thread::run() () at /usr/lib64/libthreadweaver.so.4 #6 0x00007f208d7f179f in () at /usr/lib64/libQtCore.so.4 #7 0x00007f208b2e50a4 in start_thread () at /lib64/libpthread.so.0 #8 0x00007f208d1a608d in clone () at /lib64/libc.so.6 Thread 8 (Thread 0x7f2051ffb700 (LWP 13337)): #0 0x00007f208b2e905f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0 #1 0x00007f208d7f1c86 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQtCore.so.4 #2 0x00007f208d7eddab in QSemaphore::acquire(int) () at /usr/lib64/libQtCore.so.4 #3 0x00007f208f434121 in Playlists::PlaylistFileLoaderJob::run() (this=0x1fd8d20) at /usr/src/debug/amarok-2.8.0/src/core-impl/playlists/types/file/PlaylistFileLoaderJob.cpp:92 #4 0x00007f208a3e5542 in () at /usr/lib64/libthreadweaver.so.4 #5 0x00007f208a3e56fe in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) () at /usr/lib64/libthreadweaver.so.4 #6 0x00007f208a3e4f4b in ThreadWeaver::Thread::run() () at /usr/lib64/libthreadweaver.so.4 #7 0x00007f208d7f179f in () at /usr/lib64/libQtCore.so.4 #8 0x00007f208b2e50a4 in start_thread () at /lib64/libpthread.so.0 #9 0x00007f208d1a608d in clone () at /lib64/libc.so.6 Thread 7 (Thread 0x7f20517fa700 (LWP 13338)): #0 0x00007f208b2e905f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0 #1 0x00007f208d7f1c86 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQtCore.so.4 #2 0x00007f208a3e36fc in () at /usr/lib64/libthreadweaver.so.4 #3 0x00007f208a3e6193 in () at /usr/lib64/libthreadweaver.so.4 #4 0x00007f208a3e4eaf in ThreadWeaver::Thread::run() () at /usr/lib64/libthreadweaver.so.4 #5 0x00007f208d7f179f in () at /usr/lib64/libQtCore.so.4 #6 0x00007f208b2e50a4 in start_thread () at /lib64/libpthread.so.0 #7 0x00007f208d1a608d in clone () at /lib64/libc.so.6 Thread 6 (Thread 0x7f2050ff9700 (LWP 13339)): #0 0x00007f208b2e905f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0 #1 0x00007f208d7f1c86 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQtCore.so.4 #2 0x00007f208a3e36fc in () at /usr/lib64/libthreadweaver.so.4 #3 0x00007f208a3e6193 in () at /usr/lib64/libthreadweaver.so.4 #4 0x00007f208a3e4eaf in ThreadWeaver::Thread::run() () at /usr/lib64/libthreadweaver.so.4 #5 0x00007f208d7f179f in () at /usr/lib64/libQtCore.so.4 #6 0x00007f208b2e50a4 in start_thread () at /lib64/libpthread.so.0 #7 0x00007f208d1a608d in clone () at /lib64/libc.so.6 Thread 5 (Thread 0x7f2037fff700 (LWP 13340)): #0 0x00007f208b2e905f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0 #1 0x00007f208d7f1c86 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQtCore.so.4 #2 0x00007f208a3e36fc in () at /usr/lib64/libthreadweaver.so.4 #3 0x00007f208a3e6193 in () at /usr/lib64/libthreadweaver.so.4 #4 0x00007f208a3e4eaf in ThreadWeaver::Thread::run() () at /usr/lib64/libthreadweaver.so.4 #5 0x00007f208d7f179f in () at /usr/lib64/libQtCore.so.4 #6 0x00007f208b2e50a4 in start_thread () at /lib64/libpthread.so.0 #7 0x00007f208d1a608d in clone () at /lib64/libc.so.6 Thread 4 (Thread 0x7f20377fe700 (LWP 13341)): #0 0x00007f208b2e905f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0 #1 0x00007f208d7f1c86 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQtCore.so.4 #2 0x00007f208d7eddab in QSemaphore::acquire(int) () at /usr/lib64/libQtCore.so.4 #3 0x00007f208f434121 in Playlists::PlaylistFileLoaderJob::run() (this=0x16a8560) at /usr/src/debug/amarok-2.8.0/src/core-impl/playlists/types/file/PlaylistFileLoaderJob.cpp:92 #4 0x00007f208a3e5542 in () at /usr/lib64/libthreadweaver.so.4 #5 0x00007f208a3e56fe in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) () at /usr/lib64/libthreadweaver.so.4 #6 0x00007f208a3e4f4b in ThreadWeaver::Thread::run() () at /usr/lib64/libthreadweaver.so.4 #7 0x00007f208d7f179f in () at /usr/lib64/libQtCore.so.4 #8 0x00007f208b2e50a4 in start_thread () at /lib64/libpthread.so.0 #9 0x00007f208d1a608d in clone () at /lib64/libc.so.6 Thread 3 (Thread 0x7f20367fc700 (LWP 13344)): #0 0x00007f208b2e905f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0 #1 0x00007f20894338cb in () at /usr/lib64/libQtScript.so.4 #2 0x00007f2089433909 in () at /usr/lib64/libQtScript.so.4 #3 0x00007f208b2e50a4 in start_thread () at /lib64/libpthread.so.0 #4 0x00007f208d1a608d in clone () at /lib64/libc.so.6 Thread 2 (Thread 0x7f2026155700 (LWP 13381)): [KCrash Handler] #5 0x00007f208d0f6187 in raise () at /lib64/libc.so.6 #6 0x00007f208d0f7538 in abort () at /lib64/libc.so.6 #7 0x00007f208d133844 in () at /lib64/libc.so.6 #8 0x00007f208d1390ae in malloc_printerr () at /lib64/libc.so.6 #9 0x00007f208d139db6 in _int_free () at /lib64/libc.so.6 #10 0x00007f1f8b75d032 in () at /usr/lib64/vlc/plugins/demux/libavformat_plugin.so #11 0x00007f20722fa7a2 in vlc_module_unload () at /usr/lib64/libvlccore.so.8 #12 0x00007f20722afda2 in () at /usr/lib64/libvlccore.so.8 #13 0x00007f20722bfe88 in () at /usr/lib64/libvlccore.so.8 #14 0x00007f20722c43fd in () at /usr/lib64/libvlccore.so.8 #15 0x00007f208b2e50a4 in start_thread () at /lib64/libpthread.so.0 #16 0x00007f208d1a608d in clone () at /lib64/libc.so.6 Thread 1 (Thread 0x7f209043a800 (LWP 13326)): #0 0x00007f208b2e64c2 in pthread_join () at /lib64/libpthread.so.0 #1 0x00007f20722c46df in input_Close () at /usr/lib64/libvlccore.so.8 #2 0x00007f207205fe7f in libvlc_media_player_stop () at /usr/lib64/libvlc.so.5 #3 0x00007f2072593bd2 in Phonon::VLC::MediaObject::stop() (this=0xdd5550) at /usr/src/debug/phonon-backend-vlc-0.8.2/src/mediaobject.cpp:143 #4 0x00007f208f574819 in EngineController::stop(bool, bool) (this=this@entry=0xc32aa0, forceInstant=forceInstant@entry=true, playingWillContinue=playingWillContinue@entry=true) at /usr/src/debug/amarok-2.8.0/src/EngineController.cpp:601 #5 0x00007f208f57b103 in EngineController::play(KSharedPtr<Meta::Track>, unsigned int, bool) (this=0xc32aa0, track=..., offset=offset@entry=0, startPaused=startPaused@entry=false) at /usr/src/debug/amarok-2.8.0/src/EngineController.cpp:390 #6 0x00007f208f35530c in Playlist::Actions::play(unsigned long long, bool) (this=this@entry=0x102d620, trackid=5169212435051425006, now=now@entry=true) at /usr/src/debug/amarok-2.8.0/src/playlist/PlaylistActions.cpp:217 #7 0x00007f208f3558b5 in Playlist::Actions::play(QModelIndex const&) (this=0x102d620, index=...) at /usr/src/debug/amarok-2.8.0/src/playlist/PlaylistActions.cpp:195 #8 0x00007f208f39a286 in Playlist::PrettyListView::trackActivated(QModelIndex const&) (this=0x1774af0, idx=...) at /usr/src/debug/amarok-2.8.0/src/playlist/view/listview/PrettyListView.cpp:336 #9 0x00007f208f39ce31 in Playlist::PrettyListView::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at /usr/src/debug/amarok-2.8.0/build/src/PrettyListView.moc:131 #10 0x00007f208d9071fa in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /usr/lib64/libQtCore.so.4 #11 0x00007f208e32aad5 in QAbstractItemView::doubleClicked(QModelIndex const&) () at /usr/lib64/libQtGui.so.4 #12 0x00007f208e334312 in QAbstractItemView::mouseDoubleClickEvent(QMouseEvent*) () at /usr/lib64/libQtGui.so.4 #13 0x00007f208de87d4e in QWidget::event(QEvent*) () at /usr/lib64/libQtGui.so.4 #14 0x00007f208e2245ee in QFrame::event(QEvent*) () at /usr/lib64/libQtGui.so.4 #15 0x00007f208e333e13 in QAbstractItemView::viewportEvent(QEvent*) () at /usr/lib64/libQtGui.so.4 #16 0x00007f208d8f3416 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () at /usr/lib64/libQtCore.so.4 #17 0x00007f208de3874c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4 #18 0x00007f208de3edea in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4 #19 0x00007f208fe99dca in KApplication::notify(QObject*, QEvent*) () at /usr/lib64/libkdeui.so.5 #20 0x00007f208d8f32ad in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQtCore.so.4 #21 0x00007f208de3e5e3 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () at /usr/lib64/libQtGui.so.4 #22 0x00007f208deafc9b in () at /usr/lib64/libQtGui.so.4 #23 0x00007f208deae70c in QApplication::x11ProcessEvent(_XEvent*) () at /usr/lib64/libQtGui.so.4 #24 0x00007f208ded55c2 in () at /usr/lib64/libQtGui.so.4 #25 0x00007f20875f8a04 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0 #26 0x00007f20875f8c48 in () at /usr/lib64/libglib-2.0.so.0 #27 0x00007f20875f8cec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0 #28 0x00007f208d9200de in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4 #29 0x00007f208ded5676 in () at /usr/lib64/libQtGui.so.4 #30 0x00007f208d8f1e6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4 #31 0x00007f208d8f2165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4 #32 0x00007f208d8f75b9 in QCoreApplication::exec() () at /usr/lib64/libQtCore.so.4 #33 0x0000000000407fb3 in main(int, char**) (argc=<optimized out>, argv=0x7ffc71992e88) at /usr/src/debug/amarok-2.8.0/src/main.cpp:329 Still, the Crash Handler indicates a problem with the avcodec, so definitely not an Amarok bug. Reassigning to phonon-backend-vlc, maybe they have an idea what is wrong. Could you please specify which exact version of the backend you use? Sure, the phonon-backend-vlc version is 0.8.2-16.3. Thank you for the fast feedback FWIW: the product is called Amarok (not AmaroK) since 2008 already :) That's a crash in libvlc directly, needs a big filed at the Videolan bug tracker |