Bug 305784 - Crash when startet from menu
Summary: Crash when startet from menu
Status: RESOLVED DOWNSTREAM
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 2.6.0
Platform: Debian unstable Linux
: NOR crash
Target Milestone: 2.7
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-25 20:56 UTC by x545
Modified: 2012-10-24 11:56 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description x545 2012-08-25 20:56:41 UTC
Application: amarok (2.6.0)
KDE Platform Version: 4.8.4 (4.8.4)
Qt Version: 4.8.2
Operating System: Linux 3.5.2-dirty x86_64
Distribution: Debian GNU/Linux unstable (sid)

-- Information about the crash:
- What I was doing when the application crashed:
Start the application with from kmenu. It doesn't even shows the main window.

- Unusual behavior I noticed:
When startet from console, the app doesn't crash.

The crash can be reproduced every time.

-- Backtrace:
Application: Amarok (amarok), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
__lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
[Current thread is 1 (Thread 0x7ff6b92597a0 (LWP 17641))]

Thread 7 (Thread 0x7ff6919d6700 (LWP 17646)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ff694769eaf in ?? () from /usr/lib/libvlccore.so.5
#2  0x00007ff6a2861734 in ?? () from /usr/lib/x86_64-linux-gnu/libGL.so.1
#3  0x00007ff6b22e6b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#4  0x00007ff6b5aca70d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7ff68e906700 (LWP 17750)):
#0  0x00007ff6b5ad7034 in pthread_mutex_lock (mutex=0x7ff688000970) at forward.c:182
#1  0x00007ff6af2b01b1 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff6af273d19 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff6af2743fb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ff6af2745f4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ff6b6442296 in QEventDispatcherGlib::processEvents (this=0x1440860, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007ff6b64128af in QEventLoop::processEvents (this=this@entry=0x7ff68e905d10, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007ff6b6412b38 in QEventLoop::exec (this=0x7ff68e905d10, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007ff6b6315d70 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007ff6b63f31bf in QInotifyFileSystemWatcherEngine::run (this=0x1869400) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007ff6b6318d0b in QThreadPrivate::start (arg=0x1869400) at thread/qthread_unix.cpp:307
#11 0x00007ff6a2861734 in ?? () from /usr/lib/x86_64-linux-gnu/libGL.so.1
#12 0x00007ff6b22e6b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#13 0x00007ff6b5aca70d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7ff685caa700 (LWP 17751)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007ff6b5a6e4b8 in _L_lock_9627 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007ff6b5a6c8a1 in *__GI___libc_free (mem=0x7ff678000020) at malloc.c:3736
#3  0x00007ff6b5a8dafd in tzset_internal (always=<optimized out>, explicit=<optimized out>) at tzset.c:435
#4  0x00007ff6b5a8dd90 in __tzset () at tzset.c:592
#5  0x00007ff6b6327feb in utcToLocal (time=..., date=...) at tools/qdatetime.cpp:4069
#6  QDateTimePrivate::getLocal (this=this@entry=0x7ff688275090, outDate=..., outTime=...) at tools/qdatetime.cpp:4189
#7  0x00007ff6b6328177 in QDateTime::setTime_t (this=this@entry=0x7ff685ca9970, secsSince1Jan1970UTC=secsSince1Jan1970UTC@entry=0) at tools/qdatetime.cpp:2445
#8  0x00007ff6b63281c2 in QDateTime::fromTime_t (seconds=0) at tools/qdatetime.cpp:3207
#9  0x00007ff6904f57a1 in Meta::SqlTrack::SqlTrack (this=0x7ff68826c1e0, collection=<optimized out>, result=...) at ../../../../../../src/core-impl/collections/db/sql/SqlMeta.cpp:187
#10 0x00007ff6904e2eeb in SqlRegistry::getTrack (this=0x1828d60, path=...) at ../../../../../../src/core-impl/collections/db/sql/SqlRegistry.cpp:169
#11 0x00007ff6904cabeb in Collections::SqlCollection::trackForUrl (this=0x1828ed0, url=...) at ../../../../../../src/core-impl/collections/db/sql/SqlCollection.cpp:423
#12 0x00007ff6b80ca4d1 in CollectionManager::trackForUrl (this=<optimized out>, url=...) at ../../src/core-impl/collections/support/CollectionManager.cpp:457
#13 0x00007ff6b807046c in MetaProxy::Worker::run (this=0x4eef300) at ../../src/core-impl/meta/proxy/MetaProxyWorker.cpp:32
#14 0x00007ff6b38891ba in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0x7ff685ca9cf0, th=th@entry=0x195e9c0, job=job@entry=0x4eef300) at ../../../threadweaver/Weaver/Job.cpp:106
#15 0x00007ff6b3889331 in ThreadWeaver::Job::execute (this=0x4eef300, th=0x195e9c0) at ../../../threadweaver/Weaver/Job.cpp:135
#16 0x00007ff6b388898f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7ff685ca9d40, parent=0x1a69fd0, th=th@entry=0x195e9c0) at ../../../threadweaver/Weaver/Thread.cpp:95
#17 0x00007ff6b3888a4b in ThreadWeaver::Thread::run (this=0x195e9c0) at ../../../threadweaver/Weaver/Thread.cpp:142
#18 0x00007ff6b6318d0b in QThreadPrivate::start (arg=0x195e9c0) at thread/qthread_unix.cpp:307
#19 0x00007ff6a2861734 in ?? () from /usr/lib/x86_64-linux-gnu/libGL.so.1
#20 0x00007ff6b22e6b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#21 0x00007ff6b5aca70d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#22 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7ff684e67700 (LWP 17752)):
[KCrash Handler]
#6  0x00007ff6b5a24475 in *__GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007ff6b5a276f0 in *__GI_abort () at abort.c:92
#8  0x00007ff6b5a5e32b in __libc_message (do_abort=<optimized out>, fmt=<optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#9  0x00007ff6b5a67b76 in malloc_printerr (action=3, str=0x7ff6b5b3e700 "double free or corruption (fasttop)", ptr=<optimized out>) at malloc.c:6283
#10 0x00007ff6b5a6c8ac in *__GI___libc_free (mem=<optimized out>) at malloc.c:3738
#11 0x00007ff6a0d35cc1 in ?? () from /usr/lib/x86_64-linux-gnu/tls/libnvidia-tls.so.304.37
#12 0x00007ff6b681e75e in ~QByteArray (this=<synthetic pointer>, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qbytearray.h:401
#13 getEntry (expand=0x7ff684e667cf, flags=..., defaultValue=..., key=..., group=..., this=0xd27a20) at ../../kdecore/config/kconfigdata.h:354
#14 KConfigPrivate::lookupData (this=0xd279f0, group=..., key=<optimized out>, flags=..., expand=0x7ff684e667cf) at ../../kdecore/config/kconfig.cpp:881
#15 0x00007ff6b6827838 in KConfigGroup::readEntry (this=this@entry=0x7ff684e66a00, key=0x7ff6802965b8 "-1", aDefault=...) at ../../kdecore/config/kconfiggroup.cpp:670
#16 0x00007ff6b682ce58 in KConfigGroup::readEntry (this=this@entry=0x7ff684e66a00, key=<optimized out>, aDefault=...) at ../../kdecore/config/kconfiggroup.cpp:689
#17 0x00007ff6b682cf1d in KConfigGroup::readEntry (this=0x7ff684e66a00, key=..., aDefault=...) at ../../kdecore/config/kconfiggroup.cpp:698
#18 0x00007ff6b8231efa in MountPointManager::collectionFolders (this=0x1866eb0) at ../../src/MountPointManager.cpp:341
#19 0x00007ff6904ca1df in Collections::SqlCollection::collectionFolders (this=<optimized out>) at ../../../../../../src/core-impl/collections/db/sql/SqlCollection.cpp:470
#20 0x00007ff6904cc604 in Collections::SqlCollection::possiblyContainsTrack (this=0x1828ed0, url=...) at ../../../../../../src/core-impl/collections/db/sql/SqlCollection.cpp:409
#21 0x00007ff6b80ca3b9 in CollectionManager::trackForUrl (this=<optimized out>, url=...) at ../../src/core-impl/collections/support/CollectionManager.cpp:455
#22 0x00007ff6b807046c in MetaProxy::Worker::run (this=0x4ef0380) at ../../src/core-impl/meta/proxy/MetaProxyWorker.cpp:32
#23 0x00007ff6b38891ba in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0x7ff684e66cf0, th=th@entry=0x1be7510, job=job@entry=0x4ef0380) at ../../../threadweaver/Weaver/Job.cpp:106
#24 0x00007ff6b3889331 in ThreadWeaver::Job::execute (this=0x4ef0380, th=0x1be7510) at ../../../threadweaver/Weaver/Job.cpp:135
#25 0x00007ff6b388898f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7ff684e66d40, parent=0x1a69fd0, th=th@entry=0x1be7510) at ../../../threadweaver/Weaver/Thread.cpp:95
#26 0x00007ff6b3888a4b in ThreadWeaver::Thread::run (this=0x1be7510) at ../../../threadweaver/Weaver/Thread.cpp:142
#27 0x00007ff6b6318d0b in QThreadPrivate::start (arg=0x1be7510) at thread/qthread_unix.cpp:307
#28 0x00007ff6a2861734 in ?? () from /usr/lib/x86_64-linux-gnu/libGL.so.1
#29 0x00007ff6b22e6b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#30 0x00007ff6b5aca70d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#31 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7ff67ffff700 (LWP 17753)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007ff6b5a6e4b8 in _L_lock_9627 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007ff6b5a6c8a1 in *__GI___libc_free (mem=0x7ff678000020) at malloc.c:3736
#3  0x00007ff6a0d35cc1 in ?? () from /usr/lib/x86_64-linux-gnu/tls/libnvidia-tls.so.304.37
#4  0x00007ff6909e821c in ~QByteArray (this=0x7ff67fffe5d0, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qbytearray.h:401
#5  MySqlStorage::escape (this=0x1472d30, text=...) at ../../../../../../../src/core-impl/collections/db/sql/mysql-shared/MySqlStorage.cpp:217
#6  0x00007ff6904e2d91 in SqlRegistry::getTrack (this=0x1828d60, path=...) at ../../../../../../src/core-impl/collections/db/sql/SqlRegistry.cpp:164
#7  0x00007ff6904cabeb in Collections::SqlCollection::trackForUrl (this=0x1828ed0, url=...) at ../../../../../../src/core-impl/collections/db/sql/SqlCollection.cpp:423
#8  0x00007ff6b80ca4d1 in CollectionManager::trackForUrl (this=<optimized out>, url=...) at ../../src/core-impl/collections/support/CollectionManager.cpp:457
#9  0x00007ff6b807046c in MetaProxy::Worker::run (this=0x4eefe00) at ../../src/core-impl/meta/proxy/MetaProxyWorker.cpp:32
#10 0x00007ff6b38891ba in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0x7ff67fffecf0, th=th@entry=0x1b3aef0, job=job@entry=0x4eefe00) at ../../../threadweaver/Weaver/Job.cpp:106
#11 0x00007ff6b3889331 in ThreadWeaver::Job::execute (this=0x4eefe00, th=0x1b3aef0) at ../../../threadweaver/Weaver/Job.cpp:135
#12 0x00007ff6b388898f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7ff67fffed40, parent=0x1a69fd0, th=th@entry=0x1b3aef0) at ../../../threadweaver/Weaver/Thread.cpp:95
#13 0x00007ff6b3888a4b in ThreadWeaver::Thread::run (this=0x1b3aef0) at ../../../threadweaver/Weaver/Thread.cpp:142
#14 0x00007ff6b6318d0b in QThreadPrivate::start (arg=0x1b3aef0) at thread/qthread_unix.cpp:307
#15 0x00007ff6a2861734 in ?? () from /usr/lib/x86_64-linux-gnu/libGL.so.1
#16 0x00007ff6b22e6b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#17 0x00007ff6b5aca70d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#18 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7ff67f3ec700 (LWP 17754)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007ff6b5a8deab in _L_lock_1791 () at tzset.c:138
#2  0x00007ff6b5a8dd81 in __tzset () at tzset.c:590
#3  0x00007ff6b6327feb in utcToLocal (time=..., date=...) at tools/qdatetime.cpp:4069
#4  QDateTimePrivate::getLocal (this=this@entry=0x7ff68029eae0, outDate=..., outTime=...) at tools/qdatetime.cpp:4189
#5  0x00007ff6b6328177 in QDateTime::setTime_t (this=this@entry=0x7ff67f3eb970, secsSince1Jan1970UTC=secsSince1Jan1970UTC@entry=0) at tools/qdatetime.cpp:2445
#6  0x00007ff6b63281c2 in QDateTime::fromTime_t (seconds=0) at tools/qdatetime.cpp:3207
#7  0x00007ff6904f57a1 in Meta::SqlTrack::SqlTrack (this=0x7ff68029e480, collection=<optimized out>, result=...) at ../../../../../../src/core-impl/collections/db/sql/SqlMeta.cpp:187
#8  0x00007ff6904e2eeb in SqlRegistry::getTrack (this=0x1828d60, path=...) at ../../../../../../src/core-impl/collections/db/sql/SqlRegistry.cpp:169
#9  0x00007ff6904cabeb in Collections::SqlCollection::trackForUrl (this=0x1828ed0, url=...) at ../../../../../../src/core-impl/collections/db/sql/SqlCollection.cpp:423
#10 0x00007ff6b80ca4d1 in CollectionManager::trackForUrl (this=<optimized out>, url=...) at ../../src/core-impl/collections/support/CollectionManager.cpp:457
#11 0x00007ff6b807046c in MetaProxy::Worker::run (this=0x4eef880) at ../../src/core-impl/meta/proxy/MetaProxyWorker.cpp:32
#12 0x00007ff6b38891ba in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0x7ff67f3ebcf0, th=th@entry=0x1a91bd0, job=job@entry=0x4eef880) at ../../../threadweaver/Weaver/Job.cpp:106
#13 0x00007ff6b3889331 in ThreadWeaver::Job::execute (this=0x4eef880, th=0x1a91bd0) at ../../../threadweaver/Weaver/Job.cpp:135
#14 0x00007ff6b388898f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7ff67f3ebd40, parent=0x1a69fd0, th=th@entry=0x1a91bd0) at ../../../threadweaver/Weaver/Thread.cpp:95
#15 0x00007ff6b3888a4b in ThreadWeaver::Thread::run (this=0x1a91bd0) at ../../../threadweaver/Weaver/Thread.cpp:142
#16 0x00007ff6b6318d0b in QThreadPrivate::start (arg=0x1a91bd0) at thread/qthread_unix.cpp:307
#17 0x00007ff6a2861734 in ?? () from /usr/lib/x86_64-linux-gnu/libGL.so.1
#18 0x00007ff6b22e6b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#19 0x00007ff6b5aca70d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#20 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ff6b92597a0 (LWP 17641)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007ff6b5a6e4b8 in _L_lock_9627 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007ff6b5a6c8a1 in *__GI___libc_free (mem=0x7ff678000020) at malloc.c:3736
#3  0x00007ff6a0d35cc1 in ?? () from /usr/lib/x86_64-linux-gnu/tls/libnvidia-tls.so.304.37
#4  0x00007ff6b681cfdb in ~QByteArray (this=0x7ff6784bf9e8, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qbytearray.h:401
#5  ~KEntryKey (this=0x7ff6784bf9e0, __in_chrg=<optimized out>) at ../../kdecore/config/kconfigdata.h:85
#6  QMap<KEntryKey, KEntry>::freeData (x=0x7ff68826fb80, this=<error reading variable: Unhandled dwarf expression opcode 0xfa>) at /usr/include/qt4/QtCore/qmap.h:650
#7  0x00007ff6b6820e89 in operator= (other=..., this=0xd27a20) at /usr/include/qt4/QtCore/qmap.h:435
#8  clear (this=0xd27a20) at /usr/include/qt4/QtCore/qmap.h:446
#9  KConfig::reparseConfiguration (this=<optimized out>) at ../../kdecore/config/kconfig.cpp:583
#10 0x00007ff6b6838146 in KCoreConfigSkeleton::readConfig (this=0x143de70) at ../../kdecore/config/kcoreconfigskeleton.cpp:1065
#11 0x00007ff6b683b184 in KCoreConfigSkeleton::writeConfig (this=0x143de70) at ../../kdecore/config/kcoreconfigskeleton.cpp:1086
#12 0x00007ff6b81ec8c2 in Amarok::SelectAction::setEnabled (this=0x7ff68826c490, b=false) at ../../src/ActionClasses.cpp:290
#13 0x00007ff6b81ef1b4 in Amarok::EqualizerAction::newList (this=this@entry=0x7ff68826c490) at ../../src/ActionClasses.cpp:369
#14 0x00007ff6b81ef42c in Amarok::EqualizerAction::EqualizerAction (this=0x7ff68826c490, ac=0x195ba00, parent=0xd3e960) at ../../src/ActionClasses.cpp:345
#15 0x00007ff6b821738b in MainWindow::createActions (this=this@entry=0xd3e960) at ../../src/MainWindow.cpp:974
#16 0x00007ff6b821e214 in MainWindow::MainWindow (this=0xd3e960) at ../../src/MainWindow.cpp:143
#17 0x00007ff6b81f91b8 in App::continueInit (this=this@entry=0x7fffdd4ee500) at ../../src/App.cpp:545
#18 0x00007ff6b81fa927 in App::App (this=0x7fffdd4ee500) at ../../src/App.cpp:184
#19 0x000000000040906d in main (argc=1, argv=0x7fffdd4ee668) at ../../src/main.cpp:304

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2012-08-26 14:59:42 UTC
This is a problem in the installation. Please run kbuildsycoca4 and try again. If that doesn't help you should report this downstream to Debian.
Comment 2 Myriam Schweingruber 2012-10-21 11:05:41 UTC
Any news on this? Please report back.
Comment 3 x545 2012-10-23 22:02:23 UTC
On 21.10.2012 13:05, Myriam Schweingruber wrote:
> https://bugs.kde.org/show_bug.cgi?id=305784
> 
> --- Comment #2 from Myriam Schweingruber <myriam@kde.org> ---
> Any news on this? Please report back.
> 
kbuildsycoca4 run doesn't help
didn't reported to debian
Comment 4 Christoph Feck 2012-10-23 22:42:18 UTC
KConfig not thread-safe?
Comment 5 Myriam Schweingruber 2012-10-24 11:56:19 UTC
Well, you definitely should report this to Debian then, I can run Amarok from the menu without problem here.