Bug 212800

Summary: Crash when repopulating dynamic playlist
Product: [Applications] amarok Reporter: etienner
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:

Description etienner 2009-11-02 21:01:07 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.2
Operating System: Linux 2.6.31-14-generic x86_64
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
As the Title says, when I click on repopulate (in the dynamic playlist), it crashes.
I was never able to repopulate it.

 -- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
pthread_cond_timedwait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
	in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
The current source language is "auto; currently asm".
[Current thread is 1 (Thread 0x7fa6987a3770 (LWP 5425))]

Thread 11 (Thread 0x7fa6830ef910 (LWP 5426)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007fa687ea3c91 in ?? () from /usr/lib/libxine.so.1
#2  0x00007fa6905a9a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007fa695d317bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7fa681ba6910 (LWP 5427)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007fa681ba5d10 in ?? ()
#2  0x00007ffffbf26782 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 9 (Thread 0x7fa68119b910 (LWP 5430)):
#0  0x00007fa695d25373 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=333) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fa6811a1cbe in ?? () from /usr/lib/xine/plugins/1.26/xineplug_ao_out_alsa.so
#2  0x00007fa6905a9a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007fa695d317bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7fa68099a910 (LWP 5431)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fa687eb4983 in ?? () from /usr/lib/libxine.so.1
#2  0x00007fa6905a9a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007fa695d317bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 7 (Thread 0x7fa67bbf4910 (LWP 5432)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fa687eb4983 in ?? () from /usr/lib/libxine.so.1
#2  0x00007fa6905a9a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007fa695d317bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 6 (Thread 0x7fa67b3f3910 (LWP 5433)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fa687eb4983 in ?? () from /usr/lib/libxine.so.1
#2  0x00007fa6905a9a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007fa695d317bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fa679a57910 (LWP 5435)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fa6963304fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x12bc0c0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x12bc0c0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fa692fe3326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1830430, th=0x1535c80) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fa692fe545b in ThreadWeaver::WorkingHardState::applyForWork (this=0x1cb6f60, th=0x1535c80) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fa692fe5474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1cb6f60, th=0x1535c80) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fa692fe5474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1cb6f60, th=0x1535c80) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007fa692fe3a5f in ThreadWeaver::ThreadRunHelper::run (this=0x7fa679a57030, parent=0x1830430, th=0x1535c80) at ../../../threadweaver/Weaver/Thread.cpp:87
#8  0x00007fa692fe3eb8 in ThreadWeaver::Thread::run (this=0x1535c80) at ../../../threadweaver/Weaver/Thread.cpp:142
#9  0x00007fa69632f445 in QThreadPrivate::start (arg=0x1535c80) at thread/qthread_unix.cpp:188
#10 0x00007fa6905a9a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#11 0x00007fa695d317bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fa66ef79910 (LWP 5436)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fa6963304fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x12bc0c0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x12bc0c0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fa692fe3326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1830430, th=0x19bd5a0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fa692fe545b in ThreadWeaver::WorkingHardState::applyForWork (this=0x1cb6f60, th=0x19bd5a0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fa692fe5474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1cb6f60, th=0x19bd5a0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fa692fe3a5f in ThreadWeaver::ThreadRunHelper::run (this=0x7fa66ef79030, parent=0x1830430, th=0x19bd5a0) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007fa692fe3eb8 in ThreadWeaver::Thread::run (this=0x19bd5a0) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007fa69632f445 in QThreadPrivate::start (arg=0x19bd5a0) at thread/qthread_unix.cpp:188
#9  0x00007fa6905a9a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007fa695d317bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fa66cac7910 (LWP 5439)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fa6963304fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x12bc0c0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x12bc0c0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fa692fe3326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1830430, th=0x11984a0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fa692fe545b in ThreadWeaver::WorkingHardState::applyForWork (this=0x1cb6f60, th=0x11984a0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fa692fe5474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1cb6f60, th=0x11984a0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fa692fe5474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1cb6f60, th=0x11984a0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007fa692fe3a5f in ThreadWeaver::ThreadRunHelper::run (this=0x7fa66cac7030, parent=0x1830430, th=0x11984a0) at ../../../threadweaver/Weaver/Thread.cpp:87
#8  0x00007fa692fe3eb8 in ThreadWeaver::Thread::run (this=0x11984a0) at ../../../threadweaver/Weaver/Thread.cpp:142
#9  0x00007fa69632f445 in QThreadPrivate::start (arg=0x11984a0) at thread/qthread_unix.cpp:188
#10 0x00007fa6905a9a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#11 0x00007fa695d317bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fa66c2c6910 (LWP 5440)):
[KCrash Handler]
#5  Dynamic::BiasSolver::getRandomTrack (this=0x1cf2770, subset=...) at /build/buildd/amarok-2.2.0/src/dynamic/BiasSolver.cpp:733
#6  0x00007fa697a65d5e in Dynamic::BiasSolver::generateInitialPlaylist (this=0x1cf2770, optimal=<value optimized out>) at /build/buildd/amarok-2.2.0/src/dynamic/BiasSolver.cpp:598
#7  0x00007fa697a67ff7 in Dynamic::BiasSolver::run (this=0x1cf2770) at /build/buildd/amarok-2.2.0/src/dynamic/BiasSolver.cpp:172
#8  0x00007fa692fe475d in ThreadWeaver::JobRunHelper::runTheJob (this=0x7fa66c2c5fa0, th=0x3c15870, job=0x1cf2770) at ../../../threadweaver/Weaver/Job.cpp:106
#9  0x00007fa692fe4a5e in ThreadWeaver::Job::execute (this=0x1cf2770, th=0x3c15870) at ../../../threadweaver/Weaver/Job.cpp:135
#10 0x00007fa692fe3a2f in ThreadWeaver::ThreadRunHelper::run (this=0x7fa66c2c6030, parent=0x1830430, th=0x3c15870) at ../../../threadweaver/Weaver/Thread.cpp:95
#11 0x00007fa692fe3eb8 in ThreadWeaver::Thread::run (this=0x3c15870) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0x00007fa69632f445 in QThreadPrivate::start (arg=0x3c15870) at thread/qthread_unix.cpp:188
#13 0x00007fa6905a9a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#14 0x00007fa695d317bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fa6987a3770 (LWP 5425)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007fa69632eed5 in thread_sleep (ti=0x7ffffbe50210) at thread/qthread_unix.cpp:297
#2  0x00007fa69632f040 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:323
#3  0x00007fa68812279a in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#4  0x00007fa692b4de66 in ~FactoryPrivate (this=0xe260f0, __in_chrg=<value optimized out>) at ../3rdparty/phonon/phonon/factory.cpp:199
#5  0x00007fa695c8ac12 in __run_exit_handlers (status=1) at exit.c:78
#6  *__GI_exit (status=1) at exit.c:100
#7  0x00007fa696d91328 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:707
#8  0x00007fa6981c7498 in KApplication::xioErrhandler (this=0x7ffffbe50680, dpy=0xdb5850) at ../../kdeui/kernel/kapplication.cpp:408
#9  0x00007fa6952e1fae in _XIOError () from /usr/lib/libX11.so.6
#10 0x00007fa6952e99a5 in ?? () from /usr/lib/libX11.so.6
#11 0x00007fa6952ea257 in _XEventsQueued () from /usr/lib/libX11.so.6
#12 0x00007fa6952d301b in XEventsQueued () from /usr/lib/libX11.so.6
#13 0x00007fa696dca67c in x11EventSourceCheck (s=0xdaa140) at kernel/qguieventdispatcher_glib.cpp:87
#14 0x00007fa68eee4a9a in g_main_context_check () from /lib/libglib-2.0.so.0
#15 0x00007fa68eee5280 in ?? () from /lib/libglib-2.0.so.0
#16 0x00007fa68eee56b0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#17 0x00007fa69643e1a6 in QEventDispatcherGlib::processEvents (this=0xc99b90, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#18 0x00007fa696dca4be in QGuiEventDispatcherGlib::processEvents (this=0x7ffffbe50194, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#19 0x00007fa696414532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#20 0x00007fa696414904 in QEventLoop::exec (this=0x7ffffbe50610, flags=) at kernel/qeventloop.cpp:201
#21 0x00007fa696416ab9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#22 0x0000000000409ec6 in main (argc=<value optimized out>, argv=0x7ffffbe52428) at /build/buildd/amarok-2.2.0/src/main.cpp:225
The current source language is "auto; currently c".
The current source language is "auto; currently asm".

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

Reported using DrKonqi
Comment 1 Mark Kretschmann 2009-11-02 21:10:38 UTC

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