Bug 211397

Summary: Crash on "Copy to Collection" in Amarok 2.2
Product: [Applications] amarok Reporter: sumstultussedesquoque
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version: 2.2.0   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description sumstultussedesquoque 2009-10-22 01:10:37 UTC
Application that crashed: amarok
Version of the application: 2.2.0
KDE Version: 4.3.1 (KDE 4.3.1)
Qt Version: 4.5.2
Operating System: Linux 2.6.30.8-64.fc11.x86_64 x86_64
Distribution: "Fedora release 11 (Leonidas)"

What I was doing when the application crashed:
Amarok 2.2 segfaulted when I tried to copy files to the local collection.  It's possible that this had something to do with long file names.

 -- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f077161b860 (LWP 13199))]

Thread 11 (Thread 0x7f0764b5c910 (LWP 13200)):
#0  0x000000337420b57d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000003d460135c1 in ?? () from /usr/lib64/libxine.so.1
#2  0x000000337420686a in start_thread () from /lib64/libpthread.so.0
#3  0x00000033736de3bd in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f0763518910 (LWP 13201)):
#0  0xffffffffff60013b in ?? ()
#1  0x00007f0763517c20 in ?? ()
#2  0x00007fffedbf7782 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 9 (Thread 0x7f0762708910 (LWP 13207)):
#0  0x000000337420b2f9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000003d46024493 in ?? () from /usr/lib64/libxine.so.1
#2  0x000000337420686a in start_thread () from /lib64/libpthread.so.0
#3  0x00000033736de3bd in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f0761b02910 (LWP 13208)):
#0  0x000000337420b2f9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000003d46024493 in ?? () from /usr/lib64/libxine.so.1
#2  0x000000337420686a in start_thread () from /lib64/libpthread.so.0
#3  0x00000033736de3bd in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f074ffff910 (LWP 13209)):
#0  0x000000337420b2f9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000003d46024493 in ?? () from /usr/lib64/libxine.so.1
#2  0x000000337420686a in start_thread () from /lib64/libpthread.so.0
#3  0x00000033736de3bd in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f075b476910 (LWP 13211)):
#0  0x00000033736d7102 in select () from /lib64/libc.so.6
#1  0x0000003d4603ba85 in xine_usec_sleep () from /usr/lib64/libxine.so.1
#2  0x0000003d46021289 in ?? () from /usr/lib64/libxine.so.1
#3  0x000000337420686a in start_thread () from /lib64/libpthread.so.0
#4  0x00000033736de3bd in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f074db2b910 (LWP 13212)):
#0  0x000000337420b2f9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000003aa465adfb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x000000391a80aaf6 in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x000000391a80cbfb in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x000000391a80cc14 in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x000000391a80b21f in ?? () from /usr/lib64/libthreadweaver.so.4
#6  0x000000391a80b658 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#7  0x0000003aa4659d45 in ?? () from /usr/lib64/libQtCore.so.4
#8  0x000000337420686a in start_thread () from /lib64/libpthread.so.0
#9  0x00000033736de3bd in clone () from /lib64/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f074d12a910 (LWP 13213)):
#0  0x000000337420b2f9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000003aa465adfb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x000000391a80aaf6 in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x000000391a80cbfb in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x000000391a80b21f in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x000000391a80b658 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#6  0x0000003aa4659d45 in ?? () from /usr/lib64/libQtCore.so.4
#7  0x000000337420686a in start_thread () from /lib64/libpthread.so.0
#8  0x00000033736de3bd in clone () from /lib64/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f0747fff910 (LWP 13214)):
#0  0x000000337420b2f9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000003aa465adfb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x000000391a80aaf6 in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x000000391a80cbfb in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x000000391a80cc14 in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x000000391a80b21f in ?? () from /usr/lib64/libthreadweaver.so.4
#6  0x000000391a80b658 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#7  0x0000003aa4659d45 in ?? () from /usr/lib64/libQtCore.so.4
#8  0x000000337420686a in start_thread () from /lib64/libpthread.so.0
#9  0x00000033736de3bd in clone () from /lib64/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f073dfe6910 (LWP 13217)):
#0  0x000000337420b2f9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000003aa465adfb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x000000391a80aaf6 in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x000000391a80cbfb in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x000000391a80cc14 in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x000000391a80cc14 in ?? () from /usr/lib64/libthreadweaver.so.4
#6  0x000000391a80b21f in ?? () from /usr/lib64/libthreadweaver.so.4
#7  0x000000391a80b658 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#8  0x0000003aa4659d45 in ?? () from /usr/lib64/libQtCore.so.4
#9  0x000000337420686a in start_thread () from /lib64/libpthread.so.0
#10 0x00000033736de3bd in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f077161b860 (LWP 13199)):
[KCrash Handler]
#5  0x0000003aa46a76d4 in ?? () from /usr/lib64/libQtCore.so.4
#6  0x0000003aa469c6d4 in QString::free(QString::Data*) () from /usr/lib64/libQtCore.so.4
#7  0x0000003e403b63d3 in ~QString (this=<value optimized out>, __in_chrg=<value optimized out>) at /usr/include/QtCore/qstring.h:866
#8  QMap<QString, QString>::freeData (this=<value optimized out>, __in_chrg=<value optimized out>) at /usr/include/QtCore/qmap.h:597
#9  0x0000003e406d6255 in ~QMap (this=<value optimized out>, __in_chrg=<value optimized out>) at /usr/include/QtCore/qmap.h:157
#10 OrganizeCollectionDialog::buildDestination (this=<value optimized out>, __in_chrg=<value optimized out>) at /usr/src/debug/amarok-2.2.0/src/dialogs/OrganizeCollectionDialog.cpp:197
#11 0x0000003e406d6d96 in OrganizeCollectionDialog::getDestinations (this=0x16a9580) at /usr/src/debug/amarok-2.2.0/src/dialogs/OrganizeCollectionDialog.cpp:119
#12 0x00007f076053ab4d in SqlCollectionLocation::slotDialogAccepted (this=0x31b7ce0) at /usr/src/debug/amarok-2.2.0/src/collection/sqlcollection/SqlCollectionLocation.cpp:165
#13 0x00007f0760540312 in SqlCollectionLocation::qt_metacall (this=0x31b7ce0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffeda4f800)
    at /usr/src/debug/amarok-2.2.0/x86_64-redhat-linux-gnu/src/collection/mysqlecollection/SqlCollectionLocation.moc:70
#14 0x0000003aa47547dc in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQtCore.so.4
#15 0x00000037a93861e5 in KDialog::slotButtonClicked(int) () from /usr/lib64/libkdeui.so.5
#16 0x00000037a93883c2 in KDialog::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkdeui.so.5
#17 0x0000003e40335400 in OrganizeCollectionDialog::qt_metacall (this=0x0, _c=3987009752, _id=118182144, _a=0x3373969e98)
    at /usr/src/debug/amarok-2.2.0/x86_64-redhat-linux-gnu/src/moc_OrganizeCollectionDialog.cpp:71
#18 0x0000003aa47547dc in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQtCore.so.4
#19 0x0000003aa47572ee in QSignalMapper::mapped(int) () from /usr/lib64/libQtCore.so.4
#20 0x0000003aa47584a0 in QSignalMapper::map(QObject*) () from /usr/lib64/libQtCore.so.4
#21 0x0000003aa4758710 in QSignalMapper::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libQtCore.so.4
#22 0x0000003aa47547dc in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQtCore.so.4
#23 0x0000003aa658b097 in QAbstractButton::clicked(bool) () from /usr/lib64/libQtGui.so.4
#24 0x0000003aa62eecab in ?? () from /usr/lib64/libQtGui.so.4
#25 0x0000003aa62f08ab in ?? () from /usr/lib64/libQtGui.so.4
#26 0x0000003aa62f0b05 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libQtGui.so.4
#27 0x0000003aa5fddd88 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#28 0x0000003aa5f8f69c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#29 0x0000003aa5f96741 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#30 0x00000037a9411b56 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#31 0x0000003aa473f59c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#32 0x0000003aa5f96030 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&) () from /usr/lib64/libQtGui.so.4
#33 0x0000003aa5ffba4e in ?? () from /usr/lib64/libQtGui.so.4
#34 0x0000003aa5ffab08 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/libQtGui.so.4
#35 0x0000003aa60227dc in ?? () from /usr/lib64/libQtGui.so.4
#36 0x0000003aa363790e in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#37 0x0000003aa363b0e8 in ?? () from /lib64/libglib-2.0.so.0
#38 0x0000003aa363b20a in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#39 0x0000003aa4767936 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#40 0x0000003aa6021f8e in ?? () from /usr/lib64/libQtGui.so.4
#41 0x0000003aa473ded2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#42 0x0000003aa473e2a4 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#43 0x0000003aa4740439 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#44 0x0000000000409d26 in main (argc=<value optimized out>, argv=0x7fffeda53f18) at /usr/src/debug/amarok-2.2.0/src/main.cpp:225

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

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2009-10-22 01:24:57 UTC
Sorry, but your backtrace is not useful, as you are lacking debugging symbols. If you can reproduce this bug, please check here on how to get a valid backtrace:

http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports
Comment 2 sumstultussedesquoque 2009-10-22 01:30:46 UTC
Oh, I'm sorry...  I had the debug info installed; I guess it didn't get updated when Amarok did.  Sorry 'bout that.

It appears that this crash was just an orphan; I've been unable to replicate it.
Comment 3 Myriam Schweingruber 2009-11-03 20:11:07 UTC
Closing then, thanks for the feedback.