Bug 221599

Summary: "Add to playlist" with too many songs causes "Signal 6: Aborted"
Product: [Applications] amarok Reporter: Dark Phoenix <lightsolphoenix>
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 2.3-GIT   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Dark Phoenix 2010-01-07 02:15:20 UTC
Version:           2.2.2/Development (using Devel)
Compiler:          gcc 4.4.2 
OS:                Linux
Installed from:    Compiled sources

I have a large library (4,636 tracks, to be precise).  Amarok loads up and runs perfectly fine (sometimes it segfaults, but not very often).  However, every single time I attempt to add more than about a hundred songs to the playlist, Amarok crashes out with a Signal 6: Aborted error.  I tried it with both an internal and external MySQL source, and got the same result with both.

Backtrace copy:

Application: Amarok (amarok), signal: Aborted
[Current thread is 1 (Thread 0x7ffe7938e8a0 (LWP 21526))]

Thread 13 (Thread 0x7ffe662dc710 (LWP 21527)):
#0  0x0000003d9b40b3b9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x000000346d4134b1 in ?? () from /usr/lib64/libxine.so.1
#2  0x0000003d9b406a3a in start_thread () from /lib64/libpthread.so.0
#3  0x0000003d9a8ddf3d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7ffe658db710 (LWP 21528)):
#0  0x0000003d9a8d4aa3 in poll () from /lib64/libc.so.6
#1  0x0000003d9c43c9fc in ?? () from /lib64/libglib-2.0.so.0
#2  0x0000003d9c43cd3a in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x000000346758ee16 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#4  0x0000003467564342 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x000000346756471c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x0000003467470bf9 in QThread::exec() () from /usr/lib64/libQtCore.so.4
#7  0x00007ffe69fbc96e in Phonon::MediaSource::type() const () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#8  0x0000003467473655 in ?? () from /usr/lib64/libQtCore.so.4
#9  0x0000003d9b406a3a in start_thread () from /lib64/libpthread.so.0
#10 0x0000003d9a8ddf3d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7ffe64cd9710 (LWP 21529)):
#0  0x0000003d9b40b04c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x000000346d424123 in ?? () from /usr/lib64/libxine.so.1
#2  0x0000003d9b406a3a in start_thread () from /lib64/libpthread.so.0
#3  0x0000003d9a8ddf3d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7ffe6408f710 (LWP 21530)):
#0  0x0000003d9b40b04c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x000000346d424123 in ?? () from /usr/lib64/libxine.so.1
#2  0x0000003d9b406a3a in start_thread () from /lib64/libpthread.so.0
#3  0x0000003d9a8ddf3d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7ffe6364c710 (LWP 21531)):
#0  0x0000003d9b40b04c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x000000346d424123 in ?? () from /usr/lib64/libxine.so.1
#2  0x0000003d9b406a3a in start_thread () from /lib64/libpthread.so.0
#3  0x0000003d9a8ddf3d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7ffe62c09710 (LWP 21532)):
#0  0x0000003d9b40b04c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x000000346d424123 in ?? () from /usr/lib64/libxine.so.1
#2  0x0000003d9b406a3a in start_thread () from /lib64/libpthread.so.0
#3  0x0000003d9a8ddf3d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7ffe5c14d710 (LWP 21534)):
#0  0x0000003d9b40b04c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000003db6002e36 in ?? () from /usr/lib64/libQtWebKit.so.4
#2  0x0000003db6002e79 in ?? () from /usr/lib64/libQtWebKit.so.4
#3  0x0000003d9b406a3a in start_thread () from /lib64/libpthread.so.0
#4  0x0000003d9a8ddf3d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7ffe5abb2710 (LWP 21535)):
[KCrash Handler]
#5  0x0000003d9a8326b5 in raise () from /lib64/libc.so.6
#6  0x0000003d9a833e95 in abort () from /lib64/libc.so.6
#7  0x0000003d9a86ebe3 in __libc_message () from /lib64/libc.so.6
#8  0x0000003d9a874576 in malloc_printerr () from /lib64/libc.so.6
#9  0x00000034674b796c in QString::free(QString::Data*) () from /usr/lib64/libQtCore.so.4
#10 0x00000034674b7da2 in QString::operator=(QString const&) () from /usr/lib64/libQtCore.so.4
#11 0x000000346751fbcf in QUrl::setPath(QString const&) () from /usr/lib64/libQtCore.so.4
#12 0x0000003da74f100e in KUrl::setPath(QString const&) () from /usr/lib64/libkdecore.so.5
#13 0x0000003da74f3bee in KUrl::cleanPath(KUrl::CleanPathOption const&) () from /usr/lib64/libkdecore.so.5
#14 0x00007ffe7a083749 in MountPointManager::getAbsolutePath (this=0x25b94a0, deviceId=<value optimized out>, relativePath=..., absolutePath=...)
    at /home/kelly/download/build2/amarok/src/MountPointManager.cpp:203
#15 0x00007ffe7a08397a in MountPointManager::getAbsolutePath (this=0x25b94a0, deviceId=-1, relativePath=...) at /home/kelly/download/build2/amarok/src/MountPointManager.cpp:241
#16 0x00007ffe61d3f007 in Meta::SqlTrack::updateData (this=0x384f3f0, result=<value optimized out>, forceUpdates=false)
    at /home/kelly/download/build2/amarok/src/collection/sqlcollection/SqlMeta.cpp:310
#17 0x00007ffe61d3f8fb in Meta::SqlTrack::SqlTrack (this=0x384f3f0, collection=<value optimized out>, result=...) at /home/kelly/download/build2/amarok/src/collection/sqlcollection/SqlMeta.cpp:371
#18 0x00007ffe61d37c3c in SqlRegistry::getTrack (this=0x1ed4bf0, rowData=...) at /home/kelly/download/build2/amarok/src/collection/sqlcollection/SqlRegistry.cpp:85
#19 0x00007ffe61d33c58 in SqlQueryMakerInternal::handleTracks (this=<value optimized out>, result=<value optimized out>)
    at /home/kelly/download/build2/amarok/src/collection/sqlcollection/SqlQueryMakerInternal.cpp:176
#20 0x00007ffe61d35d8d in SqlQueryMakerInternal::handleResult (this=0x33dc570, result=<value optimized out>)
    at /home/kelly/download/build2/amarok/src/collection/sqlcollection/SqlQueryMakerInternal.cpp:84
#21 0x00007ffe61d36125 in SqlQueryMakerInternal::run (this=0x33dc570) at /home/kelly/download/build2/amarok/src/collection/sqlcollection/SqlQueryMakerInternal.cpp:47
#22 0x00007ffe61d3381d in SqlWorkerThread::run (this=0x33dc530) at /home/kelly/download/build2/amarok/src/collection/sqlcollection/SqlQueryMaker.cpp:66
#23 0x000000347240c10d in ?? () from /usr/lib64/libthreadweaver.so.4
#24 0x000000347240c40e in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) () from /usr/lib64/libthreadweaver.so.4
#25 0x000000347240b37f in ?? () from /usr/lib64/libthreadweaver.so.4
#26 0x000000347240b7e8 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#27 0x0000003467473655 in ?? () from /usr/lib64/libQtCore.so.4
#28 0x0000003d9b406a3a in start_thread () from /lib64/libpthread.so.0
#29 0x0000003d9a8ddf3d in clone () from /lib64/libc.so.6
#30 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7ffe5a1b1710 (LWP 21536)):
#0  0x0000003d9b40b04c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000003467472d83 in ?? () from /usr/lib64/libQtCore.so.4
#2  0x000000346746e845 in QMutex::lock() () from /usr/lib64/libQtCore.so.4
#3  0x00007ffe61d37a65 in relock (this=<value optimized out>) at /usr/include/QtCore/qmutex.h:120
#4  QMutexLocker (this=<value optimized out>) at /usr/include/QtCore/qmutex.h:102
#5  SqlRegistry::getTrack (this=<value optimized out>) at /home/kelly/download/build2/amarok/src/collection/sqlcollection/SqlRegistry.cpp:77
#6  0x00007ffe61d33c58 in SqlQueryMakerInternal::handleTracks (this=<value optimized out>, result=<value optimized out>)
    at /home/kelly/download/build2/amarok/src/collection/sqlcollection/SqlQueryMakerInternal.cpp:176
#7  0x00007ffe61d35d8d in SqlQueryMakerInternal::handleResult (this=0x33ddf70, result=<value optimized out>)
    at /home/kelly/download/build2/amarok/src/collection/sqlcollection/SqlQueryMakerInternal.cpp:84
#8  0x00007ffe61d36125 in SqlQueryMakerInternal::run (this=0x33ddf70) at /home/kelly/download/build2/amarok/src/collection/sqlcollection/SqlQueryMakerInternal.cpp:47
#9  0x00007ffe61d3381d in SqlWorkerThread::run (this=0x33ddf30) at /home/kelly/download/build2/amarok/src/collection/sqlcollection/SqlQueryMaker.cpp:66
#10 0x000000347240c10d in ?? () from /usr/lib64/libthreadweaver.so.4
#11 0x000000347240c40e in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) () from /usr/lib64/libthreadweaver.so.4
#12 0x000000347240b37f in ?? () from /usr/lib64/libthreadweaver.so.4
#13 0x000000347240b7e8 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#14 0x0000003467473655 in ?? () from /usr/lib64/libQtCore.so.4
#15 0x0000003d9b406a3a in start_thread () from /lib64/libpthread.so.0
#16 0x0000003d9a8ddf3d in clone () from /lib64/libc.so.6
#17 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7ffe597b0710 (LWP 21538)):
#0  0x0000003d9b40b04c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000003467472d83 in ?? () from /usr/lib64/libQtCore.so.4
#2  0x000000346746e845 in QMutex::lock() () from /usr/lib64/libQtCore.so.4
#3  0x00007ffe61d37a65 in relock (this=<value optimized out>) at /usr/include/QtCore/qmutex.h:120
#4  QMutexLocker (this=<value optimized out>) at /usr/include/QtCore/qmutex.h:102
#5  SqlRegistry::getTrack (this=<value optimized out>) at /home/kelly/download/build2/amarok/src/collection/sqlcollection/SqlRegistry.cpp:77
#6  0x00007ffe61d33c58 in SqlQueryMakerInternal::handleTracks (this=<value optimized out>, result=<value optimized out>)
    at /home/kelly/download/build2/amarok/src/collection/sqlcollection/SqlQueryMakerInternal.cpp:176
#7  0x00007ffe61d35d8d in SqlQueryMakerInternal::handleResult (this=0x343ea80, result=<value optimized out>)
    at /home/kelly/download/build2/amarok/src/collection/sqlcollection/SqlQueryMakerInternal.cpp:84
#8  0x00007ffe61d36125 in SqlQueryMakerInternal::run (this=0x343ea80) at /home/kelly/download/build2/amarok/src/collection/sqlcollection/SqlQueryMakerInternal.cpp:47
#9  0x00007ffe61d3381d in SqlWorkerThread::run (this=0x3446dd0) at /home/kelly/download/build2/amarok/src/collection/sqlcollection/SqlQueryMaker.cpp:66
#10 0x000000347240c10d in ?? () from /usr/lib64/libthreadweaver.so.4
#11 0x000000347240c40e in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) () from /usr/lib64/libthreadweaver.so.4
#12 0x000000347240b37f in ?? () from /usr/lib64/libthreadweaver.so.4
#13 0x000000347240b7e8 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#14 0x0000003467473655 in ?? () from /usr/lib64/libQtCore.so.4
#15 0x0000003d9b406a3a in start_thread () from /lib64/libpthread.so.0
#16 0x0000003d9a8ddf3d in clone () from /lib64/libc.so.6
#17 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7ffe58daf710 (LWP 21539)):
#0  0x0000003d9b40b04c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000003467472d83 in ?? () from /usr/lib64/libQtCore.so.4
#2  0x000000346746e845 in QMutex::lock() () from /usr/lib64/libQtCore.so.4
#3  0x00007ffe61d37a65 in relock (this=<value optimized out>) at /usr/include/QtCore/qmutex.h:120
#4  QMutexLocker (this=<value optimized out>) at /usr/include/QtCore/qmutex.h:102
#5  SqlRegistry::getTrack (this=<value optimized out>) at /home/kelly/download/build2/amarok/src/collection/sqlcollection/SqlRegistry.cpp:77
#6  0x00007ffe61d33c58 in SqlQueryMakerInternal::handleTracks (this=<value optimized out>, result=<value optimized out>)
    at /home/kelly/download/build2/amarok/src/collection/sqlcollection/SqlQueryMakerInternal.cpp:176
#7  0x00007ffe61d35d8d in SqlQueryMakerInternal::handleResult (this=0x3443c30, result=<value optimized out>)
    at /home/kelly/download/build2/amarok/src/collection/sqlcollection/SqlQueryMakerInternal.cpp:84
#8  0x00007ffe61d36125 in SqlQueryMakerInternal::run (this=0x3443c30) at /home/kelly/download/build2/amarok/src/collection/sqlcollection/SqlQueryMakerInternal.cpp:47
#9  0x00007ffe61d3381d in SqlWorkerThread::run (this=0x3443520) at /home/kelly/download/build2/amarok/src/collection/sqlcollection/SqlQueryMaker.cpp:66
#10 0x000000347240c10d in ?? () from /usr/lib64/libthreadweaver.so.4
#11 0x000000347240c40e in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) () from /usr/lib64/libthreadweaver.so.4
#12 0x000000347240b37f in ?? () from /usr/lib64/libthreadweaver.so.4
#13 0x000000347240b7e8 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#14 0x0000003467473655 in ?? () from /usr/lib64/libQtCore.so.4
#15 0x0000003d9b406a3a in start_thread () from /lib64/libpthread.so.0
#16 0x0000003d9a8ddf3d in clone () from /lib64/libc.so.6
#17 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7ffe4b910710 (LWP 21556)):
#0  0x0000003d9b40b04c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000003470b373e6 in ?? () from /usr/lib64/libQtScript.so.4
#2  0x0000003470b37429 in ?? () from /usr/lib64/libQtScript.so.4
#3  0x0000003d9b406a3a in start_thread () from /lib64/libpthread.so.0
#4  0x0000003d9a8ddf3d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffe7938e8a0 (LWP 21526)):
#0  0x0000003d9b40b3b9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000003467472fc5 in ?? () from /usr/lib64/libQtCore.so.4
#2  0x0000003467473130 in QThread::msleep(unsigned long) () from /usr/lib64/libQtCore.so.4
#3  0x00007ffe69fe3c7a in ?? () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#4  0x0000003a406357af in ?? () from /usr/lib64/libphonon.so.4
#5  0x0000003d9a835b72 in exit () from /lib64/libc.so.6
#6  0x0000003469220278 in ?? () from /usr/lib64/libQtGui.so.4
#7  0x0000003da7c1d0a8 in KApplication::xioErrhandler(_XDisplay*) () from /usr/lib64/libkdeui.so.5
#8  0x0000003d9c84551e in _XIOError () from /usr/lib64/libX11.so.6
#9  0x0000003d9c84cff5 in ?? () from /usr/lib64/libX11.so.6
#10 0x0000003d9c84d887 in _XEventsQueued () from /usr/lib64/libX11.so.6
#11 0x0000003d9c8361ab in XEventsQueued () from /usr/lib64/libX11.so.6
#12 0x00000034692580e7 in ?? () from /usr/lib64/libQtGui.so.4
#13 0x0000003d9c43c43a in g_main_context_prepare () from /lib64/libglib-2.0.so.0
#14 0x0000003d9c43c811 in ?? () from /lib64/libglib-2.0.so.0
#15 0x0000003d9c43cd3a in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#16 0x000000346758edc3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#17 0x0000003469257ebe in ?? () from /usr/lib64/libQtGui.so.4
#18 0x0000003467564342 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#19 0x000000346756471c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#20 0x0000003467566b39 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#21 0x0000000000408452 in main (argc=1, argv=0x7fff69065138) at /home/kelly/download/build2/amarok/src/main.cpp:235
Comment 1 Myriam Schweingruber 2010-01-07 09:31:23 UTC
Looks like a duplicate of bug 196207. You should upgrade your glibc version

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