Bug 215590

Summary: Startup Kubuntu Amarok Segfault
Product: [Applications] amarok Reporter: Monty Trimble <monstertrimble>
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Monty Trimble 2009-11-21 20:23:38 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

What I was doing when the application crashed:
Just started and before it's done loading it crashes. Restarting it works perfectly.

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

Thread 10 (Thread 0xb4926b70 (LWP 2978)):
#0  0x00553422 in __kernel_vsyscall ()
#1  0x078bc142 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x01d437e4 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3  0x01b139ff in ?? () from /usr/lib/libxine.so.1
#4  0x078b780e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0x01d367ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 9 (Thread 0xb4125b70 (LWP 2979)):
#0  0x078bb157 in __pthread_mutex_unlock_usercnt () from /lib/tls/i686/cmov/libpthread.so.0
#1  0x01d43996 in pthread_mutex_unlock () from /lib/tls/i686/cmov/libc.so.6
#2  0x062fb909 in g_main_context_acquire () from /lib/libglib-2.0.so.0
#3  0x062fd2b5 in ?? () from /lib/libglib-2.0.so.0
#4  0x062fd853 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x061eb067 in QEventDispatcherGlib::processEvents (this=0x9ae9358, flags=...) at kernel/qeventdispatcher_glib.cpp:329
#6  0x061bec79 in QEventLoop::processEvents (this=0xb4125284, flags=) at kernel/qeventloop.cpp:149
#7  0x061bf0ca in QEventLoop::exec (this=0xb4125284, flags=...) at kernel/qeventloop.cpp:201
#8  0x060ccb73 in QThread::exec (this=0x9ae9308) at thread/qthread.cpp:487
#9  0x01ab220a in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#10 0x060cfe32 in QThreadPrivate::start (arg=0x9ae9308) at thread/qthread_unix.cpp:188
#11 0x078b780e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#12 0x01d367ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 8 (Thread 0xb3924b70 (LWP 2982)):
#0  0x08553b0f in snd_hctl_handle_events () from /usr/lib/libasound.so.2
#1  0x0855f911 in snd_mixer_handle_events () from /usr/lib/libasound.so.2
#2  0x092d3c89 in ?? () from /usr/lib/xine/plugins/1.26/xineplug_ao_out_alsa.so
#3  0x078b780e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#4  0x01d367ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 7 (Thread 0xb3123b70 (LWP 2983)):
#0  0x00553422 in __kernel_vsyscall ()
#1  0x078bbe15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x01d4378d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x01b245ee in ?? () from /usr/lib/libxine.so.1
#4  0x078b780e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0x01d367ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 6 (Thread 0xb28deb70 (LWP 2984)):
#0  0x00553422 in __kernel_vsyscall ()
#1  0x078bbe15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x01d4378d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x01b245ee in ?? () from /usr/lib/libxine.so.1
#4  0x078b780e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0x01d367ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 5 (Thread 0xb1809b70 (LWP 2987)):
#0  0x00553422 in __kernel_vsyscall ()
#1  0x078bbe15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x01d4378d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x060d0e67 in QWaitConditionPrivate::wait (this=0x9f0e6f8, mutex=0xa0272f0, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x9f0e6f8, mutex=0xa0272f0, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x015d2b30 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9f0e6e0, th=0xa071b58) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x015d519c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x99e7cb0, th=0xa071b58) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x015d11fb in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x9f0e6e0, th=0xa071b58) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x015d5292 in ThreadWeaver::WorkingHardState::applyForWork (this=0x99e7cb0, th=0xa071b58) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x015d2db3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9f0e6e0, th=0xa071b58, previous=0xbb97350) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x015d33be in ThreadWeaver::ThreadRunHelper::run (this=0xb18092d4, parent=0x9f0e6e0, th=0xa071b58) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0x015d39db in ThreadWeaver::Thread::run (this=0xa071b58) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0x060cfe32 in QThreadPrivate::start (arg=0xa071b58) at thread/qthread_unix.cpp:188
#13 0x078b780e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#14 0x01d367ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 0xb07a7b70 (LWP 2988)):
[KCrash Handler]
#6  Dynamic::CustomBias::reevaluate (this=0xa193b48, oldEnergy=0.75, oldPlaylist=..., newTrack=..., newTrackPos=78, context=...) at /build/buildd/amarok-2.2.0/src/dynamic/CustomBias.cpp:112
#7  0x0081da58 in Dynamic::BiasSolver::recalculateEnergy (this=0xbb97620, playlist=..., mutation=..., mutationPos=78) at /build/buildd/amarok-2.2.0/src/dynamic/BiasSolver.cpp:512
#8  0x00820495 in Dynamic::BiasSolver::sa_optimize (this=0xbb97620, playlist=..., i=1000, updateStatus=true) at /build/buildd/amarok-2.2.0/src/dynamic/BiasSolver.cpp:232
#9  0x008218c3 in Dynamic::BiasSolver::run (this=0xbb97620) at /build/buildd/amarok-2.2.0/src/dynamic/BiasSolver.cpp:178
#10 0x015d437d in ThreadWeaver::JobRunHelper::runTheJob (this=0xb07a724c, th=0xa159ba0, job=0xbb97620) at ../../../threadweaver/Weaver/Job.cpp:106
#11 0x015d46e1 in ThreadWeaver::Job::execute (this=0xbb97620, th=0xa159ba0) at ../../../threadweaver/Weaver/Job.cpp:135
#12 0x015d338a in ThreadWeaver::ThreadRunHelper::run (this=0xb07a72d4, parent=0x9f0e6e0, th=0xa159ba0) at ../../../threadweaver/Weaver/Thread.cpp:95
#13 0x015d39db in ThreadWeaver::Thread::run (this=0xa159ba0) at ../../../threadweaver/Weaver/Thread.cpp:142
#14 0x060cfe32 in QThreadPrivate::start (arg=0xa159ba0) at thread/qthread_unix.cpp:188
#15 0x078b780e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#16 0x01d367ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xaffa6b70 (LWP 2990)):
#0  0x00553422 in __kernel_vsyscall ()
#1  0x078bbe15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x01d4378d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x060d0e67 in QWaitConditionPrivate::wait (this=0x9f0e6f8, mutex=0xa0272f0, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x9f0e6f8, mutex=0xa0272f0, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x015d2b30 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9f0e6e0, th=0xa308a78) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x015d519c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x99e7cb0, th=0xa308a78) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x015d11fb in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x9f0e6e0, th=0xa308a78) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x015d5292 in ThreadWeaver::WorkingHardState::applyForWork (this=0x99e7cb0, th=0xa308a78) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x015d2db3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9f0e6e0, th=0xa308a78, previous=0xa081c88) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x015d33be in ThreadWeaver::ThreadRunHelper::run (this=0xaffa62d4, parent=0x9f0e6e0, th=0xa308a78) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0x015d39db in ThreadWeaver::Thread::run (this=0xa308a78) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0x060cfe32 in QThreadPrivate::start (arg=0xa308a78) at thread/qthread_unix.cpp:188
#13 0x078b780e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#14 0x01d367ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xaefa4b70 (LWP 2997)):
#0  0x00553422 in __kernel_vsyscall ()
#1  0x078bbe15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x01d4378d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x060d0e67 in QWaitConditionPrivate::wait (this=0x9f0e6f8, mutex=0xa0272f0, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x9f0e6f8, mutex=0xa0272f0, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x015d2b30 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9f0e6e0, th=0x9fabbe8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x015d519c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x99e7cb0, th=0x9fabbe8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x015d11fb in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x9f0e6e0, th=0x9fabbe8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x015d5292 in ThreadWeaver::WorkingHardState::applyForWork (this=0x99e7cb0, th=0x9fabbe8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x015d2db3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9f0e6e0, th=0x9fabbe8, previous=0xbb99470) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x015d33be in ThreadWeaver::ThreadRunHelper::run (this=0xaefa42d4, parent=0x9f0e6e0, th=0x9fabbe8) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0x015d39db in ThreadWeaver::Thread::run (this=0x9fabbe8) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0x060cfe32 in QThreadPrivate::start (arg=0x9fabbe8) at thread/qthread_unix.cpp:188
#13 0x078b780e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#14 0x01d367ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb6881950 (LWP 2977)):
#0  0x0895bd2c in ?? () from /usr/lib/libxcb.so.1
#1  0x0895c2eb in ?? () from /usr/lib/libxcb.so.1
#2  0x0895c687 in xcb_writev () from /usr/lib/libxcb.so.1
#3  0x08edc2e9 in _XSend () from /usr/lib/libX11.so.6
#4  0x08ec8a8d in ?? () from /usr/lib/libX11.so.6
#5  0x08ec8c5a in XPutImage () from /usr/lib/libX11.so.6
#6  0x00e2f101 in QX11PixmapData::fromImage (this=0xbd1aa50, img=..., flags=...) at image/qpixmap_x11.cpp:563
#7  0x00e1b597 in QPixmap::fromImage (image=..., flags=...) at image/qpixmap.cpp:1968
#8  0x00e68dbe in QPaintEngine::drawImage (this=0xb956ca0, r=..., image=..., sr=..., flags=...) at painting/qpaintengine.cpp:617
#9  0x00f1cfb9 in QX11PaintEngine::drawImage (this=0xb956ca0, r=..., image=..., sr=..., flags=...) at painting/qpaintengine_x11.cpp:1889
#10 0x00e7f154 in QPainterPrivate::draw_helper (this=0xbdf1750, originalPath=..., op=<value optimized out>) at painting/qpainter.cpp:476
#11 0x00e84c59 in QPainter::drawPath (this=0xbf8f77ec, path=...) at painting/qpainter.cpp:3216
#12 0x00e86a74 in QPainter::drawRoundedRect (this=0xbf8f77ec, rect=..., xRadius=4, yRadius=5, mode=Qt::AbsoluteSize) at painting/qpainter.cpp:4072
#13 0x08a31424 in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#14 0x08a41daa in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#15 0x061bf83a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x9983560, receiver=0x9f42d68, event=0xbf8f7d54) at kernel/qcoreapplication.cpp:726
#16 0x00d4cf2c in QApplicationPrivate::notify_helper (this=0x9983560, receiver=0x9f42d68, e=0xbf8f7d54) at kernel/qapplication.cpp:4052
#17 0x00d545ca in QApplication::notify (this=0xbf8f8c9c, receiver=0x9f42d68, e=0xbf8f7d54) at kernel/qapplication.cpp:4021
#18 0x0033abfa in KApplication::notify (this=0xbf8f8c9c, receiver=0x9f42d68, event=0xbf8f7d54) at ../../kdeui/kernel/kapplication.cpp:302
#19 0x061c06cb in QCoreApplication::notifyInternal (this=0xbf8f8c9c, receiver=0x9f42d68, event=0xbf8f7d54) at kernel/qcoreapplication.cpp:610
#20 0x00da9e25 in QCoreApplication::sendSpontaneousEvent (this=0x9f42e50, pdev=0x99e536c, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x99eabd8)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#21 QWidgetPrivate::drawWidget (this=0x9f42e50, pdev=0x99e536c, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x99eabd8) at kernel/qwidget.cpp:5079
#22 0x00daa64d in QWidgetPrivate::paintSiblingsRecursive (this=0x9995cb8, pdev=0x99e536c, siblings=..., index=58, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x99eabd8)
    at kernel/qwidget.cpp:5189
#23 0x00daa569 in QWidgetPrivate::paintSiblingsRecursive (this=0x9995cb8, pdev=0x99e536c, siblings=..., index=61, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x99eabd8)
    at kernel/qwidget.cpp:5180
#24 0x00daa569 in QWidgetPrivate::paintSiblingsRecursive (this=0x9995cb8, pdev=0x99e536c, siblings=..., index=67, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x99eabd8)
    at kernel/qwidget.cpp:5180
#25 0x00da9a16 in QWidgetPrivate::drawWidget (this=0x9995cb8, pdev=0x99e536c, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x99eabd8) at kernel/qwidget.cpp:5128
#26 0x00f382f8 in QWidgetBackingStore::sync (this=0x99eabd8) at painting/qbackingstore.cpp:1269
#27 0x00d9b116 in QWidgetPrivate::syncBackingStore (this=0x9995cb8) at kernel/qwidget.cpp:1603
#28 0x00da2215 in QWidget::event (this=0x99eaa88, event=0xa2d0648) at kernel/qwidget.cpp:7827
#29 0x0116f297 in QMainWindow::event (this=0x99eaa88, event=0xa2d0648) at widgets/qmainwindow.cpp:1399
#30 0x00420dc4 in KMainWindow::event (this=0x99eaa88, ev=0xa2d0648) at ../../kdeui/widgets/kmainwindow.cpp:1094
#31 0x00d4cf54 in QApplicationPrivate::notify_helper (this=0x9983560, receiver=0x99eaa88, e=0xa2d0648) at kernel/qapplication.cpp:4056
#32 0x00d545ca in QApplication::notify (this=0xbf8f8c9c, receiver=0x99eaa88, e=0xa2d0648) at kernel/qapplication.cpp:4021
#33 0x0033abfa in KApplication::notify (this=0xbf8f8c9c, receiver=0x99eaa88, event=0xa2d0648) at ../../kdeui/kernel/kapplication.cpp:302
#34 0x061c06cb in QCoreApplication::notifyInternal (this=0xbf8f8c9c, receiver=0x99eaa88, event=0xa2d0648) at kernel/qcoreapplication.cpp:610
#35 0x061c12b2 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x98cf050) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#36 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x98cf050) at kernel/qcoreapplication.cpp:1247
#37 0x061c147d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1140
#38 0x061eb3ff in QCoreApplication::sendPostedEvents (s=0x9993790) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#39 postEventSourceDispatch (s=0x9993790) at kernel/qeventdispatcher_glib.cpp:210
#40 0x062f9e78 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#41 0x062fd720 in ?? () from /lib/libglib-2.0.so.0
#42 0x062fd853 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#43 0x061eb02c in QEventDispatcherGlib::processEvents (this=0x98cee60, flags=...) at kernel/qeventdispatcher_glib.cpp:327
#44 0x00dedbe5 in QGuiEventDispatcherGlib::processEvents (this=0x98cee60, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#45 0x061bec79 in QEventLoop::processEvents (this=0xbf8f8c04, flags=) at kernel/qeventloop.cpp:149
#46 0x061bf0ca in QEventLoop::exec (this=0xbf8f8c04, flags=...) at kernel/qeventloop.cpp:201
#47 0x061c153f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#48 0x00d4cdd7 in QApplication::exec () at kernel/qapplication.cpp:3525
#49 0x08051e49 in main (argc=1, argv=0xbf8f94a4) at /build/buildd/amarok-2.2.0/src/main.cpp:225

Reported using DrKonqi
Comment 1 Dario Andres 2009-11-21 22:15:43 UTC
Fixed in 2.2.1. Thanks

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