Bug 214984 - Crash (SIGSEGV) at Amarok startup
Summary: Crash (SIGSEGV) at Amarok startup
Status: CLOSED INTENTIONAL
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 2.2.1
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
: 219217 223318 225749 235915 235919 235931 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-11-17 16:22 UTC by Emmanuel Benoit
Modified: 2010-05-16 11:08 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (20.24 KB, text/plain)
2010-05-02 09:40 UTC, Augusto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Emmanuel Benoit 2009-11-17 16:22:50 UTC
Application that crashed: amarok
Version of the application: 2.2.1
KDE Version: 4.3.3 (KDE 4.3.3)
Qt Version: 4.6.0
Operating System: Linux 2.6.32-4-generic x86_64
Distribution: Ubuntu lucid (development branch)

What I was doing when the application crashed:
When I launch Amarok, I see the window appear for a very short while, after which it disappears and a SIGSEV follows. When launching it with --debug, the last few lines I see are:

amarok: BEGIN: void ScriptUpdater::phase2(KJob*)
amarok:   BEGIN: void ScriptManager::updaterFinished(QString)
amarok:     BEGIN: bool ScriptManager::loadScript(const QString&)
amarok:       [ScriptManager] script info: "Amarok Script Console"   "1.0"   "Generic"   "Amarok2.0"
amarok:     END__: bool ScriptManager::loadScript(const QString&) - Took 0.00024s
amarok:     BEGIN: void ScriptManager::findScripts()
amarok:       BEGIN: void ScriptSelector::addScripts(const QList<KPluginInfo>&, KPluginSelector::PluginLoadMethod, const QString&, const QString&, const KSharedPtr<KSharedConfig>&)
amarok:       END__: void ScriptSelector::addScripts(const QList<KPluginInfo>&, KPluginSelector::PluginLoadMethod, const QString&, const QString&, const KSharedPtr<KSharedConfig>&) - Took 0.0037s
amarok:       BEGIN: void ScriptSelector::addScripts(const QList<KPluginInfo>&, KPluginSelector::PluginLoadMethod, const QString&, const QString&, const KSharedPtr<KSharedConfig>&)
amarok:       END__: void ScriptSelector::addScripts(const QList<KPluginInfo>&, KPluginSelector::PluginLoadMethod, const QString&, const QString&, const KSharedPtr<KSharedConfig>&) - Took 0.0064s
amarok:       BEGIN: void ScriptSelector::addScripts(const QList<KPluginInfo>&, KPluginSelector::PluginLoadMethod, const QString&, const QString&, const KSharedPtr<KSharedConfig>&)
amarok:       END__: void ScriptSelector::addScripts(const QList<KPluginInfo>&, KPluginSelector::PluginLoadMethod, const QString&, const QString&, const KSharedPtr<KSharedConfig>&) - Took 0.0068s
amarok:       BEGIN: void ScriptManager::slotConfigChanged(bool)
amarok:         BEGIN: void ScriptManager::slotConfigChanged(bool)
amarok:         END__: void ScriptManager::slotConfigChanged(bool) - Took 2.7e-05s
amarok:         BEGIN: bool ScriptManager::slotRunScript(QString, bool)
amarok:           BEGIN: void ScriptManager::startScriptEngine(QString)
amarok:             BEGIN: ScriptableServiceScript::ScriptableServiceScript(QScriptEngine*)
amarok:             END__: ScriptableServiceScript::ScriptableServiceScript(QScriptEngine*) - Took 5.5e-05s
amarok:             BEGIN: Downloader::Downloader(QScriptEngine*)
amarok:             END__: Downloader::Downloader(QScriptEngine*) - Took 3.5e-05s
amarok:           END__: void ScriptManager::startScriptEngine(QString) - Took 0.00045s
amarok:           BEGIN: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&)
amarok:              importing qt bindings  "qt.network"
amarok:           END__: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) - Took 0.056s
amarok:           BEGIN: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&)
amarok:              importing qt bindings  "qt.core"
KCrash: Application 'amarok' crashing...
sock_file=/home/tseeker/.kde/socket-cthugha/kdeinit4__0



 -- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
The current source language is "auto; currently c".
[Current thread is 1 (Thread 0x7f59cae207a0 (LWP 2756))]

Thread 13 (Thread 0x7f59b2cf9910 (LWP 2757)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007f59b89aec91 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f59c239ba04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f59c7f7174d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7f59b17af910 (LWP 2758)):
#0  0x00007f59c239f6dd in __pthread_mutex_unlock_usercnt (mutex=0xc78b58) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0xc78b58) at pthread_mutex_unlock.c:289
#2  0x00007f59c13adf15 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#3  0x00007f59c13ae181 in ?? () from /lib/libglib-2.0.so.0
#4  0x00007f59c13ae6b0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x00007f59c88bbe96 in QEventDispatcherGlib::processEvents (this=0xb8fd20, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:409
#6  0x00007f59c88913e2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#7  0x00007f59c88917bc in QEventLoop::exec (this=0x7f59b17aef90, flags=) at kernel/qeventloop.cpp:201
#8  0x00007f59c879ced9 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#9  0x00007f59b8c09970 in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#10 0x00007f59c879f8f5 in QThreadPrivate::start (arg=0xc78320) at thread/qthread_unix.cpp:244
#11 0x00007f59c239ba04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#12 0x00007f59c7f7174d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 11 (Thread 0x7f59b0da4910 (LWP 2761)):
#0  0x00007f59c7f65303 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=333) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f59b0daacbe in ?? () from /usr/lib/xine/plugins/1.26/xineplug_ao_out_alsa.so
#2  0x00007f59c239ba04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f59c7f7174d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 10 (Thread 0x7f59abfff910 (LWP 2762)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f59b89bf963 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f59c239ba04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f59c7f7174d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f59ab7fe910 (LWP 2763)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f59b89bf963 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f59c239ba04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f59c7f7174d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 8 (Thread 0x7f59aaffd910 (LWP 2764)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f59b89bf963 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f59c239ba04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f59c7f7174d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f59aa7fc910 (LWP 2765)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f59b89bf963 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f59c239ba04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f59c7f7174d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f59a9101910 (LWP 2767)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f59c87a08ab in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x17bf6e0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x17bf6e0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f59c5216096 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x17bef10, th=0x17bfb50) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f59c52186ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x17bf800, th=0x17bfb50) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f59c52186c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x17bf800, th=0x17bfb50) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f59c5216bff in ThreadWeaver::ThreadRunHelper::run (this=0x7f59a9101000, parent=0x17bef10, th=0x17bfb50) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f59c5217168 in ThreadWeaver::Thread::run (this=0x17bfb50) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f59c879f8f5 in QThreadPrivate::start (arg=0x17bfb50) at thread/qthread_unix.cpp:244
#9  0x00007f59c239ba04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f59c7f7174d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f599d73c910 (LWP 2768)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f59c87a08ab in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x17bf6e0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x17bf6e0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f59c5216096 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x17bef10, th=0x150c960) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f59c52186ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x17bf800, th=0x150c960) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f59c52186c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x17bf800, th=0x150c960) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f59c5216bff in ThreadWeaver::ThreadRunHelper::run (this=0x7f599d73c000, parent=0x17bef10, th=0x150c960) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f59c5217168 in ThreadWeaver::Thread::run (this=0x150c960) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f59c879f8f5 in QThreadPrivate::start (arg=0x150c960) at thread/qthread_unix.cpp:244
#9  0x00007f59c239ba04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f59c7f7174d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f5997fff910 (LWP 2771)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f59c87a08ab in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x17bf6e0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x17bf6e0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f59c5216096 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x17bef10, th=0x1558ec0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f59c52186ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x17bf800, th=0x1558ec0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f59c5216bff in ThreadWeaver::ThreadRunHelper::run (this=0x7f5997fff000, parent=0x17bef10, th=0x1558ec0) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f59c5217168 in ThreadWeaver::Thread::run (this=0x1558ec0) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f59c879f8f5 in QThreadPrivate::start (arg=0x1558ec0) at thread/qthread_unix.cpp:244
#8  0x00007f59c239ba04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f59c7f7174d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f59977fe910 (LWP 2772)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f59c87a08ab in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x17bf6e0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x17bf6e0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f59c5216096 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x17bef10, th=0x7f59ac03dbd0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f59c52186ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x17bf800, th=0x7f59ac03dbd0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f59c52186c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x17bf800, th=0x7f59ac03dbd0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f59c5216bff in ThreadWeaver::ThreadRunHelper::run (this=0x7f59977fe000, parent=0x17bef10, th=0x7f59ac03dbd0) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f59c5217168 in ThreadWeaver::Thread::run (this=0x7f59ac03dbd0) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f59c879f8f5 in QThreadPrivate::start (arg=0x7f59ac03dbd0) at thread/qthread_unix.cpp:244
#9  0x00007f59c239ba04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f59c7f7174d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f598c24c910 (LWP 2779)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f59c3f108a6 in WTF::TCMalloc_PageHeap::scavengerThread (this=0x7f59c41ea1e0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2299
#2  0x00007f59c3f108e9 in WTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f59c41f82ac) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1433
#3  0x00007f59c239ba04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f59c7f7174d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f59cae207a0 (LWP 2756)):
[KCrash Handler]
#5  QTJSC::CollectorBitmap::get (this=0x7f5994c90800, markStack=...) at ../3rdparty/javascriptcore/JavaScriptCore/runtime/Collector.h:206
#6  QTJSC::Heap::isCellMarked (this=0x7f5994c90800, markStack=...) at ../3rdparty/javascriptcore/JavaScriptCore/runtime/Collector.h:287
#7  QTJSC::MarkStack::append (this=0x7f5994c90800, markStack=...) at ../3rdparty/javascriptcore/JavaScriptCore/runtime/JSCell.h:331
#8  QTJSC::MarkStack::append (this=0x7f5994c90800, markStack=...) at ../3rdparty/javascriptcore/JavaScriptCore/runtime/JSCell.h:342
#9  QTJSC::Structure::markAggregate (this=0x7f5994c90800, markStack=...) at ../3rdparty/javascriptcore/JavaScriptCore/runtime/JSCell.h:347
#10 QTJSC::JSObject::markChildrenDirect (this=0x7f5994c90800, markStack=...) at ../3rdparty/javascriptcore/JavaScriptCore/runtime/JSObject.h:692
#11 QTJSC::JSObject::markChildren (this=0x7f5994c90800, markStack=...) at ../3rdparty/javascriptcore/JavaScriptCore/runtime/JSObject.cpp:52
#12 0x00007f59c3f50395 in QScriptObject::markChildren (this=0x7f5994c90800, markStack=...) at bridge/qscriptobject.cpp:170
#13 0x00007f59c3e87ff4 in QTJSC::MarkStack::markChildren (this=<value optimized out>, markStack=..., start=<value optimized out>, end=<value optimized out>)
    at ../3rdparty/javascriptcore/JavaScriptCore/runtime/JSArray.h:181
#14 QTJSC::MarkStack::drain (this=<value optimized out>, markStack=..., start=<value optimized out>, end=<value optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/runtime/JSArray.h:220
#15 QTJSC::Heap::markConservatively (this=<value optimized out>, markStack=..., start=<value optimized out>, end=<value optimized out>)
    at ../3rdparty/javascriptcore/JavaScriptCore/runtime/Collector.cpp:827
#16 0x00007f59c3e883a1 in QTJSC::Heap::markCurrentThreadConservativelyInternal (this=0x7f5994ce5900, markStack=...) at ../3rdparty/javascriptcore/JavaScriptCore/runtime/Collector.cpp:843
#17 0x00007f59c3e883e8 in QTJSC::Heap::markCurrentThreadConservatively (this=<value optimized out>, markStack=<value optimized out>)
    at ../3rdparty/javascriptcore/JavaScriptCore/runtime/Collector.cpp:865
#18 0x00007f59c3e88456 in QTJSC::Heap::markStackObjectsConservatively (this=0x7f5994ce5900) at ../3rdparty/javascriptcore/JavaScriptCore/runtime/Collector.cpp:1017
#19 QTJSC::Heap::collect (this=0x7f5994ce5900) at ../3rdparty/javascriptcore/JavaScriptCore/runtime/Collector.cpp:1224
#20 0x00007f59c3e88dec in heapAllocate<(QTJSC::HeapType)0> (this=0x7f5994ce5900, s=0) at ../3rdparty/javascriptcore/JavaScriptCore/runtime/Collector.cpp:435
#21 QTJSC::Heap::allocate (this=0x7f5994ce5900, s=0) at ../3rdparty/javascriptcore/JavaScriptCore/runtime/Collector.cpp:471
#22 0x00007f59c3f2e1a4 in QScriptEngine::newObject (this=<value optimized out>) at api/qscriptengine.cpp:1773
#23 0x00007f59c3f303c3 in QScriptEngine::newFunction (this=0x17a3730, fun=0x7f598b346650, length=<value optimized out>) at api/qscriptengine.cpp:1865
#24 0x00007f598b345ea6 in qtscript_create_QXmlStreamAttributes_class(QScriptEngine*) () from /usr/lib/qt4/plugins/script/libqtscript_core.so.1.0.0
#25 0x00007f598b299908 in com_trolltech_qt_core_ScriptPlugin::initialize(QString const&, QScriptEngine*) () from /usr/lib/qt4/plugins/script/libqtscript_core.so.1.0.0
#26 0x00007f59c3f34c9b in QScriptEngine::importExtension (this=<value optimized out>, extension=<value optimized out>) at api/qscriptengine.cpp:3075
#27 0x00007f59ca15865e in AmarokScript::ScriptImporter::loadQtBinding (this=<value optimized out>, binding=<value optimized out>) at /build/buildd/amarok-2.2.1/src/scriptengine/ScriptImporter.cpp:63
#28 0x00007f59ca158a1c in AmarokScript::ScriptImporter::qt_metacall (this=0x1ab3330, _c=QMetaObject::InvokeMetaMethod, _id=-1797825728, _a=0x7fffcd7ca350)
    at /build/buildd/amarok-2.2.1/obj-x86_64-linux-gnu/src/ScriptImporter.moc:78
#29 0x00007f59c3f5d0a2 in callQtMethod (exec=<value optimized out>, callType=<value optimized out>, thisQObject=<value optimized out>, scriptArgs=<value optimized out>, meta=<value optimized out>, 
    initialIndex=<value optimized out>, maybeOverloaded=true) at bridge/qscriptqobject.cpp:962
#30 0x00007f59c3f5ef93 in QScript::QtFunction::execute (this=0x7f5994c83b40, exec=0x7f598b64c0a0, thisValue=<value optimized out>, scriptArgs=...) at bridge/qscriptqobject.cpp:1018
#31 0x00007f59c3f5f115 in QScript::QtFunction::call (exec=0x7f598b64c0a0, callee=0x7f5994c83b40, thisValue=..., args=...) at bridge/qscriptqobject.cpp:1033
#32 0x00007f59c3e868b0 in QTJSC::NativeFuncWrapper::operator() (this=0x7fffcd7cadf0, exec=0x7f598b64c0a0, jsobj=0x7f5994c83b40, thisValue=..., argList=...)
    at ../3rdparty/javascriptcore/JavaScriptCore/runtime/CallData.cpp:46
#33 0x00007f59c3e73432 in QTJSC::Interpreter::privateExecute (this=<value optimized out>, flag=<value optimized out>, registerFile=<value optimized out>, callFrame=0x7f598b64c048, 
    exception=<value optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:3103
#34 0x00007f59c3e75a44 in QTJSC::Interpreter::execute (this=<value optimized out>, eval=<value optimized out>, callFrame=0x18c2a18, thisObj=<value optimized out>, 
    globalRegisterOffset=<value optimized out>, scopeChain=<value optimized out>, exception=0x7fffcd7cbdd0) at ../3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:923
#35 0x00007f59c3e75dab in QTJSC::Interpreter::execute (this=0x7f5994cf0b00, eval=0x7fffcd7cbd40, callFrame=0x18c2a18, thisObj=0x0, scopeChain=<value optimized out>, exception=<value optimized out>)
    at ../3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:838
#36 0x00007f59c3f33f86 in QScriptEngine::evaluate (this=<value optimized out>, program=<value optimized out>, fileName=<value optimized out>, lineNumber=<value optimized out>)
    at api/qscriptengine.cpp:2189
#37 0x00007f59ca26f7cb in ScriptManager::slotRunScript (this=0x17c3800, name=) at /build/buildd/amarok-2.2.1/src/dialogs/ScriptManager.cpp:434
#38 0x00007f59ca270c36 in ScriptManager::slotConfigChanged (this=0x17c3800, changed=<value optimized out>) at /build/buildd/amarok-2.2.1/src/dialogs/ScriptManager.cpp:512
#39 0x00007f59ca27128f in ScriptManager::findScripts (this=<value optimized out>) at /build/buildd/amarok-2.2.1/src/dialogs/ScriptManager.cpp:632
#40 0x00007f59ca271723 in ScriptManager::updaterFinished (this=0x17c3800, scriptPath=) at /build/buildd/amarok-2.2.1/src/dialogs/ScriptManager.cpp:265
#41 0x00007f59ca272dc4 in ScriptManager::qt_metacall (this=0x17c3800, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffcd7cc750)
    at /build/buildd/amarok-2.2.1/obj-x86_64-linux-gnu/src/ScriptManager.moc:116
#42 0x00007f59c88a5aba in QMetaObject::activate (sender=0x183af88, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3398
#43 0x00007f59c9de2dc2 in ScriptUpdater::finished (this=0xfef4, _t1=<value optimized out>) at /build/buildd/amarok-2.2.1/obj-x86_64-linux-gnu/src/moc_ScriptUpdater.cpp:96
#44 0x00007f59ca276594 in ScriptUpdater::phase2 (this=0x183af88, job=<value optimized out>) at /build/buildd/amarok-2.2.1/src/dialogs/ScriptUpdater.cpp:104
#45 0x00007f59c9de41a7 in ScriptUpdater::qt_metacall (this=0x183af88, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffcd7cca10)
    at /build/buildd/amarok-2.2.1/obj-x86_64-linux-gnu/src/moc_ScriptUpdater.cpp:82
#46 0x00007f59c88a5aba in QMetaObject::activate (sender=0x7f59ac16fd30, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3398
#47 0x00007f59c8c9e632 in KJob::result (this=0xfef4, _t1=0x7f59ac16fd30) at ./kjob.moc:194
#48 0x00007f59c8c9e8bf in KJob::emitResult (this=0x7f59ac16fd30) at ../../kdecore/jobs/kjob.cpp:304
#49 0x00007f59c1b8107b in KIO::FileCopyJob::slotResult (this=0x7f59ac16fd30, job=0x7f5998001760) at ../../kio/kio/job.cpp:2202
#50 0x00007f59c1b817b0 in KIO::FileCopyJob::qt_metacall (this=0x7f59ac16fd30, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffcd7ccba0) at ./jobclasses.moc:721
#51 0x00007f59c88a5aba in QMetaObject::activate (sender=0x7f5998001760, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3398
#52 0x00007f59c8c9e632 in KJob::result (this=0xfef4, _t1=0x7f5998001760) at ./kjob.moc:194
#53 0x00007f59c8c9e8bf in KJob::emitResult (this=0x7f5998001760) at ../../kdecore/jobs/kjob.cpp:304
#54 0x00007f59c1b78c13 in KIO::SimpleJob::slotFinished (this=0x7f5998001760) at ../../kio/kio/job.cpp:477
#55 0x00007f59c1b790d3 in KIO::TransferJob::slotFinished (this=0x7f5998001760) at ../../kio/kio/job.cpp:948
#56 0x00007f59c1b77576 in KIO::SimpleJob::slotError (this=0x7f5998001760, err=<value optimized out>, errorText=...) at ../../kio/kio/job.cpp:489
#57 0x00007f59c1b776b8 in KIO::SimpleJob::qt_metacall (this=0x7f5998001760, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffcd7cd080) at ./jobclasses.moc:170
#58 0x00007f59c1b77840 in KIO::TransferJob::qt_metacall (this=0xfef4, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x0) at ./jobclasses.moc:355
#59 0x00007f59c88a5aba in QMetaObject::activate (sender=0x7f5998001410, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3398
#60 0x00007f59c1c35176 in KIO::SlaveInterface::error (this=0xfef4, _t1=111, _t2=<value optimized out>) at ./slaveinterface.moc:159
#61 0x00007f59c1c38c71 in KIO::SlaveInterface::dispatch (this=0x7f5998001410, _cmd=<value optimized out>, rawdata=...) at ../../kio/kio/slaveinterface.cpp:208
#62 0x00007f59c1c35473 in KIO::SlaveInterface::dispatch (this=0x7f5998001410) at ../../kio/kio/slaveinterface.cpp:91
#63 0x00007f59c1c284ed in KIO::Slave::gotInput (this=0x7f5998001410) at ../../kio/kio/slave.cpp:322
#64 0x00007f59c1c2a5ec in KIO::Slave::qt_metacall (this=0x7f5998001410, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffcd7cd410) at ./slave.moc:82
#65 0x00007f59c88a5aba in QMetaObject::activate (sender=0x7f59980027a0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3398
#66 0x00007f59c1b45f27 in KIO::ConnectionPrivate::dequeue (this=0x7f5998003560) at ../../kio/kio/connection.cpp:82
#67 0x00007f59c1b4604d in KIO::Connection::qt_metacall (this=0x7f59980027a0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x1158d40) at ./connection.moc:79
#68 0x00007f59c88a26b9 in QObject::event (this=0x7f59980027a0, e=0x18d01a0) at kernel/qobject.cpp:1246
#69 0x00007f59c91ec02c in QApplicationPrivate::notify_helper (this=0xae9980, receiver=0x7f59980027a0, e=0x18d01a0) at kernel/qapplication.cpp:4277
#70 0x00007f59c91f276d in QApplication::notify (this=0x7fffcd7cde00, receiver=0x7f59980027a0, e=0x18d01a0) at kernel/qapplication.cpp:4166
#71 0x00007f59ca94db26 in KApplication::notify (this=0x7fffcd7cde00, receiver=0x7f59980027a0, event=0x18d01a0) at ../../kdeui/kernel/kapplication.cpp:302
#72 0x00007f59c8892aac in QCoreApplication::notifyInternal (this=0x7fffcd7cde00, receiver=0x7f59980027a0, event=0x18d01a0) at kernel/qcoreapplication.cpp:704
#73 0x00007f59c8895227 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x9c47d0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#74 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x9c47d0) at kernel/qcoreapplication.cpp:1345
#75 0x00007f59c88bc303 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#76 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#77 0x00007f59c13aabbe in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#78 0x00007f59c13ae588 in ?? () from /lib/libglib-2.0.so.0
#79 0x00007f59c13ae6b0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#80 0x00007f59c88bbe43 in QEventDispatcherGlib::processEvents (this=0x9c4040, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#81 0x00007f59c929123e in QGuiEventDispatcherGlib::processEvents (this=0xfef4, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#82 0x00007f59c88913e2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#83 0x00007f59c88917bc in QEventLoop::exec (this=0x7fffcd7cdda0, flags=) at kernel/qeventloop.cpp:201
#84 0x00007f59c88954eb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#85 0x00000000004082d2 in main (argc=1, argv=0x7fffcd7cfc18) at /build/buildd/amarok-2.2.1/src/main.cpp:227
The current source language is "auto; currently c".

Reported using DrKonqi
Comment 1 Dario Andres 2009-11-17 16:29:28 UTC
It looks like a QtScript / Qt java|ecmascript implementation to me.
- Have you manually installed Qt4.6.0 ?
- Do you know if Amarok was compiled against Qt4.6.0 or Qt4.5.x ?
Thanks
Comment 2 Emmanuel Benoit 2009-11-17 16:36:55 UTC
No, I have not installed QT manually, I am using the version that comes along with (K)Ubuntu Lucid Lynx. According to qtconfig's "about" dialog box, it is version 4.6.0, however the package that contains the library is marked as "4.6.0 beta1".

I have no idea which version of QT Amarok was compiled against, but I could try getting the package's sources and rebuilding it, see if that helps.
Comment 3 Dario Andres 2009-11-17 16:38:44 UTC
If the amarok package came from the same repo as the Qt4.6.0 package, then it should be compiled using it.
In any case, today Qt4.6.0rc1 was release, may be it will appear soon in the repos and you can test it.
May be an Amarok developer has a better opinion on this. 
Regards
Comment 4 Emmanuel Benoit 2009-11-17 16:42:54 UTC
Yes, I just checked the Amarok package, it's been compiled with the correct version of the QT packages. My attempts at rebuilding it have failed so far, tho. I'll insist a little more.
Thanks for your time and effort.
Comment 5 Myriam Schweingruber 2009-11-17 19:04:46 UTC
Do you use any external scripts in Amarok?
Comment 6 Emmanuel Benoit 2009-11-17 19:08:49 UTC
I did, and rm -rf'ing them from ~/.kde/share/apps/amarok/scripts "solved" the problem, as Amarok now starts correctly.
Comment 7 Emmanuel Benoit 2009-11-17 19:15:39 UTC
Oh, forgot to mention that the script which caused the crash was UltimateLyrics.
Comment 8 Myriam Schweingruber 2009-11-17 19:21:10 UTC
Thank you for your fast answer. You should report this crash to the script author. Since this is a third-party application, there is not much we can do about that.
Comment 9 Emmanuel Benoit 2009-11-17 19:27:20 UTC
A *script* causing an application which interpretes it to crash may be buggy in itself, but the crash indicates a bug in the application. However, as Dario pointed out, it is likely not related to Amarok itself but to the {ECMA|Java}script implementation in QT 4.6.0 beta 1.
Comment 10 Myriam Schweingruber 2009-11-17 19:45:35 UTC
Emmanuel, there are several reasons this is not an Amarok problem:
a) the crash is in Qt,
b) Qt 4.6 has only just arrived in RC, I bet your version is the beta one and there are several known bugs in Qt 4.6,
c) Amarok depends on Qt. 4.4, not on 4.,6
d) You are apparently using Lucid, which is pre-alpha and potentially highly unstable and not for productive use.

Please report this bug to Qt or on Launchpad, but not here, there is noting we can do about this.
Comment 11 Emmanuel Benoit 2009-11-17 19:48:24 UTC
I know, that's why I didn't reopen the bug report.
Comment 12 Emmanuel Benoit 2009-11-17 19:49:01 UTC
Oh wait, I actually did. Sorry.
Comment 13 Justin Newman 2009-12-18 19:06:10 UTC
*** Bug 219217 has been marked as a duplicate of this bug. ***
Comment 14 Myriam Schweingruber 2010-01-18 20:34:24 UTC
*** Bug 223318 has been marked as a duplicate of this bug. ***
Comment 15 Myriam Schweingruber 2010-02-06 20:20:07 UTC
*** Bug 225749 has been marked as a duplicate of this bug. ***
Comment 16 Mikko C. 2010-05-02 09:25:55 UTC
*** Bug 235919 has been marked as a duplicate of this bug. ***
Comment 17 Mikko C. 2010-05-02 09:26:02 UTC
*** Bug 235931 has been marked as a duplicate of this bug. ***
Comment 18 Mikko C. 2010-05-02 09:26:33 UTC
*** Bug 235915 has been marked as a duplicate of this bug. ***
Comment 19 Augusto 2010-05-02 09:40:44 UTC
Created attachment 43158 [details]
New crash information added by DrKonqi

Amarok does not start at all after upgrading to 10.04. It crashes immediately without showing any window and this happens both when computer starts (after kdm log-in) or if I attempt to launch it manually.
No user activity was running
Comment 20 Mikko C. 2010-05-02 09:43:30 UTC
Augusto, please see: https://bugs.kde.org/show_bug.cgi?id=214984#c6 to work around this crash.
Comment 21 Augusto 2010-05-16 11:08:46 UTC
(In reply to comment #20)
> Augusto, please see: https://bugs.kde.org/show_bug.cgi?id=214984#c6 to work
> around this crash.

Problem solved!! (at least in my case)
I just deleted all rc files concerning amarok in .kde/share/config/ so that amarok recreated a new set. These files are: amarok-appletsrc amarok_homerc and amarokrc.
Thank you to everybody