Bug 216720

Summary: Amarok crash on startup
Product: [Applications] amarok Reporter: Alan Cramer <alan.cramer>
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 2.2.0   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Alan Cramer 2009-11-29 21:09:08 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.2
Operating System: Linux 2.6.31-15-generic i686
Distribution: Ubuntu 9.10

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

Thread 11 (Thread 0xb4ab1b70 (LWP 6783)):
#0  0x00ad2422 in __kernel_vsyscall ()
#1  0x05d88142 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179
#2  0x020517e4 in __pthread_cond_timedwait (cond=0x8a65108, mutex=0x8a650f0, abstime=0xb4ab1310) at forward.c:152
#3  0x044d79ff in ?? () from /usr/lib/libxine.so.1
#4  0x05d8380e in start_thread (arg=0xb4ab1b70) at pthread_create.c:300
#5  0x020447ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 10 (Thread 0xb42b0b70 (LWP 6784)):
#0  0x00ad2422 in __kernel_vsyscall ()
#1  0x02036ba6 in *__GI___poll (fds=0x20b7ff4, nfds=1, timeout=9181) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x0642053b in g_poll () from /lib/libglib-2.0.so.0
#3  0x0641355b in ?? () from /lib/libglib-2.0.so.0
#4  0x06413853 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x00e85067 in QEventDispatcherGlib::processEvents (this=0x8936a60, flags=...) at kernel/qeventdispatcher_glib.cpp:329
#6  0x00e58c79 in QEventLoop::processEvents (this=0xb42b0294, flags=) at kernel/qeventloop.cpp:149
#7  0x00e590ca in QEventLoop::exec (this=0xb42b0294, flags=...) at kernel/qeventloop.cpp:201
#8  0x00d66b73 in QThread::exec (this=0x89349d0) at thread/qthread.cpp:487
#9  0x024b320a in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#10 0x00d69e32 in QThreadPrivate::start (arg=0x89349d0) at thread/qthread_unix.cpp:188
#11 0x05d8380e in start_thread (arg=0xb42b0b70) at pthread_create.c:300
#12 0x020447ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 9 (Thread 0xb3aafb70 (LWP 6785)):
#0  0x030c766b in pa_mainloop_dispatch () from /usr/lib/libpulse.so.0
#1  0x030c7c31 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#2  0x030c7cf4 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#3  0x030d8bc3 in ?? () from /usr/lib/libpulse.so.0
#4  0x03125ac2 in ?? () from /usr/lib/libpulsecommon-0.9.19.so
#5  0x05d8380e in start_thread (arg=0xb3aafb70) at pthread_create.c:300
#6  0x020447ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 8 (Thread 0xaf2adb70 (LWP 6786)):
#0  0x00ad2422 in __kernel_vsyscall ()
#1  0x05d87e15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x0205178d in __pthread_cond_wait (cond=0x89619e8, mutex=0x89619d0) at forward.c:139
#3  0x044e85ee in ?? () from /usr/lib/libxine.so.1
#4  0x05d8380e in start_thread (arg=0xaf2adb70) at pthread_create.c:300
#5  0x020447ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 7 (Thread 0xae6ffb70 (LWP 6787)):
#0  0x00ad2422 in __kernel_vsyscall ()
#1  0x05d87e15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x0205178d in __pthread_cond_wait (cond=0xae91e6f0, mutex=0xae91e6d8) at forward.c:139
#3  0x044e85ee in ?? () from /usr/lib/libxine.so.1
#4  0x05d8380e in start_thread (arg=0xae6ffb70) at pthread_create.c:300
#5  0x020447ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 6 (Thread 0xadefeb70 (LWP 6788)):
#0  0x00ad2422 in __kernel_vsyscall ()
#1  0x05d87e15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x0205178d in __pthread_cond_wait (cond=0x89784b8, mutex=0x89784a0) at forward.c:139
#3  0x044e85ee in ?? () from /usr/lib/libxine.so.1
#4  0x05d8380e in start_thread (arg=0xadefeb70) at pthread_create.c:300
#5  0x020447ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xad007b70 (LWP 6790)):
#0  0x00ad2422 in __kernel_vsyscall ()
#1  0x05d87e15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x0205178d in __pthread_cond_wait (cond=0x90ce5f0, mutex=0x90ce5d8) at forward.c:139
#3  0x00d6ae67 in QWaitConditionPrivate::wait (this=0x90ce538, mutex=0x90ce778, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x90ce538, mutex=0x90ce778, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x01947b30 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x90ce520, th=0x90d6778) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x0194a19c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x90ce858, th=0x90d6778) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x019461fb in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x90ce520, th=0x90d6778) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x0194a292 in ThreadWeaver::WorkingHardState::applyForWork (this=0x90ce858, th=0x90d6778) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x01947db3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x90ce520, th=0x90d6778, previous=0x88ff500) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x019483be in ThreadWeaver::ThreadRunHelper::run (this=0xad0072e4, parent=0x90ce520, th=0x90d6778) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0x019489db in ThreadWeaver::Thread::run (this=0x90d6778) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0x00d69e32 in QThreadPrivate::start (arg=0x90d6778) at thread/qthread_unix.cpp:188
#13 0x05d8380e in start_thread (arg=0xad007b70) at pthread_create.c:300
#14 0x020447ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xabeffb70 (LWP 6791)):
#0  0x00ad2422 in __kernel_vsyscall ()
#1  0x05d87e15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x0205178d in __pthread_cond_wait (cond=0x90ce5f0, mutex=0x90ce5d8) at forward.c:139
#3  0x00d6ae67 in QWaitConditionPrivate::wait (this=0x90ce538, mutex=0x90ce778, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x90ce538, mutex=0x90ce778, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x01947b30 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x90ce520, th=0x90b8f10) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x0194a19c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x90ce858, th=0x90b8f10) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x019461fb in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x90ce520, th=0x90b8f10) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x0194a292 in ThreadWeaver::WorkingHardState::applyForWork (this=0x90ce858, th=0x90b8f10) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x01947db3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x90ce520, th=0x90b8f10, previous=0x9027aa0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x019483be in ThreadWeaver::ThreadRunHelper::run (this=0xabeff2e4, parent=0x90ce520, th=0x90b8f10) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0x019489db in ThreadWeaver::Thread::run (this=0x90b8f10) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0x00d69e32 in QThreadPrivate::start (arg=0x90b8f10) at thread/qthread_unix.cpp:188
#13 0x05d8380e in start_thread (arg=0xabeffb70) at pthread_create.c:300
#14 0x020447ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xab6feb70 (LWP 6792)):
#0  0x00ad2422 in __kernel_vsyscall ()
#1  0x05d87e15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x0205178d in __pthread_cond_wait (cond=0x90ce5f0, mutex=0x90ce5d8) at forward.c:139
#3  0x00d6ae67 in QWaitConditionPrivate::wait (this=0x90ce538, mutex=0x90ce778, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x90ce538, mutex=0x90ce778, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x01947b30 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x90ce520, th=0x90c1738) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x0194a19c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x90ce858, th=0x90c1738) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x019461fb in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x90ce520, th=0x90c1738) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x0194a292 in ThreadWeaver::WorkingHardState::applyForWork (this=0x90ce858, th=0x90c1738) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x01947db3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x90ce520, th=0x90c1738, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x0194a2b1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x90ce858, th=0x90c1738) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0x01947db3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x90ce520, th=0x90c1738, previous=0x8eb8b78) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0x019483be in ThreadWeaver::ThreadRunHelper::run (this=0xab6fe2e4, parent=0x90ce520, th=0x90c1738) at ../../../threadweaver/Weaver/Thread.cpp:87
#13 0x019489db in ThreadWeaver::Thread::run (this=0x90c1738) at ../../../threadweaver/Weaver/Thread.cpp:142
#14 0x00d69e32 in QThreadPrivate::start (arg=0x90c1738) at thread/qthread_unix.cpp:188
#15 0x05d8380e in start_thread (arg=0xab6feb70) at pthread_create.c:300
#16 0x020447ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xaaefdb70 (LWP 6793)):
[KCrash Handler]
#6  Dynamic::BiasSolver::getRandomTrack (this=0x90d15a0, subset=...) at /build/buildd/amarok-2.2.0/src/dynamic/BiasSolver.cpp:733
#7  0x0076d901 in Dynamic::BiasSolver::generateInitialPlaylist (this=0x90d15a0, optimal=@0xaaefd1af) at /build/buildd/amarok-2.2.0/src/dynamic/BiasSolver.cpp:598
#8  0x0076f893 in Dynamic::BiasSolver::run (this=0x90d15a0) at /build/buildd/amarok-2.2.0/src/dynamic/BiasSolver.cpp:172
#9  0x0194937d in ThreadWeaver::JobRunHelper::runTheJob (this=0xaaefd25c, th=0x89124e0, job=0x90d15a0) at ../../../threadweaver/Weaver/Job.cpp:106
#10 0x019496e1 in ThreadWeaver::Job::execute (this=0x90d15a0, th=0x89124e0) at ../../../threadweaver/Weaver/Job.cpp:135
#11 0x0194838a in ThreadWeaver::ThreadRunHelper::run (this=0xaaefd2e4, parent=0x90ce520, th=0x89124e0) at ../../../threadweaver/Weaver/Thread.cpp:95
#12 0x019489db in ThreadWeaver::Thread::run (this=0x89124e0) at ../../../threadweaver/Weaver/Thread.cpp:142
#13 0x00d69e32 in QThreadPrivate::start (arg=0x89124e0) at thread/qthread_unix.cpp:188
#14 0x05d8380e in start_thread (arg=0xaaefdb70) at pthread_create.c:300
#15 0x020447ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb6a5c940 (LWP 6782)):
#0  0x00ad2422 in __kernel_vsyscall ()
#1  0x05d88142 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179
#2  0x020517e4 in __pthread_cond_timedwait (cond=0xbffed564, mutex=0xbffed594, abstime=0xbffed5e0) at forward.c:152
#3  0x00d6981e in thread_sleep (ti=0x1) at thread/qthread_unix.cpp:297
#4  0x00d69973 in QThread::msleep (msecs=200) at thread/qthread_unix.cpp:323
#5  0x024d99c4 in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#6  0x0618e2df in ~FactoryPrivate (this=0x89a87a8, __in_chrg=<value optimized out>) at ../3rdparty/phonon/phonon/factory.cpp:199
#7  0x0618cda5 in destroy () at ../3rdparty/phonon/phonon/factory.cpp:84
#8  0x0618a47b in ~CleanUpGlobalStatic (this=0x61af3f0, __in_chrg=<value optimized out>) at ../3rdparty/phonon/phonon/globalstatic_p.h:55
#9  0x01fa705f in __run_exit_handlers (status=1, listp=0x20b8304, run_list_atexit=true) at exit.c:78
#10 0x01fa70cf in *__GI_exit (status=1) at exit.c:100
#11 0x01124d8b in qt_xio_errhandler () at kernel/qapplication_x11.cpp:707
#12 0x002e254a in KApplication::xioErrhandler (this=0xbffee4ec, dpy=0x8909530) at ../../kdeui/kernel/kapplication.cpp:408
#13 0x002e2586 in kde_xio_errhandler (dpy=0x8909530) at ../../kdeui/kernel/kapplication.cpp:125
#14 0x029122e6 in _XIOError () from /usr/lib/libX11.so.6
#15 0x02919f8a in ?? () from /usr/lib/libX11.so.6
#16 0x0291a8c6 in _XEventsQueued () from /usr/lib/libX11.so.6
#17 0x029035ff in XEventsQueued () from /usr/lib/libX11.so.6
#18 0x01162e3e in x11EventSourcePrepare (s=0x89049a8, timeout=0xbffed8fc) at kernel/qguieventdispatcher_glib.cpp:79
#19 0x06412f80 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#20 0x06413341 in ?? () from /lib/libglib-2.0.so.0
#21 0x06413853 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#22 0x00e8502c in QEventDispatcherGlib::processEvents (this=0x884df50, flags=...) at kernel/qeventdispatcher_glib.cpp:327
#23 0x01162be5 in QGuiEventDispatcherGlib::processEvents (this=0x884df50, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#24 0x00e58c79 in QEventLoop::processEvents (this=0xbffedbe0, flags=) at kernel/qeventloop.cpp:149
#25 0x00e590ca in QEventLoop::exec (this=0xbffedbe0, flags=...) at kernel/qeventloop.cpp:201
#26 0x0037ad60 in KWallet::Wallet::openWallet (name=..., w=0, ot=KWallet::Wallet::Synchronous) at ../../kdeui/util/kwallet.cpp:252
#27 0x0349ec44 in LastFmServiceConfig (this=0xbffedd04) at /build/buildd/amarok-2.2.0/src/services/lastfm/LastFmServiceConfig.cpp:33
#28 0x0348a61f in LastFmServiceFactory::createLastFmService (this=0x8e6cd18) at /build/buildd/amarok-2.2.0/src/services/lastfm/LastFmService.cpp:141
#29 0x0348a825 in LastFmServiceFactory::init (this=0x8e6cd18) at /build/buildd/amarok-2.2.0/src/services/lastfm/LastFmService.cpp:84
#30 0x00744818 in ServicePluginManager::init (this=0x8bbc7f0) at /build/buildd/amarok-2.2.0/src/services/ServicePluginManager.cpp:102
#31 0x00905588 in MainWindow::init (this=0x890ce18) at /build/buildd/amarok-2.2.0/src/MainWindow.cpp:348
#32 0x00905e61 in MainWindow (this=0x890ce18) at /build/buildd/amarok-2.2.0/src/MainWindow.cpp:162
#33 0x008de35e in App::continueInit (this=0xbffee4ec) at /build/buildd/amarok-2.2.0/src/App.cpp:673
#34 0x008df8f1 in App (this=0xbffee4ec) at /build/buildd/amarok-2.2.0/src/App.cpp:225
#35 0x08051e3e in main (argc=1, argv=0xbffeecf4) at /build/buildd/amarok-2.2.0/src/main.cpp:223

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2009-11-29 21:21:45 UTC
You should upgrade to Amarok 2.2.1

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