Bug 254119

Summary: Crash on startup
Product: [Applications] amarok Reporter: Johannes Schwall <johannes.schwall>
Component: generalAssignee: Amarok Bugs <amarok-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version First Reported In: 2.3.2   
Target Milestone: 2.4.0   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Johannes Schwall 2010-10-14 09:07:22 UTC
Application: amarok (2.3.2)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.32-25-generic x86_64
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed:

I just started amarok the normal way. A few minutes ago it ran without problem, but I had forgotton to activate the external harddrive containing the music collection. So I shut amarok down, attached the drive, mounted it and started amarok again. Then it crashed.

The crash can be reproduced some of the time.

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

Thread 12 (Thread 0x7f53e13ca710 (LWP 11631)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007f53e6b7f081 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f53fa21d9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f53fc72970d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f53e0bc9710 (LWP 11632)):
#0  0x00007f53fd08b1d8 in QEventDispatcherGlib::processEvents (this=0xcc3ed0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:416
#1  0x00007f53fd05ddd2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#2  0x00007f53fd05e1bc in QEventLoop::exec (this=0x7f53e0bc8cd0, flags=) at kernel/qeventloop.cpp:201
#3  0x00007f53fcf6936d in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#4  0x00007f53e6ddb2b0 in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#5  0x00007f53fcf6c2ee in QThreadPrivate::start (arg=0xceabe0) at thread/qthread_unix.cpp:266
#6  0x00007f53fa21d9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#7  0x00007f53fc72970d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f53dbfff710 (LWP 11635)):
#0  0x00007f53fc71cf93 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=333) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f53e01c3915 in ?? () from /usr/lib/xine/plugins/1.27/xineplug_ao_out_alsa.so
#2  0x00007f53fa21d9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f53fc72970d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f53db7fe710 (LWP 11636)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f53e6b8fe23 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f53fa21d9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f53fc72970d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f53dabf2710 (LWP 11637)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f53e6b8fe23 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f53fa21d9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f53fc72970d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f53da3f1710 (LWP 11638)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f53e6b8fe23 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f53fa21d9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f53fc72970d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f53d9bf0710 (LWP 11639)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f53e6b8fe23 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f53fa21d9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f53fc72970d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f53d82ea710 (LWP 11641)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f53fcf6ceab in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x18aa010, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x18aa010, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f53f8e6fd84 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x18a9200, th=0x18aa440) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f53f8e72f8b in ThreadWeaver::WorkingHardState::applyForWork (this=0x18a7d70, th=0x18aa440) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f53f8e72fa4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x18a7d70, th=0x18aa440) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f53f8e714ff in ThreadWeaver::ThreadRunHelper::run (this=0x7f53d82e9d40, parent=0x18a9200, th=0x18aa440) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f53f8e71a58 in ThreadWeaver::Thread::run (this=0x18aa440) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f53fcf6c2ee in QThreadPrivate::start (arg=0x18aa440) at thread/qthread_unix.cpp:266
#9  0x00007f53fa21d9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f53fc72970d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f53d23e6710 (LWP 11642)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f53fcf6ceab in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x18aa010, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x18aa010, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f53f8e6fd84 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x18a9200, th=0x7f53dc2c3770) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f53f8e72f8b in ThreadWeaver::WorkingHardState::applyForWork (this=0x18a7d70, th=0x7f53dc2c3770) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f53f8e72fa4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x18a7d70, th=0x7f53dc2c3770) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f53f8e714ff in ThreadWeaver::ThreadRunHelper::run (this=0x7f53d23e5d40, parent=0x18a9200, th=0x7f53dc2c3770) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f53f8e71a58 in ThreadWeaver::Thread::run (this=0x7f53dc2c3770) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f53fcf6c2ee in QThreadPrivate::start (arg=0x7f53dc2c3770) at thread/qthread_unix.cpp:266
#9  0x00007f53fa21d9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f53fc72970d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f53d1be5710 (LWP 11643)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f53fcf6ceab in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x18aa010, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x18aa010, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f53f8e6fd84 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x18a9200, th=0x18b0170) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f53f8e72f8b in ThreadWeaver::WorkingHardState::applyForWork (this=0x18a7d70, th=0x18b0170) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f53f8e72fa4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x18a7d70, th=0x18b0170) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f53f8e714ff in ThreadWeaver::ThreadRunHelper::run (this=0x7f53d1be4d40, parent=0x18a9200, th=0x18b0170) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f53f8e71a58 in ThreadWeaver::Thread::run (this=0x18b0170) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f53fcf6c2ee in QThreadPrivate::start (arg=0x18b0170) at thread/qthread_unix.cpp:266
#9  0x00007f53fa21d9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f53fc72970d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f53d13e4710 (LWP 11644)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f53fcf6ceab in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x10aca88, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x10aca88, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f53d8566d41 in XmlParseJob::run (this=0x10aca40) at ../../../../../src/core-impl/collections/sqlcollection/ScanManager.cpp:706
#4  0x00007f53f8e721e1 in ThreadWeaver::JobRunHelper::runTheJob (this=0x7f53d13e3cb0, th=0x7f53dc2c9b50, job=0x10aca40) at ../../../threadweaver/Weaver/Job.cpp:106
#5  0x00007f53f8e724de in ThreadWeaver::Job::execute (this=0x10aca40, th=0x7f53dc2c9b50) at ../../../threadweaver/Weaver/Job.cpp:135
#6  0x00007f53f8e714cf in ThreadWeaver::ThreadRunHelper::run (this=0x7f53d13e3d40, parent=0x18a9200, th=0x7f53dc2c9b50) at ../../../threadweaver/Weaver/Thread.cpp:95
#7  0x00007f53f8e71a58 in ThreadWeaver::Thread::run (this=0x7f53dc2c9b50) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f53fcf6c2ee in QThreadPrivate::start (arg=0x7f53dc2c9b50) at thread/qthread_unix.cpp:266
#9  0x00007f53fa21d9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f53fc72970d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f53ff853820 (LWP 11629)):
[KCrash Handler]
#6  0x00007f53fde19810 in QComboBox::count (this=<value optimized out>) at widgets/qcombobox.cpp:1329
#7  0x00007f53fea15102 in QComboBox::addItems (this=0x189e170, collectionId=<value optimized out>, results=<value optimized out>) at /usr/include/qt4/QtGui/qcombobox.h:196
#8  PlaylistBrowserNS::BiasGlobalWidget::populateComboBox (this=0x189e170, collectionId=<value optimized out>, results=<value optimized out>)
    at ../../src/browsers/playlistbrowser/DynamicBiasWidgets.cpp:674
#9  0x00007f53fea18106 in PlaylistBrowserNS::BiasGlobalWidget::qt_metacall (this=0x189e170, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>)
    at ./DynamicBiasWidgets.moc:335
#10 0x00007f53fd070e7e in QObject::event (this=0x189e170, e=0x18a73f8) at kernel/qobject.cpp:1219
#11 0x00007f53fda84b1f in QWidget::event (this=0x189e170, event=0x18a71a0) at kernel/qwidget.cpp:8646
#12 0x00007f53fda2f6ec in QApplicationPrivate::notify_helper (this=0xabb020, receiver=0x189e170, e=0x18a71a0) at kernel/qapplication.cpp:4396
#13 0x00007f53fda351dd in QApplication::notify (this=0x7fff384dde20, receiver=0x189e170, e=0x18a71a0) at kernel/qapplication.cpp:4277
#14 0x00007f53ff36c536 in KApplication::notify (this=0x7fff384dde20, receiver=0x189e170, event=0x18a71a0) at ../../kdeui/kernel/kapplication.cpp:310
#15 0x00007f53fd05f0ac in QCoreApplication::notifyInternal (this=0x7fff384dde20, receiver=0x189e170, event=0x18a71a0) at kernel/qcoreapplication.cpp:732
#16 0x00007f53fd061fd2 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x967a70) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#17 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x967a70) at kernel/qcoreapplication.cpp:1373
#18 0x00007f53fd08b643 in QCoreApplication::sendPostedEvents (s=0xad8d60) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#19 postEventSourceDispatch (s=0xad8d60) at kernel/qeventdispatcher_glib.cpp:277
#20 0x00007f53f64258c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#21 0x00007f53f6429748 in ?? () from /lib/libglib-2.0.so.0
#22 0x00007f53f64298fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#23 0x00007f53fd08b183 in QEventDispatcherGlib::processEvents (this=0x9671c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#24 0x00007f53fdae197e in QGuiEventDispatcherGlib::processEvents (this=0x18a73f8, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#25 0x00007f53fd05ddd2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#26 0x00007f53fd05e1bc in QEventLoop::exec (this=0x7fff384dcbf0, flags=) at kernel/qeventloop.cpp:201
#27 0x00007f53ff4002b4 in KWallet::Wallet::openWallet (name=<value optimized out>, w=<value optimized out>, ot=KWallet::Wallet::Synchronous) at ../../kdeui/util/kwallet.cpp:268
#28 0x00007f53d2edda4c in LastFmServiceConfig (this=0x7fff384dce50) at ../../../../src/services/lastfm/LastFmServiceConfig.cpp:44
#29 0x00007f53d2eccb77 in LastFmServiceFactory::createLastFmService (this=<value optimized out>) at ../../../../src/services/lastfm/LastFmService.cpp:144
#30 0x00007f53d2eccd6d in LastFmServiceFactory::init (this=0x18a73f8) at ../../../../src/services/lastfm/LastFmService.cpp:87
#31 0x00007f53fe8d9e91 in ServicePluginManager::init (this=<value optimized out>) at ../../src/services/ServicePluginManager.cpp:103
#32 0x00007f53feb64f2b in MainWindow::init (this=0xb85c20) at ../../src/MainWindow.cpp:315
#33 0x00007f53feb6635e in MainWindow (this=0xb85c20) at ../../src/MainWindow.cpp:178
#34 0x00007f53feb38c7f in App::continueInit (this=0x7fff384dde20) at ../../src/App.cpp:663
#35 0x00007f53feb3ab83 in App (this=0x7fff384dde20) at ../../src/App.cpp:216
#36 0x0000000000408360 in main (argc=<value optimized out>, argv=0x7fff384dfd88) at ../../src/main.cpp:235

Reported using DrKonqi
Comment 1 Mark Kretschmann 2010-10-14 10:31:16 UTC
Backtrace looks valid to me. Sadly, Amarok was run without debugging symbols. But it's helpful anyway.
Comment 2 Myriam Schweingruber 2010-10-15 17:05:39 UTC
This is already fixed in git. Please erase the amarok* configuration files in $HOME/.kde/share/config/, this should solve the problem.

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