Bug 322446 - Amarok crashes on start
Summary: Amarok crashes on start
Status: RESOLVED DUPLICATE of bug 320855
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: kdecore (show other bugs)
Version: 4.10.90
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
: 322421 323131 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-07-16 16:49 UTC by Petr Tesarik
Modified: 2013-08-14 09:06 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
proposed fix - please review if "data" is the correct resource name (703 bytes, patch)
2013-07-16 16:49 UTC, Petr Tesarik
Details
New crash information added by DrKonqi (38.50 KB, text/plain)
2013-07-27 10:09 UTC, Sindre Wetjen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Tesarik 2013-07-16 16:49:52 UTC
Created attachment 81143 [details]
proposed fix - please review if "data" is the correct resource name

+++ This bug was initially created as a clone of Bug #320855 +++

Application: amarok (2.7-git)
KDE Platform Version: 4.10.60 "release 10"
Qt Version: 4.8.5
Operating System: Linux 3.10.0-rc4-1.gb3d0118-desktop x86_64
Distribution: "openSUSE 13.1 Milestone 1 (x86_64)"

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

*Probably* caused by fe61ba48d5bb86222684919fd27f339d0e7a1013 in kdelibs... as the bt shows it crashes in Plasma::Theme.
There is also a soprano/virtuoso related crash ...

The crash can be reproduced every time.

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

Thread 9 (Thread 0x7f570110d700 (LWP 3003)):
#0  0x00007f572219fd11 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f57024fba56 in my_service_thread_sleep () from /usr/lib64/libmysqld.so.18
#2  0x00007f57024fd127 in ma_checkpoint_background () from /usr/lib64/libmysqld.so.18
#3  0x00007f572219be0e in start_thread () from /lib64/libpthread.so.0
#4  0x00007f5724038b9d in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7f56f360b700 (LWP 3004)):
#0  0x00007f572219fd11 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5724685187 in wait (time=60000, this=0x133bba0) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1315b38, time=60000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f5726331ae5 in AbstractDirectoryWatcher::run (this=0x1315b10) at /usr/src/debug/amarok-2.7.40git.1370337423/src/scanner/AbstractDirectoryWatcher.cpp:65
#4  0x00007f57212ad74a in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0x7f56f360adc0, th=th@entry=0x133d5b0, job=job@entry=0x1315b10) at /usr/src/debug/kdelibs-git/threadweaver/Weaver/Job.cpp:106
#5  0x00007f57212ad8c1 in ThreadWeaver::Job::execute (this=0x1315b10, th=0x133d5b0) at /usr/src/debug/kdelibs-git/threadweaver/Weaver/Job.cpp:135
#6  0x00007f57212ad03b in ThreadWeaver::Thread::run (this=0x133d5b0) at /usr/src/debug/kdelibs-git/threadweaver/Weaver/Thread.cpp:108
#7  0x00007f5724684ccc in QThreadPrivate::start (arg=0x133d5b0) at thread/qthread_unix.cpp:338
#8  0x00007f572219be0e in start_thread () from /lib64/libpthread.so.0
#9  0x00007f5724038b9d in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f56f2e0a700 (LWP 3005)):
#0  0x00007fff691feaf7 in clock_gettime ()
#1  0x00007f572404a8cd in clock_gettime () from /lib64/libc.so.6
#2  0x00007f57246da9a4 in do_gettime (frac=0x7f56f2e09b18, sec=0x7f56f2e09b10) at tools/qelapsedtimer_unix.cpp:127
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:144
#4  0x00007f57247afa0d in QTimerInfoList::updateCurrentTime (this=this@entry=0x7f56e4002660) at kernel/qeventdispatcher_unix.cpp:354
#5  0x00007f57247afd53 in QTimerInfoList::timerWait (this=0x7f56e4002660, tm=...) at kernel/qeventdispatcher_unix.cpp:460
#6  0x00007f57247ae73c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f56f2e09c04) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007f57247ae7e5 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007f571e4b97a0 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#9  0x00007f571e4b9f9e in ?? () from /usr/lib64/libglib-2.0.so.0
#10 0x00007f571e4ba1a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#11 0x00007f57247af056 in QEventDispatcherGlib::processEvents (this=0x7f56e40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#12 0x00007f572477f76f in QEventLoop::processEvents (this=this@entry=0x7f56f2e09dd0, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007f572477f9f8 in QEventLoop::exec (this=0x7f56f2e09dd0, flags=...) at kernel/qeventloop.cpp:204
#14 0x00007f57246824f0 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#15 0x00007f57247612ff in QInotifyFileSystemWatcherEngine::run (this=0x13402b0) at io/qfilesystemwatcher_inotify.cpp:256
#16 0x00007f5724684ccc in QThreadPrivate::start (arg=0x13402b0) at thread/qthread_unix.cpp:338
#17 0x00007f572219be0e in start_thread () from /lib64/libpthread.so.0
#18 0x00007f5724038b9d in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f56f1623700 (LWP 3009)):
#0  0x00007f5724034819 in syscall () from /lib64/libc.so.6
#1  0x00007f5724683774 in _q_futex (timeout=0x0, val=2, op=0, addr=0xd17e80, addr2=<optimized out>, val2=<optimized out>) at thread/qmutex_unix.cpp:99
#2  QMutexPrivate::wait (this=0xd17e80, timeout=<optimized out>) at thread/qmutex_unix.cpp:113
#3  0x00007f572467fa8d in QMutex::lock (this=<optimized out>) at thread/qmutex.cpp:164
#4  0x00007f57258e42d5 in lockInline (this=0xd08ba8) at /usr/include/QtCore/qmutex.h:188
#5  QMutexLocker (m=0xd08ba8, this=<synthetic pointer>) at /usr/include/QtCore/qmutex.h:109
#6  KStandardDirs::KStandardDirsPrivate::resourceDirs (this=0xd08b60, type=type@entry=0x7f57259d9c7e "xdgdata-mime", subdirForRestrictions=...) at /usr/src/debug/kdelibs-git/kdecore/kernel/kstandarddirs.cpp:1070
#7  0x00007f57258e6329 in KStandardDirs::findResourceDir (this=this@entry=0xd07da0, type=type@entry=0x7f57259d9c7e "xdgdata-mime", _filename=...) at /usr/src/debug/kdelibs-git/kdecore/kernel/kstandarddirs.cpp:564
#8  0x00007f57258e6471 in KStandardDirs::findResource (this=0xd07da0, type=type@entry=0x7f57259d9c7e "xdgdata-mime", _filename=...) at /usr/src/debug/kdelibs-git/kdecore/kernel/kstandarddirs.cpp:476
#9  0x00007f57258e65a5 in KStandardDirs::locate (type=0x7f57259d9c7e "xdgdata-mime", filename=..., cData=...) at /usr/src/debug/kdelibs-git/kdecore/kernel/kstandarddirs.cpp:2100
#10 0x00007f57259008e9 in KMimeTypeRepository::findMimeTypeByName (this=<optimized out>, _name=..., options=<optimized out>) at /usr/src/debug/kdelibs-git/kdecore/services/kmimetyperepository.cpp:68
#11 0x00007f57258f6e12 in KMimeType::mimeType (name=..., options=options@entry=KMimeType::ResolveAliases) at /usr/src/debug/kdelibs-git/kdecore/services/kmimetype.cpp:60
#12 0x00007f57258f875c in KMimeType::findByUrlHelper (_url=..., mode=mode@entry=0, is_local_file=is_local_file@entry=true, device=device@entry=0x7f56f1622b70, accuracy=0x0) at /usr/src/debug/kdelibs-git/kdecore/services/kmimetype.cpp:208
#13 0x00007f57258f8d97 in KMimeType::findByUrl (url=..., mode=mode@entry=0, is_local_file=is_local_file@entry=true, fast_mode=fast_mode@entry=false, accuracy=accuracy@entry=0x0) at /usr/src/debug/kdelibs-git/kdecore/services/kmimetype.cpp:324
#14 0x00007f57258f8e08 in KMimeType::findByPath (path=..., mode=0, fast_mode=false, accuracy=0x0) at /usr/src/debug/kdelibs-git/kdecore/services/kmimetype.cpp:334
#15 0x00007f57262bf3e0 in MetaFile::Track::isTrack (url=...) at /usr/src/debug/amarok-2.7.40git.1370337423/src/core-impl/meta/file/File.cpp:423
#16 0x00007f5726301785 in CollectionManager::trackForUrl (this=0x11e7290, url=...) at /usr/src/debug/amarok-2.7.40git.1370337423/src/core-impl/collections/support/CollectionManager.cpp:477
#17 0x00007f57262d0cb4 in MetaProxy::Worker::run (this=0x7f56d823d0f0) at /usr/src/debug/amarok-2.7.40git.1370337423/src/core-impl/meta/proxy/MetaProxyWorker.cpp:45
#18 0x00007f57212ad74a in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0x7f56f1622dc0, th=th@entry=0x13a8ad0, job=job@entry=0x7f56d823d0f0) at /usr/src/debug/kdelibs-git/threadweaver/Weaver/Job.cpp:106
#19 0x00007f57212ad8c1 in ThreadWeaver::Job::execute (this=0x7f56d823d0f0, th=0x13a8ad0) at /usr/src/debug/kdelibs-git/threadweaver/Weaver/Job.cpp:135
#20 0x00007f57212ad03b in ThreadWeaver::Thread::run (this=0x13a8ad0) at /usr/src/debug/kdelibs-git/threadweaver/Weaver/Thread.cpp:108
#21 0x00007f5724684ccc in QThreadPrivate::start (arg=0x13a8ad0) at thread/qthread_unix.cpp:338
#22 0x00007f572219be0e in start_thread () from /lib64/libpthread.so.0
#23 0x00007f5724038b9d in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f56e3fff700 (LWP 3010)):
#0  0x00007f5724034819 in syscall () from /lib64/libc.so.6
#1  0x00007f5724683774 in _q_futex (timeout=0x0, val=2, op=0, addr=0xd17e80, addr2=<optimized out>, val2=<optimized out>) at thread/qmutex_unix.cpp:99
#2  QMutexPrivate::wait (this=0xd17e80, timeout=<optimized out>) at thread/qmutex_unix.cpp:113
#3  0x00007f572467fa8d in QMutex::lock (this=<optimized out>) at thread/qmutex.cpp:164
#4  0x00007f57258e42d5 in lockInline (this=0xd08ba8) at /usr/include/QtCore/qmutex.h:188
#5  QMutexLocker (m=0xd08ba8, this=<synthetic pointer>) at /usr/include/QtCore/qmutex.h:109
#6  KStandardDirs::KStandardDirsPrivate::resourceDirs (this=0xd08b60, type=type@entry=0x7f57259d9c7e "xdgdata-mime", subdirForRestrictions=...) at /usr/src/debug/kdelibs-git/kdecore/kernel/kstandarddirs.cpp:1070
#7  0x00007f57258e6329 in KStandardDirs::findResourceDir (this=this@entry=0xd07da0, type=type@entry=0x7f57259d9c7e "xdgdata-mime", _filename=...) at /usr/src/debug/kdelibs-git/kdecore/kernel/kstandarddirs.cpp:564
#8  0x00007f57258e6471 in KStandardDirs::findResource (this=0xd07da0, type=type@entry=0x7f57259d9c7e "xdgdata-mime", _filename=...) at /usr/src/debug/kdelibs-git/kdecore/kernel/kstandarddirs.cpp:476
#9  0x00007f57258e65a5 in KStandardDirs::locate (type=0x7f57259d9c7e "xdgdata-mime", filename=..., cData=...) at /usr/src/debug/kdelibs-git/kdecore/kernel/kstandarddirs.cpp:2100
#10 0x00007f57259008e9 in KMimeTypeRepository::findMimeTypeByName (this=<optimized out>, _name=..., options=<optimized out>) at /usr/src/debug/kdelibs-git/kdecore/services/kmimetyperepository.cpp:68
#11 0x00007f57258f6e12 in KMimeType::mimeType (name=..., options=options@entry=KMimeType::ResolveAliases) at /usr/src/debug/kdelibs-git/kdecore/services/kmimetype.cpp:60
#12 0x00007f57258f875c in KMimeType::findByUrlHelper (_url=..., mode=mode@entry=0, is_local_file=is_local_file@entry=true, device=device@entry=0x7f56e3ffeb70, accuracy=0x0) at /usr/src/debug/kdelibs-git/kdecore/services/kmimetype.cpp:208
#13 0x00007f57258f8d97 in KMimeType::findByUrl (url=..., mode=mode@entry=0, is_local_file=is_local_file@entry=true, fast_mode=fast_mode@entry=false, accuracy=accuracy@entry=0x0) at /usr/src/debug/kdelibs-git/kdecore/services/kmimetype.cpp:324
#14 0x00007f57258f8e08 in KMimeType::findByPath (path=..., mode=0, fast_mode=false, accuracy=0x0) at /usr/src/debug/kdelibs-git/kdecore/services/kmimetype.cpp:334
#15 0x00007f57262bf3e0 in MetaFile::Track::isTrack (url=...) at /usr/src/debug/amarok-2.7.40git.1370337423/src/core-impl/meta/file/File.cpp:423
#16 0x00007f5726301785 in CollectionManager::trackForUrl (this=0x11e7290, url=...) at /usr/src/debug/amarok-2.7.40git.1370337423/src/core-impl/collections/support/CollectionManager.cpp:477
#17 0x00007f57262d0cb4 in MetaProxy::Worker::run (this=0x7f56d823b580) at /usr/src/debug/amarok-2.7.40git.1370337423/src/core-impl/meta/proxy/MetaProxyWorker.cpp:45
#18 0x00007f57212ad74a in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0x7f56e3ffedc0, th=th@entry=0x15da360, job=job@entry=0x7f56d823b580) at /usr/src/debug/kdelibs-git/threadweaver/Weaver/Job.cpp:106
#19 0x00007f57212ad8c1 in ThreadWeaver::Job::execute (this=0x7f56d823b580, th=0x15da360) at /usr/src/debug/kdelibs-git/threadweaver/Weaver/Job.cpp:135
#20 0x00007f57212ad03b in ThreadWeaver::Thread::run (this=0x15da360) at /usr/src/debug/kdelibs-git/threadweaver/Weaver/Thread.cpp:108
#21 0x00007f5724684ccc in QThreadPrivate::start (arg=0x15da360) at thread/qthread_unix.cpp:338
#22 0x00007f572219be0e in start_thread () from /lib64/libpthread.so.0
#23 0x00007f5724038b9d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f56e37fe700 (LWP 3011)):
#0  0x00007f5724034819 in syscall () from /lib64/libc.so.6
#1  0x00007f5724683774 in _q_futex (timeout=0x0, val=2, op=0, addr=0xd17e80, addr2=<optimized out>, val2=<optimized out>) at thread/qmutex_unix.cpp:99
#2  QMutexPrivate::wait (this=0xd17e80, timeout=<optimized out>) at thread/qmutex_unix.cpp:113
#3  0x00007f572467fa8d in QMutex::lock (this=<optimized out>) at thread/qmutex.cpp:164
#4  0x00007f57258e42d5 in lockInline (this=0xd08ba8) at /usr/include/QtCore/qmutex.h:188
#5  QMutexLocker (m=0xd08ba8, this=<synthetic pointer>) at /usr/include/QtCore/qmutex.h:109
#6  KStandardDirs::KStandardDirsPrivate::resourceDirs (this=0xd08b60, type=type@entry=0x7f57259d9c7e "xdgdata-mime", subdirForRestrictions=...) at /usr/src/debug/kdelibs-git/kdecore/kernel/kstandarddirs.cpp:1070
#7  0x00007f57258e6329 in KStandardDirs::findResourceDir (this=this@entry=0xd07da0, type=type@entry=0x7f57259d9c7e "xdgdata-mime", _filename=...) at /usr/src/debug/kdelibs-git/kdecore/kernel/kstandarddirs.cpp:564
#8  0x00007f57258e6471 in KStandardDirs::findResource (this=0xd07da0, type=type@entry=0x7f57259d9c7e "xdgdata-mime", _filename=...) at /usr/src/debug/kdelibs-git/kdecore/kernel/kstandarddirs.cpp:476
#9  0x00007f57258e65a5 in KStandardDirs::locate (type=0x7f57259d9c7e "xdgdata-mime", filename=..., cData=...) at /usr/src/debug/kdelibs-git/kdecore/kernel/kstandarddirs.cpp:2100
#10 0x00007f57259008e9 in KMimeTypeRepository::findMimeTypeByName (this=<optimized out>, _name=..., options=<optimized out>) at /usr/src/debug/kdelibs-git/kdecore/services/kmimetyperepository.cpp:68
#11 0x00007f57258f6e12 in KMimeType::mimeType (name=..., options=options@entry=KMimeType::ResolveAliases) at /usr/src/debug/kdelibs-git/kdecore/services/kmimetype.cpp:60
#12 0x00007f57258f875c in KMimeType::findByUrlHelper (_url=..., mode=mode@entry=0, is_local_file=is_local_file@entry=true, device=device@entry=0x7f56e37fdb70, accuracy=0x0) at /usr/src/debug/kdelibs-git/kdecore/services/kmimetype.cpp:208
#13 0x00007f57258f8d97 in KMimeType::findByUrl (url=..., mode=mode@entry=0, is_local_file=is_local_file@entry=true, fast_mode=fast_mode@entry=false, accuracy=accuracy@entry=0x0) at /usr/src/debug/kdelibs-git/kdecore/services/kmimetype.cpp:324
#14 0x00007f57258f8e08 in KMimeType::findByPath (path=..., mode=0, fast_mode=false, accuracy=0x0) at /usr/src/debug/kdelibs-git/kdecore/services/kmimetype.cpp:334
#15 0x00007f57262bf3e0 in MetaFile::Track::isTrack (url=...) at /usr/src/debug/amarok-2.7.40git.1370337423/src/core-impl/meta/file/File.cpp:423
#16 0x00007f5726301785 in CollectionManager::trackForUrl (this=0x11e7290, url=...) at /usr/src/debug/amarok-2.7.40git.1370337423/src/core-impl/collections/support/CollectionManager.cpp:477
#17 0x00007f57262d0cb4 in MetaProxy::Worker::run (this=0x7f56d823c380) at /usr/src/debug/amarok-2.7.40git.1370337423/src/core-impl/meta/proxy/MetaProxyWorker.cpp:45
#18 0x00007f57212ad74a in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0x7f56e37fddc0, th=th@entry=0x7f56d8044b00, job=job@entry=0x7f56d823c380) at /usr/src/debug/kdelibs-git/threadweaver/Weaver/Job.cpp:106
#19 0x00007f57212ad8c1 in ThreadWeaver::Job::execute (this=0x7f56d823c380, th=0x7f56d8044b00) at /usr/src/debug/kdelibs-git/threadweaver/Weaver/Job.cpp:135
#20 0x00007f57212ad03b in ThreadWeaver::Thread::run (this=0x7f56d8044b00) at /usr/src/debug/kdelibs-git/threadweaver/Weaver/Thread.cpp:108
#21 0x00007f5724684ccc in QThreadPrivate::start (arg=0x7f56d8044b00) at thread/qthread_unix.cpp:338
#22 0x00007f572219be0e in start_thread () from /lib64/libpthread.so.0
#23 0x00007f5724038b9d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f56e29ba700 (LWP 3012)):
#0  0x00007f572219f964 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f571ab0d580 in WTF::TCMalloc_PageHeap::scavengerThread (this=0x7f571b58a600 <WTF::pageheap_memory>) at /usr/src/debug/webkit-qtwebkit-23/Source/WTF/wtf/FastMalloc.cpp:2571
#2  0x00007f571ab0d5b9 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at /usr/src/debug/webkit-qtwebkit-23/Source/WTF/wtf/FastMalloc.cpp:1767
#3  0x00007f572219be0e in start_thread () from /lib64/libpthread.so.0
#4  0x00007f5724038b9d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f56e1ea4700 (LWP 3014)):
#0  0x00007f572402fc4d in poll () from /lib64/libc.so.6
#1  0x00007f571e4ba07c in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f571e4ba1a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f57247af056 in QEventDispatcherGlib::processEvents (this=0x7f56d40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#4  0x00007f572477f76f in QEventLoop::processEvents (this=this@entry=0x7f56e1ea3e00, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f572477f9f8 in QEventLoop::exec (this=0x7f56e1ea3e00, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f57246824f0 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#7  0x00007f5724684ccc in QThreadPrivate::start (arg=0x1a15d00) at thread/qthread_unix.cpp:338
#8  0x00007f572219be0e in start_thread () from /lib64/libpthread.so.0
#9  0x00007f5724038b9d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f57272e0780 (LWP 3001)):
[KCrash Handler]
#6  KStandardDirs::saveLocation (this=0xd07da0, type=type@entry=0x0, suffix=..., create=create@entry=false) at /usr/src/debug/kdelibs-git/kdecore/kernel/kstandarddirs.cpp:1499
#7  0x00007f57258e628b in KStandardDirs::locateLocal (type=0x0, filename=..., createDir=false, cData=...) at /usr/src/debug/kdelibs-git/kdecore/kernel/kstandarddirs.cpp:2117
#8  0x00007f572583921a in KConfigPrivate::changeFileName (this=0x20c67a0, name=..., type=<optimized out>) at /usr/src/debug/kdelibs-git/kdecore/config/kconfig.cpp:541
#9  0x00007f57258514b4 in KDesktopFilePrivate::KDesktopFilePrivate (this=0x20c67a0, resourceType=0x0, fileName=...) at /usr/src/debug/kdelibs-git/kdecore/config/kdesktopfile.cpp:52
#10 0x00007f5725852eac in KDesktopFile::KDesktopFile (this=0x7fff691297d0, resourceType=0x0, fileName=...) at /usr/src/debug/kdelibs-git/kdecore/config/kdesktopfile.cpp:56
#11 0x00007f5725927727 in KPluginInfo::KPluginInfo (this=0x7fff691298b0, filename=..., resource=0x0) at /usr/src/debug/kdelibs-git/kdecore/services/kplugininfo.cpp:82
#12 0x00007f57207ca524 in Plasma::ThemePrivate::useCache (this=0x18c21f0) at /usr/src/debug/kdelibs-git/plasma/theme.cpp:232
#13 0x00007f57207cac6a in Plasma::Theme::findInCache (this=0x18c1de0, key=..., pix=...) at /usr/src/debug/kdelibs-git/plasma/theme.cpp:977
#14 0x00007f5720756e40 in Plasma::FrameSvgPrivate::generateBackground (this=0x19b5630, frame=frame@entry=0x1ab78a0) at /usr/src/debug/kdelibs-git/plasma/framesvg.cpp:671
#15 0x00007f572075855b in Plasma::FrameSvg::paintFrame (this=0x19912d0, painter=0x7fff69129e10, pos=...) at /usr/src/debug/kdelibs-git/plasma/framesvg.cpp:529
#16 0x00007f5720792b80 in Plasma::Style::drawComplexControl (this=0x1991370, control=<optimized out>, option=0x7fff69129e20, painter=0x7fff69129e10, widget=<optimized out>) at /usr/src/debug/kdelibs-git/plasma/private/style.cpp:157
#17 0x00007f5725106d57 in QScrollBar::paintEvent (this=0x198fd70) at widgets/qscrollbar.cpp:567
#18 0x00007f5724d0a2fe in QWidget::event (this=0x198fd70, event=0x7fff6912a710) at kernel/qwidget.cpp:8533
#19 0x00007f572510781b in QScrollBar::event (this=0x198fd70, event=0x7fff6912a710) at widgets/qscrollbar.cpp:547
#20 0x00007f5724cbd17c in QApplicationPrivate::notify_helper (this=this@entry=0xd11d80, receiver=receiver@entry=0x198fd70, e=e@entry=0x7fff6912a710) at kernel/qapplication.cpp:4562
#21 0x00007f5724cbfaeb in QApplication::notify (this=0x7fff6912fc00, receiver=0x198fd70, e=0x7fff6912a710) at kernel/qapplication.cpp:4423
#22 0x00007f5726d16756 in KApplication::notify (this=0x7fff6912fc00, receiver=0x198fd70, event=0x7fff6912a710) at /usr/src/debug/kdelibs-git/kdeui/kernel/kapplication.cpp:311
#23 0x00007f5724780abe in QCoreApplication::notifyInternal (this=0x7fff6912fc00, receiver=0x198fd70, event=0x7fff6912a710) at kernel/qcoreapplication.cpp:949
#24 0x00007f5724d0ef74 in sendSpontaneousEvent (event=0x7fff6912a710, receiver=0x198fd70) at ../../src/corelib/kernel/qcoreapplication.h:234
#25 QWidgetPrivate::drawWidget (this=this@entry=0x19beca0, pdev=pdev@entry=0x1f45ec0, rgn=..., offset=..., flags=flags@entry=15, sharedPainter=0x7fff6912c9f0, backingStore=backingStore@entry=0x0) at kernel/qwidget.cpp:5599
#26 0x00007f5724d0fd01 in QWidgetPrivate::render (this=0x19beca0, target=target@entry=0x1f45ec0, targetOffset=..., sourceRegion=..., renderFlags=..., readyToRender=readyToRender@entry=false) at kernel/qwidget.cpp:5735
#27 0x00007f5724d0ffc9 in QWidget::render (this=this@entry=0x198fd70, target=target@entry=0x1f45ec0, targetOffset=..., sourceRegion=..., renderFlags=...) at kernel/qwidget.cpp:5184
#28 0x00007f5724d10c88 in QWidget::render (this=0x198fd70, painter=<optimized out>, targetOffset=..., sourceRegion=..., renderFlags=...) at kernel/qwidget.cpp:5262
#29 0x00007f572529768b in QGraphicsProxyWidget::paint (this=<optimized out>, painter=0x7fff6912c9f0, option=<optimized out>, widget=<optimized out>) at graphicsview/qgraphicsproxywidget.cpp:1490
#30 0x00007f572529c9d9 in _q_paintItem (item=item@entry=0x19b3840, painter=painter@entry=0x7fff6912c9f0, option=option@entry=0x18ba4e8, widget=widget@entry=0x195a6e0, useWindowOpacity=useWindowOpacity@entry=true, painterStateProtection=painterStateProtection@entry=true) at graphicsview/qgraphicsscene.cpp:4335
#31 0x00007f57252ac545 in QGraphicsScenePrivate::drawItemHelper (this=this@entry=0x18ba2c0, item=item@entry=0x19b3840, painter=painter@entry=0x7fff6912c9f0, option=option@entry=0x18ba4e8, widget=widget@entry=0x195a6e0, painterStateProtection=true) at graphicsview/qgraphicsscene.cpp:4431
#32 0x00007f57252aeeb8 in QGraphicsScenePrivate::draw (this=this@entry=0x18ba2c0, item=item@entry=0x19b3840, painter=painter@entry=0x7fff6912c9f0, viewTransform=viewTransform@entry=0x0, transformPtr=transformPtr@entry=0x19b2940, exposedRegion=exposedRegion@entry=0x18dd9c8, widget=0x195a6e0, opacity=opacity@entry=1, effectTransform=effectTransform@entry=0x0, wasDirtyParentSceneTransform=wasDirtyParentSceneTransform@entry=true, drawItem=true) at graphicsview/qgraphicsscene.cpp:4966
#33 0x00007f57252af575 in QGraphicsScenePrivate::drawSubtreeRecursive (this=0x18ba2c0, item=0x19b3840, painter=0x7fff6912c9f0, viewTransform=0x0, exposedRegion=0x18dd9c8, widget=0x195a6e0, parentOpacity=<optimized out>, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4857
#34 0x00007f57252aea45 in QGraphicsScenePrivate::draw (this=this@entry=0x18ba2c0, item=item@entry=0x1997990, painter=painter@entry=0x7fff6912c9f0, viewTransform=viewTransform@entry=0x0, transformPtr=transformPtr@entry=0x198ef10, exposedRegion=exposedRegion@entry=0x18dd9c8, widget=0x195a6e0, opacity=opacity@entry=1, effectTransform=effectTransform@entry=0x0, wasDirtyParentSceneTransform=wasDirtyParentSceneTransform@entry=true, drawItem=true) at graphicsview/qgraphicsscene.cpp:4996
#35 0x00007f57252af575 in QGraphicsScenePrivate::drawSubtreeRecursive (this=0x18ba2c0, item=0x1997990, painter=0x7fff6912c9f0, viewTransform=0x0, exposedRegion=0x18dd9c8, widget=0x195a6e0, parentOpacity=<optimized out>, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4857
#36 0x00007f57252aea45 in QGraphicsScenePrivate::draw (this=this@entry=0x18ba2c0, item=item@entry=0x19aa020, painter=painter@entry=0x7fff6912c9f0, viewTransform=viewTransform@entry=0x0, transformPtr=transformPtr@entry=0x19aa730, exposedRegion=exposedRegion@entry=0x18dd9c8, widget=0x195a6e0, opacity=opacity@entry=1, effectTransform=effectTransform@entry=0x0, wasDirtyParentSceneTransform=wasDirtyParentSceneTransform@entry=true, drawItem=true) at graphicsview/qgraphicsscene.cpp:4996
#37 0x00007f57252af575 in QGraphicsScenePrivate::drawSubtreeRecursive (this=0x18ba2c0, item=0x19aa020, painter=0x7fff6912c9f0, viewTransform=0x0, exposedRegion=0x18dd9c8, widget=0x195a6e0, parentOpacity=<optimized out>, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4857
#38 0x00007f57252aea45 in QGraphicsScenePrivate::draw (this=this@entry=0x18ba2c0, item=item@entry=0x19090e0, painter=painter@entry=0x7fff6912c9f0, viewTransform=viewTransform@entry=0x0, transformPtr=transformPtr@entry=0x1904dd0, exposedRegion=exposedRegion@entry=0x18dd9c8, widget=0x195a6e0, opacity=opacity@entry=1, effectTransform=effectTransform@entry=0x0, wasDirtyParentSceneTransform=wasDirtyParentSceneTransform@entry=true, drawItem=true) at graphicsview/qgraphicsscene.cpp:4996
#39 0x00007f57252af575 in QGraphicsScenePrivate::drawSubtreeRecursive (this=0x18ba2c0, item=0x19090e0, painter=0x7fff6912c9f0, viewTransform=0x0, exposedRegion=0x18dd9c8, widget=0x195a6e0, parentOpacity=<optimized out>, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4857
#40 0x00007f57252aea45 in QGraphicsScenePrivate::draw (this=this@entry=0x18ba2c0, item=item@entry=0x1908ee0, painter=painter@entry=0x7fff6912c9f0, viewTransform=viewTransform@entry=0x0, transformPtr=transformPtr@entry=0x18d09f0, exposedRegion=exposedRegion@entry=0x18dd9c8, widget=0x195a6e0, opacity=opacity@entry=1, effectTransform=effectTransform@entry=0x0, wasDirtyParentSceneTransform=wasDirtyParentSceneTransform@entry=false, drawItem=true) at graphicsview/qgraphicsscene.cpp:4996
#41 0x00007f57252af575 in QGraphicsScenePrivate::drawSubtreeRecursive (this=this@entry=0x18ba2c0, item=0x1908ee0, painter=painter@entry=0x7fff6912c9f0, viewTransform=viewTransform@entry=0x0, exposedRegion=exposedRegion@entry=0x18dd9c8, widget=widget@entry=0x195a6e0, parentOpacity=parentOpacity@entry=1, effectTransform=effectTransform@entry=0x0) at graphicsview/qgraphicsscene.cpp:4857
#42 0x00007f57252b005e in QGraphicsScenePrivate::drawItems (this=0x18ba2c0, painter=0x7fff6912c9f0, viewTransform=0x0, exposedRegion=0x18dd9c8, widget=0x195a6e0) at graphicsview/qgraphicsscene.cpp:4739
#43 0x00007f57252cc948 in QGraphicsView::paintEvent (this=0x18b7e10, event=<optimized out>) at graphicsview/qgraphicsview.cpp:3471
#44 0x00007f5724d0a2fe in QWidget::event (this=0x18b7e10, event=0x7fff6912d640) at kernel/qwidget.cpp:8533
#45 0x00007f57250b84d6 in QFrame::event (this=0x18b7e10, e=0x7fff6912d640) at widgets/qframe.cpp:557
#46 0x00007f57252cff3b in QGraphicsView::viewportEvent (this=0x18b7e10, event=0x7fff6912d640) at graphicsview/qgraphicsview.cpp:2866
#47 0x00007f5724780c26 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x195a6e0, event=0x7fff6912d640) at kernel/qcoreapplication.cpp:1059
#48 0x00007f5724cbd14c in QApplicationPrivate::notify_helper (this=this@entry=0xd11d80, receiver=receiver@entry=0x195a6e0, e=e@entry=0x7fff6912d640) at kernel/qapplication.cpp:4558
#49 0x00007f5724cbfaeb in QApplication::notify (this=0x7fff6912fc00, receiver=0x195a6e0, e=0x7fff6912d640) at kernel/qapplication.cpp:4423
#50 0x00007f5726d16756 in KApplication::notify (this=0x7fff6912fc00, receiver=0x195a6e0, event=0x7fff6912d640) at /usr/src/debug/kdelibs-git/kdeui/kernel/kapplication.cpp:311
#51 0x00007f5724780abe in QCoreApplication::notifyInternal (this=0x7fff6912fc00, receiver=0x195a6e0, event=0x7fff6912d640) at kernel/qcoreapplication.cpp:949
#52 0x00007f5724d0ef74 in sendSpontaneousEvent (event=0x7fff6912d640, receiver=0x195a6e0) at ../../src/corelib/kernel/qcoreapplication.h:234
#53 QWidgetPrivate::drawWidget (this=this@entry=0x1906730, pdev=pdev@entry=0x1f45ec0, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0x1af6360) at kernel/qwidget.cpp:5599
#54 0x00007f5724d0fa6f in QWidgetPrivate::paintSiblingsRecursive (this=0x18dd540, pdev=0x1f45ec0, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x1af6360) at kernel/qwidget.cpp:5808
#55 0x00007f5724d0eb03 in QWidgetPrivate::drawWidget (this=this@entry=0x18dd540, pdev=pdev@entry=0x1f45ec0, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0x1af6360) at kernel/qwidget.cpp:5652
#56 0x00007f5724d0fa6f in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x18b9900, pdev=pdev@entry=0x1f45ec0, siblings=..., index=<optimized out>, index@entry=1, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0x1af6360) at kernel/qwidget.cpp:5808
#57 0x00007f5724d0f8b4 in QWidgetPrivate::paintSiblingsRecursive (this=0x18b9900, pdev=0x1f45ec0, siblings=..., index=1, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x1af6360) at kernel/qwidget.cpp:5795
#58 0x00007f5724d0eb03 in QWidgetPrivate::drawWidget (this=this@entry=0x18b9900, pdev=pdev@entry=0x1f45ec0, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0x1af6360) at kernel/qwidget.cpp:5652
#59 0x00007f5724d0fa6f in QWidgetPrivate::paintSiblingsRecursive (this=0x18b54c0, pdev=0x1f45ec0, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x1af6360) at kernel/qwidget.cpp:5808
#60 0x00007f5724d0eb03 in QWidgetPrivate::drawWidget (this=this@entry=0x18b54c0, pdev=pdev@entry=0x1f45ec0, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0x1af6360) at kernel/qwidget.cpp:5652
#61 0x00007f5724d0fa6f in QWidgetPrivate::paintSiblingsRecursive (this=0x11c1730, pdev=0x1f45ec0, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x1af6360) at kernel/qwidget.cpp:5808
#62 0x00007f5724d0eb03 in QWidgetPrivate::drawWidget (this=0x11c1730, pdev=0x1f45ec0, rgn=..., offset=..., flags=<optimized out>, sharedPainter=0x0, backingStore=0x1af6360) at kernel/qwidget.cpp:5652
#63 0x00007f5724ed0148 in QWidgetBackingStore::sync (this=this@entry=0x1af6360) at painting/qbackingstore.cpp:1373
#64 0x00007f5724ed050c in QWidgetBackingStore::sync (this=0x1af6360, exposedWidget=0xd185a0, exposedRegion=...) at painting/qbackingstore.cpp:1161
#65 0x00007f5724d2a10a in QETWidget::translatePaintEvent (this=this@entry=0xd185a0, event=event@entry=0x7fff6912f110) at kernel/qapplication_x11.cpp:5237
#66 0x00007f5724d34e15 in QApplication::x11ProcessEvent (this=0x7fff6912fc00, event=0x7fff6912f110) at kernel/qapplication_x11.cpp:3540
#67 0x00007f5724d5dc92 in x11EventSourceDispatch (s=0xd11100, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#68 0x00007f571e4b9da5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#69 0x00007f571e4ba0e8 in ?? () from /usr/lib64/libglib-2.0.so.0
#70 0x00007f571e4ba1a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#71 0x00007f57247af036 in QEventDispatcherGlib::processEvents (this=0xc29a70, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#72 0x00007f5724d5dd8e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#73 0x00007f572477f76f in QEventLoop::processEvents (this=this@entry=0x7fff6912f4e0, flags=...) at kernel/qeventloop.cpp:149
#74 0x00007f572477f9f8 in QEventLoop::exec (this=0x7fff6912f4e0, flags=...) at kernel/qeventloop.cpp:204
#75 0x00007f5724784c68 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#76 0x0000000000407af4 in main (argc=1, argv=0x7fff6912fd68) at /usr/src/debug/amarok-2.7.40git.1370337423/src/main.cpp:329

Reported using DrKonqi

I wrote a patch for bug #320855, but I couldn't reopen the other bug, so I'm cloning. I'm sorry if this is the wrong way to push it forward.
Comment 1 Hrvoje Senjan 2013-07-16 17:15:50 UTC
(In reply to comment #0)
> Created attachment 81143 [details]
> proposed fix - please review if "data" is the correct resource name
> 
I'd say that would be fine.
Tested with 
touch /etc/kde4/share/config/plasmarc with
[Theme]
name=faketheme
inside, no crashing.
Also are caches still correctly cleared on metadata.desktop version bump
Comment 2 Christoph Feck 2013-07-16 21:01:40 UTC
*** Bug 322421 has been marked as a duplicate of this bug. ***
Comment 3 Sindre Wetjen 2013-07-27 10:09:11 UTC
Created attachment 81369 [details]
New crash information added by DrKonqi

amarok (2.7.1) on KDE Platform 4.10.95 using Qt 4.8.5

- What I was doing when the application crashed: 
Starting Amarok

- Custom settings of the application:
Crashed with both old settings that i had from before it started crashing and removing all settings found in the ~/.kde catalog.

-- Backtrace (Reduced):
#6  KStandardDirs::saveLocation (this=0x25bf300, type=type@entry=0x0, suffix=..., create=create@entry=false) at /usr/src/debug/kdelibs-4.10.95/kdecore/kernel/kstandarddirs.cpp:1506
#7  0x0000003d1a354dd3 in KStandardDirs::locateLocal (type=0x0, filename=..., createDir=createDir@entry=false, cData=...) at /usr/src/debug/kdelibs-4.10.95/kdecore/kernel/kstandarddirs.cpp:2124
#8  0x0000003d1a2a87c4 in KConfigPrivate::changeFileName (this=this@entry=0x4986260, name=..., type=type@entry=0x0) at /usr/src/debug/kdelibs-4.10.95/kdecore/config/kconfig.cpp:547
#9  0x0000003d1a2c0e56 in KDesktopFilePrivate::KDesktopFilePrivate (this=0x4986260, resourceType=0x0, fileName=...) at /usr/src/debug/kdelibs-4.10.95/kdecore/config/kdesktopfile.cpp:50
#10 0x0000003d1a2c228e in KDesktopFile::KDesktopFile (this=0x7fff29d05ca0, resourceType=0x0, fileName=...) at /usr/src/debug/kdelibs-4.10.95/kdecore/config/kdesktopfile.cpp:54
Comment 4 Jekyll Wu 2013-08-03 15:43:30 UTC
*** Bug 323131 has been marked as a duplicate of this bug. ***
Comment 5 Myriam Schweingruber 2013-08-14 09:06:30 UTC

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