Bug 219217

Summary: Amarok crashes on start with KDE 4.3.80 and Qt 4.6 [QDateTime::QDateTime, QDateTime::QDateTime, QDateTime::QDateTime]
Product: [Applications] amarok Reporter: Justin Newman <eqisow>
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 2.3-GIT   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Justin Newman 2009-12-18 18:54:10 UTC
Application: amarok (2.2-GIT)
KDE Platform Version: 4.3.80 (KDE 4.3.80 (KDE 4.4 Beta1))
Qt Version: 4.6.0
Operating System: Linux 2.6.31.6-162.fc12.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
KDE 4.3.80 and Qt 4.6 on Fedora 12 results in the following crash.

Output of amarok --debug:

http://pastebin.com/f487fda1c

The crash can be reproduced everytime.

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

Thread 13 (Thread 0x7f77ff99f710 (LWP 4997)):
#0  0x0000003aa220b3b9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f77fe8c24b1 in ?? () from /usr/lib64/libxine.so.1
#2  0x0000003aa2206a3a in start_thread () from /lib64/libpthread.so.0
#3  0x0000003aa16de6dd in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7f78003a0710 (LWP 4998)):
#0  0x0000003aa16d5243 in poll () from /lib64/libc.so.6
#1  0x000000371da3c9fc in ?? () from /lib64/libglib-2.0.so.0
#2  0x000000371da3cd3a in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f7813134e36 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#4  0x00007f781310a362 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007f781310a73c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007f7813016bf9 in QThread::exec() () from /usr/lib64/libQtCore.so.4
#7  0x00007f77feb42a70 in Phonon::MediaSource::type() const () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#8  0x00007f7813019665 in ?? () from /usr/lib64/libQtCore.so.4
#9  0x0000003aa2206a3a in start_thread () from /lib64/libpthread.so.0
#10 0x0000003aa16de6dd in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f77fa58d710 (LWP 5000)):
#0  0x0000003aa220b04c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f77fe8d3123 in ?? () from /usr/lib64/libxine.so.1
#2  0x0000003aa2206a3a in start_thread () from /lib64/libpthread.so.0
#3  0x0000003aa16de6dd in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f77f9742710 (LWP 5001)):
#0  0x0000003aa220b04c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f77fe8d3123 in ?? () from /usr/lib64/libxine.so.1
#2  0x0000003aa2206a3a in start_thread () from /lib64/libpthread.so.0
#3  0x0000003aa16de6dd in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f77f8cff710 (LWP 5002)):
#0  0x0000003aa220b04c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f77fe8d3123 in ?? () from /usr/lib64/libxine.so.1
#2  0x0000003aa2206a3a in start_thread () from /lib64/libpthread.so.0
#3  0x0000003aa16de6dd in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f77f82bc710 (LWP 5003)):
#0  0x0000003aa220b04c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f77fe8d3123 in ?? () from /usr/lib64/libxine.so.1
#2  0x0000003aa2206a3a in start_thread () from /lib64/libpthread.so.0
#3  0x0000003aa16de6dd in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f77ec216710 (LWP 5005)):
#0  0x0000003aa16d7443 in select () from /lib64/libc.so.6
#1  0x00007f77fe8ea565 in xine_usec_sleep () from /usr/lib64/libxine.so.1
#2  0x00007f77fe8cff99 in ?? () from /usr/lib64/libxine.so.1
#3  0x0000003aa2206a3a in start_thread () from /lib64/libpthread.so.0
#4  0x0000003aa16de6dd in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f77eb3f1710 (LWP 5006)):
#0  0x0000003aa220b04c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f780eeb3e16 in ?? () from /usr/lib64/libQtWebKit.so.4
#2  0x00007f780eeb3e59 in ?? () from /usr/lib64/libQtWebKit.so.4
#3  0x0000003aa2206a3a in start_thread () from /lib64/libpthread.so.0
#4  0x0000003aa16de6dd in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f77e9e56710 (LWP 5007)):
#0  0x0000003aa220b04c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f781301a61b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f78111b3816 in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x00007f78111b5edb in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x00007f78111b5ef4 in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x00007f78111b43af in ?? () from /usr/lib64/libthreadweaver.so.4
#6  0x00007f78111b47e8 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#7  0x00007f7813019665 in ?? () from /usr/lib64/libQtCore.so.4
#8  0x0000003aa2206a3a in start_thread () from /lib64/libpthread.so.0
#9  0x0000003aa16de6dd in clone () from /lib64/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f77e9455710 (LWP 5008)):
#0  0x0000003aa220b04c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f781301a61b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f78111b3816 in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x00007f78111b5edb in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x00007f78111b43af in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x00007f78111b47e8 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#6  0x00007f7813019665 in ?? () from /usr/lib64/libQtCore.so.4
#7  0x0000003aa2206a3a in start_thread () from /lib64/libpthread.so.0
#8  0x0000003aa16de6dd in clone () from /lib64/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f77e8a54710 (LWP 5018)):
#0  0x0000003aa220b04c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f781301a61b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f78111b3816 in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x00007f78111b5edb in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x00007f78111b43af in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x00007f78111b47e8 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#6  0x00007f7813019665 in ?? () from /usr/lib64/libQtCore.so.4
#7  0x0000003aa2206a3a in start_thread () from /lib64/libpthread.so.0
#8  0x0000003aa16de6dd in clone () from /lib64/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f77e8053710 (LWP 5058)):
#0  0x0000003aa220b04c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f78102664e6 in ?? () from /usr/lib64/libQtScript.so.4
#2  0x00007f7810266529 in ?? () from /usr/lib64/libQtScript.so.4
#3  0x0000003aa2206a3a in start_thread () from /lib64/libpthread.so.0
#4  0x0000003aa16de6dd in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f780c0788a0 (LWP 4993)):
[KCrash Handler]
#5  0x00007f781020f0b4 in QDateTime::QDateTime(QDate const&) () from /usr/lib64/libQtScript.so.4
#6  0x00007f78102a7d95 in ?? () from /usr/lib64/libQtScript.so.4
#7  0x00007f78101de654 in QDateTime::QDateTime(QDate const&) () from /usr/lib64/libQtScript.so.4
#8  0x00007f78101dea16 in QDateTime::QDateTime(QDate const&) () from /usr/lib64/libQtScript.so.4
#9  0x00007f78101dea78 in QDateTime::QDateTime(QDate const&) () from /usr/lib64/libQtScript.so.4
#10 0x00007f78101deae6 in QDateTime::QDateTime(QDate const&) () from /usr/lib64/libQtScript.so.4
#11 0x00007f78101df47c in QDateTime::QDateTime(QDate const&) () from /usr/lib64/libQtScript.so.4
#12 0x00007f7810285104 in QScriptEngine::newObject() () from /usr/lib64/libQtScript.so.4
#13 0x00007f7810285c7e in QScriptEngine::newFunction(QScriptValue (*)(QScriptContext*, QScriptEngine*), int) () from /usr/lib64/libQtScript.so.4
#14 0x00007f77e6928076 in ?? () from /usr/lib64/qt4/plugins/script/libqtscript_core.so.1.0.0
#15 0x00007f77e69289a1 in qtscript_create_QTextStream_class(QScriptEngine*) () from /usr/lib64/qt4/plugins/script/libqtscript_core.so.1.0.0
#16 0x00007f77e689d1c8 in com_trolltech_qt_core_ScriptPlugin::initialize(QString const&, QScriptEngine*) () from /usr/lib64/qt4/plugins/script/libqtscript_core.so.1.0.0
#17 0x00007f7810290a01 in QScriptEngine::importExtension(QString const&) () from /usr/lib64/libQtScript.so.4
#18 0x00007f7813d86ade in AmarokScript::ScriptImporter::loadQtBinding (this=<value optimized out>, binding=<value optimized out>)
    at /home/eqisow/rpmbuild/BUILD/amarok-2.2.2/src/scriptengine/ScriptImporter.cpp:63
#19 0x00007f7813d872ac in AmarokScript::ScriptImporter::qt_metacall (this=0x3df3d30, _c=InvokeMetaMethod, _id=1, _a=0x7fff393095a0)
    at /home/eqisow/rpmbuild/BUILD/amarok-2.2.2/x86_64-redhat-linux/src/ScriptImporter.moc:78
#20 0x00007f78102b5222 in ?? () from /usr/lib64/libQtScript.so.4
#21 0x00007f78102b6892 in ?? () from /usr/lib64/libQtScript.so.4
#22 0x00007f78102b6a1a in ?? () from /usr/lib64/libQtScript.so.4
#23 0x00007f78101dce70 in QDateTime::QDateTime(QDate const&) () from /usr/lib64/libQtScript.so.4
#24 0x00007f78101c9e54 in QDateTime::QDateTime(QDate const&) () from /usr/lib64/libQtScript.so.4
#25 0x00007f78101cc0d4 in QDateTime::QDateTime(QDate const&) () from /usr/lib64/libQtScript.so.4
#26 0x00007f78101cc42b in QDateTime::QDateTime(QDate const&) () from /usr/lib64/libQtScript.so.4
#27 0x00007f781028f241 in ?? () from /usr/lib64/libQtScript.so.4
#28 0x00007f781028fcf5 in QScriptEngine::evaluate(QString const&, QString const&, int) () from /usr/lib64/libQtScript.so.4
#29 0x00007f7813e8619b in ScriptManager::slotRunScript (this=0x3ab9290, name=..., silent=<value optimized out>) at /home/eqisow/rpmbuild/BUILD/amarok-2.2.2/src/dialogs/ScriptManager.cpp:434
#30 0x00007f7813e87566 in ScriptManager::slotConfigChanged (this=0x3ab9290, changed=<value optimized out>) at /home/eqisow/rpmbuild/BUILD/amarok-2.2.2/src/dialogs/ScriptManager.cpp:512
#31 0x00007f7813e87bbf in ScriptManager::findScripts (this=<value optimized out>) at /home/eqisow/rpmbuild/BUILD/amarok-2.2.2/src/dialogs/ScriptManager.cpp:632
#32 0x00007f7813e89813 in ScriptManager::updaterFinished (this=0x3ab9290, scriptPath=...) at /home/eqisow/rpmbuild/BUILD/amarok-2.2.2/src/dialogs/ScriptManager.cpp:265
#33 0x00007f7813e89b54 in ScriptManager::qt_metacall (this=0x3ab9290, _c=InvokeMetaMethod, _id=12, _a=0x7fff3930b420)
    at /home/eqisow/rpmbuild/BUILD/amarok-2.2.2/x86_64-redhat-linux/src/ScriptManager.moc:116
#34 0x00007f781311e853 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#35 0x00007f7813a2c9a2 in ScriptUpdater::finished (this=<value optimized out>, _t1=<value optimized out>) at /home/eqisow/rpmbuild/BUILD/amarok-2.2.2/x86_64-redhat-linux/src/moc_ScriptUpdater.cpp:96
#36 0x00007f7813e8dbd4 in ScriptUpdater::phase2 (this=0x37f7438, job=<value optimized out>) at /home/eqisow/rpmbuild/BUILD/amarok-2.2.2/src/dialogs/ScriptUpdater.cpp:104
#37 0x00007f7813a2fea7 in ScriptUpdater::qt_metacall (this=0x37f7438, _c=InvokeMetaMethod, _id=2, _a=0x7fff3930b6f0)
    at /home/eqisow/rpmbuild/BUILD/amarok-2.2.2/x86_64-redhat-linux/src/moc_ScriptUpdater.cpp:82
#38 0x00007f781311e853 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#39 0x00007f78135341a2 in KJob::result(KJob*) () from /usr/lib64/libkdecore.so.5
#40 0x00007f7813534476 in KJob::emitResult() () from /usr/lib64/libkdecore.so.5
#41 0x00007f780e298f6b in KIO::FileCopyJob::slotResult(KJob*) () from /usr/lib64/libkio.so.5
#42 0x00007f780e298050 in KIO::FileCopyJob::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkio.so.5
#43 0x00007f781311e853 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#44 0x00007f78135341a2 in KJob::result(KJob*) () from /usr/lib64/libkdecore.so.5
#45 0x00007f7813534476 in KJob::emitResult() () from /usr/lib64/libkdecore.so.5
#46 0x00007f780e2904d3 in KIO::SimpleJob::slotFinished() () from /usr/lib64/libkio.so.5
#47 0x00007f780e290993 in KIO::TransferJob::slotFinished() () from /usr/lib64/libkio.so.5
#48 0x00007f780e28e726 in KIO::SimpleJob::slotError(int, QString const&) () from /usr/lib64/libkio.so.5
#49 0x00007f780e28e868 in KIO::SimpleJob::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkio.so.5
#50 0x00007f780e28e9f0 in KIO::TransferJob::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkio.so.5
#51 0x00007f781311e853 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#52 0x00007f780e34c1a6 in KIO::SlaveInterface::error(int, QString const&) () from /usr/lib64/libkio.so.5
#53 0x00007f780e34f1cd in KIO::SlaveInterface::dispatch(int, QByteArray const&) () from /usr/lib64/libkio.so.5
#54 0x00007f780e34c4a3 in KIO::SlaveInterface::dispatch() () from /usr/lib64/libkio.so.5
#55 0x00007f780e34081d in KIO::Slave::gotInput() () from /usr/lib64/libkio.so.5
#56 0x00007f780e340a1c in KIO::Slave::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkio.so.5
#57 0x00007f781311e853 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#58 0x00007f780e25fd57 in ?? () from /usr/lib64/libkio.so.5
#59 0x00007f780e25fe6d in KIO::Connection::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkio.so.5
#60 0x00007f781311b7b1 in QObject::event(QEvent*) () from /usr/lib64/libQtCore.so.4
#61 0x00007f78124af9cc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#62 0x00007f78124b5f65 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#63 0x00007f7814531186 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#64 0x00007f781310ba2c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#65 0x00007f781310c8a7 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQtCore.so.4
#66 0x00007f78131352a3 in ?? () from /usr/lib64/libQtCore.so.4
#67 0x000000371da3922e in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#68 0x000000371da3cc18 in ?? () from /lib64/libglib-2.0.so.0
#69 0x000000371da3cd3a in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#70 0x00007f7813134de3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#71 0x00007f781255bece in ?? () from /usr/lib64/libQtGui.so.4
#72 0x00007f781310a362 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#73 0x00007f781310a73c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#74 0x00007f781310cb59 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#75 0x0000000000408412 in main ()

This bug may be a duplicate of or related to bug 216144.

Possible duplicates by query: bug 218534, bug 217641, bug 216769, bug 210980, bug 207223.

Reported using DrKonqi
Comment 1 Justin Newman 2009-12-18 18:55:30 UTC
It also crashes plasma. Amarok is compiled from today's GIT.
Comment 2 Justin Newman 2009-12-18 18:59:28 UTC
Removing Ultimate Lyrics (as per the  other bug report) does not correct it, however it does work with a clean config directory.
Comment 3 Justin Newman 2009-12-18 19:06:10 UTC
Scratch that, it is Ultimate Lyrics... which is a shame, because the normal lyrics script still isn't working for me.

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