Bug 300589

Summary: Amarok crash during the startup.
Product: [Applications] amarok Reporter: giggi1999
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED WORKSFORME    
Severity: crash CC: alfa.bruno, matej, roberi.mattia
Priority: NOR    
Version: 2.5-git   
Target Milestone: 2.6   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi

Description giggi1999 2012-05-25 07:00:03 UTC
Application: amarok (2.5-GIT)
KDE Platform Version: 4.8.3 (4.8.3)
Qt Version: 4.8.1
Operating System: Linux 3.3.6-1-ARCH x86_64
Distribution (Platform): Archlinux Packages

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

When ?i'm starting Amarock it crasches.

And I'll fixing the problem by editing the file 
~/.kde4/share/config/amarock_homerh

And by replacint the 3 with a 1 in the line:
firstShowingApplet=3

-- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
Using host libthread_db library "/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f563af677c0 (LWP 2831))]

Thread 12 (Thread 0x7f561579d700 (LWP 2835)):
#0  0x00007f5635b78d9f in __pthread_mutex_unlock_usercnt () from /lib/libpthread.so.0
#1  0x00007f56310f44d1 in g_mutex_unlock () from /usr/lib/libglib-2.0.so.0
#2  0x00007f56310b7fa5 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#3  0x00007f56310b869b in ?? () from /usr/lib/libglib-2.0.so.0
#4  0x00007f56310b8894 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0x00007f56383b81b6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007f5638388f8f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0x00007f5638389218 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#8  0x00007f563828d6f0 in QThread::exec() () from /usr/lib/libQtCore.so.4
#9  0x00007f563836998f in ?? () from /usr/lib/libQtCore.so.4
#10 0x00007f563829068b in ?? () from /usr/lib/libQtCore.so.4
#11 0x00007f5625574b74 in ?? () from /usr/lib/libGL.so.1
#12 0x00007f5635b75e0e in start_thread () from /lib/libpthread.so.0
#13 0x00007f5637a3f1ed in clone () from /lib/libc.so.6

Thread 11 (Thread 0x7f560ffff700 (LWP 2836)):
#0  0x00007f5637a3706f in poll () from /lib/libc.so.6
#1  0x00007f56310b8774 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f56310b8894 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f56383b81b6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x00007f5638388f8f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007f5638389218 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007f563828d6f0 in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x00007f563829068b in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007f5625574b74 in ?? () from /usr/lib/libGL.so.1
#9  0x00007f5635b75e0e in start_thread () from /lib/libpthread.so.0
#10 0x00007f5637a3f1ed in clone () from /lib/libc.so.6

Thread 10 (Thread 0x7f560f3c1700 (LWP 2837)):
#0  0x00007f56310b7eb0 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#1  0x00007f56310b869b in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f56310b8894 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f56383b81b6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x00007f5638388f8f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007f5638389218 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007f563828d6f0 in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x00007f563829068b in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007f5625574b74 in ?? () from /usr/lib/libGL.so.1
#9  0x00007f5635b75e0e in start_thread () from /lib/libpthread.so.0
#10 0x00007f5637a3f1ed in clone () from /lib/libc.so.6

Thread 9 (Thread 0x7f560ebc0700 (LWP 2838)):
#0  0x00007f5635b79c61 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f5638290ae7 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f563828439f in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007f563829068b in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007f5625574b74 in ?? () from /usr/lib/libGL.so.1
#5  0x00007f5635b75e0e in start_thread () from /lib/libpthread.so.0
#6  0x00007f5637a3f1ed in clone () from /lib/libc.so.6

Thread 8 (Thread 0x7f560e1b9700 (LWP 2839)):
#0  0x00007f5635b798f4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f5638290b8b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f5634ed5dd1 in ?? () from /usr/lib/libthreadweaver.so.4
#3  0x00007f5634ed861b in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007f5634ed748f in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007f5634ed751b in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#6  0x00007f563829068b in ?? () from /usr/lib/libQtCore.so.4
#7  0x00007f5625574b74 in ?? () from /usr/lib/libGL.so.1
#8  0x00007f5635b75e0e in start_thread () from /lib/libpthread.so.0
#9  0x00007f5637a3f1ed in clone () from /lib/libc.so.6

Thread 7 (Thread 0x7f560d3a3700 (LWP 2840)):
#0  0x00007f5635b798f4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f5638290b8b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f5634ed5dd1 in ?? () from /usr/lib/libthreadweaver.so.4
#3  0x00007f5634ed861b in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007f5634ed748f in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007f5634ed751b in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#6  0x00007f563829068b in ?? () from /usr/lib/libQtCore.so.4
#7  0x00007f5625574b74 in ?? () from /usr/lib/libGL.so.1
#8  0x00007f5635b75e0e in start_thread () from /lib/libpthread.so.0
#9  0x00007f5637a3f1ed in clone () from /lib/libc.so.6

Thread 6 (Thread 0x7f560cba2700 (LWP 2841)):
#0  0x00007f5635b798f4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f5638290b8b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f5634ed5dd1 in ?? () from /usr/lib/libthreadweaver.so.4
#3  0x00007f5634ed861b in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007f5634ed748f in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007f5634ed751b in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#6  0x00007f563829068b in ?? () from /usr/lib/libQtCore.so.4
#7  0x00007f5625574b74 in ?? () from /usr/lib/libGL.so.1
#8  0x00007f5635b75e0e in start_thread () from /lib/libpthread.so.0
#9  0x00007f5637a3f1ed in clone () from /lib/libc.so.6

Thread 5 (Thread 0x7f55fffff700 (LWP 2842)):
#0  0x00007f5635b798f4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f5638290b8b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f5634ed5dd1 in ?? () from /usr/lib/libthreadweaver.so.4
#3  0x00007f5634ed861b in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007f5634ed748f in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007f5634ed751b in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#6  0x00007f563829068b in ?? () from /usr/lib/libQtCore.so.4
#7  0x00007f5625574b74 in ?? () from /usr/lib/libGL.so.1
#8  0x00007f5635b75e0e in start_thread () from /lib/libpthread.so.0
#9  0x00007f5637a3f1ed in clone () from /lib/libc.so.6

Thread 4 (Thread 0x7f55ff3d2700 (LWP 2843)):
#0  0x00007f5635b798f4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f562d20024c in ?? () from /usr/lib/libQtWebKit.so.4
#2  0x00007f562d200379 in ?? () from /usr/lib/libQtWebKit.so.4
#3  0x00007f5625574b74 in ?? () from /usr/lib/libGL.so.1
#4  0x00007f5635b75e0e in start_thread () from /lib/libpthread.so.0
#5  0x00007f5637a3f1ed in clone () from /lib/libc.so.6

Thread 3 (Thread 0x7f55fdf41700 (LWP 2844)):
#0  0x00007f5637a38e43 in select () from /lib/libc.so.6
#1  0x00007f5638368fc2 in ?? () from /usr/lib/libQtCore.so.4
#2  0x00007f563829068b in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007f5625574b74 in ?? () from /usr/lib/libGL.so.1
#4  0x00007f5635b75e0e in start_thread () from /lib/libpthread.so.0
#5  0x00007f5637a3f1ed in clone () from /lib/libc.so.6

Thread 2 (Thread 0x7f55fd523700 (LWP 2846)):
#0  0x00007f5635b798f4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f5633f06ae7 in ?? () from /usr/lib/libQtScript.so.4
#2  0x00007f5633f06b19 in ?? () from /usr/lib/libQtScript.so.4
#3  0x00007f5625574b74 in ?? () from /usr/lib/libGL.so.1
#4  0x00007f5635b75e0e in start_thread () from /lib/libpthread.so.0
#5  0x00007f5637a3f1ed in clone () from /lib/libc.so.6

Thread 1 (Thread 0x7f563af677c0 (LWP 2831)):
[KCrash Handler]
#5  0x00007f5638273580 in QAbstractAnimation::state() const () from /usr/lib/libQtCore.so.4
#6  0x00007f5639d5c6dc in Context::ContextView::addCollapseAnimation (this=0x1bf5e40, anim=0x27414a0) at /opt/packages/amarok-git/src/amarok/src/context/ContextView.cpp:248
#7  0x00007f5639d59377 in Context::Applet::collapse (this=0x1e1ba00, on=<optimized out>) at /opt/packages/amarok-git/src/amarok/src/context/Applet.cpp:321
#8  0x00007f55fe37bbf4 in Albums::dataUpdated (this=0x1e1ba00, name=..., data=...) at /opt/packages/amarok-git/src/amarok/src/context/applets/albums/Albums.cpp:157
#9  0x00007f563839f3ff in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#10 0x00007f563435e7a7 in Plasma::DataContainer::dataUpdated(QString const&, QHash<QString, QVariant> const&) () from /usr/lib/libplasma.so.3
#11 0x00007f563435f58a in Plasma::DataContainer::checkForUpdate() () from /usr/lib/libplasma.so.3
#12 0x00007f5634361cab in Plasma::DataEngine::timerEvent(QTimerEvent*) () from /usr/lib/libplasma.so.3
#13 0x00007f563839e70c in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#14 0x00007f5638d7206c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#15 0x00007f5638d7659a in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#16 0x00007f563aad8f86 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#17 0x00007f5638389f8e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#18 0x00007f56383baa02 in ?? () from /usr/lib/libQtCore.so.4
#19 0x00007f56383b7ab4 in ?? () from /usr/lib/libQtCore.so.4
#20 0x00007f56310b84a5 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#21 0x00007f56310b87d8 in ?? () from /usr/lib/libglib-2.0.so.0
#22 0x00007f56310b8894 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#23 0x00007f56383b8196 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#24 0x00007f5638e1242e in ?? () from /usr/lib/libQtGui.so.4
#25 0x00007f5638388f8f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#26 0x00007f5638389218 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#27 0x00007f563838dbf8 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#28 0x0000000000408442 in main (argc=0, argv=<optimized out>) at /opt/packages/amarok-git/src/amarok/src/main.cpp:305

Possible duplicates by query: bug 299380, bug 297982, bug 297010, bug 294614, bug 294365.

Reported using DrKonqi
Comment 1 Mattia roberi 2012-05-25 16:59:28 UTC
Created attachment 71365 [details]
New crash information added by DrKonqi

amarok (2.5.0) on KDE Platform 4.8.2 (4.8.2) using Qt 4.8.1

fixed with firstShowingApplet=0   ==>  firstShowingApplet=1

-- Backtrace (Reduced):
#7  0xb59079b4 in QAbstractAnimation::state (this=0x29) at animation/qabstractanimation.cpp:662
#8  0xb6bcae91 in Context::ContextView::addCollapseAnimation (this=0x96f47e8, anim=0x96b9550) at ../../src/context/ContextView.cpp:245
#9  0xb6bc756b in Context::Applet::collapse (this=0x977b3d0, on=false) at ../../src/context/Applet.cpp:321
#10 0xb6bc76e3 in Context::Applet::setCollapseOff (this=0x977b3d0) at ../../src/context/Applet.cpp:279
#11 0x9e769802 in LyricsApplet::dataUpdated (this=0x977b3d0, name=..., data=...) at ../../../../../src/context/applets/lyrics/LyricsApplet.cpp:611
Comment 2 Myriam Schweingruber 2012-05-25 20:38:45 UTC
To the OR: do you really use the very latest git build? This was fixed on May 11th, please see also https://bugs.kde.org/show_bug.cgi?id=258741#c123
Comment 3 giggi1999 2012-05-26 07:03:54 UTC
(In reply to comment #2)
> To the OR: do you really use the very latest git build? 

Yes, It is reffered to the git repo on 25 may.

>This was fixed on
> May 11th, please see also https://bugs.kde.org/show_bug.cgi?id=258741#c123

Ok.
Comment 4 Matěj Laitl 2012-05-26 16:03:52 UTC
(In reply to comment #3)
> Yes, It is reffered to the git repo on 25 may.

giggi1999, please do the following to help us investigate the crash:
1. uninstall any distribution Amarok packages that you may have installed
2. install debugging packages for Qt (at least qt core, qt gui)
3. pull latest git and rebuild Amarok
4. post updated backtrace + the output of `git describe` run in Amarok source directory

Thanks!
Comment 5 Bruno Alison de Oliveira 2012-06-02 14:32:40 UTC
Created attachment 71512 [details]
New crash information added by DrKonqi

amarok (2.5.0) on KDE Platform 4.8.2 (4.8.2) using Qt 4.8.1

- What I was doing when the application crashed:

Greetings

KDE team

A few days ago my Amarok will not start, do not know how to solve it.
Please help me with this problem.

Thank you!

-- Backtrace (Reduced):
#7  0x046e29e4 in QAbstractAnimation::state (this=0x29) at animation/qabstractanimation.cpp:662
#8  0x00f80ba1 in Context::ContextView::addCollapseAnimation(QAbstractAnimation*) () from /usr/lib/libamaroklib.so.1
#9  0x00f7d3ab in Context::Applet::collapse(bool) () from /usr/lib/libamaroklib.so.1
#10 0x00f7d523 in Context::Applet::setCollapseOff() () from /usr/lib/libamaroklib.so.1
[...]
#14 0x0481ed7d in metacall (argv=0xbff8be24, idx=71, cl=QMetaObject::InvokeMetaMethod, object=0x9669910) at kernel/qmetaobject.cpp:245
Comment 6 Myriam Schweingruber 2012-06-03 12:22:15 UTC
(In reply to comment #5)
> Created attachment 71512 [details]
> New crash information added by DrKonqi
> 
> amarok (2.5.0) on KDE Platform 4.8.2 (4.8.2) using Qt 4.8.1
> 
> - What I was doing when the application crashed:
> 
> Greetings
> 
> KDE team
> 
> A few days ago my Amarok will not start, do not know how to solve it.
> Please help me with this problem.
> 
> Thank you!
> 
> -- Backtrace (Reduced):
> #7  0x046e29e4 in QAbstractAnimation::state (this=0x29) at
> animation/qabstractanimation.cpp:662
> #8  0x00f80ba1 in
> Context::ContextView::addCollapseAnimation(QAbstractAnimation*) () from
> /usr/lib/libamaroklib.so.1
> #9  0x00f7d3ab in Context::Applet::collapse(bool) () from
> /usr/lib/libamaroklib.so.1
> #10 0x00f7d523 in Context::Applet::setCollapseOff() () from
> /usr/lib/libamaroklib.so.1
> [...]
> #14 0x0481ed7d in metacall (argv=0xbff8be24, idx=71,
> cl=QMetaObject::InvokeMetaMethod, object=0x9669910) at
> kernel/qmetaobject.cpp:245

This is not the same bug, yours is a duplicate of bug 258741, already solved in the upcoming Amarok 2.6

@giggi1999: still waiting for your feedback.
Comment 7 Myriam Schweingruber 2012-09-12 09:07:40 UTC
Closing for lack of feedback. Please feel free to reopen this report if you can reproduce it with Amarok 2.6.0 or later and provide the requested information.