Bug 351343 - KDevelop started crashing when I tried adding an include path.
Summary: KDevelop started crashing when I tried adding an include path.
Status: RESOLVED DUPLICATE of bug 347178
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-15 20:49 UTC by Alexander
Modified: 2015-08-17 07:09 UTC (History)
0 users

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 Alexander 2015-08-15 20:49:23 UTC
Application: kdevelop (4.7.1)
KDE Platform Version: 4.14.10
Qt Version: 4.8.7
Operating System: Linux 4.1.4-1-desktop x86_64
Distribution: "openSUSE 20150812 (Tumbleweed) (x86_64)"

-- Information about the crash:
Well IRC the KDevelop crashed after I added a custom include path to the IDE for a C++ project I created. It worked fine until now. I added the path where libc++ (clang's own C++ lib) include files reside which was somewhere in '/usr/lib'  I think.

Right now when I launch KDevelop it crashes after like 5 seconds on the launch screen. Or if I select something from the menu  - faster. This crash is what this backtrace holds information of.

Interestingly enough not only this program but also Yast2 Software Manager started crashing immediately after I select KDevelop for deinstallation.

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

Thread 11 (Thread 0x7f2b3ae78700 (LWP 8908)):
#0  0x00007f2b5473593f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f2b54403fea in  () at /usr/lib64/libQtScript.so.4
#2  0x00007f2b54404019 in  () at /usr/lib64/libQtScript.so.4
#3  0x00007f2b54730324 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f2b56a2670d in clone () at /lib64/libc.so.6

Thread 10 (Thread 0x7f2b394e7700 (LWP 8918)):
#0  0x00007f2b54735ce8 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f2b570e4732 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQtCore.so.4
#2  0x00007f2b559fa706 in  () at /usr/lib64/libkdevplatformlanguage.so.8
#3  0x00007f2b570e423c in  () at /usr/lib64/libQtCore.so.4
#4  0x00007f2b54730324 in start_thread () at /lib64/libpthread.so.0
#5  0x00007f2b56a2670d in clone () at /lib64/libc.so.6

Thread 9 (Thread 0x7f2aa71e0700 (LWP 8919)):
#0  0x00007f2b56a1dfbd in poll () at /lib64/libc.so.6
#1  0x00007f2b50d10e94 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f2b50d10f9c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f2b5721826e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#4  0x00007f2b571e83e1 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#5  0x00007f2b571e86f5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#6  0x00007f2b570e1a59 in QThread::exec() () at /usr/lib64/libQtCore.so.4
#7  0x00007f2b570e423c in  () at /usr/lib64/libQtCore.so.4
#8  0x00007f2b54730324 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f2b56a2670d in clone () at /lib64/libc.so.6

Thread 8 (Thread 0x7f2a8ef1d700 (LWP 8958)):
#0  0x00007f2b56a1a04d in read () at /lib64/libc.so.6
#1  0x00007f2b46cfff75 in  () at /usr/lib64/tls/libnvidia-tls.so.352.30
#2  0x00007f2b50d53850 in  () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f2b50d109c4 in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f2b50d10e38 in  () at /usr/lib64/libglib-2.0.so.0
#5  0x00007f2b50d10f9c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#6  0x00007f2b5721826e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#7  0x00007f2b571e83e1 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#8  0x00007f2b571e86f5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#9  0x00007f2b570e1a59 in QThread::exec() () at /usr/lib64/libQtCore.so.4
#10 0x00007f2b571c94c3 in  () at /usr/lib64/libQtCore.so.4
#11 0x00007f2b570e423c in  () at /usr/lib64/libQtCore.so.4
#12 0x00007f2b54730324 in start_thread () at /lib64/libpthread.so.0
#13 0x00007f2b56a2670d in clone () at /lib64/libc.so.6

Thread 7 (Thread 0x7f2a8f71e700 (LWP 8975)):
#0  0x00007f2b56a1dfbd in poll () at /lib64/libc.so.6
#1  0x00007f2b50d10e94 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f2b50d10f9c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f2b5721826e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#4  0x00007f2b571e83e1 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#5  0x00007f2b571e86f5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#6  0x00007f2b570e1a59 in QThread::exec() () at /usr/lib64/libQtCore.so.4
#7  0x00007f2b571c94c3 in  () at /usr/lib64/libQtCore.so.4
#8  0x00007f2b570e423c in  () at /usr/lib64/libQtCore.so.4
#9  0x00007f2b54730324 in start_thread () at /lib64/libpthread.so.0
#10 0x00007f2b56a2670d in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7f2a9a8b4700 (LWP 8982)):
#0  0x00007f2b5473593f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f2b570e4754 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQtCore.so.4
#2  0x00007f2b4cb6645c in  () at /usr/lib64/libthreadweaver.so.4
#3  0x00007f2b4cb68e93 in  () at /usr/lib64/libthreadweaver.so.4
#4  0x00007f2b4cb67b6f in ThreadWeaver::Thread::run() () at /usr/lib64/libthreadweaver.so.4
#5  0x00007f2b570e423c in  () at /usr/lib64/libQtCore.so.4
#6  0x00007f2b54730324 in start_thread () at /lib64/libpthread.so.0
#7  0x00007f2b56a2670d in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7f2a9a0b3700 (LWP 9000)):
#0  0x00007f2b54735ce8 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f2b570e4732 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQtCore.so.4
#2  0x00007f2b570d7c3f in  () at /usr/lib64/libQtCore.so.4
#3  0x00007f2b570e423c in  () at /usr/lib64/libQtCore.so.4
#4  0x00007f2b54730324 in start_thread () at /lib64/libpthread.so.0
#5  0x00007f2b56a2670d in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f2a9910d700 (LWP 9181)):
#0  0x00007f2b56a1a04d in read () at /lib64/libc.so.6
#1  0x00007f2b46cfff75 in  () at /usr/lib64/tls/libnvidia-tls.so.352.30
#2  0x00007f2b50d53850 in  () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f2b50d109c4 in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f2b50d10e38 in  () at /usr/lib64/libglib-2.0.so.0
#5  0x00007f2b50d10f9c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#6  0x00007f2b5721826e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#7  0x00007f2b571e83e1 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#8  0x00007f2b571e86f5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#9  0x00007f2b570e1a59 in QThread::exec() () at /usr/lib64/libQtCore.so.4
#10 0x00007f2b570e423c in  () at /usr/lib64/libQtCore.so.4
#11 0x00007f2b54730324 in start_thread () at /lib64/libpthread.so.0
#12 0x00007f2b56a2670d in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f2a9890c700 (LWP 9182)):
[KCrash Handler]
#6  0x00007f2a99623b00 in  () at /usr/lib64/libkdev4cppduchain.so
#7  0x00007f2a9964e69a in CppPreprocessEnvironment::merge(Cpp::EnvironmentFile const*, bool) () at /usr/lib64/libkdev4cppduchain.so
#8  0x00007f2b3a293889 in  () at /usr/lib64/kde4/kdevcpplanguagesupport.so
#9  0x00007f2a991236ec in rpp::pp::handle_include(bool, rpp::Stream&, rpp::Stream&) () at /usr/lib64/libkdev4cpprpp.so
#10 0x00007f2a9912786f in rpp::pp::handle_directive(unsigned int, rpp::Stream&, rpp::Stream&) () at /usr/lib64/libkdev4cpprpp.so
#11 0x00007f2a99127e1e in rpp::pp::operator()(rpp::Stream&, rpp::Stream&) () at /usr/lib64/libkdev4cpprpp.so
#12 0x00007f2a99128134 in rpp::pp::processFileInternal(QString const&, QByteArray const&, QVector<unsigned int>&) () at /usr/lib64/libkdev4cpprpp.so
#13 0x00007f2a991284d5 in rpp::pp::processFile(QString const&, QByteArray const&) () at /usr/lib64/libkdev4cpprpp.so
#14 0x00007f2b3a296114 in  () at /usr/lib64/kde4/kdevcpplanguagesupport.so
#15 0x00007f2b3a28a56e in  () at /usr/lib64/kde4/kdevcpplanguagesupport.so
#16 0x00007f2b3a2942b9 in  () at /usr/lib64/kde4/kdevcpplanguagesupport.so
#17 0x00007f2a991236ec in rpp::pp::handle_include(bool, rpp::Stream&, rpp::Stream&) () at /usr/lib64/libkdev4cpprpp.so
#18 0x00007f2a9912786f in rpp::pp::handle_directive(unsigned int, rpp::Stream&, rpp::Stream&) () at /usr/lib64/libkdev4cpprpp.so
#19 0x00007f2a99127e1e in rpp::pp::operator()(rpp::Stream&, rpp::Stream&) () at /usr/lib64/libkdev4cpprpp.so
#20 0x00007f2a99128134 in rpp::pp::processFileInternal(QString const&, QByteArray const&, QVector<unsigned int>&) () at /usr/lib64/libkdev4cpprpp.so
#21 0x00007f2a991284d5 in rpp::pp::processFile(QString const&, QByteArray const&) () at /usr/lib64/libkdev4cpprpp.so
#22 0x00007f2b3a296114 in  () at /usr/lib64/kde4/kdevcpplanguagesupport.so
#23 0x00007f2b3a28a56e in  () at /usr/lib64/kde4/kdevcpplanguagesupport.so
#24 0x00007f2b3a2942b9 in  () at /usr/lib64/kde4/kdevcpplanguagesupport.so
#25 0x00007f2a991236ec in rpp::pp::handle_include(bool, rpp::Stream&, rpp::Stream&) () at /usr/lib64/libkdev4cpprpp.so
#26 0x00007f2a9912786f in rpp::pp::handle_directive(unsigned int, rpp::Stream&, rpp::Stream&) () at /usr/lib64/libkdev4cpprpp.so
#27 0x00007f2a99127e1e in rpp::pp::operator()(rpp::Stream&, rpp::Stream&) () at /usr/lib64/libkdev4cpprpp.so
#28 0x00007f2a99128134 in rpp::pp::processFileInternal(QString const&, QByteArray const&, QVector<unsigned int>&) () at /usr/lib64/libkdev4cpprpp.so
#29 0x00007f2a991284d5 in rpp::pp::processFile(QString const&, QByteArray const&) () at /usr/lib64/libkdev4cpprpp.so
#30 0x00007f2b3a296114 in  () at /usr/lib64/kde4/kdevcpplanguagesupport.so
#31 0x00007f2b4cb682f2 in  () at /usr/lib64/libthreadweaver.so.4
#32 0x00007f2b4cb684de in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) () at /usr/lib64/libthreadweaver.so.4
#33 0x00007f2b4cb69fdb in  () at /usr/lib64/libthreadweaver.so.4
#34 0x00007f2b4cb67c0b in ThreadWeaver::Thread::run() () at /usr/lib64/libthreadweaver.so.4
#35 0x00007f2b570e423c in  () at /usr/lib64/libQtCore.so.4
#36 0x00007f2b54730324 in start_thread () at /lib64/libpthread.so.0
#37 0x00007f2b56a2670d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f2a9810b700 (LWP 9183)):
#0  0x00007f2b5473593f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f2b570e4754 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQtCore.so.4
#2  0x00007f2b4cb6645c in  () at /usr/lib64/libthreadweaver.so.4
#3  0x00007f2b4cb68e93 in  () at /usr/lib64/libthreadweaver.so.4
#4  0x00007f2b4cb67b6f in ThreadWeaver::Thread::run() () at /usr/lib64/libthreadweaver.so.4
#5  0x00007f2b570e423c in  () at /usr/lib64/libQtCore.so.4
#6  0x00007f2b54730324 in start_thread () at /lib64/libpthread.so.0
#7  0x00007f2b56a2670d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f2b5a36d900 (LWP 8907)):
#0  0x00007f2b56a1a04d in read () at /lib64/libc.so.6
#1  0x00007f2b46cfff75 in  () at /usr/lib64/tls/libnvidia-tls.so.352.30
#2  0x00007f2b50d53850 in  () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f2b50d109c4 in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f2b50d10e38 in  () at /usr/lib64/libglib-2.0.so.0
#5  0x00007f2b50d10f9c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#6  0x00007f2b5721826e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#7  0x00007f2b577cc946 in  () at /usr/lib64/libQtGui.so.4
#8  0x00007f2b571e83e1 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#9  0x00007f2b571e86f5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#10 0x00007f2b571edef9 in QCoreApplication::exec() () at /usr/lib64/libQtCore.so.4
#11 0x0000000000412276 in  ()
#12 0x00007f2b5695f790 in __libc_start_main () at /lib64/libc.so.6
#13 0x0000000000412a39 in _start ()

Reported using DrKonqi
Comment 1 Alexander 2015-08-16 01:17:22 UTC
OK there is a development of my experience with this bug. It seems the problem arises when I change settings on a project "Custom defines And Includes" and apply them (with saying 'ok' or 'apply').
Comment 2 Alexander 2015-08-16 01:24:32 UTC
Further analysis lead me to the discovery that the setting causing the bug was ''Reparse the project". It seems that at project creation time (from template) an ill configuration file is written and when I apply new settings and instruct the program to reparse it - it simply crashes.

Here is an example of the sickly created file content (gfh.kdev4):

[Project]
Name=gfh
Manager=KDevCMakeManager
VersionControl=
Comment 3 Kevin Funk 2015-08-17 07:09:43 UTC

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