Bug 207242 - amarok crashes after a "MySQLe query failed" ERROR, within Dynamic::BiasSolver
Summary: amarok crashes after a "MySQLe query failed" ERROR, within Dynamic::BiasSolver
Status: RESOLVED DUPLICATE of bug 201111
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 2.1.1
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-13 13:04 UTC by Jérôme
Modified: 2009-09-13 13:44 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
full valgrind log file (201.88 KB, text/plain)
2009-09-13 13:06 UTC, Jérôme
Details
full 'amarok --debug' stderr log (115.06 KB, text/plain)
2009-09-13 13:08 UTC, Jérôme
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jérôme 2009-09-13 13:04:03 UTC
Version:           2.1.1 (using KDE 4.3.1)
OS:                Linux
Installed from:    Debian testing/unstable Packages

amarok crashes sometimes, without direct interaction with it.
I use dynamic playlist with a fuzzy bias (100%, Play Count, equal to, 0)
I have a Local collection of about 4500 tracks

KDE can't give me a backtrace, so I ran those commands :
$amarok --debug
$gdb --args amarok --nofork
$valgrind --log-file=amarok_valgrind.txt amarok --nofork

I don't know if every crash is because of the same bug and it doesn't crash since more than an hour

========================================
KDE kcrash file
========================================
Application that crashed: amarok
Version of the application: 2.1.1
KDE Version: 4.3.1 (KDE 4.3.1)
Qt Version: 4.5.2
Operating System: Linux 2.6.30-1-amd64 x86_64
Distribution: Debian GNU/Linux unstable (sid)

 -- Backtrace:
An useful backtrace could not be generated


Application: Amarok (amarok), signal: Segmentation fault

========================================
only the end of the --debug stderr
$amarok --debug
========================================
amarok:     BEGIN: void Dynamic::BiasedPlaylist::startSolver(bool) 
amarok:       BEGIN: void ProgressBar::setDescription(const QString&) 
amarok:       END__: void ProgressBar::setDescription(const QString&) - Took 0.0001s 
amarok:       BEGIN: void CompoundProgressBar::addProgressBar(ProgressBar*, QObject*) 
amarok:          p before:  QPoint(2,-84) 
amarok:          p after:  QPoint(4,-81) 
amarok:         BEGIN: void ProgressBar::setDescription(const QString&) 
amarok:         END__: void ProgressBar::setDescription(const QString&) - Took 3.8e-05s 
amarok:       END__: void CompoundProgressBar::addProgressBar(ProgressBar*, QObject*) - Took 0.00059s 
amarok:       BEGIN: void Dynamic::BiasSolver::prepareToRun() 
amarok:         BEGIN: void Dynamic::BiasSolver::updateUniverse() 
amarok:         END__: void Dynamic::BiasSolver::updateUniverse() - Took 0.0023s 
amarok:       END__: void Dynamic::BiasSolver::prepareToRun() - Took 0.0024s 
amarok:     END__: void Dynamic::BiasedPlaylist::startSolver(bool) - Took 0.0035s 
amarok:     BEGIN: void Dynamic::BiasedPlaylist::startSolver(bool) 
amarok:     END__: void Dynamic::BiasedPlaylist::startSolver(bool) - Took 3.5e-05s 
QSocketNotifier: Invalid socket 6 and type 'Read', disabling...
amarok: Fatal IO error: client killed
KCrash: Application 'amarok' crashing...
amarok:  [ERROR!] GREPME MySQLe query failed! Table 'urls' is marked as crashed and should be repaired  on  "SELECT urls.uniqueid FROM  tracks INNER JOIN urls ON tracks.url = urls.id WHERE 1 ;" 
amarok: BEGIN: virtual ScanResultProcessor::~ScanResultProcessor() 
amarok: END__: virtual ScanResultProcessor::~ScanResultProcessor() - Took 8.9e-05s 
amarok: END__: virtual void XmlParseJob::run() - Took 1.7s 
amarok: BEGIN: virtual ContextObserver::~ContextObserver() 
amarok: END__: virtual ContextObserver::~ContextObserver() - Took 0.00025s 
amarok: BEGIN: virtual CurrentEngine::~CurrentEngine() 
amarok: END__: virtual CurrentEngine::~CurrentEngine() - Took 9.3e-05s 
amarok: BEGIN: virtual ContextObserver::~ContextObserver() 
amarok: BEGIN: void ContextSubject::detach(ContextObserver*) 
amarok: END__: void ContextSubject::detach(ContextObserver*) - Took 7.3e-05s 
amarok: END__: virtual ContextObserver::~ContextObserver() - Took 0.00022s 
system call fstat: Mauvais descripteur de fichier
system call fstat: Mauvais descripteur de fichier
system call fstat: Mauvais descripteur de fichier
system call fstat: Mauvais descripteur de fichier
system call fstat: Mauvais descripteur de fichier
system call fstat: Mauvais descripteur de fichier
system call fstat: Mauvais descripteur de fichier
system call fstat: Mauvais descripteur de fichier
system call fstat: Mauvais descripteur de fichier
system call fstat: Mauvais descripteur de fichier
system call fstat: Mauvais descripteur de fichier
system call fstat: Mauvais descripteur de fichier
system call fstat: Mauvais descripteur de fichier
system call fstat: Mauvais descripteur de fichier
system call fstat: Mauvais descripteur de fichier
system call fstat: Mauvais descripteur de fichier
system call fstat: Mauvais descripteur de fichier
system call fstat: Mauvais descripteur de fichier
abort: audio_alsa_out.c:824: ao_alsa_write: Aborting.
Unable to start Dr. Konqi

========================================
backtrace in gdb
$gdb --args amarok --nofork
========================================
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffc5b67950 (LWP 2202)]     
QBitArray::operator&= (this=0x7fffc5b66e60, other=...) at tools/qbitarray.cpp:452
452     tools/qbitarray.cpp: Aucun fichier ou dossier de ce type.                
        in tools/qbitarray.cpp                                                   

(gdb) thread apply all backtrace                                                 

Thread 25 (Thread 0x7fffc8ee3950 (LWP 2449)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fffe6c765b3 in ?? () from /usr/lib/libxine.so.1
#2  0x00007fffe6c8afc9 in _x_demux_send_data () from /usr/lib/libxine.so.1
#3  0x00007fffcad34cdf in ?? () from /usr/lib/xine/plugins/1.26/xineplug_dmx_ogg.so
#4  0x00007fffcad37d38 in ?? () from /usr/lib/xine/plugins/1.26/xineplug_dmx_ogg.so
#5  0x00007fffe6c8bba1 in ?? () from /usr/lib/libxine.so.1
#6  0x00007ffff0439f9a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#7  0x00007ffff599a56d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 20 (Thread 0x7fffbeffd950 (LWP 2224)):
#0  0x00007ffff5993f02 in select () from /lib/libc.so.6
#1  0x00007ffff5d505a6 in QProcessManager::run (this=0x68b180) at io/qprocess_unix.cpp:296
#2  0x00007ffff5c8b475 in QThreadPrivate::start (arg=0x68b180) at thread/qthread_unix.cpp:188
#3  0x00007ffff0439f9a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007ffff599a56d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()
Current language:  auto; currently asm

Thread 19 (Thread 0x7fffbf7fe950 (LWP 2205)):
#0  0x00007ffff73100fa in QList<QByteArray>::indexOf(QByteArray const&, int) const () from /usr/lib/libamaroklib.so.1
#1  0x00007ffff730fcf2 in Dynamic::TrackSet::addTracks (this=0x7fffbf7fde90, uidSet=...) at /tmp/buildd/amarok-2.1.1/src/dynamic/TrackSet.cpp:107
#2  0x00007ffff730e60c in Dynamic::BiasSolver::computeDomain (this=0x7fffc000ba30) at /tmp/buildd/amarok-2.1.1/src/dynamic/BiasSolver.cpp:774
#3  0x00007ffff730ea07 in Dynamic::BiasSolver::run (this=0x7fffc000ba30) at /tmp/buildd/amarok-2.1.1/src/dynamic/BiasSolver.cpp:155
#4  0x00007ffff2e647ec in ThreadWeaver::JobRunHelper::runTheJob (this=0x7fffbf7fdfb0, th=0x34fabb0, job=0x7fffc000ba30) at ../../../threadweaver/Weaver/Job.cpp:106
#5  0x00007ffff2e64b0f in ThreadWeaver::Job::execute (this=0x7fffc000ba30, th=0x34fabb0) at ../../../threadweaver/Weaver/Job.cpp:135
#6  0x00007ffff2e63aef in ThreadWeaver::ThreadRunHelper::run (this=0x7fffbf7fe040, parent=0x16d4420, th=0x34fabb0) at ../../../threadweaver/Weaver/Thread.cpp:95
#7  0x00007ffff2e63f59 in ThreadWeaver::Thread::run (this=0x34fabb0) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007ffff5c8b475 in QThreadPrivate::start (arg=0x34fabb0) at thread/qthread_unix.cpp:188
#9  0x00007ffff0439f9a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007ffff599a56d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()
Current language:  auto; currently c

Thread 18 (Thread 0x7fffbffff950 (LWP 2204)):
#0  __lll_unlock_wake () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:310
#1  0x00007ffff043ce89 in _L_unlock_56 () from /lib/libpthread.so.0
#2  0x00007ffff043cac6 in __pthread_mutex_unlock_usercnt (mutex=0xfff1e0, decr=16773600) at pthread_mutex_unlock.c:64
#3  0x00007ffff5c8c515 in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x35a7b60, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:104
#4  QWaitCondition::wait (this=<value optimized out>, mutex=0x35a7b60, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#5  0x00007ffff2e62e04 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x16d4420, th=0x35a46f0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x00007ffff2e6554b in ThreadWeaver::WorkingHardState::applyForWork (this=0x16d2e30, th=0x35a46f0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#7  0x00007ffff2e65564 in ThreadWeaver::WorkingHardState::applyForWork (this=0x16d2e30, th=0x35a46f0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x00007ffff2e63b1f in ThreadWeaver::ThreadRunHelper::run (this=0x7fffbffff040, parent=0x16d4420, th=0x35a46f0) at ../../../threadweaver/Weaver/Thread.cpp:87
#9  0x00007ffff2e63f59 in ThreadWeaver::Thread::run (this=0x35a46f0) at ../../../threadweaver/Weaver/Thread.cpp:142
#10 0x00007ffff5c8b475 in QThreadPrivate::start (arg=0x35a46f0) at thread/qthread_unix.cpp:188
#11 0x00007ffff0439f9a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#12 0x00007ffff599a56d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()
Current language:  auto; currently c++

Thread 17 (Thread 0x7fffc4949950 (LWP 2203)):
#0  __lll_unlock_wake () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:310
#1  0x00007ffff043ce89 in _L_unlock_56 () from /lib/libpthread.so.0
#2  0x00007ffff043cac6 in __pthread_mutex_unlock_usercnt (mutex=0x689528, decr=6853928) at pthread_mutex_unlock.c:64
#3  0x00007ffff5d71354 in QCoreApplication::postEvent (receiver=0x16d4420, event=0x7fffd82ef6d0, priority=0) at kernel/qcoreapplication.cpp:1069
#4  0x00007ffff5d820b1 in queued_activate (sender=0x35ac940, signal=12, c=..., argv=0x7fffc4948ec0, semaphore=0x0) at kernel/qobject.cpp:3014
#5  0x00007ffff5d8659e in QMetaObject::activate (sender=0x35ac940, from_signal_index=12, to_signal_index=12, argv=0x7fffc4948eb0) at kernel/qobject.cpp:3085
#6  0x00007ffff2e63bab in ThreadWeaver::Thread::jobStarted (this=0x689528, _t1=0x35ac940, _t2=0x3724f50) at ./Thread.moc:92
#7  0x00007ffff2e63d80 in ThreadWeaver::Thread::qt_metacall (this=0x35ac940, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fffc4948ff0) at ./Thread.moc:72
#8  0x00007ffff5d86682 in QMetaObject::activate (sender=0x7fffc4949040, from_signal_index=<value optimized out>, to_signal_index=5, argv=0xffffffffffffffff)
    at kernel/qobject.cpp:3112
#9  0x00007ffff2e63a6b in ThreadWeaver::ThreadRunHelper::jobStarted (this=0x689528, _t1=0x35ac940, _t2=0x3724f50) at ./Thread_p.moc:92
#10 0x00007ffff2e63ae2 in ThreadWeaver::ThreadRunHelper::run (this=0x7fffc4949040, parent=0x16d4420, th=0x35ac940) at ../../../threadweaver/Weaver/Thread.cpp:94
#11 0x00007ffff2e63f59 in ThreadWeaver::Thread::run (this=0x35ac940) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0x00007ffff5c8b475 in QThreadPrivate::start (arg=0x35ac940) at thread/qthread_unix.cpp:188
#13 0x00007ffff0439f9a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#14 0x00007ffff599a56d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()
Current language:  auto; currently asm

Thread 16 (Thread 0x7fffc5b67950 (LWP 2202)):
#0  QBitArray::operator&= (this=0x7fffc5b66e60, other=...) at tools/qbitarray.cpp:452
#1  0x00007ffff730baa9 in Dynamic::BiasSolver::generateInitialPlaylist (this=0x7fffc000ba30, optimal=@0x7fffc5b66f3f)
    at /tmp/buildd/amarok-2.1.1/src/dynamic/BiasSolver.cpp:663
#2  0x00007ffff730ea17 in Dynamic::BiasSolver::run (this=0x7fffc000ba30) at /tmp/buildd/amarok-2.1.1/src/dynamic/BiasSolver.cpp:174
#3  0x00007ffff2e647ec in ThreadWeaver::JobRunHelper::runTheJob (this=0x7fffc5b66fb0, th=0x35aa190, job=0x7fffc000ba30) at ../../../threadweaver/Weaver/Job.cpp:106
#4  0x00007ffff2e64b0f in ThreadWeaver::Job::execute (this=0x7fffc000ba30, th=0x35aa190) at ../../../threadweaver/Weaver/Job.cpp:135
#5  0x00007ffff2e63aef in ThreadWeaver::ThreadRunHelper::run (this=0x7fffc5b67040, parent=0x16d4420, th=0x35aa190) at ../../../threadweaver/Weaver/Thread.cpp:95
#6  0x00007ffff2e63f59 in ThreadWeaver::Thread::run (this=0x35aa190) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007ffff5c8b475 in QThreadPrivate::start (arg=0x35aa190) at thread/qthread_unix.cpp:188
#8  0x00007ffff0439f9a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007ffff599a56d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 13 (Thread 0x7fffcb73a950 (LWP 2196)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fffe6c8694b in ?? () from /usr/lib/libxine.so.1
#2  0x00007ffff0439f9a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007ffff599a56d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()
Current language:  auto; currently c++

Thread 12 (Thread 0x7fffcbf3b950 (LWP 2195)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
#1  0x00007fffe6c827a0 in ?? () from /usr/lib/libxine.so.1
#2  0x00007fffe6c8e8b5 in ?? () from /usr/lib/libxine.so.1
#3  0x00007fffc8ee5519 in ?? () from /usr/lib/xine/plugins/1.26/xineplug_decode_vorbis.so
#4  0x00007fffe6c7dbf4 in ?? () from /usr/lib/libxine.so.1
#5  0x00007ffff0439f9a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007ffff599a56d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()
Current language:  auto; currently asm

Thread 11 (Thread 0x7fffcc909950 (LWP 2194)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fffe6c7669b in ?? () from /usr/lib/libxine.so.1
#2  0x00007fffe6c7c47e in ?? () from /usr/lib/libxine.so.1
#3  0x00007ffff0439f9a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007ffff599a56d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7fffd6f18950 (LWP 2193)):
#0  0x00007ffff5993f02 in select () from /lib/libc.so.6
#1  0x00007fffe6c9b654 in xine_usec_sleep () from /usr/lib/libxine.so.1
#2  0x00007fffe6c807bb in ?? () from /usr/lib/libxine.so.1
#3  0x00007ffff0439f9a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007ffff599a56d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()                                                           

Thread 8 (Thread 0x7fffdcf2d950 (LWP 2191)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fffe6c83ce3 in ?? () from /usr/lib/libxine.so.1
#2  0x00007ffff0439f9a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007ffff599a56d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()
Current language:  auto; currently c

Thread 7 (Thread 0x7fffdd930950 (LWP 2190)):
#0  0x00007ffff5991d36 in *__GI___poll (fds=0x7fffdd92fea0, nfds=1, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fffe7376e5c in ?? () from /usr/lib/libasound.so.2
#2  0x00007fffde13814d in ?? () from /usr/lib/xine/plugins/1.26/xineplug_ao_out_alsa.so
#3  0x00007fffe6c84291 in ?? () from /usr/lib/libxine.so.1
#4  0x00007ffff0439f9a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#5  0x00007ffff599a56d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()
Current language:  auto; currently asm

Thread 6 (Thread 0x7fffde131950 (LWP 2189)):
#0  0x00007ffff5991d36 in *__GI___poll (fds=0x7fffde130f80, nfds=1, timeout=333) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fffde136849 in ?? () from /usr/lib/xine/plugins/1.26/xineplug_ao_out_alsa.so
#2  0x00007ffff0439f9a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007ffff599a56d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()
Current language:  auto; currently c

Thread 3 (Thread 0x7fffdeb3b950 (LWP 2186)):
#0  0x00007ffff5991d36 in *__GI___poll (fds=0x820d30, nfds=1, timeout=99) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fffeefa4d89 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007fffeefa506c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007ffff5d99bff in QEventDispatcherGlib::processEvents (this=0x81ee80, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#4  0x00007ffff5d6fde2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007ffff5d701b4 in QEventLoop::exec (this=0x7fffdeb3aff0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007ffff5c88558 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007fffe6ecd6ec in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#8  0x00007ffff5c8b475 in QThreadPrivate::start (arg=0x7290b0) at thread/qthread_unix.cpp:188
#9  0x00007ffff0439f9a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007ffff599a56d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

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

Thread 1 (Thread 0x7ffff7eb57a0 (LWP 2182)):
#0  0x00007ffff5991d36 in *__GI___poll (fds=0x7fffc007b190, nfds=7, timeout=14) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fffeefa4d89 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007fffeefa506c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007ffff5d99bff in QEventDispatcherGlib::processEvents (this=0x60ec40, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#4  0x00007ffff675864f in QGuiEventDispatcherGlib::processEvents (this=0x7fffc007b190, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#5  0x00007ffff5d6fde2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007ffff5d701b4 in QEventLoop::exec (this=0x7fffffffd110, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007ffff5d72424 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#8  0x0000000000403ff9 in main (argc=2, argv=0x7fffffffe338) at /tmp/buildd/amarok-2.1.1/src/main.cpp:128
Current language:  auto; currently asm
Current language:  auto; currently c++

========================================
end of the valgrind log file
$valgrind --log-file=amarok_valgrind.txt amarok --nofork
========================================
==2651== Thread 16:
==2651== Use of uninitialised value of size 8
==2651==    at 0x565792D: Dynamic::BiasSolver::generateInitialPlaylist(bool&) (BiasSolver.cpp:660)
==2651==    by 0x565AA16: Dynamic::BiasSolver::run() (BiasSolver.cpp:174)
==2651==    by 0x9BA47EB: ThreadWeaver::JobRunHelper::runTheJob(ThreadWeaver::Thread*, ThreadWeaver::Job*) (Job.cpp:106)
==2651==    by 0x9BA4B0E: ThreadWeaver::Job::execute(ThreadWeaver::Thread*) (Job.cpp:135)
==2651==    by 0x9BA3AEE: ThreadWeaver::ThreadRunHelper::run(ThreadWeaver::WeaverImpl*, ThreadWeaver::Thread*) (Thread.cpp:95)
==2651==    by 0x9BA3F58: ThreadWeaver::Thread::run() (Thread.cpp:142)
==2651==    by 0x6C0C474: QThreadPrivate::start(void*) (qthread_unix.cpp:188)
==2651==    by 0xC5BFF99: start_thread (pthread_create.c:300)
==2651==    by 0x70B456C: clone (clone.S:112)
==2651== 
==2651== Invalid read of size 8
==2651==    at 0x565792D: Dynamic::BiasSolver::generateInitialPlaylist(bool&) (BiasSolver.cpp:660)
==2651==    by 0x565AA16: Dynamic::BiasSolver::run() (BiasSolver.cpp:174)
==2651==    by 0x9BA47EB: ThreadWeaver::JobRunHelper::runTheJob(ThreadWeaver::Thread*, ThreadWeaver::Job*) (Job.cpp:106)
==2651==    by 0x9BA4B0E: ThreadWeaver::Job::execute(ThreadWeaver::Thread*) (Job.cpp:135)
==2651==    by 0x9BA3AEE: ThreadWeaver::ThreadRunHelper::run(ThreadWeaver::WeaverImpl*, ThreadWeaver::Thread*) (Thread.cpp:95)
==2651==    by 0x9BA3F58: ThreadWeaver::Thread::run() (Thread.cpp:142)
==2651==    by 0x6C0C474: QThreadPrivate::start(void*) (qthread_unix.cpp:188)
==2651==    by 0xC5BFF99: start_thread (pthread_create.c:300)
==2651==    by 0x70B456C: clone (clone.S:112)
==2651==  Address 0x1351fec00 is not stack'd, malloc'd or (recently) free'd
==2651== 
==2651== 
==2651== HEAP SUMMARY:
==2651==     in use at exit: 69,007,192 bytes in 222,672 blocks
==2651==   total heap usage: 1,753,690 allocs, 1,531,018 frees, 317,633,975 bytes allocated
==2651== 
==2651== LEAK SUMMARY:
==2651==    definitely lost: 23,008 bytes in 37 blocks
==2651==    indirectly lost: 70,864 bytes in 1,156 blocks
==2651==      possibly lost: 27,872,319 bytes in 140,804 blocks
==2651==    still reachable: 41,041,001 bytes in 80,675 blocks
==2651==         suppressed: 0 bytes in 0 blocks
==2651== Rerun with --leak-check=full to see details of leaked memory
==2651== 
==2651== For counts of detected and suppressed errors, rerun with: -v
==2651== Use --track-origins=yes to see where uninitialised values come from
==2651== ERROR SUMMARY: 573 errors from 164 contexts (suppressed: 367 from 25)
Comment 1 Jérôme 2009-09-13 13:06:53 UTC
Created attachment 36917 [details]
full valgrind log file
Comment 2 Jérôme 2009-09-13 13:08:10 UTC
Created attachment 36918 [details]
full 'amarok --debug' stderr log
Comment 3 Myriam Schweingruber 2009-09-13 13:44:08 UTC
Without a valid backtrace it's difficult to say, but we have various crashes reported related to the dynamic playlist settings:
bug 200546 and bug 201111 are a few candidates, from your description this is more likely a dupe of the latter.

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