Bug 228408

Summary: amarok crash during repopulation of dynamic playlist
Product: [Applications] amarok Reporter: John <jtrunek>
Component: Playlists/Dynamic PlaylistsAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DUPLICATE    
Severity: crash CC: lfranchi
Priority: NOR    
Version: 2.2.0   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description John 2010-02-25 05:22:58 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-19-generic x86_64
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
I am able to consistently reproduce the crash by following these steps.
load a playlist
select dynamic playlists
create a new custom bias, settings are irrelevant 
turn on dynamic mode if not already enabled
click repopulate

 -- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
The current source language is "auto; currently c".
[Current thread is 1 (Thread 0x7ff1dc637790 (LWP 31836))]

Thread 12 (Thread 0x7ff1c10cb910 (LWP 31837)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007ff1c4ff9c91 in ?? () from /usr/lib/libxine.so.1
#2  0x00007ff1d453ca04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007ff1d9cc480d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7ff1bf54b910 (LWP 31838)):
#0  0x00007ff1d2e77dba in g_main_context_prepare () from /lib/libglib-2.0.so.0
#1  0x00007ff1d2e78191 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007ff1d2e786c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007ff1da3d11fe in QEventDispatcherGlib::processEvents (this=0xb9ba00, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:329
#4  0x00007ff1da3a7532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007ff1da3a7904 in QEventLoop::exec (this=0x7ff1bf54afc0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007ff1da2bf6cb in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007ff1c525456e in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#8  0x00007ff1da2c2445 in QThreadPrivate::start (arg=0xc6eb70) at thread/qthread_unix.cpp:188
#9  0x00007ff1d453ca04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007ff1d9cc480d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 10 (Thread 0x7ff1ba938910 (LWP 31844)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007ff1c500a983 in ?? () from /usr/lib/libxine.so.1
#2  0x00007ff1d453ca04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007ff1d9cc480d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7ff1be733910 (LWP 31845)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007ff1c500a983 in ?? () from /usr/lib/libxine.so.1
#2  0x00007ff1d453ca04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007ff1d9cc480d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7ff1bdf32910 (LWP 31850)):
#0  0x00007ff1d9cb83c3 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007ff1c04b120f in ?? () from /usr/lib/libpulse.so.0
#2  0x00007ff1c04a15e6 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#3  0x00007ff1c04a2eb9 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#4  0x00007ff1c04a2f70 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#5  0x00007ff1c04b112b in ?? () from /usr/lib/libpulse.so.0
#6  0x00007ff1c0272050 in ?? () from /usr/lib/libpulsecommon-0.9.19.so
#7  0x00007ff1d453ca04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#8  0x00007ff1d9cc480d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7ff1a9cc1910 (LWP 31851)):
#0  0x00007ff1d9cb83c3 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=333) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007ff1beb46cbe in ?? () from /usr/lib/xine/plugins/1.26/xineplug_ao_out_alsa.so
#2  0x00007ff1d453ca04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007ff1d9cc480d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

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

Thread 5 (Thread 0x7ff1a8cbf910 (LWP 31853)):
[KCrash Handler]
#5  Dynamic::BiasSolver::getRandomTrack (this=0x3194ce0, subset=...) at /build/buildd/amarok-2.2.0/src/dynamic/BiasSolver.cpp:733
#6  0x00007ff1db9f8d5e in Dynamic::BiasSolver::generateInitialPlaylist (this=0x3194ce0, optimal=<value optimized out>) at /build/buildd/amarok-2.2.0/src/dynamic/BiasSolver.cpp:598
#7  0x00007ff1db9faff7 in Dynamic::BiasSolver::run (this=0x3194ce0) at /build/buildd/amarok-2.2.0/src/dynamic/BiasSolver.cpp:172
#8  0x00007ff1d6f7775d in ThreadWeaver::JobRunHelper::runTheJob (this=0x7ff1a8cbef80, th=0x13627a0, job=0x3194ce0) at ../../../threadweaver/Weaver/Job.cpp:106
#9  0x00007ff1d6f77a5e in ThreadWeaver::Job::execute (this=0x3194ce0, th=0x13627a0) at ../../../threadweaver/Weaver/Job.cpp:135
#10 0x00007ff1d6f76a2f in ThreadWeaver::ThreadRunHelper::run (this=0x7ff1a8cbf010, parent=0x10ec290, th=0x13627a0) at ../../../threadweaver/Weaver/Thread.cpp:95
#11 0x00007ff1d6f76eb8 in ThreadWeaver::Thread::run (this=0x13627a0) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0x00007ff1da2c2445 in QThreadPrivate::start (arg=0x13627a0) at thread/qthread_unix.cpp:188
#13 0x00007ff1d453ca04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#14 0x00007ff1d9cc480d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 4 (Thread 0x7ff1a84be910 (LWP 31854)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007ff1da2c34fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1394cc0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1394cc0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007ff1d6f76326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x10ec290, th=0x16f2c30) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007ff1d6f7845b in ThreadWeaver::WorkingHardState::applyForWork (this=0x109a860, th=0x16f2c30) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007ff1d6f78474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x109a860, th=0x16f2c30) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007ff1d6f78474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x109a860, th=0x16f2c30) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007ff1d6f78474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x109a860, th=0x16f2c30) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x00007ff1d6f76a5f in ThreadWeaver::ThreadRunHelper::run (this=0x7ff1a84be010, parent=0x10ec290, th=0x16f2c30) at ../../../threadweaver/Weaver/Thread.cpp:87
#9  0x00007ff1d6f76eb8 in ThreadWeaver::Thread::run (this=0x16f2c30) at ../../../threadweaver/Weaver/Thread.cpp:142
#10 0x00007ff1da2c2445 in QThreadPrivate::start (arg=0x16f2c30) at thread/qthread_unix.cpp:188
#11 0x00007ff1d453ca04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#12 0x00007ff1d9cc480d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 3 (Thread 0x7ff19b9f9910 (LWP 31855)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007ff1da2c34fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1394cc0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1394cc0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007ff1d6f76326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x10ec290, th=0x1474000) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007ff1d6f7845b in ThreadWeaver::WorkingHardState::applyForWork (this=0x109a860, th=0x1474000) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007ff1d6f78474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x109a860, th=0x1474000) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007ff1d6f78474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x109a860, th=0x1474000) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007ff1d6f76a5f in ThreadWeaver::ThreadRunHelper::run (this=0x7ff19b9f9010, parent=0x10ec290, th=0x1474000) at ../../../threadweaver/Weaver/Thread.cpp:87
#8  0x00007ff1d6f76eb8 in ThreadWeaver::Thread::run (this=0x1474000) at ../../../threadweaver/Weaver/Thread.cpp:142
#9  0x00007ff1da2c2445 in QThreadPrivate::start (arg=0x1474000) at thread/qthread_unix.cpp:188
#10 0x00007ff1d453ca04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#11 0x00007ff1d9cc480d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 2 (Thread 0x7ff198b5e910 (LWP 31858)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007ff1da2c34fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1394cc0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1394cc0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007ff1d6f76326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x10ec290, th=0x3198fc0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007ff1d6f7845b in ThreadWeaver::WorkingHardState::applyForWork (this=0x109a860, th=0x3198fc0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007ff1d6f78474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x109a860, th=0x3198fc0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007ff1d6f76a5f in ThreadWeaver::ThreadRunHelper::run (this=0x7ff198b5e010, parent=0x10ec290, th=0x3198fc0) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007ff1d6f76eb8 in ThreadWeaver::Thread::run (this=0x3198fc0) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007ff1da2c2445 in QThreadPrivate::start (arg=0x3198fc0) at thread/qthread_unix.cpp:188
#9  0x00007ff1d453ca04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007ff1d9cc480d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ff1dc637790 (LWP 31836)):
#0  0x00007ff1d9cb6abb in read () from /lib/libc.so.6
#1  0x00007ff1d2e77a43 in g_main_context_check () from /lib/libglib-2.0.so.0
#2  0x00007ff1d2e78290 in ?? () from /lib/libglib-2.0.so.0
#3  0x00007ff1d2e786c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x00007ff1da3d11a6 in QEventDispatcherGlib::processEvents (this=0x8b7140, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#5  0x00007ff1dad5d4be in QGuiEventDispatcherGlib::processEvents (this=0x3, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#6  0x00007ff1da3a7532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#7  0x00007ff1da3a7904 in QEventLoop::exec (this=0x7fff93e09ad0, flags=) at kernel/qeventloop.cpp:201
#8  0x00007ff1da3a9ab9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#9  0x0000000000409ec6 in main (argc=<value optimized out>, argv=0x7fff93e0b8e8) at /build/buildd/amarok-2.2.0/src/main.cpp:225
The current source language is "auto; currently c".

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

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2010-02-25 08:53:02 UTC
Please upgrade to Amarok 2.2.2, this is solved since quite some time. See also http://kubuntu.org/news/amarok-2.2.2

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