Bug 351669 - KDevelop segfault on startup [KDevelop::ParsingEnvironmentFile::indexedTopContext]
Summary: KDevelop segfault on startup [KDevelop::ParsingEnvironmentFile::indexedTopCon...
Status: RESOLVED WORKSFORME
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 4.7.1
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-08-23 22:46 UTC by Chris
Modified: 2021-01-16 04:34 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 Chris 2015-08-23 22:46:26 UTC
Application: kdevelop (4.7.1)
KDE Platform Version: 4.14.9
Qt Version: 4.8.6
Operating System: Linux 4.1.6-2.gce0123d-desktop x86_64
Distribution: "openSUSE 13.2 (Harlequin) (x86_64)"

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

I started kdevelop from the application launcher menu. I believe the last time I ran kdevelop, it was an older version, perhaps from 4-9 months ago. I generally update to whatever's newest of opensuse 13.2 and the KDE:Extra repository in the open build service for 13.2.  The majority of the settings for kdevelop are default, though I've tweaked some colors and things in the text editor component shared with Kate.  I don't think anything specific to kdevelop is outside of the defaults.

The crash can be reproduced sometimes.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fbbfafee800 (LWP 8236))]

Thread 6 (Thread 0x7fbbdd9c7700 (LWP 8237)):
#0  0x00007fbbf747e05f in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fbbf40e68cb in QTWTF::TCMalloc_PageHeap::scavengerThread() (this=0x7fbbf43e4f00 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007fbbf40e6909 in QTWTF::TCMalloc_PageHeap::runScavengerThread(void*) (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007fbbf747a0a4 in start_thread (arg=0x7fbbdd9c7700) at pthread_create.c:309
#4  0x00007fbbf777408d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7fbb5c40a700 (LWP 8239)):
#0  0x00007fbbf747e408 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007fbbf7e39c64 in QWaitCondition::wait(QMutex*, unsigned long) (time=1000, this=0x26bac00) at thread/qwaitcondition_unix.cpp:84
#2  0x00007fbbf7e39c64 in QWaitCondition::wait(QMutex*, unsigned long) (this=<optimized out>, mutex=0x2181e30, time=1000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fbbf4b4fb82 in  () at /usr/lib64/libkdevplatformlanguage.so.8
#4  0x00007fbbf7e3979f in QThreadPrivate::start(void*) (arg=0x2181e10) at thread/qthread_unix.cpp:349
#5  0x00007fbbf747a0a4 in start_thread (arg=0x7fbb5c40a700) at pthread_create.c:309
#6  0x00007fbbf777408d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7fbb5b13d700 (LWP 8240)):
#0  0x00007fbbf7767d2d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fbbf1b1c750 in g_wakeup_acknowledge (__nbytes=16, __buf=0x7fbb5b13cbe0, __fd=<optimized out>) at /usr/include/bits/unistd.h:44
#2  0x00007fbbf1b1c750 in g_wakeup_acknowledge (wakeup=0x7fbb540027b0) at gwakeup.c:210
#3  0x00007fbbf1adb714 in g_main_context_check (context=context@entry=0x7fbb4c0009a0, max_priority=2147483647, fds=fds@entry=0x7fbb4c002fe0, n_fds=n_fds@entry=1) at gmain.c:3579
#4  0x00007fbbf1adbb7b in g_main_context_iterate (context=context@entry=0x7fbb4c0009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3778
#5  0x00007fbbf1adbcec in g_main_context_iteration (context=0x7fbb4c0009a0, may_block=1) at gmain.c:3842
#6  0x00007fbbf7f680de in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fbb4c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#7  0x00007fbbf7f39e6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fbb5b13cde0, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007fbbf7f3a165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fbb5b13cde0, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007fbbf7e370bf in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:538
#10 0x00007fbbf7e3979f in QThreadPrivate::start(void*) (arg=0x4684aa8) at thread/qthread_unix.cpp:349
#11 0x00007fbbf747a0a4 in start_thread (arg=0x7fbb5b13d700) at pthread_create.c:309
#12 0x00007fbbf777408d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7fbb3f0ad700 (LWP 8247)):
#0  0x00007fbbf776bc5d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fbbf1adbbe4 in g_main_context_iterate (priority=2147483647, n_fds=1, fds=0x7fbb38003510, timeout=-1, context=0x7fbb380009a0) at gmain.c:4076
#2  0x00007fbbf1adbbe4 in g_main_context_iterate (context=context@entry=0x7fbb380009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3776
#3  0x00007fbbf1adbcec in g_main_context_iteration (context=0x7fbb380009a0, may_block=1) at gmain.c:3842
#4  0x00007fbbf7f680de in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fbb380008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#5  0x00007fbbf7f39e6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fbb3f0acde0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fbbf7f3a165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fbb3f0acde0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fbbf7e370bf in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:538
#8  0x00007fbbf7e3979f in QThreadPrivate::start(void*) (arg=0x4b21a50) at thread/qthread_unix.cpp:349
#9  0x00007fbbf747a0a4 in start_thread (arg=0x7fbb3f0ad700) at pthread_create.c:309
#10 0x00007fbbf777408d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7fbb27fff700 (LWP 8382)):
#0  0x00007fbbf1ad901c in g_source_iter_next (iter=iter@entry=0x7fbb27ffebf0, source=source@entry=0x7fbb27ffebe8) at gmain.c:913
#1  0x00007fbbf1adb22b in g_main_context_prepare (context=context@entry=0x7fbb1c0009a0, priority=priority@entry=0x7fbb27ffec68) at gmain.c:3377
#2  0x00007fbbf1adbb03 in g_main_context_iterate (context=context@entry=0x7fbb1c0009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3761
#3  0x00007fbbf1adbcec in g_main_context_iteration (context=0x7fbb1c0009a0, may_block=1) at gmain.c:3842
#4  0x00007fbbf7f680de in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fbb1c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#5  0x00007fbbf7f39e6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fbb27ffeda0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fbbf7f3a165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fbb27ffeda0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fbbf7e370bf in QThread::exec() (this=this@entry=0x4665320) at thread/qthread.cpp:538
#8  0x00007fbbf7f1b783 in QInotifyFileSystemWatcherEngine::run() (this=0x4665320) at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007fbbf7e3979f in QThreadPrivate::start(void*) (arg=0x4665320) at thread/qthread_unix.cpp:349
#10 0x00007fbbf747a0a4 in start_thread (arg=0x7fbb27fff700) at pthread_create.c:309
#11 0x00007fbbf777408d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fbbfafee800 (LWP 8236)):
[KCrash Handler]
#6  0x00007fbbf4b9a690 in KDevelop::ParsingEnvironmentFile::indexedTopContext() const () at /usr/lib64/libkdevplatformlanguage.so.8
#7  0x00007fbb3f39d079 in Cpp::EnvironmentFile::usedMacroNames() const () at /usr/lib64/libkdev4cppduchain.so
#8  0x00007fbb3f87bc04 in  () at /usr/lib64/kde4/kdevcpplanguagesupport.so
#9  0x00007fbb3f87bfe3 in  () at /usr/lib64/kde4/kdevcpplanguagesupport.so
#10 0x00007fbb485d984f in  () at /usr/lib64/kde4/kdevcontextbrowser.so
#11 0x00007fbb485d9edc in  () at /usr/lib64/kde4/kdevcontextbrowser.so
#12 0x00007fbb485d2f6d in  () at /usr/lib64/kde4/kdevcontextbrowser.so
#13 0x00007fbbf7f4f1fa in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=0x48c5d30, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3576
#14 0x00007fbbf7f533b1 in QObject::event(QEvent*) (this=0x48c5d30, e=<optimized out>) at kernel/qobject.cpp:1193
#15 0x00007fbbf848076c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x1ef6bc0, receiver=receiver@entry=0x48c5d30, e=e@entry=0x7ffe752d4f20) at kernel/qapplication.cpp:4565
#16 0x00007fbbf8486cad in QApplication::notify(QObject*, QEvent*) (this=this@entry=0x7ffe752d5f20, receiver=receiver@entry=0x48c5d30, e=e@entry=0x7ffe752d4f20) at kernel/qapplication.cpp:4351
#17 0x00007fbbf9415e0a in KApplication::notify(QObject*, QEvent*) (this=0x7ffe752d5f20, receiver=0x48c5d30, event=0x7ffe752d4f20) at /usr/src/debug/kdelibs-4.14.9/kdeui/kernel/kapplication.cpp:311
#18 0x00007fbbf7f3b2ad in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7ffe752d5f20, receiver=0x48c5d30, event=0x7ffe752d4f20) at kernel/qcoreapplication.cpp:953
#19 0x00007fbbf7f6acbc in QTimerInfoList::activateTimers() (event=<optimized out>, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#20 0x00007fbbf7f6acbc in QTimerInfoList::activateTimers() (this=0x1ef0e40) at kernel/qeventdispatcher_unix.cpp:636
#21 0x00007fbbf7f67f01 in timerSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:193
#22 0x00007fbbf1adba04 in g_main_context_dispatch (context=0x1ef10d0) at gmain.c:3111
#23 0x00007fbbf1adba04 in g_main_context_dispatch (context=context@entry=0x1ef10d0) at gmain.c:3710
#24 0x00007fbbf1adbc48 in g_main_context_iterate (context=context@entry=0x1ef10d0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3781
#25 0x00007fbbf1adbcec in g_main_context_iteration (context=0x1ef10d0, may_block=1) at gmain.c:3842
#26 0x00007fbbf7f680be in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x1e2dba0, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#27 0x00007fbbf851d676 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#28 0x00007fbbf7f39e6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffe752d5190, flags=...) at kernel/qeventloop.cpp:149
#29 0x00007fbbf7f3a165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7ffe752d5190, flags=...) at kernel/qeventloop.cpp:204
#30 0x00007fbbfab0a4f3 in KJob::exec() (this=0x5f6f550) at /usr/src/debug/kdelibs-4.14.9/kdecore/jobs/kjob.cpp:210
#31 0x00007fbbfa5187e3 in  () at /usr/lib64/libkdevplatformshell.so.8
#32 0x00007fbbfa5164ea in KDevelop::Project::open(KDevelop::Path const&) () at /usr/lib64/libkdevplatformshell.so.8
#33 0x00007fbbfa5133fc in  () at /usr/lib64/libkdevplatformshell.so.8
#34 0x00007fbbfa510230 in KDevelop::ProjectController::openProject(KUrl const&) () at /usr/lib64/libkdevplatformshell.so.8
#35 0x00007fbbfa50bb3f in KDevelop::ProjectController::openProjects(KUrl::List const&) () at /usr/lib64/libkdevplatformshell.so.8
#36 0x00007fbbfa5106c9 in  () at /usr/lib64/libkdevplatformshell.so.8
#37 0x00007fbbf7f5359e in QObject::event(QEvent*) (this=0x2549160, e=<optimized out>) at kernel/qobject.cpp:1231
#38 0x00007fbbf848076c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x1ef6bc0, receiver=receiver@entry=0x2549160, e=e@entry=0x26a8570) at kernel/qapplication.cpp:4565
#39 0x00007fbbf8486cad in QApplication::notify(QObject*, QEvent*) (this=this@entry=0x7ffe752d5f20, receiver=receiver@entry=0x2549160, e=e@entry=0x26a8570) at kernel/qapplication.cpp:4351
#40 0x00007fbbf9415e0a in KApplication::notify(QObject*, QEvent*) (this=0x7ffe752d5f20, receiver=0x2549160, event=0x26a8570) at /usr/src/debug/kdelibs-4.14.9/kdeui/kernel/kapplication.cpp:311
#41 0x00007fbbf7f3b2ad in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7ffe752d5f20, receiver=receiver@entry=0x2549160, event=event@entry=0x26a8570) at kernel/qcoreapplication.cpp:953
#42 0x00007fbbf7f3e57d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (event=0x26a8570, receiver=0x2549160) at kernel/qcoreapplication.h:231
#43 0x00007fbbf7f3e57d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1e286e0) at kernel/qcoreapplication.cpp:1577
#44 0x00007fbbf7f3ea23 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#45 0x00007fbbf7f688fe in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) () at kernel/qcoreapplication.h:236
#46 0x00007fbbf7f688fe in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x1ef74c0) at kernel/qeventdispatcher_glib.cpp:300
#47 0x00007fbbf1adba04 in g_main_context_dispatch (context=0x1ef10d0) at gmain.c:3111
#48 0x00007fbbf1adba04 in g_main_context_dispatch (context=context@entry=0x1ef10d0) at gmain.c:3710
#49 0x00007fbbf1adbc48 in g_main_context_iterate (context=context@entry=0x1ef10d0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3781
#50 0x00007fbbf1adbcec in g_main_context_iteration (context=0x1ef10d0, may_block=1) at gmain.c:3842
#51 0x00007fbbf7f680be in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x1e2dba0, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#52 0x00007fbbf851d676 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#53 0x00007fbbf7f39e6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffe752d5d50, flags=...) at kernel/qeventloop.cpp:149
#54 0x00007fbbf7f3a165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffe752d5d50, flags=...) at kernel/qeventloop.cpp:204
#55 0x00007fbbf7f3f5b9 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1225
#56 0x0000000000410e61 in  ()
#57 0x00007fbbf76b0b05 in __libc_start_main (main=0x40b450, argc=1, argv=0x7ffe752d60a8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe752d6098) at libc-start.c:285
#58 0x0000000000411448 in _start ()

Reported using DrKonqi
Comment 1 Justin Zobel 2020-12-17 05:23:51 UTC
Thank you for the crash report.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Comment 2 Bug Janitor Service 2021-01-01 04:35:17 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2021-01-16 04:34:32 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!