Bug 197621 - Amarok keeps crashing during music scan
Summary: Amarok keeps crashing during music scan
Status: RESOLVED WORKSFORME
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 2.1.1
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-23 16:14 UTC by Berend Dekens
Modified: 2009-06-24 15:10 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Berend Dekens 2009-06-23 16:14:58 UTC
Version:           2.1.1 (using Devel)
Compiler:          gcc version 4.3.3 (Gentoo 4.3.3-r2 p1.1, pie-10.1.5) Target: x86_64-pc-linux-gnu
OS:                Linux
Installed from:    Compiled sources

I use Amarok 2.1.1 with KDE 4.2.91 from the Gentoo KDE overlay. Because I have had problems with incompatible database formats in the past, I made sure the amarok data dirs were removed before posting this report.

MySQL is compiled using the following settings: dev-db/mysql-5.0.76-r1 USE="berkdb embedded perl ssl".

I tried uninstalling and reinstalling both Amarok and MySQL. The scan process seems to crash Amarok and the debug output shows messages like:

amarok:    [ERROR!] GREPME MySQLe query failed! You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id = 504' at line 1  on  "UPDATE albums_temp SET image =  WHERE id = 504"

After restarting Amarok and letting the scan resume:
amarok:    [ERROR!] GREPME MySQLe query failed! Table 'urls_temp' is marked as crashed and should be repaired  on  "SELECT id FROM urls_temp WHERE deviceid = -1 AND rpath = './mnt/music/Mp3/Albums2/Juno Reactor/Juno Reactor - Beyond the Infinite/09 Mars.mp3';"
amarok:    [ERROR!] GREPME MySQLe query failed! Table 'directories_temp' is marked as crashed and should be repaired  on  "SELECT id, changedate FROM directories_temp WHERE deviceid = -1 AND dir = './mnt/music/Mp3/Albums2/Juno Reactor/Juno Reactor - Beyond the Infinite/';"
amarok:    [ERROR!] GREPME MySQLe query failed! Duplicate entry '2415' for key 1  on  "INSERT INTO urls_temp(directory,deviceid,rpath,uniqueid) VALUES ( 0, -1, './mnt/music/Mp3/Albums2/Juno Reactor/Juno Reactor - Beyond the Infinite/09 Mars.mp3', 'amarok-sqltrackuid://9a2144eae649b23388b00077f1282ac9' );"
amarok:    [ERROR!] GREPME MySQLe query failed! Duplicate entry '2438' for key 1  on  "REPLACE INTO tracks_temp(url,artist,album,genre,composer,year,title,comment,tracknumber,discnumber,bitrate,length,samplerate,filesize,filetype,bpm,createdate,modifydate,albumgain,albumpeakgain,trackgain,trackpeakgain) VALUES ( 0,0,0,28,1,11,'Mars','DHA\'s Music Archive',9,0,192,431,44100,10382411,0,0,1229695608,1208305749,NULL,NULL,NULL,NULL);"

After the last error, Amarok just crashed. Restarting Amarok only resumes the scan and shows more of those errors. If I cancel the scan, Amarok starts fine but with an empty collection.
Comment 1 Berend Dekens 2009-06-23 16:16:06 UTC
Crash Report as generated by KDE:
Application: Amarok (amarok), signal: Aborted
[Current thread is 0 (LWP 21619)]

Thread 18 (Thread 0x7fc4e0244910 (LWP 21620)):
#0  0x00007fc4f343f4dd in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fc4e437b4db in metronom_sync_loop () from /usr/lib64/libxine.so.1
#2  0x00007fc4f343b2c7 in start_thread () from /lib/libpthread.so.0
#3  0x00007fc4f396b38d in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 17 (Thread 0x7fc4dfa43910 (LWP 21621)):
#0  0x00007fc4f3962426 in poll () from /lib/libc.so.6
#1  0x00007fc4ec25d0aa in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#2  0x00007fc4ec25d2d3 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007fc4f3d320d0 in QEventDispatcherGlib::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007fc4f3d0f5b4 in QEventLoop::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00007fc4f3d0f738 in QEventLoop::exec () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007fc4f3c4b67e in QThread::exec () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007fc4e45cf22c in Phonon::Xine::XineThread::run () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#8  0x00007fc4f3c4dd8f in QThreadPrivate::start () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007fc4f343b2c7 in start_thread () from /lib/libpthread.so.0
#10 0x00007fc4f396b38d in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 16 (Thread 0x7fc4df038910 (LWP 21624)):
#0  0x00007fc4f343f259 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fc4e4387f15 in fifo_peek_int () from /usr/lib64/libxine.so.1
#2  0x00007fc4e4388cf0 in ao_loop () from /usr/lib64/libxine.so.1
#3  0x00007fc4f343b2c7 in start_thread () from /lib/libpthread.so.0
#4  0x00007fc4f396b38d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 15 (Thread 0x7fc4de816910 (LWP 21625)):
#0  0x00007fc4f343f259 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fc4e4387f15 in fifo_peek_int () from /usr/lib64/libxine.so.1
#2  0x00007fc4e4388cf0 in ao_loop () from /usr/lib64/libxine.so.1
#3  0x00007fc4f343b2c7 in start_thread () from /lib/libpthread.so.0
#4  0x00007fc4f396b38d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 14 (Thread 0x7fc4dbe88910 (LWP 21627)):
#0  0x00007fc4f343f259 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fc4dccda9f5 in os_event_wait_low () from /usr/lib64/mysql/ib/libinnobase.so.0
#2  0x00007fc4dccdcee3 in os_aio_simulated_handle () from /usr/lib64/mysql/ib/libinnobase.so.0
#3  0x00007fc4dcca3838 in fil_aio_wait () from /usr/lib64/mysql/ib/libinnobase.so.0
#4  0x00007fc4dcd1f45f in io_handler_thread () from /usr/lib64/mysql/ib/libinnobase.so.0
#5  0x00007fc4f343b2c7 in start_thread () from /lib/libpthread.so.0
#6  0x00007fc4f396b38d in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 13 (Thread 0x7fc4daa03910 (LWP 21628)):
#0  0x00007fc4f343f259 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fc4dccda9f5 in os_event_wait_low () from /usr/lib64/mysql/ib/libinnobase.so.0
#2  0x00007fc4dccdcee3 in os_aio_simulated_handle () from /usr/lib64/mysql/ib/libinnobase.so.0
#3  0x00007fc4dcca3838 in fil_aio_wait () from /usr/lib64/mysql/ib/libinnobase.so.0
#4  0x00007fc4dcd1f45f in io_handler_thread () from /usr/lib64/mysql/ib/libinnobase.so.0
#5  0x00007fc4f343b2c7 in start_thread () from /lib/libpthread.so.0
#6  0x00007fc4f396b38d in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7fc4da202910 (LWP 21629)):
#0  0x00007fc4f343f259 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fc4dccda9f5 in os_event_wait_low () from /usr/lib64/mysql/ib/libinnobase.so.0
#2  0x00007fc4dccdcee3 in os_aio_simulated_handle () from /usr/lib64/mysql/ib/libinnobase.so.0
#3  0x00007fc4dcca3838 in fil_aio_wait () from /usr/lib64/mysql/ib/libinnobase.so.0
#4  0x00007fc4dcd1f45f in io_handler_thread () from /usr/lib64/mysql/ib/libinnobase.so.0
#5  0x00007fc4f343b2c7 in start_thread () from /lib/libpthread.so.0
#6  0x00007fc4f396b38d in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7fc4d9a01910 (LWP 21630)):
#0  0x00007fc4f343f259 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fc4dccda9f5 in os_event_wait_low () from /usr/lib64/mysql/ib/libinnobase.so.0
#2  0x00007fc4dccdcee3 in os_aio_simulated_handle () from /usr/lib64/mysql/ib/libinnobase.so.0
#3  0x00007fc4dcca3838 in fil_aio_wait () from /usr/lib64/mysql/ib/libinnobase.so.0
#4  0x00007fc4dcd1f45f in io_handler_thread () from /usr/lib64/mysql/ib/libinnobase.so.0
#5  0x00007fc4f343b2c7 in start_thread () from /lib/libpthread.so.0
#6  0x00007fc4f396b38d in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7fc4d84e9910 (LWP 21632)):
#0  0x00007fc4f39647a2 in select () from /lib/libc.so.6
#1  0x00007fc4dccdadb4 in os_thread_sleep () from /usr/lib64/mysql/ib/libinnobase.so.0
#2  0x00007fc4dcd1bb8d in srv_lock_timeout_and_monitor_thread () from /usr/lib64/mysql/ib/libinnobase.so.0
#3  0x00007fc4f343b2c7 in start_thread () from /lib/libpthread.so.0
#4  0x00007fc4f396b38d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7fc4d7ce8910 (LWP 21633)):
#0  0x00007fc4f39647a2 in select () from /lib/libc.so.6
#1  0x00007fc4dccdadb4 in os_thread_sleep () from /usr/lib64/mysql/ib/libinnobase.so.0
#2  0x00007fc4dcd1aaa2 in srv_error_monitor_thread () from /usr/lib64/mysql/ib/libinnobase.so.0
#3  0x00007fc4f343b2c7 in start_thread () from /lib/libpthread.so.0
#4  0x00007fc4f396b38d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7fc4d74e7910 (LWP 21634)):
#0  0x00007fc4f343f259 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fc4dccda9f5 in os_event_wait_low () from /usr/lib64/mysql/ib/libinnobase.so.0
#2  0x00007fc4dcd19d77 in srv_master_thread () from /usr/lib64/mysql/ib/libinnobase.so.0
#3  0x00007fc4f343b2c7 in start_thread () from /lib/libpthread.so.0
#4  0x00007fc4f396b38d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7fc4d22bc910 (LWP 21635)):
#0  0x00007fc4f343f259 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fc4f3c4ea8b in QWaitCondition::wait () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007fc4efe7f0e3 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned () from /usr/kde/4.3/lib64/libthreadweaver.so.4
#3  0x00007fc4efe81225 in ThreadWeaver::WorkingHardState::applyForWork () from /usr/kde/4.3/lib64/libthreadweaver.so.4
#4  0x00007fc4efe8123e in ThreadWeaver::WorkingHardState::applyForWork () from /usr/kde/4.3/lib64/libthreadweaver.so.4
#5  0x00007fc4efe7fc7e in ThreadWeaver::ThreadRunHelper::run () from /usr/kde/4.3/lib64/libthreadweaver.so.4
#6  0x00007fc4efe7fff7 in ThreadWeaver::Thread::run () from /usr/kde/4.3/lib64/libthreadweaver.so.4
#7  0x00007fc4f3c4dd8f in QThreadPrivate::start () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007fc4f343b2c7 in start_thread () from /lib/libpthread.so.0
#9  0x00007fc4f396b38d in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fc4d18b3910 (LWP 21636)):
[KCrash Handler]
#5  0x00007fc4f38cb645 in raise () from /lib/libc.so.6
#6  0x00007fc4f38ccb63 in abort () from /lib/libc.so.6
#7  0x00007fc4f390d280 in malloc_printerr () from /lib/libc.so.6
#8  0x00007fc4f3c7cb42 in invalidateEngine () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007fc4f3c7cd18 in QRegExp::~QRegExp () from /usr/lib64/qt4/libQtCore.so.4
#10 0x00007fc4f3cb9abc in QList<QRegExp>::free () from /usr/lib64/qt4/libQtCore.so.4
#11 0x00007fc4f3cb8367 in QDirIteratorPrivate::matchesFilters () from /usr/lib64/qt4/libQtCore.so.4
#12 0x00007fc4f3cb8cca in QDirIteratorPrivate::advance () from /usr/lib64/qt4/libQtCore.so.4
#13 0x00007fc4f3cb904e in QDirIterator::next () from /usr/lib64/qt4/libQtCore.so.4
#14 0x00007fc4f3caed6d in QAbstractFileEngine::entryList () from /usr/lib64/qt4/libQtCore.so.4
#15 0x00007fc4f3ced2b3 in QFSFileEngine::entryList () from /usr/lib64/qt4/libQtCore.so.4
#16 0x00007fc4f3cb255c in QDir::count () from /usr/lib64/qt4/libQtCore.so.4
#17 0x00007fc4dd869fdd in ScanResultProcessor::addTrack () from /usr/lib64/kde4/libamarok_collection-sqlcollection.so
#18 0x00007fc4dd86c99d in ScanResultProcessor::processDirectory () from /usr/lib64/kde4/libamarok_collection-sqlcollection.so
#19 0x00007fc4dd862e5a in XmlParseJob::run () from /usr/lib64/kde4/libamarok_collection-sqlcollection.so
#20 0x00007fc4efe806d6 in ThreadWeaver::JobRunHelper::runTheJob () from /usr/kde/4.3/lib64/libthreadweaver.so.4
#21 0x00007fc4efe8097e in ThreadWeaver::Job::execute () from /usr/kde/4.3/lib64/libthreadweaver.so.4
#22 0x00007fc4efe7fc4e in ThreadWeaver::ThreadRunHelper::run () from /usr/kde/4.3/lib64/libthreadweaver.so.4
#23 0x00007fc4efe7fff7 in ThreadWeaver::Thread::run () from /usr/kde/4.3/lib64/libthreadweaver.so.4
#24 0x00007fc4f3c4dd8f in QThreadPrivate::start () from /usr/lib64/qt4/libQtCore.so.4
#25 0x00007fc4f343b2c7 in start_thread () from /lib/libpthread.so.0
#26 0x00007fc4f396b38d in clone () from /lib/libc.so.6
#27 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fc4d08b1910 (LWP 21639)):
#0  0x00007fc4f343f259 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fc4f3c4ea8b in QWaitCondition::wait () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007fc4efe7f0e3 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned () from /usr/kde/4.3/lib64/libthreadweaver.so.4
#3  0x00007fc4efe81225 in ThreadWeaver::WorkingHardState::applyForWork () from /usr/kde/4.3/lib64/libthreadweaver.so.4
#4  0x00007fc4efe8123e in ThreadWeaver::WorkingHardState::applyForWork () from /usr/kde/4.3/lib64/libthreadweaver.so.4
#5  0x00007fc4efe8123e in ThreadWeaver::WorkingHardState::applyForWork () from /usr/kde/4.3/lib64/libthreadweaver.so.4
#6  0x00007fc4efe7fc7e in ThreadWeaver::ThreadRunHelper::run () from /usr/kde/4.3/lib64/libthreadweaver.so.4
#7  0x00007fc4efe7fff7 in ThreadWeaver::Thread::run () from /usr/kde/4.3/lib64/libthreadweaver.so.4
#8  0x00007fc4f3c4dd8f in QThreadPrivate::start () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007fc4f343b2c7 in start_thread () from /lib/libpthread.so.0
#10 0x00007fc4f396b38d in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fc4d00b0910 (LWP 21640)):
#0  0x00007fc4f343f259 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fc4f3c4ea8b in QWaitCondition::wait () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007fc4efe7f0e3 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned () from /usr/kde/4.3/lib64/libthreadweaver.so.4
#3  0x00007fc4efe81225 in ThreadWeaver::WorkingHardState::applyForWork () from /usr/kde/4.3/lib64/libthreadweaver.so.4
#4  0x00007fc4efe8123e in ThreadWeaver::WorkingHardState::applyForWork () from /usr/kde/4.3/lib64/libthreadweaver.so.4
#5  0x00007fc4efe8123e in ThreadWeaver::WorkingHardState::applyForWork () from /usr/kde/4.3/lib64/libthreadweaver.so.4
#6  0x00007fc4efe8123e in ThreadWeaver::WorkingHardState::applyForWork () from /usr/kde/4.3/lib64/libthreadweaver.so.4
#7  0x00007fc4efe7fc7e in ThreadWeaver::ThreadRunHelper::run () from /usr/kde/4.3/lib64/libthreadweaver.so.4
#8  0x00007fc4efe7fff7 in ThreadWeaver::Thread::run () from /usr/kde/4.3/lib64/libthreadweaver.so.4
#9  0x00007fc4f3c4dd8f in QThreadPrivate::start () from /usr/lib64/qt4/libQtCore.so.4
#10 0x00007fc4f343b2c7 in start_thread () from /lib/libpthread.so.0
#11 0x00007fc4f396b38d in clone () from /lib/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fc4cabb6910 (LWP 21665)):
#0  0x00007fc4f343f259 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fc4f3c4ea8b in QWaitCondition::wait () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007fc4f4a1a0d8 in QFileInfoGatherer::run () from /usr/lib64/qt4/libQtGui.so.4
#3  0x00007fc4f3c4dd8f in QThreadPrivate::start () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007fc4f343b2c7 in start_thread () from /lib/libpthread.so.0
#5  0x00007fc4f396b38d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fc4c227c910 (LWP 21666)):
#0  0x00007fff3efff670 in clock_gettime ()
#1  0x00007fc4ec5034cd in clock_gettime () from /lib/librt.so.1
#2  0x00007fc4f3d33692 in QTimerInfoList::getTime () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007fc4f3d3385d in QTimerInfoList::updateCurrentTime () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007fc4f3d350b3 in QTimerInfoList::timerWait () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00007fc4f3d32240 in timerSourcePrepare () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007fc4ec25caa2 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#7  0x00007fc4ec25ce12 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#8  0x00007fc4ec25d2d3 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#9  0x00007fc4f3d320d0 in QEventDispatcherGlib::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#10 0x00007fc4f3d0f5b4 in QEventLoop::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#11 0x00007fc4f3d0f738 in QEventLoop::exec () from /usr/lib64/qt4/libQtCore.so.4
#12 0x00007fc4f3c4b67e in QThread::exec () from /usr/lib64/qt4/libQtCore.so.4
#13 0x00007fc4f3cf914b in QInotifyFileSystemWatcherEngine::run () from /usr/lib64/qt4/libQtCore.so.4
#14 0x00007fc4f3c4dd8f in QThreadPrivate::start () from /usr/lib64/qt4/libQtCore.so.4
#15 0x00007fc4f343b2c7 in start_thread () from /lib/libpthread.so.0
#16 0x00007fc4f396b38d in clone () from /lib/libc.so.6
#17 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fc4f5c41790 (LWP 21619)):
#0  0x00007fc4f343f4dd in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fc4f3c4d6e3 in thread_sleep () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007fc4f3c4d89e in QThread::msleep () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007fc4e45e7e02 in Phonon::Xine::Backend::~Backend () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#4  0x00007fc4ef9ed876 in Phonon::FactoryPrivate::~FactoryPrivate () from /usr/lib64/libphonon.so.4
#5  0x00007fc4f38ce225 in __run_exit_handlers () from /lib/libc.so.6
#6  0x00007fc4f38ce285 in exit () from /lib/libc.so.6
#7  0x00007fc4f46309f0 in qt_xio_errhandler () from /usr/lib64/qt4/libQtGui.so.4
#8  0x00007fc4f5791294 in KApplication::xioErrhandler () from /usr/kde/4.3/lib64/libkdeui.so.5
#9  0x00007fc4f2d4c64d in _XIOError () from /usr/lib/libX11.so.6
#10 0x00007fc4f2d4ee1e in _XEventsQueued () from /usr/lib/libX11.so.6
#11 0x00007fc4f2d3e41e in XEventsQueued () from /usr/lib/libX11.so.6
#12 0x00007fc4f465eed4 in x11EventSourceCheck () from /usr/lib64/qt4/libQtGui.so.4
#13 0x00007fc4ec25c792 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#14 0x00007fc4ec25d0ed in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#15 0x00007fc4ec25d2d3 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#16 0x00007fc4f3d320d0 in QEventDispatcherGlib::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#17 0x00007fc4f465eda6 in QGuiEventDispatcherGlib::processEvents () from /usr/lib64/qt4/libQtGui.so.4
#18 0x00007fc4f3d0f5b4 in QEventLoop::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#19 0x00007fc4f3d0f738 in QEventLoop::exec () from /usr/lib64/qt4/libQtCore.so.4
#20 0x00007fc4f3d112bc in QCoreApplication::exec () from /usr/lib64/qt4/libQtCore.so.4
#21 0x0000000000404171 in main ()
Comment 2 Myriam Schweingruber 2009-06-24 12:41:30 UTC
I am not sure you really did remove your data files. Try again and remove ~/.kde/share/apps/amarok/mysqle/ which will erase the database files.
Also, I am not sure your MySQL is built correctly, check with your distribution, please.
Comment 3 Berend Dekens 2009-06-24 12:57:14 UTC
MySQL is fine, I have tried installing newer and older versions and it did not help. Also, the 5.0.76-r1 has been used with the pre 2.1 releases and the SVN version without problems.

And like I stated, I removed the Amarok files. Heck I started with a clean profile for KDE as a whole so I am sure the database files are gone. I can't help it that besides the SQL errors, Amarok won't show what it is missing...
Comment 4 Berend Dekens 2009-06-24 13:01:02 UTC
Also, using 5.0.72 did not help, nor did 5.0.76 and 5.0.77 - I recompiled between each switch of MySQL. I tried downgrading to 2.1 and that did not help either.
Comment 5 Berend Dekens 2009-06-24 14:18:37 UTC
I just installed Amarok from SVN using the same MySQL 5.0.76-r1 installation and it works... To check if it was a fluke I reverted back to 2.1.1 and it is broken again - installing SVN once again everything is working.

Something in SVN fixed the problem I had - I vote for a quick release of 2.1.2 or 2.2 ^^.
Comment 6 Jeff Mitchell 2009-06-24 15:10:21 UTC
Unfortunately, I run Gentoo and have been using/developing Amarok well throughout the 2.1 process, and have never seen that symptom.  Plus I know plenty of other Gentoo Amarok users/devs and have never heard of such a problem from anyone else.  So even if it works for you now, I'd have no idea what changed.