Bug 353309 - KDevelop crashed on saved session open [Python::Helper::getSearchPaths]
Summary: KDevelop crashed on saved session open [Python::Helper::getSearchPaths]
Status: RESOLVED FIXED
Alias: None
Product: kdev-python
Classification: Developer tools
Component: Language support (show other bugs)
Version: 1.7.1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Sven Brauch
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-09-29 07:53 UTC by leo venturini
Modified: 2017-07-11 21:41 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 5.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description leo venturini 2015-09-29 07:53:26 UTC
Application: kdevelop (4.7.1)
KDE Platform Version: 4.14.2
Qt Version: 4.8.6
Operating System: Linux 3.16.0-49-generic i686
Distribution: Ubuntu 14.04.3 LTS

-- Information about the crash:
I had a saved session opend
I launched another saved session
I closed the first session
The second session appeared (I saw the three opend files from the previous time)
The files are stored into a directory mounted by sshfs
Crash!
I have not yet tried a second time

-- Backtrace:
Application: KDevelop (kdevelop), signal: Aborted
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb1479740 (LWP 23615))]

Thread 10 (Thread 0xae6e5b40 (LWP 23616)):
#0  0xb58c41d6 in __GI___pthread_mutex_lock (mutex=0xa153540) at ../nptl/pthread_mutex_lock.c:146
#1  0xb5b69fd4 in pthread_mutex_lock (mutex=0xa153540) at forward.c:192
#2  0xb46620e0 in g_mutex_lock (mutex=mutex@entry=0xa1534c8) at /build/buildd/glib2.0-2.40.2/./glib/gthread-posix.c:209
#3  0xb461cbf6 in g_main_context_query (context=context@entry=0xa1534c8, max_priority=2147483647, timeout=timeout@entry=0xae6e528c, fds=fds@entry=0xadd031e0, n_fds=n_fds@entry=3) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3453
#4  0xb461d346 in g_main_context_iterate (context=0xa1534c8, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3716
#5  0xb461d76b in g_main_loop_run (loop=0xa1535e8) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3928
#6  0xaf6c436a in gdbus_shared_thread_func (user_data=0xa1534b0) at /build/buildd/glib2.0-2.40.2/./gio/gdbusprivate.c:273
#7  0xb46439aa in g_thread_proxy (data=0xa0e2580) at /build/buildd/glib2.0-2.40.2/./glib/gthread.c:764
#8  0xb58c1f70 in start_thread (arg=0xae6e5b40) at pthread_create.c:312
#9  0xb5b5cbee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 9 (Thread 0xadcffb40 (LWP 23617)):
#0  g_mutex_get_impl (mutex=0xa109008) at /build/buildd/glib2.0-2.40.2/./glib/gthread-posix.c:119
#1  0xb4662118 in g_mutex_unlock (mutex=mutex@entry=0xa109008) at /build/buildd/glib2.0-2.40.2/./glib/gthread-posix.c:228
#2  0xb461d280 in g_main_context_iterate (context=context@entry=0xa109008, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3682
#3  0xb461d528 in g_main_context_iteration (context=0xa109008, may_block=may_block@entry=1) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3795
#4  0xb461d57e in glib_worker_main (data=0x0) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:5541
#5  0xb46439aa in g_thread_proxy (data=0xa0e26c0) at /build/buildd/glib2.0-2.40.2/./glib/gthread.c:764
#6  0xb58c1f70 in start_thread (arg=0xadcffb40) at pthread_create.c:312
#7  0xb5b5cbee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 8 (Thread 0xac8ffb40 (LWP 23621)):
#0  0xb775bd50 in __kernel_vsyscall ()
#1  0xb58c5d4b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb5b69dcc in __pthread_cond_wait (cond=0xb50ed8d0 <QTWTF::pageheap_memory+20720>, mutex=0xb50ed8b8 <QTWTF::pageheap_memory+20696>) at forward.c:149
#3  0xb4feac92 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=this@entry=0xb50e87e0 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#4  0xb4feacdf in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0xb50e87e0 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#5  0xb58c1f70 in start_thread (arg=0xac8ffb40) at pthread_create.c:312
#6  0xb5b5cbee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 7 (Thread 0xa87bbb40 (LWP 23622)):
#0  0xb775bd50 in __kernel_vsyscall ()
#1  0xb58c612d in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:245
#2  0xb5b69e24 in __pthread_cond_timedwait (cond=0xa5f08b8, mutex=0xa5f08a0, abstime=0xa87bb278) at forward.c:162
#3  0xb5d6f0d3 in wait (time=1000, this=0xa5f08a0) at thread/qwaitcondition_unix.cpp:84
#4  QWaitCondition::wait (this=this@entry=0xa5eea24, mutex=mutex@entry=0xa5eea28, time=time@entry=1000) at thread/qwaitcondition_unix.cpp:158
#5  0xb521eb59 in KDevelop::DUChainPrivate::CleanupThread::run (this=0xa5eea18) at /build/buildd/kdevplatform-1.7.1/language/duchain/duchain.cpp:283
#6  0xb5d6eb6f in QThreadPrivate::start (arg=0xa5eea18) at thread/qthread_unix.cpp:349
#7  0xb58c1f70 in start_thread (arg=0xa87bbb40) at pthread_create.c:312
#8  0xb5b5cbee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 6 (Thread 0xa7dfab40 (LWP 23623)):
#0  __x86.get_pc_thunk.bx () at ../sysdeps/i386/i686/multiarch/strcat.S:55
#1  0xb5b69fa8 in pthread_mutex_lock (mutex=0xac901658) at forward.c:192
#2  0xb46620e0 in g_mutex_lock (mutex=mutex@entry=0xac901e00) at /build/buildd/glib2.0-2.40.2/./glib/gthread-posix.c:209
#3  0xb461c35d in g_main_context_acquire (context=0xac901e00) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3124
#4  0xb461d288 in g_main_context_iterate (context=context@entry=0xac901e00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3684
#5  0xb461d528 in g_main_context_iteration (context=0xac901e00, may_block=1) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3795
#6  0xb5eb095f in QEventDispatcherGlib::processEvents (this=0xac9016e0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#7  0xb5e7f823 in QEventLoop::processEvents (this=this@entry=0xa7dfa278, flags=...) at kernel/qeventloop.cpp:149
#8  0xb5e7fb49 in QEventLoop::exec (this=this@entry=0xa7dfa278, flags=...) at kernel/qeventloop.cpp:204
#9  0xb5d6c23d in QThread::exec (this=this@entry=0xa658648) at thread/qthread.cpp:537
#10 0xb531c126 in KDevelop::CompletionWorkerThread::run (this=0xa658648) at /build/buildd/kdevplatform-1.7.1/language/codecompletion/codecompletionmodel.cpp:84
#11 0xb5d6eb6f in QThreadPrivate::start (arg=0xa658648) at thread/qthread_unix.cpp:349
#12 0xb58c1f70 in start_thread (arg=0xa7dfab40) at pthread_create.c:312
#13 0xb5b5cbee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 5 (Thread 0xa4ba8b40 (LWP 23629)):
#0  0xb58c418a in __GI___pthread_mutex_lock (mutex=0xadd07628) at ../nptl/pthread_mutex_lock.c:125
#1  0xb5b69fd4 in pthread_mutex_lock (mutex=0xadd07628) at forward.c:192
#2  0xb46620e0 in g_mutex_lock (mutex=mutex@entry=0xadd075b0) at /build/buildd/glib2.0-2.40.2/./glib/gthread-posix.c:209
#3  0xb461c35d in g_main_context_acquire (context=0xadd075b0) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3124
#4  0xb461d288 in g_main_context_iterate (context=context@entry=0xadd075b0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3684
#5  0xb461d528 in g_main_context_iteration (context=0xadd075b0, may_block=1) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3795
#6  0xb5eb095f in QEventDispatcherGlib::processEvents (this=0xadd023c8, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#7  0xb5e7f823 in QEventLoop::processEvents (this=this@entry=0xa4ba8278, flags=...) at kernel/qeventloop.cpp:149
#8  0xb5e7fb49 in QEventLoop::exec (this=this@entry=0xa4ba8278, flags=...) at kernel/qeventloop.cpp:204
#9  0xb5d6c23d in QThread::exec (this=this@entry=0xa9cc808) at thread/qthread.cpp:537
#10 0xb531c126 in KDevelop::CompletionWorkerThread::run (this=0xa9cc808) at /build/buildd/kdevplatform-1.7.1/language/codecompletion/codecompletionmodel.cpp:84
#11 0xb5d6eb6f in QThreadPrivate::start (arg=0xa9cc808) at thread/qthread_unix.cpp:349
#12 0xb58c1f70 in start_thread (arg=0xa4ba8b40) at pthread_create.c:312
#13 0xb5b5cbee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 4 (Thread 0x80a91b40 (LWP 23633)):
#0  0xb461c874 in g_main_context_prepare (context=context@entry=0xac9004d0, priority=priority@entry=0x80a91148) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3292
#1  0xb461d2df in g_main_context_iterate (context=context@entry=0xac9004d0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3714
#2  0xb461d528 in g_main_context_iteration (context=0xac9004d0, may_block=1) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3795
#3  0xb5eb095f in QEventDispatcherGlib::processEvents (this=0xac901f30, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0xb5e7f823 in QEventLoop::processEvents (this=this@entry=0x80a91258, flags=...) at kernel/qeventloop.cpp:149
#5  0xb5e7fb49 in QEventLoop::exec (this=this@entry=0x80a91258, flags=...) at kernel/qeventloop.cpp:204
#6  0xb5d6c23d in QThread::exec (this=this@entry=0xb2a8450) at thread/qthread.cpp:537
#7  0xb5e5fc44 in QInotifyFileSystemWatcherEngine::run (this=0xb2a8450) at io/qfilesystemwatcher_inotify.cpp:265
#8  0xb5d6eb6f in QThreadPrivate::start (arg=0xb2a8450) at thread/qthread_unix.cpp:349
#9  0xb58c1f70 in start_thread (arg=0x80a91b40) at pthread_create.c:312
#10 0xb5b5cbee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 3 (Thread 0xad4feb40 (LWP 23641)):
#0  0xb775bd50 in __kernel_vsyscall ()
#1  0xb5b6a121 in __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:97
#2  0xb5ae9a0a in _L_lock_11087 () from /lib/i386-linux-gnu/libc.so.6
#3  0xb5ae76fd in __GI___libc_malloc (bytes=96) at malloc.c:2887
#4  0xb5d6784b in qMalloc (size=size@entry=96) at global/qmalloc.cpp:55
#5  0xb5db97de in QString::fromLatin1_helper (str=0xa2e48f8 "/usr/lib/python2.7/plat-i386-linux-gnu", size=38) at tools/qstring.cpp:3827
#6  0xb5dbde1c in QString::fromAscii_helper (str=0xa2e48f8 "/usr/lib/python2.7/plat-i386-linux-gnu", size=38) at tools/qstring.cpp:3887
#7  0xa4be47e8 in ?? () from /usr/lib/libkdev4pythonduchain.so
#8  0xa4be3869 in Python::Helper::getSearchPaths(KUrl) () from /usr/lib/libkdev4pythonduchain.so
#9  0xa4be2e59 in Python::Helper::getCorrectionFile(KUrl) () from /usr/lib/libkdev4pythonduchain.so
#10 0xa4c0f17e in ?? () from /usr/lib/libkdev4pythonduchain.so
#11 0xa4bf3994 in Python::DeclarationBuilder::build(KDevelop::IndexedString const&, Python::Ast*, KDevelop::ReferencedTopDUContext) () from /usr/lib/libkdev4pythonduchain.so
#12 0xa4ca70e0 in ?? () from /usr/lib/kde4/kdevpythonlanguagesupport.so
#13 0xb427f9c9 in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0xad4fe248, th=0xa255c90, job=job@entry=0xb1a3448) at ../../../threadweaver/Weaver/Job.cpp:106
#14 0xb427fbc5 in ThreadWeaver::Job::execute (this=this@entry=0xb1a3448, th=th@entry=0xa255c90) at ../../../threadweaver/Weaver/Job.cpp:135
#15 0xb4281e73 in ThreadWeaver::JobCollection::execute (this=0xb1a3448, t=0xa255c90) at ../../../threadweaver/Weaver/JobCollection.cpp:210
#16 0xb427f314 in ThreadWeaver::Thread::run (this=0xa255c90) at ../../../threadweaver/Weaver/Thread.cpp:108
#17 0xb5d6eb6f in QThreadPrivate::start (arg=0xa255c90) at thread/qthread_unix.cpp:349
#18 0xb58c1f70 in start_thread (arg=0xad4feb40) at pthread_create.c:312
#19 0xb5b5cbee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 2 (Thread 0x8abbfb40 (LWP 23644)):
[KCrash Handler]
#7  0xb775bd50 in __kernel_vsyscall ()
#8  0xb5a9f607 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#9  0xb5aa2a33 in __GI_abort () at abort.c:89
#10 0xb5ad9e53 in __libc_message (do_abort=do_abort@entry=1, fmt=fmt@entry=0xb5bd6edc "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175
#11 0xb5ae433a in malloc_printerr (action=<optimized out>, str=0xb5bd70a0 "double free or corruption (fasttop)", ptr=0xa3e51f8) at malloc.c:4996
#12 0xb5ae4fad in _int_free (av=av@entry=0xb5c1b420 <main_arena>, p=<optimized out>, p@entry=0xa3e51f0, have_lock=have_lock@entry=1) at malloc.c:3840
#13 0xb5ae6db4 in _int_realloc (av=av@entry=0xb5c1b420 <main_arena>, oldp=oldp@entry=0xa3e51f0, oldsize=oldsize@entry=48, nb=nb@entry=56) at malloc.c:4340
#14 0xb5ae7de9 in __GI___libc_realloc (oldmem=0xa3e51f8, bytes=48) at malloc.c:3029
#15 0xb5d67893 in qRealloc (ptr=0xa3e51f8, size=size@entry=48) at global/qmalloc.cpp:65
#16 0xb5d8dc6e in QListData::realloc (this=this@entry=0xa4c35c14 <Python::Helper::cachedSearchPaths>, alloc=7) at tools/qlist.cpp:221
#17 0xb5d8dd2b in QListData::append (this=this@entry=0xa4c35c14 <Python::Helper::cachedSearchPaths>, n=n@entry=1) at tools/qlist.cpp:243
#18 0xb5d8ddb3 in QListData::append (this=0xa4c35c14 <Python::Helper::cachedSearchPaths>) at tools/qlist.cpp:253
#19 0xa4be5483 in ?? () from /usr/lib/libkdev4pythonduchain.so
#20 0xa4be3896 in Python::Helper::getSearchPaths(KUrl) () from /usr/lib/libkdev4pythonduchain.so
#21 0xa4be2e59 in Python::Helper::getCorrectionFile(KUrl) () from /usr/lib/libkdev4pythonduchain.so
#22 0xa4c0f17e in ?? () from /usr/lib/libkdev4pythonduchain.so
#23 0xa4bf3994 in Python::DeclarationBuilder::build(KDevelop::IndexedString const&, Python::Ast*, KDevelop::ReferencedTopDUContext) () from /usr/lib/libkdev4pythonduchain.so
#24 0xa4ca70e0 in ?? () from /usr/lib/kde4/kdevpythonlanguagesupport.so
#25 0xb427f9c9 in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0x8abbf248, th=0xb1ab240, job=job@entry=0xb19f268) at ../../../threadweaver/Weaver/Job.cpp:106
#26 0xb427fbc5 in ThreadWeaver::Job::execute (this=this@entry=0xb19f268, th=th@entry=0xb1ab240) at ../../../threadweaver/Weaver/Job.cpp:135
#27 0xb4281e73 in ThreadWeaver::JobCollection::execute (this=0xb19f268, t=0xb1ab240) at ../../../threadweaver/Weaver/JobCollection.cpp:210
#28 0xb427f314 in ThreadWeaver::Thread::run (this=0xb1ab240) at ../../../threadweaver/Weaver/Thread.cpp:108
#29 0xb5d6eb6f in QThreadPrivate::start (arg=0xb1ab240) at thread/qthread_unix.cpp:349
#30 0xb58c1f70 in start_thread (arg=0x8abbfb40) at pthread_create.c:312
#31 0xb5b5cbee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 1 (Thread 0xb1479740 (LWP 23615)):
#0  0xb775bd50 in __kernel_vsyscall ()
#1  0xb5b6a121 in __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:97
#2  0xb5ae9a0a in _L_lock_11087 () at malloc.c:5206
#3  0xb5ae76fd in __GI___libc_malloc (bytes=26) at malloc.c:2887
#4  0xb5d6784b in qMalloc (size=size@entry=26) at global/qmalloc.cpp:55
#5  0xb5db7024 in QString::QString (this=0xbffe2064, unicode=0xbffe1fca, size=3) at tools/qstring.cpp:1060
#6  0xb5d9b078 in qulltoa (l=<optimized out>, base=base@entry=10, _zero=_zero@entry=...) at tools/qlocale_tools.cpp:108
#7  0xb5d9b155 in qlltoa (l=106, base=base@entry=10, zero=zero@entry=...) at tools/qlocale_tools.cpp:113
#8  0xb5d93a6c in QLocalePrivate::longLongToString (zero=zero@entry=..., group=group@entry=..., plus=..., minus=minus@entry=..., l=106, precision=1, precision@entry=-1, base=base@entry=10, width=width@entry=-1, flags=flags@entry=0) at tools/qlocale.cpp:2671
#9  0xb5d93c72 in QLocalePrivate::longLongToString (this=0xb5f1d1a0 <locale_data>, l=106, precision=precision@entry=-1, base=base@entry=10, width=width@entry=-1, flags=flags@entry=0) at tools/qlocale.cpp:2646
#10 0xb5d745a1 in QByteArray::setNum (this=this@entry=0xbffe219c, n=106, base=base@entry=10) at tools/qbytearray.cpp:3650
#11 0xb5d748b2 in setNum (base=base@entry=10, n=n@entry=106, this=0xbffe219c) at ../../include/QtCore/../../src/corelib/tools/qbytearray.h:589
#12 QByteArray::number (n=n@entry=106, base=base@entry=10) at tools/qbytearray.cpp:3762
#13 0xb5eb87d5 in QTextCodec::codecForMib (mib=106) at codecs/qtextcodec.cpp:1083
#14 0xb5ed0233 in QXmlStreamReaderPrivate::getChar_helper (this=this@entry=0xa425bb8) at xml/qxmlstream.cpp:1526
#15 0xb5ed0590 in getChar (this=0xa425bb8) at xml/qxmlstream.cpp:942
#16 QXmlStreamReaderPrivate::scanString (this=this@entry=0xa425bb8, str=str@entry=0xb5f69e64 "<?xml", tokenToInject=tokenToInject@entry=54, requireSpace=requireSpace@entry=true) at xml/qxmlstream.cpp:1026
#17 0xb5ed176f in QXmlStreamReaderPrivate::checkStartDocument (this=this@entry=0xa425bb8) at xml/qxmlstream.cpp:1769
#18 0xb5edfc56 in QXmlStreamReader::readNext (this=this@entry=0xbffe23a0) at xml/qxmlstream.cpp:605
#19 0xb5edfdba in QXmlStreamReader::readNextStartElement (this=this@entry=0xbffe23a0) at xml/qxmlstream.cpp:663
#20 0xb75c55a8 in KMimeTypePrivate::ensureXmlDataLoaded (this=this@entry=0xa2bc850) at ../../kdecore/services/kmimetype.cpp:648
#21 0xb75c79a0 in KMimeTypePrivate::iconName (this=0xa2bc850) at ../../kdecore/services/kmimetype.cpp:792
#22 0xb75c37f3 in KMimeType::iconName (this=this@entry=0xaf1e940, url=...) at ../../kdecore/services/kmimetype.cpp:607
#23 0xb563133b in KFileItem::iconName (this=0xa2f1ef0) at ../../kio/kio/kfileitem.cpp:919
#24 0xb562194d in KDirModel::data (this=0xa70b3b8, index=..., role=1) at ../../kio/kio/kdirmodel.cpp:692
#25 0xb673c7fc in QSortFilterProxyModel::data (this=0xb303eb0, index=..., role=1) at itemviews/qsortfilterproxymodel.cpp:1735
#26 0xb564116d in data (arole=1, this=0xbffe2830) at /usr/include/qt4/QtCore/qabstractitemmodel.h:402
#27 KFileItemDelegate::Private::decoration (this=0xb314de0, option=..., index=...) at ../../kio/kio/kfileitemdelegate.cpp:1122
#28 0xb564166b in KFileItemDelegate::Private::initStyleOption (this=0xb314de0, option=option@entry=0xbffe2740, index=...) at ../../kio/kio/kfileitemdelegate.cpp:861
#29 0xb5641d8d in KFileItemDelegate::sizeHint (this=0xb312940, option=..., index=...) at ../../kio/kio/kfileitemdelegate.cpp:949
#30 0xb66f9703 in QTreeView::sizeHintForColumn (this=0xb310b00, column=0) at itemviews/qtreeview.cpp:2748
#31 0xb66c1146 in QHeaderViewPrivate::viewSectionSizeHint (this=this@entry=0xb312610, logical=logical@entry=0) at itemviews/qheaderview.cpp:3530
#32 0xb66c714f in QHeaderViewPrivate::resizeSections (this=0xb312610, globalMode=globalMode@entry=QHeaderView::ResizeToContents, useGlobalMode=useGlobalMode@entry=true) at itemviews/qheaderview.cpp:3028
#33 0xb66c7692 in QHeaderView::resizeSections (this=this@entry=0xb3125f8, mode=mode@entry=QHeaderView::ResizeToContents) at itemviews/qheaderview.cpp:929
#34 0xb54ce862 in KDirOperatorDetailView::slotLayoutChanged (this=0xb310b00) at ../../kfile/kdiroperatordetailview.cpp:168
#35 0xb54be2e0 in KDirOperatorDetailView::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at moc_kdiroperatordetailview_p.cpp:53
#36 0xb5e960f7 in QMetaObject::activate (sender=sender@entry=0xb303eb0, m=m@entry=0xb5fed2f8 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#37 0xb5ee5115 in QAbstractItemModel::layoutChanged (this=this@entry=0xb303eb0) at .moc/release-shared/moc_qabstractitemmodel.cpp:176
#38 0xb6741a30 in QSortFilterProxyModelPrivate::sort (this=0xb304910) at itemviews/qsortfilterproxymodel.cpp:435
#39 0xb6742312 in QSortFilterProxyModelPrivate::_q_sourceRowsInserted (this=0xb304910, source_parent=..., start=0, end=21) at itemviews/qsortfilterproxymodel.cpp:1299
#40 0xb674431c in QSortFilterProxyModel::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=0xbffe2c10, _c=<optimized out>) at .moc/release-shared/moc_qsortfilterproxymodel.cpp:113
#41 0xb5e960f7 in QMetaObject::activate (sender=sender@entry=0xa70b3b8, m=m@entry=0xb5fed2f8 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=5, argv=argv@entry=0xbffe2c10) at kernel/qobject.cpp:3539
#42 0xb5ee5215 in QAbstractItemModel::rowsInserted (this=this@entry=0xa70b3b8, _t1=..., _t2=0, _t3=21) at .moc/release-shared/moc_qabstractitemmodel.cpp:196
#43 0xb5e7919a in QAbstractItemModel::endInsertRows (this=0xa70b3b8) at kernel/qabstractitemmodel.cpp:2433
#44 0xb5625fe8 in KDirModelPrivate::_k_slotNewItems (this=0xb303d48, directoryUrl=..., items=...) at ../../kio/kio/kdirmodel.cpp:441
#45 0xb5627551 in KDirModel::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=0xbffe2e84, _c=<optimized out>) at ./kdirmodel.moc:66
#46 0xb5e960f7 in QMetaObject::activate (sender=sender@entry=0xa70b800, m=m@entry=0xb57b1c9c <KDirLister::staticMetaObject>, local_signal_index=local_signal_index@entry=10, argv=argv@entry=0xbffe2e84) at kernel/qobject.cpp:3539
#47 0xb560bb7d in KDirLister::itemsAdded (this=0xa70b800, _t1=..., _t2=...) at ./kdirlister.moc:287
#48 0xb560daf8 in KDirLister::Private::emitItems (this=0xb304620) at ../../kio/kio/kdirlister.cpp:2505
#49 0xb561420b in KDirListerCache::slotEntries (this=0xb2f42f0, job=0xb311db8, entries=...) at ../../kio/kio/kdirlister.cpp:1260
#50 0xb561ca38 in KDirListerCache::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=0xbffe3054, _c=<optimized out>) at ./kdirlister_p.moc:80
#51 0xb5e960f7 in QMetaObject::activate (sender=sender@entry=0xb311db8, m=m@entry=0xb57b16b4 <KIO::ListJob::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0xbffe3054) at kernel/qobject.cpp:3539
#52 0xb55ef26d in KIO::ListJob::entries (this=0xb311db8, _t1=0xb311db8, _t2=...) at ./jobclasses.moc:967
#53 0xb55f84ae in KIO::ListJobPrivate::slotListEntries (this=0xb315b30, list=...) at ../../kio/kio/job.cpp:2614
#54 0xb55f8602 in KIO::ListJob::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=0xbffe31e8, _c=<optimized out>) at ./jobclasses.moc:916
#55 0xb5e960f7 in QMetaObject::activate (sender=sender@entry=0xa28a7e8, m=m@entry=0xb57b37a0 <KIO::SlaveInterface::staticMetaObject>, local_signal_index=local_signal_index@entry=6, argv=argv@entry=0xbffe31e8) at kernel/qobject.cpp:3539
#56 0xb569f7a5 in KIO::SlaveInterface::listEntries (this=this@entry=0xa28a7e8, _t1=...) at ./slaveinterface.moc:198
#57 0xb56a168d in KIO::SlaveInterface::dispatch (this=0xa28a7e8, _cmd=106, rawdata=...) at ../../kio/kio/slaveinterface.cpp:194
#58 0xb569e4ae in KIO::SlaveInterface::dispatch (this=0xa28a7e8) at ../../kio/kio/slaveinterface.cpp:92
#59 0xb5691ad0 in KIO::Slave::gotInput (this=this@entry=0xa28a7e8) at ../../kio/kio/slave.cpp:344
#60 0xb5691c7c in KIO::Slave::qt_static_metacall (_o=_o@entry=0xa28a7e8, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbffe33f8) at ./slave.moc:56
#61 0xb5e960f7 in QMetaObject::activate (sender=sender@entry=0xb26f558, m=m@entry=0xb57b04b0 <KIO::Connection::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#62 0xb55baaa5 in KIO::Connection::readyRead (this=0xb26f558) at ./connection.moc:105
#63 0xb55bb250 in KIO::ConnectionPrivate::dequeue (this=0xa342e20) at ../../kio/kio/connection.cpp:82
#64 0xb5e928aa in QMetaCallEvent::placeMetaCall (this=0xb268420, object=0xb26f558) at kernel/qobject.cpp:524
#65 0xb5e9a6fb in QObject::event (this=0xb26f558, e=0xb268420) at kernel/qobject.cpp:1194
#66 0xb61297f4 in QApplicationPrivate::notify_helper (this=0xa059f88, receiver=0xb26f558, e=0xb268420) at kernel/qapplication.cpp:4567
#67 0xb61302d3 in QApplication::notify (this=0xbffe43e4, receiver=receiver@entry=0xb26f558, e=e@entry=0xb268420) at kernel/qapplication.cpp:4353
#68 0xb6cf61b4 in KApplication::notify (this=0xbffe43e4, receiver=0xb26f558, event=0xb268420) at ../../kdeui/kernel/kapplication.cpp:311
#69 0xb5e80e4a in QCoreApplication::notifyInternal (this=0xbffe43e4, receiver=receiver@entry=0xb26f558, event=event@entry=0xb268420) at kernel/qcoreapplication.cpp:953
#70 0xb5e8470d in sendEvent (event=0xb268420, receiver=0xb26f558) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#71 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x9fc9420) at kernel/qcoreapplication.cpp:1577
#72 0xb5e84c1c in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#73 0xb5eb123e in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#74 postEventSourceDispatch (s=s@entry=0xa05a670) at kernel/qeventdispatcher_glib.cpp:287
#75 0xb461d1e3 in g_main_dispatch (context=0x9fca910, context@entry=0xa05a670) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3064
#76 g_main_context_dispatch (context=context@entry=0x9fca910) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3663
#77 0xb461d468 in g_main_context_iterate (context=context@entry=0x9fca910, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3734
#78 0xb461d528 in g_main_context_iteration (context=0x9fca910, may_block=1) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3795
#79 0xb5eb093b in QEventDispatcherGlib::processEvents (this=this@entry=0xa058640, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#80 0xb61de60e in QGuiEventDispatcherGlib::processEvents (this=0xa058640, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#81 0xb5e7f823 in QEventLoop::processEvents (this=this@entry=0xbffe39f8, flags=...) at kernel/qeventloop.cpp:149
#82 0xb5e7fb49 in QEventLoop::exec (this=0xbffe39f8, flags=...) at kernel/qeventloop.cpp:204
#83 0xb758e713 in KJob::exec (this=this@entry=0xa258cb8) at ../../kdecore/jobs/kjob.cpp:210
#84 0xb73c4b91 in KDevelop::ProjectPrivate::initProjectFiles (this=0xb29c678) at /build/buildd/kdevplatform-1.7.1/shell/project.cpp:276
#85 0xb73c26da in KDevelop::Project::open (this=this@entry=0xb2cb7b0, projectFile=...) at /build/buildd/kdevplatform-1.7.1/shell/project.cpp:525
#86 0xb73bf0c8 in KDevelop::ProjectControllerPrivate::importProject (this=0xa2d4bc0, url_=...) at /build/buildd/kdevplatform-1.7.1/shell/projectcontroller.cpp:305
#87 0xb73bbbcb in KDevelop::ProjectController::openProject (this=0xa534778, projectFile=...) at /build/buildd/kdevplatform-1.7.1/shell/projectcontroller.cpp:779
#88 0xb73b6f2e in KDevelop::ProjectController::openProjects (this=0xa534778, projects=...) at /build/buildd/kdevplatform-1.7.1/shell/projectcontroller.cpp:612
#89 0xb73bc047 in KDevelop::ProjectController::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=0xa614208, _c=<optimized out>) at /build/buildd/kdevplatform-1.7.1/obj-i686-linux-gnu/shell/projectcontroller.moc:194
#90 0xb5e928aa in QMetaCallEvent::placeMetaCall (this=0xa614038, object=0xa534778) at kernel/qobject.cpp:524
#91 0xb5e9a6fb in QObject::event (this=0xa534778, e=0xa614038) at kernel/qobject.cpp:1194
#92 0xb61297f4 in QApplicationPrivate::notify_helper (this=0xa059f88, receiver=0xa534778, e=0xa614038) at kernel/qapplication.cpp:4567
#93 0xb61302d3 in QApplication::notify (this=0xbffe43e4, receiver=receiver@entry=0xa534778, e=e@entry=0xa614038) at kernel/qapplication.cpp:4353
#94 0xb6cf61b4 in KApplication::notify (this=0xbffe43e4, receiver=0xa534778, event=0xa614038) at ../../kdeui/kernel/kapplication.cpp:311
#95 0xb5e80e4a in QCoreApplication::notifyInternal (this=0xbffe43e4, receiver=receiver@entry=0xa534778, event=event@entry=0xa614038) at kernel/qcoreapplication.cpp:953
#96 0xb5e8470d in sendEvent (event=0xa614038, receiver=0xa534778) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#97 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x9fc9420) at kernel/qcoreapplication.cpp:1577
#98 0xb5e84c1c in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#99 0xb5eb123e in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#100 postEventSourceDispatch (s=s@entry=0xa05a670) at kernel/qeventdispatcher_glib.cpp:287
#101 0xb461d1e3 in g_main_dispatch (context=0x9fca910, context@entry=0xa05a670) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3064
#102 g_main_context_dispatch (context=context@entry=0x9fca910) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3663
#103 0xb461d468 in g_main_context_iterate (context=context@entry=0x9fca910, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3734
#104 0xb461d528 in g_main_context_iteration (context=0x9fca910, may_block=1) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3795
#105 0xb5eb093b in QEventDispatcherGlib::processEvents (this=this@entry=0xa058640, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#106 0xb61de60e in QGuiEventDispatcherGlib::processEvents (this=0xa058640, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#107 0xb5e7f823 in QEventLoop::processEvents (this=this@entry=0xbffe42f8, flags=...) at kernel/qeventloop.cpp:149
#108 0xb5e7fb49 in QEventLoop::exec (this=this@entry=0xbffe42f8, flags=...) at kernel/qeventloop.cpp:204
#109 0xb5e858fe in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#110 0xb6127a24 in QApplication::exec () at kernel/qapplication.cpp:3828
#111 0x08055bcc in main (argc=<optimized out>, argv=0xbffe4544) at ../../app/main.cpp:582

Possible duplicates by query: bug 352723, bug 352613, bug 352572, bug 349223, bug 348699.

Reported using DrKonqi
Comment 1 leo venturini 2015-09-29 07:56:55 UTC
after bug reporting KDevelop restarted the second session correctly
Comment 2 Kevin Funk 2017-07-11 21:34:29 UTC
Python::Helper::getSearchPaths was called from multiple threads, accessing shared data => race.

I presume this got fixed by:

commit 6ceb1bee7efb5e05d17a0242b1bc710cee8d6e17
Author: Radek Novacek <rnovacek@redhat.com>
Date:   Sun Jan 18 09:15:55 2015 +0000

    cache custom includes in main thread
    
    Sven Brauch: added a mutex locker to make this thread-safe
    Refactoring of the Helper stuff should be done in near future to
    avoid all the statics.
    REVIEW:122164
Comment 3 Sven Brauch 2017-07-11 21:41:34 UTC
note, in c++11 you can do "thread_local static" which is probably a good way to avoid this kind of issue too. but yes, I think this is fixed