Bug 227273

Summary: amarok crashes on startup
Product: [Applications] amarok Reporter: panDS <dietmar>
Component: Tools/Script ManagerAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED INTENTIONAL    
Severity: crash    
Priority: NOR    
Version: 2.2.90   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description panDS 2010-02-16 21:43:46 UTC
Application: amarok (2.2.2.90)
KDE Platform Version: 4.4.00 (KDE 4.4.0) "release 223"
Qt Version: 4.6.1
Operating System: Linux 2.6.31.12-0.1-desktop x86_64
Distribution: "openSUSE 11.2 (x86_64)"

-- Information about the crash:
the binaries have the same behavoir - though compiled the source code.

Amarok starts - the main window opens and after a few seconds it crashes.

The crash can be reproduced every time.

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

Thread 15 (Thread 0x7ff2c8343910 (LWP 17996)):
#0  0x00007ff2dd8662cd in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ff2ce3d7621 in metronom_sync_loop () from /usr/lib64/libxine.so.1
#2  0x00007ff2dd86165d in start_thread () from /lib64/libpthread.so.0
#3  0x00007ff2df1e5e1d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 14 (Thread 0x7ff2c6809910 (LWP 17997)):
#0  0x00007ff2df1dcd03 in poll () from /lib64/libc.so.6
#1  0x00007ff2d7da159c in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007ff2d7da18e0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007ff2e07bd376 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#4  0x00007ff2e0792712 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007ff2e0792aec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007ff2e069dd29 in QThread::exec() () from /usr/lib64/libQtCore.so.4
#7  0x00007ff2ce6333b6 in Phonon::MediaSource::type() const () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#8  0x00007ff2e06a0745 in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007ff2dd86165d in start_thread () from /lib64/libpthread.so.0
#10 0x00007ff2df1e5e1d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 13 (Thread 0x7ff2c5dfe910 (LWP 17999)):
#0  0x00007ff2dd866049 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ff2ce3e8673 in ao_loop () from /usr/lib64/libxine.so.1
#2  0x00007ff2dd86165d in start_thread () from /lib64/libpthread.so.0
#3  0x00007ff2df1e5e1d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7ff2c4fe6910 (LWP 18000)):
#0  0x00007ff2dd866049 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ff2ce3e8673 in ao_loop () from /usr/lib64/libxine.so.1
#2  0x00007ff2dd86165d in start_thread () from /lib64/libpthread.so.0
#3  0x00007ff2df1e5e1d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7ff2bffff910 (LWP 18001)):
#0  0x00007ff2dd866049 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ff2ce3e8673 in ao_loop () from /usr/lib64/libxine.so.1
#2  0x00007ff2dd86165d in start_thread () from /lib64/libpthread.so.0
#3  0x00007ff2df1e5e1d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7ff2bf7fe910 (LWP 18002)):
#0  0x00007ff2dd866049 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ff2ce3e8673 in ao_loop () from /usr/lib64/libxine.so.1
#2  0x00007ff2dd86165d in start_thread () from /lib64/libpthread.so.0
#3  0x00007ff2df1e5e1d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7ff2b5d4d910 (LWP 18005)):
#0  0x00007ff2dd866049 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ff2da6fc826 in WTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib64/libQtWebKit.so.4
#2  0x00007ff2da6fc869 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/libQtWebKit.so.4
#3  0x00007ff2dd86165d in start_thread () from /lib64/libpthread.so.0
#4  0x00007ff2df1e5e1d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7ff2b38db910 (LWP 18006)):
#0  0x00007ff2dd8662cd in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ff2ce3e2e19 in interruptable_sleep () from /usr/lib64/libxine.so.1
#2  0x00007ff2ce3e5581 in video_out_loop () from /usr/lib64/libxine.so.1
#3  0x00007ff2dd86165d in start_thread () from /lib64/libpthread.so.0
#4  0x00007ff2df1e5e1d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7ff2b2ab0910 (LWP 18007)):
#0  0x00007ff2dd866049 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ff2e06a16fb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007ff2dc2e0786 in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x00007ff2dc2e1b6b in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x00007ff2dc2e1b84 in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x00007ff2dc2e1b84 in ?? () from /usr/lib64/libthreadweaver.so.4
#6  0x00007ff2dc2e1b84 in ?? () from /usr/lib64/libthreadweaver.so.4
#7  0x00007ff2dc2dcedf in ?? () from /usr/lib64/libthreadweaver.so.4
#8  0x00007ff2dc2de748 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#9  0x00007ff2e06a0745 in ?? () from /usr/lib64/libQtCore.so.4
#10 0x00007ff2dd86165d in start_thread () from /lib64/libpthread.so.0
#11 0x00007ff2df1e5e1d in clone () from /lib64/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7ff2b22af910 (LWP 18008)):
#0  0x00007ff2dd866049 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ff2e06a16fb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007ff2dc2e0786 in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x00007ff2dc2e1b6b in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x00007ff2dc2e1b84 in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x00007ff2dc2dcedf in ?? () from /usr/lib64/libthreadweaver.so.4
#6  0x00007ff2dc2de748 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#7  0x00007ff2e06a0745 in ?? () from /usr/lib64/libQtCore.so.4
#8  0x00007ff2dd86165d in start_thread () from /lib64/libpthread.so.0
#9  0x00007ff2df1e5e1d in clone () from /lib64/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7ff2ada97910 (LWP 18076)):
#0  0x00007ff2dd866049 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ff2e06a16fb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007ff2dc2e0786 in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x00007ff2dc2e1b6b in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x00007ff2dc2dcedf in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x00007ff2dc2de748 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#6  0x00007ff2e06a0745 in ?? () from /usr/lib64/libQtCore.so.4
#7  0x00007ff2dd86165d in start_thread () from /lib64/libpthread.so.0
#8  0x00007ff2df1e5e1d in clone () from /lib64/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7ff2acea6910 (LWP 18077)):
#0  0x00007ff2dd866049 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ff2e06a16fb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007ff2dc2e0786 in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x00007ff2dc2e1b6b in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x00007ff2dc2e1b84 in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x00007ff2dc2dcedf in ?? () from /usr/lib64/libthreadweaver.so.4
#6  0x00007ff2dc2de748 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#7  0x00007ff2e06a0745 in ?? () from /usr/lib64/libQtCore.so.4
#8  0x00007ff2dd86165d in start_thread () from /lib64/libpthread.so.0
#9  0x00007ff2df1e5e1d in clone () from /lib64/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7ff29df68910 (LWP 18095)):
#0  0x00007ff2dd8662cd in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ff2e06a1662 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007ff2e0696ac9 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007ff2e06a0745 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007ff2dd86165d in start_thread () from /lib64/libpthread.so.0
#5  0x00007ff2df1e5e1d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7ff29d3d3910 (LWP 18123)):
#0  0x00007ff2dd866049 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ff2dbb396a6 in ?? () from /usr/lib64/libQtScript.so.4
#2  0x00007ff2dbb396e9 in ?? () from /usr/lib64/libQtScript.so.4
#3  0x00007ff2dd86165d in start_thread () from /lib64/libpthread.so.0
#4  0x00007ff2df1e5e1d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ff2e212e820 (LWP 17995)):
[KCrash Handler]
#5  0x00007ff2dbae19a4 in QDateTime::QDateTime(QDate const&) () from /usr/lib64/libQtScript.so.4
#6  0x00007ff2dbb7b7f5 in ?? () from /usr/lib64/libQtScript.so.4
#7  0x00007ff2dbab0a94 in QDateTime::QDateTime(QDate const&) () from /usr/lib64/libQtScript.so.4
#8  0x00007ff2dbab0e56 in QDateTime::QDateTime(QDate const&) () from /usr/lib64/libQtScript.so.4
#9  0x00007ff2dbab0eb8 in QDateTime::QDateTime(QDate const&) () from /usr/lib64/libQtScript.so.4
#10 0x00007ff2dbab0f26 in QDateTime::QDateTime(QDate const&) () from /usr/lib64/libQtScript.so.4
#11 0x00007ff2dbab18bc in QDateTime::QDateTime(QDate const&) () from /usr/lib64/libQtScript.so.4
#12 0x00007ff2dbb5aa95 in QScriptEngine::newVariant(QVariant const&) () from /usr/lib64/libQtScript.so.4
#13 0x00007ff2ac3dc14e in qtscript_create_Qt_class(QScriptEngine*) () from /usr/lib64/qt4/plugins/script/libqtscript_core.so.1.0.0
#14 0x00007ff2ac303708 in com_trolltech_qt_core_ScriptPlugin::initialize(QString const&, QScriptEngine*) () from /usr/lib64/qt4/plugins/script/libqtscript_core.so.1.0.0
#15 0x00007ff2dbb641b1 in QScriptEngine::importExtension(QString const&) () from /usr/lib64/libQtScript.so.4
#16 0x00007ff2e143670e in AmarokScript::ScriptImporter::loadQtBinding (this=<value optimized out>, binding=<value optimized out>)
    at /usr/src/packages/SOURCES/amarok-2.2.2.90/src/scriptengine/ScriptImporter.cpp:63
#17 0x00007ff2e1436f0c in AmarokScript::ScriptImporter::qt_metacall (this=0x2e89ef0, _c=InvokeMetaMethod, _id=-1819665216, _a=0x7ffff6648a60)
    at /usr/src/packages/SOURCES/amarok-2.2.2.90/amarok-2.2.2-build/src/ScriptImporter.moc:78
#18 0x00007ff2dbb89175 in ?? () from /usr/lib64/libQtScript.so.4
#19 0x00007ff2dbb8a822 in ?? () from /usr/lib64/libQtScript.so.4
#20 0x00007ff2dbb8a9b2 in ?? () from /usr/lib64/libQtScript.so.4
#21 0x00007ff2dbaaf2b0 in QDateTime::QDateTime(QDate const&) () from /usr/lib64/libQtScript.so.4
#22 0x00007ff2dba9be32 in QDateTime::QDateTime(QDate const&) () from /usr/lib64/libQtScript.so.4
#23 0x00007ff2dba9e444 in QDateTime::QDateTime(QDate const&) () from /usr/lib64/libQtScript.so.4
#24 0x00007ff2dba9e7ab in QDateTime::QDateTime(QDate const&) () from /usr/lib64/libQtScript.so.4
#25 0x00007ff2dbb629f1 in ?? () from /usr/lib64/libQtScript.so.4
#26 0x00007ff2dbb634a5 in QScriptEngine::evaluate(QString const&, QString const&, int) () from /usr/lib64/libQtScript.so.4
#27 0x00007ff2e157158b in ScriptManager::slotRunScript (this=0x253b230, name=) at /usr/src/packages/SOURCES/amarok-2.2.2.90/src/dialogs/ScriptManager.cpp:459
#28 0x00007ff2e1572896 in ScriptManager::slotConfigChanged (this=0x253b230, changed=<value optimized out>) at /usr/src/packages/SOURCES/amarok-2.2.2.90/src/dialogs/ScriptManager.cpp:537
#29 0x00007ff2e1572eef in ScriptManager::findScripts (this=<value optimized out>) at /usr/src/packages/SOURCES/amarok-2.2.2.90/src/dialogs/ScriptManager.cpp:674
#30 0x00007ff2e1573383 in ScriptManager::updaterFinished (this=0x253b230, scriptPath=) at /usr/src/packages/SOURCES/amarok-2.2.2.90/src/dialogs/ScriptManager.cpp:276
#31 0x00007ff2e1574b84 in ScriptManager::qt_metacall (this=0x253b230, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffff664a8c0)
    at /usr/src/packages/SOURCES/amarok-2.2.2.90/amarok-2.2.2-build/src/ScriptManager.moc:118
#32 0x00007ff2e07a6bff in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#33 0x00007ff2e10950c2 in ScriptUpdater::finished (this=0xfef4, _t1=<value optimized out>) at /usr/src/packages/SOURCES/amarok-2.2.2.90/amarok-2.2.2-build/src/moc_ScriptUpdater.cpp:96
#34 0x00007ff2e1578004 in ScriptUpdater::phase2 (this=0x14650e8, job=<value optimized out>) at /usr/src/packages/SOURCES/amarok-2.2.2.90/src/dialogs/ScriptUpdater.cpp:104
#35 0x00007ff2e1096b67 in ScriptUpdater::qt_metacall (this=0x14650e8, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffff664ab90)
    at /usr/src/packages/SOURCES/amarok-2.2.2.90/amarok-2.2.2-build/src/moc_ScriptUpdater.cpp:82
#36 0x00007ff2e07a6bff in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#37 0x00007ff2e0b4e0b2 in KJob::result(KJob*) () from /usr/lib64/libkdecore.so.5
#38 0x00007ff2e0b55750 in KJob::emitResult() () from /usr/lib64/libkdecore.so.5
#39 0x00007ff2d936f2cb in KIO::FileCopyJob::slotResult(KJob*) () from /usr/lib64/libkio.so.5
#40 0x00007ff2d93876a0 in KIO::FileCopyJob::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkio.so.5
#41 0x00007ff2e07a6bff in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#42 0x00007ff2e0b4e0b2 in KJob::result(KJob*) () from /usr/lib64/libkdecore.so.5
#43 0x00007ff2e0b55750 in KJob::emitResult() () from /usr/lib64/libkdecore.so.5
#44 0x00007ff2d92d8793 in KIO::SimpleJob::slotFinished() () from /usr/lib64/libkio.so.5
#45 0x00007ff2d9371ce7 in KIO::TransferJob::slotFinished() () from /usr/lib64/libkio.so.5
#46 0x00007ff2d92c9416 in KIO::SimpleJob::slotError(int, QString const&) () from /usr/lib64/libkio.so.5
#47 0x00007ff2d92c9558 in KIO::SimpleJob::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkio.so.5
#48 0x00007ff2d935ad40 in KIO::TransferJob::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkio.so.5
#49 0x00007ff2e07a6bff in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#50 0x00007ff2d927cc66 in KIO::SlaveInterface::error(int, QString const&) () from /usr/lib64/libkio.so.5
#51 0x00007ff2d93b3494 in KIO::SlaveInterface::dispatch(int, QByteArray const&) () from /usr/lib64/libkio.so.5
#52 0x00007ff2d929a113 in KIO::SlaveInterface::dispatch() () from /usr/lib64/libkio.so.5
#53 0x00007ff2d92dba86 in KIO::Slave::gotInput() () from /usr/lib64/libkio.so.5
#54 0x00007ff2d92dbc5c in KIO::Slave::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkio.so.5
#55 0x00007ff2e07a6bff in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#56 0x00007ff2d929c667 in ?? () from /usr/lib64/libkio.so.5
#57 0x00007ff2d929c72d in KIO::Connection::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkio.so.5
#58 0x00007ff2e07a3b39 in QObject::event(QEvent*) () from /usr/lib64/libQtCore.so.4
#59 0x00007ff2dfb52c9c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#60 0x00007ff2dfb5927b in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#61 0x00007ff2e14b289a in App::notify (this=0xfef4, receiver=0x0, event=0x1) at /usr/src/packages/SOURCES/amarok-2.2.2.90/src/App.cpp:952
#62 0x00007ff2e0793dfc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#63 0x00007ff2e0796577 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQtCore.so.4
#64 0x00007ff2e07bd7e3 in ?? () from /usr/lib64/libQtCore.so.4
#65 0x00007ff2d7d9ddee in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#66 0x00007ff2d7da17b8 in ?? () from /usr/lib64/libglib-2.0.so.0
#67 0x00007ff2d7da18e0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#68 0x00007ff2e07bd323 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#69 0x00007ff2dfc00dce in ?? () from /usr/lib64/libQtGui.so.4
#70 0x00007ff2e0792712 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#71 0x00007ff2e0792aec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#72 0x00007ff2e079683b in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#73 0x0000000000408752 in main (argc=2, argv=0x7ffff664e118) at /usr/src/packages/SOURCES/amarok-2.2.2.90/src/main.cpp:237

Possible duplicates by query: bug 225749, bug 219217, bug 218534, bug 217641, bug 216769.

Reported using DrKonqi
Comment 1 panDS 2010-02-16 22:55:51 UTC
renamed in .kde/share/apps the amarok folder to amarok.bak and the app does *not* crash
Comment 2 Myriam Schweingruber 2010-02-16 23:40:43 UTC
Are you running a 3rd-party script? This very much looks like a problem with your Qtscriptbindings. Please try disabling any 3rd-party scripts in amarokrc and try again.
Comment 3 panDS 2010-02-17 00:33:41 UTC
The cause of the crash was the musicexplorer script and some older scripts which remained from the update from amarok 1.4.x - this bug may be closed

I've removed all scripts and amarok starts normally.