| Summary: | KDevelop/linux crash when importing lldb-3.5 from cmake project | ||
|---|---|---|---|
| Product: | [Applications] kdevelop | Reporter: | RJVB <rjvbertin> |
| Component: | Build tools: CMake | Assignee: | kdevelop-bugs-null |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | rjvbertin |
| Priority: | NOR | Keywords: | drkonqi |
| Version First Reported In: | 4.7.0 | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | 5.0.0 | |
| Sentry Crash Report: | |||
| Attachments: | New crash information added by DrKonqi | ||
|
Description
RJVB
2014-12-04 22:32:43 UTC
Created attachment 90180 [details]
New crash information added by DrKonqi
kdevelop (4.7.0) on KDE Platform 4.14.3 using Qt 4.8.6
- What I was doing when the application crashed:
I tried to import lldb/tools/lldb-mi/CMakeLists.txt as a new project. A dialog was presented to select the correct root directory, for which I picked lldb/tools/lldb-mi .
This may not be the right choice, but KDevelop shouldn't crash (oh pardon, abort) for an error that should clearly be handled by raising an error to the user and aborting the import process...
-- Backtrace (Reduced):
#6 0x00007f14e49cfbb9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7 0x00007f14e49d2fc8 in __GI_abort () at abort.c:89
[...]
#11 0x00007f1437dc0b6f in CMake::projectRoot (project=<optimized out>) at ../../../projectmanagers/cmake/cmakeutils.cpp:253
#12 0x00007f1420f552c2 in CMakeImportJob::initializeProject (this=0x63cb8a0, rootFolder=0x5fa9e90) at ../../../projectmanagers/cmake/cmakeimportjob.cpp:126
#13 0x00007f1420f54d2f in CMakeImportJob::initialize (this=0x63cb8a0) at ../../../projectmanagers/cmake/cmakeimportjob.cpp:119
Code changed too much during 4.x -> 5.x. Assert in CMake::projectRoot is gone, too. Assuming fixed. |