Bug 232260 - amarok crashes at startup
Summary: amarok crashes at startup
Status: RESOLVED DUPLICATE of bug 227639
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 2.3.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-26 19:39 UTC by andreaswuest
Modified: 2010-03-26 19:43 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
configuration files showing the problem (428 bytes, text/plain)
2010-03-26 19:41 UTC, andreaswuest
Details

Note You need to log in before you can comment on or make changes to this bug.
Description andreaswuest 2010-03-26 19:39:54 UTC
Version:           2.3.0 (using KDE 4.4.1)
OS:                Linux
Installed from:    Ubuntu Packages

Hi,

amarok crashes on startup with certain containment configurations:

here is the backtrace:
Application: Amarok (amarok), signal: Segmentation fault
[Current thread is 1 (Thread 0xb7770760 (LWP 4834))]

Thread 9 (Thread 0xb571bb70 (LWP 4835)):
#0  0x00436422 in __kernel_vsyscall ()
#1  0x00e3d142 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x00d118d4 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3  0x03f5e9ff in ?? () from /usr/lib/libxine.so.1
#4  0x00e3880e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0x00d048de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 8 (Thread 0xb4f1ab70 (LWP 4836)):
#0  0x02bb6813 in g_main_context_release () from /lib/libglib-2.0.so.0
#1  0x02bb8491 in ?? () from /lib/libglib-2.0.so.0
#2  0x02bb8863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x005cb83f in QEventDispatcherGlib::processEvents (this=0x90bc408, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#4  0x0059e209 in QEventLoop::processEvents (this=0xb4f1a230, flags=) at kernel/qeventloop.cpp:149
#5  0x0059e65a in QEventLoop::exec (this=0xb4f1a230, flags=...) at kernel/qeventloop.cpp:201
#6  0x0049a5e8 in QThread::exec (this=0x901bc78) at thread/qthread.cpp:487
#7  0x03bc7a5a in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#8  0x0049d36e in QThreadPrivate::start (arg=0x901bc78) at thread/qthread_unix.cpp:248
#9  0x00e3880e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#10 0x00d048de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 7 (Thread 0xb4719b70 (LWP 4839)):
#0  0x00436422 in __kernel_vsyscall ()
#1  0x00cf6c96 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0x03a1ac3b in ?? () from /usr/lib/xine/plugins/1.26/xineplug_ao_out_alsa.so
#3  0x00e3880e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#4  0x00d048de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 6 (Thread 0xb3f18b70 (LWP 4840)):
#0  0x00436422 in __kernel_vsyscall ()
#1  0x00e3ce15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x00d1187d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x03f6f5ee in ?? () from /usr/lib/libxine.so.1
#4  0x00e3880e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0x00d048de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 5 (Thread 0xb3717b70 (LWP 4841)):
#0  0x00436422 in __kernel_vsyscall ()
#1  0x00e3ce15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x00d1187d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x03f6f5ee in ?? () from /usr/lib/libxine.so.1
#4  0x00e3880e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0x00d048de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 0xb2f16b70 (LWP 4842)):
#0  0x00436422 in __kernel_vsyscall ()
#1  0x00e3ce15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x00d1187d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x03f6f5ee in ?? () from /usr/lib/libxine.so.1
#4  0x00e3880e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0x00d048de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xb25ffb70 (LWP 4843)):
#0  0x00436422 in __kernel_vsyscall ()
#1  0x00e3ce15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x00d1187d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x03f6f5ee in ?? () from /usr/lib/libxine.so.1
#4  0x00e3880e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0x00d048de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xb1706b70 (LWP 4846)):
#0  0x00436422 in __kernel_vsyscall ()
#1  0x00e3ce15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x00d1187d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x01dc7407 in ?? () from /usr/lib/libQtWebKit.so.4
#4  0x01dc7451 in ?? () from /usr/lib/libQtWebKit.so.4
#5  0x00e3880e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0x00d048de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb7770760 (LWP 4834)):
[KCrash Handler]
#6  0x05d78c62 in qt_closestItemFirst (item1=0x9bda260, item2=0x9a675b0) at graphicsview/qgraphicsitem_p.h:681
#7  0x05d7f3a1 in QAlgorithmsPrivate::qSortHelper<QList<QGraphicsItem*>::iterator, QGraphicsItem*, bool (*)(QGraphicsItem const*, QGraphicsItem const*)> (start=..., end=..., t=@0x9c0dc6c, 
    lessThan=0x5d78b90 <qt_closestItemFirst>) at ../../include/QtCore/../../src/corelib/tools/qalgorithms.h:351
#8  0x05d7f547 in qSort<QList<QGraphicsItem*>::iterator, bool (*)(QGraphicsItem const*, QGraphicsItem const*)> (start=..., end=..., lessThan=0x5d78b90 <qt_closestItemFirst>)
    at ../../include/QtCore/../../src/corelib/tools/qalgorithms.h:187
#9  0x05d7e2fe in QGraphicsSceneBspTreeIndexPrivate::sortItems (itemList=0xbfbe52cc, order=Qt::DescendingOrder, sortCacheEnabled=false, onlyTopLevelItems=false)
    at graphicsview/qgraphicsscenebsptreeindex.cpp:434
#10 0x05d7e519 in QGraphicsSceneBspTreeIndex::items (this=0x9a244f8, order=Qt::DescendingOrder) at graphicsview/qgraphicsscenebsptreeindex.cpp:572
#11 0x05d58167 in QGraphicsScene::items (this=0x9a262d8) at graphicsview/qgraphicsscene.cpp:1900
#12 0x05d5e9a9 in QGraphicsScene::itemsBoundingRect (this=0x9a262d8) at graphicsview/qgraphicsscene.cpp:1887
#13 0x05d65d0d in QGraphicsScene::sceneRect (this=0x9a262d8) at graphicsview/qgraphicsscene.cpp:1636
#14 0x05d88b1d in QGraphicsView::sceneRect (this=0x9a69b30) at graphicsview/qgraphicsview.cpp:1625
#15 0x081c09f9 in Plasma::viewFor (item=0x9bda260) at ../../plasma/plasma.cpp:101
#16 0x0827d7c0 in Plasma::WebView::itemChange (this=0x9bda258, change=QGraphicsItem::ItemSceneHasChanged, value=...) at ../../plasma/widgets/webview.cpp:492
#17 0x05d69ea2 in QGraphicsScene::addItem (this=0x9a262d8, item=0x9bda260) at graphicsview/qgraphicsscene.cpp:2621
#18 0x05d69e07 in QGraphicsScene::addItem (this=0x9a262d8, item=0x9b25048) at graphicsview/qgraphicsscene.cpp:2608
#19 0x05d36c30 in QGraphicsItemPrivate::setParentItemHelper (this=0x9be6928, newParent=0x9a675b0, newParentVariant=0xbfbe57dc, thisPointerVariant=0xbfbe57c4) at graphicsview/qgraphicsitem.cpp:1131
#20 0x05d3728f in QGraphicsItem::setParentItem (this=0x9b25048, newParent=0x9a675b0) at graphicsview/qgraphicsitem.cpp:1601
#21 0x0817a633 in Plasma::Containment::addApplet (this=0x9a675a8, applet=0x9b25040, pos=..., delayInit=false) at ../../plasma/containment.cpp:941
#22 0x0817ad2d in Plasma::ContainmentPrivate::addApplet (this=0x9a6a4a0, name=..., args=..., appletGeometry=..., id=0, delayInit=<value optimized out>) at ../../plasma/containment.cpp:2284
#23 0x0817afa9 in Plasma::Containment::addApplet (this=0x9a675a8, name=..., args=..., appletGeometry=...) at ../../plasma/containment.cpp:893
#24 0x0468e9ab in ?? () from /usr/lib/kde4/amarok_containment_vertical.so
#25 0x0468eee4 in ?? () from /usr/lib/kde4/amarok_containment_vertical.so
#26 0x0100194b in Context::ContextView::loadConfig() () from /usr/lib/libamaroklib.so.1
#27 0x01002241 in Context::ContextView::showHome() () from /usr/lib/libamaroklib.so.1
#28 0x0143e55d in MainWindow::createContextView(Plasma::Containment*) () from /usr/lib/libamaroklib.so.1
#29 0x01449ce6 in MainWindow::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libamaroklib.so.1
#30 0x005a4e5a in QMetaObject::metacall (object=0x90f8ec8, cl=161904048, idx=72, argv=0xbfbe5d68) at kernel/qmetaobject.cpp:237
#31 0x005b35f5 in QMetaObject::activate (sender=0x9a262d8, m=0x8330c64, local_signal_index=0, argv=0xbfbe5d68) at kernel/qobject.cpp:3293
#32 0x0818aa03 in Plasma::Corona::containmentAdded (this=0x9a262d8, _t1=0x9a675a8) at ./corona.moc:146
#33 0x0818fd8d in Plasma::CoronaPrivate::addContainment (this=0x9a26728, name=..., args=..., id=0, delayedInit=false) at ../../plasma/corona.cpp:248
#34 0x0818c762 in Plasma::Corona::addContainment (this=0x9a262d8, name=..., args=...) at ../../plasma/corona.cpp:468
#35 0x010004bb in Context::ContextScene::loadDefaultSetup() () from /usr/lib/libamaroklib.so.1
#36 0x0144aacb in MainWindow::init() () from /usr/lib/libamaroklib.so.1
#37 0x0144cf2c in MainWindow::MainWindow() () from /usr/lib/libamaroklib.so.1
#38 0x01414fa2 in App::continueInit() () from /usr/lib/libamaroklib.so.1
#39 0x0141808e in App::App() () from /usr/lib/libamaroklib.so.1
#40 0x0804ffcc in _start ()

as far as i could reproduce the problem the issue is caused by this
configuration in amarok_homerc:

[Containment 0]
firstShowingApplet=3
plugins=currenttrack,lyrics,wikipedia,info

i have attached my full amarok_homerc so you can reproduce the problem.

cheers,
andy
Comment 1 andreaswuest 2010-03-26 19:41:06 UTC
Created attachment 42280 [details]
configuration files showing the problem
Comment 2 andreaswuest 2010-03-26 19:42:32 UTC
note that i did not manually change the configuration. the configuration was written as is by amarok!
Comment 3 Sven Krohlas 2010-03-26 19:43:34 UTC

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