Bug 213399

Summary: Klicking on repopulate dynamic playlist let amarok crash
Product: [Applications] amarok Reporter: Lukas <joshlukas>
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 Lukas 2009-11-06 12:38:13 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.30-2-amd64 x86_64
Distribution: Debian GNU/Linux testing (squeeze)

What I was doing when the application crashed:
If I click on repopulate dynamic playlist amarok crashes everytime. Nevertheless, letting amarok play dynamic playlist amarok won't crash.

 -- 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:217
	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 0x7fd3922d57a0 (LWP 2960))]

Thread 11 (Thread 0x7fd379faf950 (LWP 2961)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
#1  0x00007fd37fd96c91 in ?? () from /usr/lib/libxine.so.1
#2  0x00007fd38a391f9a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007fd38f90b56d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7fd378459950 (LWP 2962)):
#0  0x00007fd38f902d36 in *__GI___poll (fds=0x25253f0, nfds=1, timeout=843) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fd388fbf859 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007fd388fbfb3c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007fd390c273b6 in QEventDispatcherGlib::processEvents (this=0x25246b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:409
#4  0x00007fd390bfd562 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fd390bfd934 in QEventLoop::exec (this=0x7fd378458ff0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007fd390b165a8 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007fd37fff1aec in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#8  0x00007fd390b194a5 in QThreadPrivate::start (arg=0x23a3150) at thread/qthread_unix.cpp:188
#9  0x00007fd38a391f9a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007fd38f90b56d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

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

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

Thread 7 (Thread 0x7fd376644950 (LWP 2966)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fd37fda7af3 in ?? () from /usr/lib/libxine.so.1
#2  0x00007fd38a391f9a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007fd38f90b56d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

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

Thread 5 (Thread 0x7fd36ffff950 (LWP 2969)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fd390b1a499 in QWaitConditionPrivate::wait (this=0x3442078, mutex=0x3442430, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=0x3442078, mutex=0x3442430, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fd38cdc2e04 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x3442050, th=0x3442a00) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fd38cdc554b in ThreadWeaver::WorkingHardState::applyForWork (this=0x3442550, th=0x3442a00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fd38cdc5564 in ThreadWeaver::WorkingHardState::applyForWork (this=0x3442550, th=0x3442a00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fd38cdc5564 in ThreadWeaver::WorkingHardState::applyForWork (this=0x3442550, th=0x3442a00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007fd38cdc3b1f in ThreadWeaver::ThreadRunHelper::run (this=0x7fd36ffff040, parent=0x3442050, th=0x3442a00) at ../../../threadweaver/Weaver/Thread.cpp:87
#8  0x00007fd38cdc3f59 in ThreadWeaver::Thread::run (this=0x3442a00) at ../../../threadweaver/Weaver/Thread.cpp:142
#9  0x00007fd390b194a5 in QThreadPrivate::start (arg=0x3442a00) at thread/qthread_unix.cpp:188
#10 0x00007fd38a391f9a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#11 0x00007fd38f90b56d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fd365b49950 (LWP 2970)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fd390b1a499 in QWaitConditionPrivate::wait (this=0x3442078, mutex=0x3442430, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=0x3442078, mutex=0x3442430, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fd38cdc2e04 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x3442050, th=0x3229530) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fd38cdc554b in ThreadWeaver::WorkingHardState::applyForWork (this=0x3442550, th=0x3229530) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fd38cdc3b1f in ThreadWeaver::ThreadRunHelper::run (this=0x7fd365b49040, parent=0x3442050, th=0x3229530) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007fd38cdc3f59 in ThreadWeaver::Thread::run (this=0x3229530) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007fd390b194a5 in QThreadPrivate::start (arg=0x3229530) at thread/qthread_unix.cpp:188
#8  0x00007fd38a391f9a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007fd38f90b56d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fd365348950 (LWP 2971)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fd390b1a499 in QWaitConditionPrivate::wait (this=0x3442078, mutex=0x3442430, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=0x3442078, mutex=0x3442430, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fd38cdc2e04 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x3442050, th=0x7fd3701b2360) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fd38cdc554b in ThreadWeaver::WorkingHardState::applyForWork (this=0x3442550, th=0x7fd3701b2360) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fd38cdc5564 in ThreadWeaver::WorkingHardState::applyForWork (this=0x3442550, th=0x7fd3701b2360) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fd38cdc3b1f in ThreadWeaver::ThreadRunHelper::run (this=0x7fd365348040, parent=0x3442050, th=0x7fd3701b2360) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007fd38cdc3f59 in ThreadWeaver::Thread::run (this=0x7fd3701b2360) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007fd390b194a5 in QThreadPrivate::start (arg=0x7fd3701b2360) at thread/qthread_unix.cpp:188
#9  0x00007fd38a391f9a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007fd38f90b56d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fd364b47950 (LWP 2972)):
[KCrash Handler]
#5  0x00007fd39169c732 in Dynamic::BiasSolver::getRandomTrack (this=0x60052e0, subset=<value optimized out>) at ../../src/dynamic/BiasSolver.cpp:733
#6  0x00007fd39169d2c1 in Dynamic::BiasSolver::generateInitialPlaylist (this=0x60052e0, optimal=@0x7fd364b46f3f) at ../../src/dynamic/BiasSolver.cpp:709
#7  0x00007fd39169f537 in Dynamic::BiasSolver::run (this=0x60052e0) at ../../src/dynamic/BiasSolver.cpp:172
#8  0x00007fd38cdc47ec in ThreadWeaver::JobRunHelper::runTheJob (this=0x7fd364b46fb0, th=0x2522150, job=0x60052e0) at ../../../threadweaver/Weaver/Job.cpp:106
#9  0x00007fd38cdc4b0f in ThreadWeaver::Job::execute (this=0x60052e0, th=0x2522150) at ../../../threadweaver/Weaver/Job.cpp:135
#10 0x00007fd38cdc3aef in ThreadWeaver::ThreadRunHelper::run (this=0x7fd364b47040, parent=0x3442050, th=0x2522150) at ../../../threadweaver/Weaver/Thread.cpp:95
#11 0x00007fd38cdc3f59 in ThreadWeaver::Thread::run (this=0x2522150) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0x00007fd390b194a5 in QThreadPrivate::start (arg=0x2522150) at thread/qthread_unix.cpp:188
#13 0x00007fd38a391f9a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#14 0x00007fd38f90b56d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fd3922d57a0 (LWP 2960)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
#1  0x00007fd390b18f15 in thread_sleep (ti=0x7fff3f9c5f10) at thread/qthread_unix.cpp:297
#2  0x00007fd390b1906e in QThread::msleep (msecs=200) at thread/qthread_unix.cpp:323
#3  0x00007fd3800155ba in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#4  0x00007fd38c92efb7 in ?? () from /usr/lib/libphonon.so.4
#5  0x00007fd38f87543d in *__GI_exit (status=1) at exit.c:75
#6  0x00007fd3900d46a8 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:711
#7  0x00007fd391e02b08 in KApplication::xioErrhandler (this=0x7fff3f9c6360, dpy=0x23b8f00) at ../../kdeui/kernel/kapplication.cpp:408
#8  0x00007fd38eed00ce in _XIOError () from /usr/lib/libX11.so.6
#9  0x00007fd38eed7028 in ?? () from /usr/lib/libX11.so.6
#10 0x00007fd38eed7937 in _XEventsQueued () from /usr/lib/libX11.so.6
#11 0x00007fd38eec0cdb in XEventsQueued () from /usr/lib/libX11.so.6
#12 0x00007fd39010f0dc in x11EventSourceCheck (s=0x2395b10) at kernel/qguieventdispatcher_glib.cpp:87
#13 0x00007fd388fbefec in g_main_context_check () from /lib/libglib-2.0.so.0
#14 0x00007fd388fbf8a1 in ?? () from /lib/libglib-2.0.so.0
#15 0x00007fd388fbfb3c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#16 0x00007fd390c273b6 in QEventDispatcherGlib::processEvents (this=0x2283870, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:409
#17 0x00007fd39010ef1f in QGuiEventDispatcherGlib::processEvents (this=0x7fff3f9c5e94, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#18 0x00007fd390bfd562 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#19 0x00007fd390bfd934 in QEventLoop::exec (this=0x7fff3f9c62f0, flags=...) at kernel/qeventloop.cpp:201
#20 0x00007fd390bffba4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#21 0x00000000004097e2 in main (argc=1, argv=0x7fff3f9c80f8) at ../../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-06 13:05:11 UTC

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