Bug 271969 - KDevelop crashes when trying to open ITK project
Summary: KDevelop crashes when trying to open ITK project
Status: RESOLVED WORKSFORME
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 4.2.60
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: 4.2.0
Assignee: kdevelop-bugs-null
URL:
Keywords: investigated, triaged
Depends on:
Blocks:
 
Reported: 2011-04-29 13:45 UTC by David
Modified: 2018-10-27 02:47 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (21.51 KB, text/plain)
2011-08-22 13:59 UTC, David
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David 2011-04-29 13:45:02 UTC
Application: kdevelop (4.2.60)
KDE Platform Version: 4.6.2 (4.6.2) (Compiled from sources)
Qt Version: 4.7.2
Operating System: Linux 2.6.38.3-18.fc15.i686.PAE i686
Distribution: "Fedora release 15 (Lovelock)"

-- Information about the crash:
When opening CMakeLists.txt from src/ITK (trying to load the whole ITK project to develop), KDevelop crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
[Current thread is 1 (Thread 0xb76d09b0 (LWP 4048))]

Thread 5 (Thread 0xb74b3b70 (LWP 4049)):
#0  0x00c1f424 in __kernel_vsyscall ()
#1  0x49b1741e in poll () from /lib/libc.so.6
#2  0x49cbacdc in g_poll () from /lib/libglib-2.0.so.0
#3  0x49cabe76 in ?? () from /lib/libglib-2.0.so.0
#4  0x49cac697 in g_main_loop_run () from /lib/libglib-2.0.so.0
#5  0x47e70032 in ?? () from /lib/libgio-2.0.so.0
#6  0x49cd3755 in ?? () from /lib/libglib-2.0.so.0
#7  0x49bddc5e in start_thread () from /lib/libpthread.so.0
#8  0x49b21b4e in clone () from /lib/libc.so.6

Thread 4 (Thread 0xb3506b70 (LWP 4055)):
#0  0x00c1f424 in __kernel_vsyscall ()
#1  0x49be1b04 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x4e7cf79f in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x001a74aa in KDevelop::DUChainPrivate::CleanupThread::run (this=0x94ec878) at /home/doriad/src/kdevplatform/language/duchain/duchain.cpp:286
#4  0x4e7cf304 in ?? () from /usr/lib/libQtCore.so.4
#5  0x49bddc5e in start_thread () from /lib/libpthread.so.0
#6  0x49b21b4e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xb2bffb70 (LWP 4085)):
#0  0x00c1f424 in __kernel_vsyscall ()
#1  0x49be175c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x4325de70 in ?? () from /usr/lib/libQtWebKit.so.4
#3  0x4325df50 in ?? () from /usr/lib/libQtWebKit.so.4
#4  0x49bddc5e in start_thread () from /lib/libpthread.so.0
#5  0x49b21b4e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xb23feb70 (LWP 4118)):
[KCrash Handler]
#7  0x4e8136c1 in ?? () from /usr/lib/libQtCore.so.4
#8  0x4e81b67c in QString::split(QChar const&, QString::SplitBehavior, Qt::CaseSensitivity) const () from /usr/lib/libQtCore.so.4
#9  0x02f8e254 in VariableMap::insert (this=0xb1001b88, varName=..., value=...) at /home/doriad/src/kdevelop/projectmanagers/cmake/parser/variablemap.cpp:31
#10 0x02f81cc2 in CMakeProjectVisitor::visit (this=0xb23fdd2c, list=0xafe200b8) at /home/doriad/src/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1596
#11 0x02f65017 in ListAst::accept (this=0xafe200b8, visitor=0xb23fdd2c) at /home/doriad/src/kdevelop/projectmanagers/cmake/parser/cmakeast.h:513
#12 0x02f8353b in CMakeProjectVisitor::walk (this=0xb23fdd2c, fc=..., line=11, isClean=false) at /home/doriad/src/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2169
#13 0x02f846e7 in CMakeProjectVisitor::visit (this=0xb23fdd2c, whileast=0xafe1f730) at /home/doriad/src/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2036
#14 0x02f6554a in WhileAst::accept (this=0xafe1f730, visitor=0xb23fdd2c) at /home/doriad/src/kdevelop/projectmanagers/cmake/parser/cmakeast.h:777
#15 0x02f8353b in CMakeProjectVisitor::walk (this=0xb23fdd2c, fc=..., line=10, isClean=false) at /home/doriad/src/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2169
#16 0x02f8473b in CMakeProjectVisitor::visit (this=0xb23fdd2c, whileast=0xafe1f1c0) at /home/doriad/src/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2042
#17 0x02f6554a in WhileAst::accept (this=0xafe1f1c0, visitor=0xb23fdd2c) at /home/doriad/src/kdevelop/projectmanagers/cmake/parser/cmakeast.h:777
#18 0x02f8353b in CMakeProjectVisitor::walk (this=0xb23fdd2c, fc=..., line=10, isClean=false) at /home/doriad/src/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2169
#19 0x02f8473b in CMakeProjectVisitor::visit (this=0xb23fdd2c, whileast=0xafe1ed50) at /home/doriad/src/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2042
#20 0x02f6554a in WhileAst::accept (this=0xafe1ed50, visitor=0xb23fdd2c) at /home/doriad/src/kdevelop/projectmanagers/cmake/parser/cmakeast.h:777
#21 0x02f8353b in CMakeProjectVisitor::walk (this=0xb23fdd2c, fc=..., line=10, isClean=false) at /home/doriad/src/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2169
#22 0x02f8473b in CMakeProjectVisitor::visit (this=0xb23fdd2c, whileast=0xafe1ea08) at /home/doriad/src/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2042
#23 0x02f6554a in WhileAst::accept (this=0xafe1ea08, visitor=0xb23fdd2c) at /home/doriad/src/kdevelop/projectmanagers/cmake/parser/cmakeast.h:777
#24 0x02f8353b in CMakeProjectVisitor::walk (this=0xb23fdd2c, fc=..., line=10, isClean=false) at /home/doriad/src/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2169
#25 0x02f8473b in CMakeProjectVisitor::visit (this=0xb23fdd2c, whileast=0xafe1e4e0) at /home/doriad/src/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2042
#26 0x02f6554a in WhileAst::accept (this=0xafe1e4e0, visitor=0xb23fdd2c) at /home/doriad/src/kdevelop/projectmanagers/cmake/parser/cmakeast.h:777
#27 0x02f8353b in CMakeProjectVisitor::walk (this=0xb23fdd2c, fc=..., line=10, isClean=false) at /home/doriad/src/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2169
#28 0x02f85642 in CMakeProjectVisitor::visit (this=0xb23fdd2c, ifast=0xafe0f188) at /home/doriad/src/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1259
#29 0x02f64e77 in IfAst::accept (this=0xafe0f188, visitor=0xb23fdd2c) at /home/doriad/src/kdevelop/projectmanagers/cmake/parser/cmakeast.h:424
#30 0x02f8353b in CMakeProjectVisitor::walk (this=0xb23fdd2c, fc=..., line=5, isClean=false) at /home/doriad/src/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2169
#31 0x02f84c5b in CMakeProjectVisitor::visit (this=0xb23fdd2c, fea=0xafe1e168) at /home/doriad/src/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1714
#32 0x02f64d57 in ForeachAst::accept (this=0xafe1e168, visitor=0xb23fdd2c) at /home/doriad/src/kdevelop/projectmanagers/cmake/parser/cmakeast.h:349
#33 0x02f8353b in CMakeProjectVisitor::walk (this=0xb23fdd2c, fc=..., line=4, isClean=false) at /home/doriad/src/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2169
#34 0x02f8683a in CMakeProjectVisitor::visit (this=0xb23fdd2c, call=0xb0f03810) at /home/doriad/src/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1135
#35 0x02f649e7 in MacroCallAst::accept (this=0xb0f03810, visitor=0xb23fdd2c) at /home/doriad/src/kdevelop/projectmanagers/cmake/parser/cmakeast.h:102
#36 0x02f8353b in CMakeProjectVisitor::walk (this=0xb23fdd2c, fc=..., line=190, isClean=true) at /home/doriad/src/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2169
#37 0x02f96447 in CMakeParserUtils::includeScript (file=..., parent=..., data=0xb1001b74, sourcedir=...) at /home/doriad/src/kdevelop/projectmanagers/cmake/parser/cmakeparserutils.cpp:165
#38 0x015ed626 in CMakeManager::includeScript (this=0x9a1e760, file=..., project=0x99d4e98, dir=..., parent=...) at /home/doriad/src/kdevelop/projectmanagers/cmake/cmakemanager.cpp:349
#39 0x015efa59 in CMakeManager::parse (this=0x9a1e760, item=0x99d9f20) at /home/doriad/src/kdevelop/projectmanagers/cmake/cmakemanager.cpp:404
#40 0x005023a1 in KDevelop::ImportProjectJobPrivate::import (this=0x99d9ba8, folder=0x99d9f20) at /home/doriad/src/kdevplatform/project/importprojectjob.cpp:53
#41 0x00501dd8 in QtConcurrent::VoidStoredMemberFunctionPointerCall1<void, KDevelop::ImportProjectJobPrivate, KDevelop::ProjectFolderItem*, KDevelop::ProjectFolderItem*>::runFunctor (this=0xa1f4650) at /usr/include/QtCore/qtconcurrentstoredfunctioncall.h:426
#42 0x00501f8e in run (this=0xa1f4650) at /usr/include/QtCore/qtconcurrentrunbase.h:120
#43 QtConcurrent::RunFunctionTask<void>::run (this=0xa1f4650) at /usr/include/QtCore/qtconcurrentrunbase.h:114
#44 0x4e7c31d1 in ?? () from /usr/lib/libQtCore.so.4
#45 0x4e7cf304 in ?? () from /usr/lib/libQtCore.so.4
#46 0x49bddc5e in start_thread () from /lib/libpthread.so.0
#47 0x49b21b4e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb76d09b0 (LWP 4048)):
#0  0x00c1f424 in __kernel_vsyscall ()
#1  0x49be175c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x4e7cf818 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x4e7c2b23 in ?? () from /usr/lib/libQtCore.so.4
#4  0x4e7c3f81 in QThreadPool::~QThreadPool() () from /usr/lib/libQtCore.so.4
#5  0x4e7c3fe3 in QThreadPool::~QThreadPool() () from /usr/lib/libQtCore.so.4
#6  0x4e7c4019 in ?? () from /usr/lib/libQtCore.so.4
#7  0x49a79c81 in __run_exit_handlers () from /lib/libc.so.6
#8  0x49a79d0d in exit () from /lib/libc.so.6
#9  0x456da750 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#10 0x487715aa in KApplication::xioErrhandler(_XDisplay*) () from /usr/lib/libkdeui.so.5
#11 0x487715e5 in ?? () from /usr/lib/libkdeui.so.5
#12 0x4e449075 in _XIOError () from /usr/lib/libX11.so.6
#13 0x4e4467cf in _XEventsQueued () from /usr/lib/libX11.so.6
#14 0x4e4370b8 in XEventsQueued () from /usr/lib/libX11.so.6
#15 0x411fbdf6 in ?? () from /usr/lib/libQtGui.so.4
#16 0x49cab48c in g_main_context_check () from /lib/libglib-2.0.so.0
#17 0x49cabed0 in ?? () from /lib/libglib-2.0.so.0
#18 0x49cac2af in g_main_context_iteration () from /lib/libglib-2.0.so.0
#19 0x4e8f9d68 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#20 0x411fbfab in ?? () from /usr/lib/libQtGui.so.4
#21 0x4e8caa2e in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#22 0x4e8cac81 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#23 0x4e8cf3eb in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#24 0x41145565 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#25 0x080510b2 in main (argc=<optimized out>, argv=) at /home/doriad/src/kdevelop/app/main.cpp:474

Reported using DrKonqi
Comment 1 Olivier.jg 2011-08-18 06:45:33 UTC
I downloaded the source and imported the project, but I cannot reproduce this issue. Can you still reproduce this with git master? If so, could you provide the exact source that causes this?
Comment 2 David 2011-08-22 13:59:32 UTC
Created attachment 63054 [details]
New crash information added by DrKonqi

kdevelop (4.2.60) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.2

- What I was doing when the application crashed:

I attempted to open the CMakeLists.txt file of git master of the ITK project (commit id: c7fb66faff4a5209fd360dbe499a9fb7cf8f73d6 )

-- Backtrace (Reduced):
#7  ref (this=0xa8136384, t=...) at /usr/include/qt4/QtCore/qatomic_i386.h:120
#8  QString (this=0xa8136384, t=...) at /usr/include/qt4/QtCore/qstring.h:729
#9  node_construct (this=0xa8136384, t=...) at /usr/include/qt4/QtCore/qlist.h:360
#10 QList<QString>::append (this=0xa8136384, t=...) at /usr/include/qt4/QtCore/qlist.h:499
#11 0xac229659 in operator+= (this=0xa8139d34, list=0xa40949e0) at /usr/include/qt4/QtCore/qlist.h:319
Comment 3 Olivier.jg 2011-08-23 02:54:36 UTC
That seems to be just a bit behind current master.
In any case though, I'd like to be able to reproduce. The current ITK stable (3.20) doesn't exhibit this bug, are you using CVS?
Comment 4 David 2011-08-23 12:30:47 UTC
Not CVS, but rather git master:
 git clone git://itk.org/ITK.git
Comment 5 David 2011-08-23 12:31:36 UTC
Note that from 3.2 to git master there are HUGE changes - ITK 4 is a giant initiative in which they have switched to a "modularized" idea which required huge changes in the CMake stuff.
Comment 6 Andrew Crouthamel 2018-09-22 02:05:55 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 7 Andrew Crouthamel 2018-10-27 02:47:01 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!