Bug 305962

Summary: crash on opening and parsing project
Product: [Applications] kdevelop Reporter: Barade <barade.barade>
Component: Language Support: CPP (old)Assignee: kdevelop-bugs-null
Status: RESOLVED WORKSFORME    
Severity: normal Keywords: triaged
Priority: NOR    
Version First Reported In: 4.3.1   
Target Milestone: 4.3.0   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Barade 2012-08-29 03:33:14 UTC
kdevelop(19879)/kdevplatform (language) KDevelop::BackgroundParserPrivate::parseDocumentsInternal: creating parse-job KUrl("file:///home/x/project/src/mpq/CMakeLists.txt") new count of active parse-jobs: 1
kdevelop(19879)/kdevelop (cpp support) PreprocessJob::run: PreprocessJob: preprocessing "/home/x/project/src/mpq/CMakeLists.txt"
kdevelop(19879)/kdevelop (cpp support) IncludePathComputer::computeForeground: Got build-directory from project manager: KUrl("file:///home/x/project/build")
kdevelop(19879)/kdevelop (cmake support debug) CMakeManager::defines: Querying defines for  0x7fffccca4840 0x0
kdevelop(19879)/kdevelop (cpp support) IncludePathComputer::computeForeground: Got  33  include-paths from build-manager
kdevelop(19879)/kdevelop (cpp support) IncludePathComputer::computeBackground: current include path dependency state: "[/home/x/project/build/src/mpq/Makefile:03:56:03 (rev 0)]"
kdevelop(19879)/kdevelop (cpp support) IncludePathComputer::computeBackground: Did not get any include-paths for KUrl("file:///home/x/project/src/mpq/CMakeLists.txt")
kdevelop(19879)/kdevelop (cpp support) IncludePathComputer::computeBackground: new include path dependency: "[/home/x/project/build/src/mpq/Makefile:03:56:03 (rev 0)]"
kdevelop(19879)/kdevelop (cpp support) IncludePathComputer::computeBackground: Failed to resolve include-path for " KUrl("file:///home/x/project/src/mpq/CMakeLists.txt") ": "Malformed recursive make call"
 "Output was: make: *** No rule to make target `CMakeLists.o'.
make: *** No rule to make target `CMakeLists.lo'.
make: *** No rule to make target `CMakeLists.ko'.
"
kdevelop(19879)/kdevelop (cpp support) CPPParseJob::mergeDefines: DEFINES: QHash(("", "")("QT_NO_CAST_TO_ASCII", "")("QT_GUI_LIB", "")("QT_CORE_LIB", "")("LOCALE_DIR", ""/usr/local/share/locale"")("UNIX", "1")("_REENTRANT", "")("KDE_DEPRECATED_WARNINGS", "")("KDE4_CMAKE_TOPLEVEL_DIR_LENGTH", "31")("QT_NO_STL", "")("LINUX", "1"))
ASSERT: "d" in file /usr/include/ksharedptr.h, line 126

Program received signal SIGABRT, Aborted.


(gdb) backtrace
#0  0x0000003961c35a75 in raise () from /lib64/libc.so.6
#1  0x0000003961c36ef6 in abort () from /lib64/libc.so.6
#2  0x000000396da75a34 in qt_message_output(QtMsgType, char const*) () from /usr/lib64/qt4/libQtCore.so.4
#3  0x000000396da75bcd in ?? () from /usr/lib64/qt4/libQtCore.so.4
#4  0x000000396da75d69 in qFatal(char const*, ...) () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00007fffd80d91b7 in ?? () from /usr/lib64/kde4/kdevcpplanguagesupport.so
#6  0x00007fff8bb749e0 in ?? () from /usr/lib64/libkdev4cpprpp.so
#7  0x00007fff8bb85a74 in rpp::pp::operator()(rpp::Stream&, rpp::Stream&) () from /usr/lib64/libkdev4cpprpp.so
#8  0x00007fff8bb85e9e in rpp::pp::processFileInternal(QString const&, QByteArray const&, QVector<unsigned int>&) () from /usr/lib64/libkdev4cpprpp.so
#9  0x00007fff8bb85f25 in rpp::pp::processFile(QString const&, QByteArray const&) () from /usr/lib64/libkdev4cpprpp.so
#10 0x00007fffd80dc42e in ?? () from /usr/lib64/kde4/kdevcpplanguagesupport.so
#11 0x000000397600d6db in ?? () from /usr/lib64/libthreadweaver.so.4
#12 0x000000397600d85e in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) () from /usr/lib64/libthreadweaver.so.4
#13 0x000000397600eaf3 in ?? () from /usr/lib64/libthreadweaver.so.4
#14 0x000000397600cf8f in ?? () from /usr/lib64/libthreadweaver.so.4
#15 0x000000397600d048 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#16 0x000000396da7f83b in ?? () from /usr/lib64/qt4/libQtCore.so.4
#17 0x0000003962807da6 in start_thread () from /lib64/libpthread.so.0
#18 0x0000003961ceb10d in clone () from /lib64/libc.so.6

Reproducible: Always
Comment 1 Milian Wolff 2012-08-31 14:32:03 UTC
please install debug symbols for kdevelop and reproduce the issue, then update the backtrace.
Comment 2 Barade 2012-08-31 21:44:27 UTC
hm but I compiled it with the debug useflag on Gentoo. What else should I do?
Comment 3 Aleix Pol 2013-03-31 00:49:22 UTC
Moving all the bugs from the CPP Parser. It was not well defined the difference between it and C++ Language Support and people kept reporting in both places indistinctively
Comment 4 Andrew Crouthamel 2018-09-24 02:04:24 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 set the bug status 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 5 Andrew Crouthamel 2018-10-27 03:56:56 UTC
Dear Bug Submitter,

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!