Bug 211666

Summary: amarok crashes on startup
Product: [Applications] amarok Reporter: Laura Frasca <gvenour>
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Laura Frasca 2009-10-24 17:41:39 UTC
Application that crashed: amarok
Version of the application: 2.2.0
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.3
Operating System: Linux 2.6.30-2-amd64 x86_64
Distribution: Debian GNU/Linux unstable (sid)

What I was doing when the application crashed:
Every time I try to start amarok, it crashes immediately.
(Bug 210741 is mine, and the bug it was merged with is closed, but the problem is still happening for me.)

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

Thread 12 (Thread 0x7fad02048910 (LWP 3255)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007fad0744ec91 in ?? () from /usr/lib/libxine.so.1
#2  0x00007fad1311073a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007fad1868949d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7fad004f2910 (LWP 3256)):
#0  0xffffffffff600132 in ?? ()
#1  0x00007fff2b3a86fb in ?? ()
#2  0x00007fad11fc8e6f in *__GI_clock_gettime (clock_id=5184880, tp=0x7fad004f1d70) at ../sysdeps/unix/clock_gettime.c:100
#3  0x00007fad199aa0fd in QTimerInfoList::getTime (this=<value optimized out>, t=...) at kernel/qeventdispatcher_unix.cpp:339
#4  0x00007fad199aa2e1 in QTimerInfoList::updateCurrentTime (this=0x7fad004f1d70) at kernel/qeventdispatcher_unix.cpp:297
#5  0x00007fad199aa485 in QTimerInfoList::timerWait (this=0x7fad004f1d70, tm=...) at kernel/qeventdispatcher_unix.cpp:420
#6  0x00007fad199a856c in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x7fad004f1e54) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007fad11d3e2e9 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0x00007fad11d3e679 in ?? () from /lib/libglib-2.0.so.0
#9  0x00007fad11d3eb3c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0x00007fad199a83b6 in QEventDispatcherGlib::processEvents (this=0xe26ff0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:409
#11 0x00007fad1997e562 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#12 0x00007fad1997e934 in QEventLoop::exec (this=0x7fad004f1fe0, flags=...) at kernel/qeventloop.cpp:201
#13 0x00007fad198975a8 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#14 0x00007fad076a9aec in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#15 0x00007fad1989a4a5 in QThreadPrivate::start (arg=0xe268f0) at thread/qthread_unix.cpp:188
#16 0x00007fad1311073a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#17 0x00007fad1868949d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#18 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 10 (Thread 0x7facffae8910 (LWP 3259)):
#0  0x00007fad1867e543 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=333) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007facffaed899 in ?? () from /usr/lib/xine/plugins/1.26/xineplug_ao_out_alsa.so
#2  0x00007fad1311073a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007fad1868949d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

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

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

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

Thread 6 (Thread 0x7facf6431910 (LWP 3263)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fad1989b499 in QWaitConditionPrivate::wait (this=0x1a7cc78, mutex=0x1a76bf0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=0x1a7cc78, mutex=0x1a76bf0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fad15b42e04 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1a7cc50, th=0x1a763b0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fad15b4554b in ThreadWeaver::WorkingHardState::applyForWork (this=0x1a7d010, th=0x1a763b0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fad15b45564 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1a7d010, th=0x1a763b0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fad15b43b1f in ThreadWeaver::ThreadRunHelper::run (this=0x7facf6431030, parent=0x1a7cc50, th=0x1a763b0) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007fad15b43f59 in ThreadWeaver::Thread::run (this=0x1a763b0) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007fad1989a4a5 in QThreadPrivate::start (arg=0x1a763b0) at thread/qthread_unix.cpp:188
#9  0x00007fad1311073a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007fad1868949d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7facf5c30910 (LWP 3266)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fad1989b499 in QWaitConditionPrivate::wait (this=0x1499de0, mutex=0x1499de8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=0x1499de0, mutex=0x1499de8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007facfd1b2944 in XmlParseJob::run (this=0x1499da0) at ../../../../src/collection/sqlcollection/ScanManager.cpp:634
#4  0x00007fad15b447ec in ThreadWeaver::JobRunHelper::runTheJob (this=0x7facf5c2ffa0, th=0x14acbd0, job=0x1499da0) at ../../../threadweaver/Weaver/Job.cpp:106
#5  0x00007fad15b44b0f in ThreadWeaver::Job::execute (this=0x1499da0, th=0x14acbd0) at ../../../threadweaver/Weaver/Job.cpp:135
#6  0x00007fad15b43aef in ThreadWeaver::ThreadRunHelper::run (this=0x7facf5c30030, parent=0x1a7cc50, th=0x14acbd0) at ../../../threadweaver/Weaver/Thread.cpp:95
#7  0x00007fad15b43f59 in ThreadWeaver::Thread::run (this=0x14acbd0) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007fad1989a4a5 in QThreadPrivate::start (arg=0x14acbd0) at thread/qthread_unix.cpp:188
#9  0x00007fad1311073a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007fad1868949d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7facf542f910 (LWP 3267)):
[KCrash Handler]
#5  0x00007fad1a41d732 in Dynamic::BiasSolver::getRandomTrack (this=0x1a7a4b0, subset=<value optimized out>) at ../../src/dynamic/BiasSolver.cpp:733
#6  0x00007fad1a41da68 in Dynamic::BiasSolver::generateInitialPlaylist (this=0x1a7a4b0, optimal=@0x7facf542ef2f) at ../../src/dynamic/BiasSolver.cpp:597
#7  0x00007fad1a420537 in Dynamic::BiasSolver::run (this=0x1a7a4b0) at ../../src/dynamic/BiasSolver.cpp:172
#8  0x00007fad15b447ec in ThreadWeaver::JobRunHelper::runTheJob (this=0x7facf542efa0, th=0x1a545a0, job=0x1a7a4b0) at ../../../threadweaver/Weaver/Job.cpp:106
#9  0x00007fad15b44b0f in ThreadWeaver::Job::execute (this=0x1a7a4b0, th=0x1a545a0) at ../../../threadweaver/Weaver/Job.cpp:135
#10 0x00007fad15b43aef in ThreadWeaver::ThreadRunHelper::run (this=0x7facf542f030, parent=0x1a7cc50, th=0x1a545a0) at ../../../threadweaver/Weaver/Thread.cpp:95
#11 0x00007fad15b43f59 in ThreadWeaver::Thread::run (this=0x1a545a0) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0x00007fad1989a4a5 in QThreadPrivate::start (arg=0x1a545a0) at thread/qthread_unix.cpp:188
#13 0x00007fad1311073a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#14 0x00007fad1868949d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7facf4c2e910 (LWP 3268)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fad1989b499 in QWaitConditionPrivate::wait (this=0x1a7cc78, mutex=0x1a76bf0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=0x1a7cc78, mutex=0x1a76bf0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fad15b42e04 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1a7cc50, th=0x1a7f100) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fad15b4554b in ThreadWeaver::WorkingHardState::applyForWork (this=0x1a7d010, th=0x1a7f100) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fad15b45564 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1a7d010, th=0x1a7f100) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fad15b45564 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1a7d010, th=0x1a7f100) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007fad15b43b1f in ThreadWeaver::ThreadRunHelper::run (this=0x7facf4c2e030, parent=0x1a7cc50, th=0x1a7f100) at ../../../threadweaver/Weaver/Thread.cpp:87
#8  0x00007fad15b43f59 in ThreadWeaver::Thread::run (this=0x1a7f100) at ../../../threadweaver/Weaver/Thread.cpp:142
#9  0x00007fad1989a4a5 in QThreadPrivate::start (arg=0x1a7f100) at thread/qthread_unix.cpp:188
#10 0x00007fad1311073a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#11 0x00007fad1868949d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 2 (Thread 0x7facf4224910 (LWP 3270)):
#0  0x00007fad1867d39b in write () from /lib/libc.so.6
#1  0x00007fad1995e0d6 in qt_native_write (fd=15, data=0x7fad19a142b2 "", len=<value optimized out>) at io/qprocess_unix.cpp:130
#2  0x00007fad1995ec58 in QProcessManager::catchDeadChildren (this=0xb7f590) at io/qprocess_unix.cpp:326
#3  0x00007fad1995ed64 in QProcessManager::run (this=0xb7f590) at io/qprocess_unix.cpp:311
#4  0x00007fad1989a4a5 in QThreadPrivate::start (arg=0xb7f590) at thread/qthread_unix.cpp:188
#5  0x00007fad1311073a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007fad1868949d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 1 (Thread 0x7fad1b058770 (LWP 3197)):
#0  0x00007fad1867cc05 in *__GI___xstat (vers=<value optimized out>, name=<value optimized out>, buf=0x7fff2b2d9c50) at ../sysdeps/unix/sysv/linux/wordsize-64/xstat.c:38
#1  0x00007fad1864d820 in __tzfile_read (file=0x7fad186d6ce5 "/etc/localtime", extra=0, extrap=<value optimized out>) at tzfile.c:172
#2  0x00007fad1864cbba in tzset_internal (always=<value optimized out>, explicit=<value optimized out>) at tzset.c:439
#3  0x00007fad1864ce80 in __tzset () at tzset.c:592
#4  0x00007fad198a739f in QTime::currentTime () at tools/qdatetime.cpp:1839
#5  0x00007fad198a740d in QTime::elapsed (this=0x7fad186d6ce5) at tools/qdatetime.cpp:2062
#6  0x00007fad199611aa in QProcessPrivate::waitForFinished (this=0x1b49ca0, msecs=-1) at io/qprocess_unix.cpp:1157
#7  0x00007fad199219fc in QProcess::waitForFinished (this=0x7fff2b2d9fd0, msecs=-1) at io/qprocess.cpp:1318
#8  0x00007fad19925f28 in QProcess::execute (program=..., arguments=...) at io/qprocess.cpp:1701
#9  0x00007fad19d9a256 in KToolInvocation::startKdeinit () at ../../kdecore/kernel/ktoolinvocation.cpp:382
#10 0x00007fad19d9b83b in KToolInvocation::klauncher () at ../../kdecore/kernel/ktoolinvocation.cpp:63
#11 0x00007fad129a126a in KIO::Slave::createSlave (protocol=..., url=..., error=@0x7fff2b2da56c, error_text=...) at ../../kio/kio/slave.cpp:399
#12 0x00007fad1299acde in KIO::SchedulerPrivate::createSlave (this=0x190e6e0, protInfo=0x190fb00, job=0x1b1c120, url=...) at ../../kio/kio/scheduler.cpp:709
#13 0x00007fad1299c20f in KIO::SchedulerPrivate::startJobDirect (this=0x190e6e0) at ../../kio/kio/scheduler.cpp:612
#14 0x00007fad1299c258 in KIO::SchedulerPrivate::startStep (this=0x190e6e0) at ../../kio/kio/scheduler.cpp:452
#15 0x00007fad1299c4d4 in KIO::Scheduler::qt_metacall (this=0x1914120, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff2b2da730) at ./scheduler.moc:102
#16 0x00007fad19994df2 in QMetaObject::activate (sender=0x190e6e8, from_signal_index=<value optimized out>, to_signal_index=4, argv=0xffffffffffffffff) at kernel/qobject.cpp:3112
#17 0x00007fad1998f353 in QObject::event (this=0x190e6e8, e=0x7fff2b2d9c50) at kernel/qobject.cpp:1074
#18 0x00007fad18df901d in QApplicationPrivate::notify_helper (this=0xb98b80, receiver=0x190e6e8, e=0x7fff2b2dade0) at kernel/qapplication.cpp:4065
#19 0x00007fad18e0107a in QApplication::notify (this=0x7fff2b2dc670, receiver=0x190e6e8, e=0x7fff2b2dade0) at kernel/qapplication.cpp:4030
#20 0x00007fad1ab840db in KApplication::notify (this=0x7fff2b2dc670, receiver=0x190e6e8, event=0x7fff2b2dade0) at ../../kdeui/kernel/kapplication.cpp:302
#21 0x00007fad1997fc9c in QCoreApplication::notifyInternal (this=0x7fff2b2dc670, receiver=0x190e6e8, event=0x7fff2b2dade0) at kernel/qcoreapplication.cpp:610
#22 0x00007fad199ac2c6 in QCoreApplication::sendEvent (this=0xb7e560) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#23 QTimerInfoList::activateTimers (this=0xb7e560) at kernel/qeventdispatcher_unix.cpp:580
#24 0x00007fad199a8634 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#25 0x00007fad11d3b12a in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#26 0x00007fad11d3e988 in ?? () from /lib/libglib-2.0.so.0
#27 0x00007fad11d3eb3c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#28 0x00007fad199a839c in QEventDispatcherGlib::processEvents (this=0xa6dbb0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#29 0x00007fad18e8ff1f in QGuiEventDispatcherGlib::processEvents (this=0x7fad186d6ce5, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#30 0x00007fad1997e562 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#31 0x00007fad1997e934 in QEventLoop::exec (this=0x7fff2b2db1b0, flags=...) at kernel/qeventloop.cpp:201
#32 0x00007fad1ac0ac7e in KWallet::Wallet::openWallet (name=..., w=<value optimized out>, ot=KWallet::Wallet::Synchronous) at ../../kdeui/util/kwallet.cpp:252
#33 0x00007facf86b3212 in LastFmServiceConfig (this=0x7fff2b2db3f0) at ../../../../src/services/lastfm/LastFmServiceConfig.cpp:33
#34 0x00007facf869b87c in LastFmServiceFactory::createLastFmService (this=0x14331d0) at ../../../../src/services/lastfm/LastFmService.cpp:141
#35 0x00007facf869baab in LastFmServiceFactory::init (this=0x7fad186d6ce5) at ../../../../src/services/lastfm/LastFmService.cpp:84
#36 0x00007fad1a3f6f3a in ServicePluginManager::init (this=<value optimized out>) at ../../src/services/ServicePluginManager.cpp:102
#37 0x00007fad1a59c0fb in MainWindow::init (this=0xd37380) at ../../src/MainWindow.cpp:348
#38 0x00007fad1a59c972 in MainWindow (this=0xd37380) at ../../src/MainWindow.cpp:162
#39 0x00007fad1a5786d3 in App::continueInit (this=0x7fff2b2dc670) at ../../src/App.cpp:662
#40 0x00007fad1a57a016 in App (this=0x7fff2b2dc670) at ../../src/App.cpp:225
#41 0x00000000004097d5 in main (argc=3, argv=0x7fff2b2de418) at ../../src/main.cpp:223
The current source language is "auto; currently c".

Reported using DrKonqi
Comment 1 Mikko C. 2009-10-24 17:44:32 UTC
it is fixed indeed, in git master.
The fix will be in amarok 2.2.1.