Bug 212641

Summary: Dynamic Playlists: Crash while adding new track to playlist
Product: [Applications] amarok Reporter: FSM <fsm1991>
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description FSM 2009-11-01 17:34:56 UTC
Application that crashed: amarok
Version of the application: 2.2.0
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.3
Operating System: Linux 2.6.31-ARCH i686

What I was doing when the application crashed:
When a new song is played and the dynamic playlist tries to add a new song, amarok crashes. This also happens when recreating the dynamic playlist and with two backends, xine and mplayer(unstable).

 -- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
[Current thread is 1 (Thread 0xb20f6730 (LWP 3084))]

Thread 5 (Thread 0xafbf3b70 (LWP 3086)):
#0  0xb7727424 in __kernel_vsyscall ()
#1  0xb5c8ab95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb5dc799d in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb6909067 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#4  0xb51d6b00 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#5  0xb51d916c in ThreadWeaver::WorkingHardState::waitForAvailableJob(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#6  0xb51d51bb in ThreadWeaver::WeaverImpl::waitForAvailableJob(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#7  0xb51d9262 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4
#8  0xb51d6d83 in ThreadWeaver::WeaverImpl::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4
#9  0xb51d9281 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4
#10 0xb51d6d83 in ThreadWeaver::WeaverImpl::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4
#11 0xb51d9281 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4
#12 0xb51d6d83 in ThreadWeaver::WeaverImpl::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4
#13 0xb51d9281 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4
#14 0xb51d6d83 in ThreadWeaver::WeaverImpl::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4
#15 0xb51d9281 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4
#16 0xb51d6d83 in ThreadWeaver::WeaverImpl::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4
#17 0xb51d9281 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4
#18 0xb51d6d83 in ThreadWeaver::WeaverImpl::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4
#19 0xb51d9281 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4
#20 0xb51d6d83 in ThreadWeaver::WeaverImpl::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4
#21 0xb51d9281 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4
#22 0xb51d6d83 in ThreadWeaver::WeaverImpl::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4
#23 0xb51d9281 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4
#24 0xb51d6d83 in ThreadWeaver::WeaverImpl::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4
#25 0xb51d9281 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4
#26 0xb51d6d83 in ThreadWeaver::WeaverImpl::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4
#27 0xb51d738e in ThreadWeaver::ThreadRunHelper::run(ThreadWeaver::WeaverImpl*, ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#28 0xb51d79ab in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#29 0xb6908052 in ?? () from /usr/lib/libQtCore.so.4
#30 0xb5c8665c in start_thread () from /lib/libpthread.so.0
#31 0xb5dba3be in clone () from /lib/libc.so.6

Thread 4 (Thread 0xae74fb70 (LWP 3087)):
[KCrash Handler]
#6  0xb702c8b5 in Dynamic::BiasSolver::getRandomTrack(QList<QByteArray> const&) () from /usr/lib/libamaroklib.so.1
#7  0xb702e01a in Dynamic::BiasSolver::generateInitialPlaylist(bool&) () from /usr/lib/libamaroklib.so.1
#8  0xb70300f3 in Dynamic::BiasSolver::run() () from /usr/lib/libamaroklib.so.1
#9  0xb51d834d in ThreadWeaver::JobRunHelper::runTheJob(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4
#10 0xb51d86b1 in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#11 0xb51d735a in ThreadWeaver::ThreadRunHelper::run(ThreadWeaver::WeaverImpl*, ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#12 0xb51d79ab in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#13 0xb6908052 in ?? () from /usr/lib/libQtCore.so.4
#14 0xb5c8665c in start_thread () from /lib/libpthread.so.0
#15 0xb5dba3be in clone () from /lib/libc.so.6

Thread 3 (Thread 0xadf4eb70 (LWP 3088)):
#0  0xb7727424 in __kernel_vsyscall ()
#1  0xb5c8ab95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb5dc799d in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb6909067 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#4  0xb51d6b00 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#5  0xb51d916c in ThreadWeaver::WorkingHardState::waitForAvailableJob(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#6  0xb51d51bb in ThreadWeaver::WeaverImpl::waitForAvailableJob(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#7  0xb51d9262 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4
#8  0xb51d6d83 in ThreadWeaver::WeaverImpl::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4
#9  0xb51d9281 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4
#10 0xb51d6d83 in ThreadWeaver::WeaverImpl::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4
#11 0xb51d738e in ThreadWeaver::ThreadRunHelper::run(ThreadWeaver::WeaverImpl*, ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#12 0xb51d79ab in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#13 0xb6908052 in ?? () from /usr/lib/libQtCore.so.4
#14 0xb5c8665c in start_thread () from /lib/libpthread.so.0
#15 0xb5dba3be in clone () from /lib/libc.so.6

Thread 2 (Thread 0xad74db70 (LWP 3089)):
#0  0xb7727424 in __kernel_vsyscall ()
#1  0xb5c8ab95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb5dc799d in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb6909067 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#4  0xb51d6b00 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#5  0xb51d916c in ThreadWeaver::WorkingHardState::waitForAvailableJob(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#6  0xb51d51bb in ThreadWeaver::WeaverImpl::waitForAvailableJob(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#7  0xb51d9262 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4
#8  0xb51d6d83 in ThreadWeaver::WeaverImpl::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4
#9  0xb51d9281 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4
#10 0xb51d6d83 in ThreadWeaver::WeaverImpl::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4
#11 0xb51d9281 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4
#12 0xb51d6d83 in ThreadWeaver::WeaverImpl::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4
#13 0xb51d738e in ThreadWeaver::ThreadRunHelper::run(ThreadWeaver::WeaverImpl*, ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#14 0xb51d79ab in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#15 0xb6908052 in ?? () from /usr/lib/libQtCore.so.4
#16 0xb5c8665c in start_thread () from /lib/libpthread.so.0
#17 0xb5dba3be in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb20f6730 (LWP 3084)):
#0  0xb7727424 in __kernel_vsyscall ()
#1  0xb5db03d6 in poll () from /lib/libc.so.6
#2  0xb3881080 in _xcb_conn_wait () from /usr/lib/libxcb.so.1
#3  0xb388166b in _xcb_out_send () from /usr/lib/libxcb.so.1
#4  0xb3881a07 in xcb_writev () from /usr/lib/libxcb.so.1
#5  0xb5b89d49 in _XSend () from /usr/lib/libX11.so.6
#6  0xb5b765ad in PutSubImage () from /usr/lib/libX11.so.6
#7  0xb5b7678c in XPutImage () from /usr/lib/libX11.so.6
#8  0xb6128979 in QX11PixmapData::fromImage(QImage const&, QFlags<Qt::ImageConversionFlag>) () from /usr/lib/libQtGui.so.4
#9  0xb6114ff7 in QPixmap::fromImage(QImage const&, QFlags<Qt::ImageConversionFlag>) () from /usr/lib/libQtGui.so.4
#10 0xb7578b4b in KPixmapCache::Private::loadData(int, QPixmap&) () from /usr/lib/libkdeui.so.5
#11 0xb7579cc4 in KPixmapCache::find(QString const&, QPixmap&) () from /usr/lib/libkdeui.so.5
#12 0xb71d7648 in SvgHandler::renderSvgWithDividers(QString const&, int, int, QString const&) () from /usr/lib/libamaroklib.so.1
#13 0xb7286baf in OSDWidget::paintEvent(QPaintEvent*) () from /usr/lib/libamaroklib.so.1
#14 0xb609df94 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#15 0xb7286460 in OSDWidget::event(QEvent*) () from /usr/lib/libamaroklib.so.1
#16 0xb6049924 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#17 0xb6050f5a in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#18 0xb74f10da in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#19 0xb69f65bb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#20 0xb60a5fa5 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#21 0xb622d773 in ?? () from /usr/lib/libQtGui.so.4
#22 0xb622dbba in ?? () from /usr/lib/libQtGui.so.4
#23 0xb6097395 in QWidgetPrivate::syncBackingStore(QRegion const&) () from /usr/lib/libQtGui.so.4
#24 0xb60af110 in ?? () from /usr/lib/libQtGui.so.4
#25 0xb60bd43a in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#26 0xb60e7fd2 in ?? () from /usr/lib/libQtGui.so.4
#27 0xb39f0328 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#28 0xb39f3ba0 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#29 0xb39f3cd3 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#30 0xb6a20d25 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#31 0xb60e7705 in ?? () from /usr/lib/libQtGui.so.4
#32 0xb69f4ba9 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#33 0xb69f4ffa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#34 0xb69f746f in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#35 0xb60497a7 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#36 0x08051df1 in main ()

This bug may be a duplicate of or related to bug 211923

Reported using DrKonqi
Comment 1 Mark Kretschmann 2009-11-01 17:38:18 UTC

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