Bug 229383 - Crash in QScriptValue during CMake parsing
Summary: Crash in QScriptValue during CMake parsing
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: Build tools: CMake (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-04 12:35 UTC by Milian Wolff
Modified: 2010-09-08 23:10 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Milian Wolff 2010-03-04 12:35:26 UTC
Application that crashed: kdevelop.bin
Version of the application: 3.9.98 (using KDevPlatform 0.9.98)
KDE Version: 4.3.5 (KDE 4.3.5)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-15-generic x86_64
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
Just got this strange crash after restarting KDevelop. Never seen that before... Running on KDE 4.3 with Qt 4.5.2 here on this machine. Ideas?

 -- Backtrace:
Application: KDevelop (kdevelop.bin), signal: Segmentation fault
The current source language is "auto; currently c".
[Current thread is 1 (Thread 0x7fd58fb60750 (LWP 20355))]

Thread 11 (Thread 0x7fd57c8a0910 (LWP 20358)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007fd58c779462 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007fd5895182c9 in KDevelop::DUChainPrivate::CleanupThread::run (this=0x157d270) at /home/milian/kdevplatform/language/duchain/duchain.cpp:286
#3  0x00007fd58c778445 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007fd5878a2a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#5  0x00007fd58aed380d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7fd5724d1910 (LWP 20359)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fd58c7794fb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007fd58df84326 in ?? () from /usr/lib/libthreadweaver.so.4
#3  0x00007fd58df8645b in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007fd58df86474 in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007fd58df86474 in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x00007fd58df86474 in ?? () from /usr/lib/libthreadweaver.so.4
#7  0x00007fd58df84a5f in ?? () from /usr/lib/libthreadweaver.so.4
#8  0x00007fd58df84eb8 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#9  0x00007fd58c778445 in ?? () from /usr/lib/libQtCore.so.4
#10 0x00007fd5878a2a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#11 0x00007fd58aed380d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 9 (Thread 0x7fd571cd0910 (LWP 20360)):
#0  0x00007fd58aecc412 in select () from /lib/libc.so.6
#1  0x00007fd58c83cb28 in ?? () from /usr/lib/libQtCore.so.4
#2  0x00007fd58c83ccc7 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007fd58c80081a in QProcess::waitForFinished(int) () from /usr/lib/libQtCore.so.4
#4  0x00007fd5777797f8 in CMakeProjectVisitor::visit (this=0x7fd571ccf420, exec=0x7fd55418c2e0) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1240
#5  0x00007fd577765580 in ExecProgramAst::accept (this=0x7fd55418c2e0, visitor=0x7fd571ccf420) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeast.h:216
#6  0x00007fd5777831a4 in CMakeProjectVisitor::walk (this=0x7fd571ccf420, fc=..., line=86, isClean=false) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2057
#7  0x00007fd577779325 in CMakeProjectVisitor::visit (this=0x7fd571ccf420, ifast=0x7fd554182430) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1198
#8  0x00007fd577765948 in IfAst::accept (this=0x7fd554182430, visitor=0x7fd571ccf420) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeast.h:426
#9  0x00007fd5777831a4 in CMakeProjectVisitor::walk (this=0x7fd571ccf420, fc=..., line=85, isClean=false) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2057
#10 0x00007fd577779325 in CMakeProjectVisitor::visit (this=0x7fd571ccf420, ifast=0x7fd55413d760) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1198
#11 0x00007fd577765948 in IfAst::accept (this=0x7fd55413d760, visitor=0x7fd571ccf420) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeast.h:426
#12 0x00007fd5777831a4 in CMakeProjectVisitor::walk (this=0x7fd571ccf420, fc=..., line=80, isClean=true) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2057
#13 0x00007fd57777248d in CMakeProjectVisitor::visit (this=0x7fd571ccf420, pack=0x34f8dd0) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:584
#14 0x00007fd5777656c2 in FindPackageAst::accept (this=0x34f8dd0, visitor=0x7fd571ccf420) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeast.h:307
#15 0x00007fd5777831a4 in CMakeProjectVisitor::walk (this=0x7fd571ccf420, fc=..., line=19, isClean=false) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2057
#16 0x00007fd577779325 in CMakeProjectVisitor::visit (this=0x7fd571ccf420, ifast=0x32ac7c0) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1198
#17 0x00007fd577765948 in IfAst::accept (this=0x32ac7c0, visitor=0x7fd571ccf420) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeast.h:426
#18 0x00007fd5777831a4 in CMakeProjectVisitor::walk (this=0x7fd571ccf420, fc=..., line=9, isClean=true) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2057
#19 0x00007fd57777248d in CMakeProjectVisitor::visit (this=0x7fd571ccf420, pack=0x30d9480) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:584
#20 0x00007fd5777656c2 in FindPackageAst::accept (this=0x30d9480, visitor=0x7fd571ccf420) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeast.h:307
#21 0x00007fd5777831a4 in CMakeProjectVisitor::walk (this=0x7fd571ccf420, fc=..., line=37, isClean=false) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2057
#22 0x00007fd577779325 in CMakeProjectVisitor::visit (this=0x7fd571ccf420, ifast=0x30f52d0) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1198
#23 0x00007fd577765948 in IfAst::accept (this=0x30f52d0, visitor=0x7fd571ccf420) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeast.h:426
#24 0x00007fd5777831a4 in CMakeProjectVisitor::walk (this=0x7fd571ccf420, fc=..., line=29, isClean=true) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2057
#25 0x00007fd57777248d in CMakeProjectVisitor::visit (this=0x7fd571ccf420, pack=0x3272e10) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:584
#26 0x00007fd5777656c2 in FindPackageAst::accept (this=0x3272e10, visitor=0x7fd571ccf420) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeast.h:307
#27 0x00007fd5777831a4 in CMakeProjectVisitor::walk (this=0x7fd571ccf420, fc=..., line=8, isClean=false) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2057
#28 0x00007fd577507205 in CMakeManager::parse (this=0x1e2b170, item=0x1de8410) at /home/milian/kdevelop/projectmanagers/cmake/cmakemanager.cpp:410
#29 0x00007fd589b9d7f9 in KDevelop::ImportProjectJobPrivate::import (this=0x206c290, folder=0x1de8410) at /home/milian/kdevplatform/project/importprojectjob.cpp:53
#30 0x00007fd589b9df46 in QtConcurrent::VoidStoredMemberFunctionPointerCall1<void, KDevelop::ImportProjectJobPrivate, KDevelop::ProjectFolderItem*, KDevelop::ProjectFolderItem*>::runFunctor (
    this=0x14bbc10) at /usr/include/qt4/QtCore/qtconcurrentstoredfunctioncall.h:426
#31 0x00007fd589b9d564 in QtConcurrent::RunFunctionTask<void>::run (this=0x14bbc10) at /usr/include/qt4/QtCore/qtconcurrentrunbase.h:120
#32 0x00007fd58c76f424 in ?? () from /usr/lib/libQtCore.so.4
#33 0x00007fd58c778445 in ?? () from /usr/lib/libQtCore.so.4
#34 0x00007fd5878a2a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#35 0x00007fd58aed380d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#36 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7fd5714cf910 (LWP 20361)):
#0  0x00007fd58aecc412 in select () from /lib/libc.so.6
#1  0x00007fd58c83df31 in ?? () from /usr/lib/libQtCore.so.4
#2  0x00007fd58c778445 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007fd5878a2a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007fd58aed380d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 7 (Thread 0x7fd570cce910 (LWP 20363)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fd58c7794fb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007fd58df84326 in ?? () from /usr/lib/libthreadweaver.so.4
#3  0x00007fd58df8645b in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007fd58df84a5f in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007fd58df84eb8 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#6  0x00007fd58c778445 in ?? () from /usr/lib/libQtCore.so.4
#7  0x00007fd5878a2a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#8  0x00007fd58aed380d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fd5704cd910 (LWP 20364)):
[KCrash Handler]
#5  0x00007fd58a0a9062 in ?? () from /usr/lib/libQtScript.so.4
#6  0x00007fd58a0fed8b in ?? () from /usr/lib/libQtScript.so.4
#7  0x00007fd58a139280 in QScriptValue::toString() const () from /usr/lib/libQtScript.so.4
#8  0x00007fd57777c297 in CMakeProjectVisitor::visit (this=0x7fd5704cc420, math=0x2844870) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1440
#9  0x00007fd577765d54 in MathAst::accept (this=0x2844870, visitor=0x7fd5704cc420) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeast.h:560
#10 0x00007fd5777831a4 in CMakeProjectVisitor::walk (this=0x7fd5704cc420, fc=..., line=79, isClean=false) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2057
#11 0x00007fd577779325 in CMakeProjectVisitor::visit (this=0x7fd5704cc420, ifast=0x43694b0) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1198
#12 0x00007fd577765948 in IfAst::accept (this=0x43694b0, visitor=0x7fd5704cc420) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeast.h:426
#13 0x00007fd5777831a4 in CMakeProjectVisitor::walk (this=0x7fd5704cc420, fc=..., line=56, isClean=false) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2057
#14 0x00007fd577779325 in CMakeProjectVisitor::visit (this=0x7fd5704cc420, ifast=0x7fd55c23adf0) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1198
#15 0x00007fd577765948 in IfAst::accept (this=0x7fd55c23adf0, visitor=0x7fd5704cc420) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeast.h:426
#16 0x00007fd5777831a4 in CMakeProjectVisitor::walk (this=0x7fd5704cc420, fc=..., line=41, isClean=true) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2057
#17 0x00007fd57777248d in CMakeProjectVisitor::visit (this=0x7fd5704cc420, pack=0x7fd5540b34a0) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:584
#18 0x00007fd5777656c2 in FindPackageAst::accept (this=0x7fd5540b34a0, visitor=0x7fd5704cc420) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeast.h:307
#19 0x00007fd5777831a4 in CMakeProjectVisitor::walk (this=0x7fd5704cc420, fc=..., line=4, isClean=false) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2057
#20 0x00007fd577507205 in CMakeManager::parse (this=0x1e2b170, item=0x151f9a0) at /home/milian/kdevelop/projectmanagers/cmake/cmakemanager.cpp:410
#21 0x00007fd589b9d7f9 in KDevelop::ImportProjectJobPrivate::import (this=0x2386560, folder=0x151f9a0) at /home/milian/kdevplatform/project/importprojectjob.cpp:53
#22 0x00007fd589b9df46 in QtConcurrent::VoidStoredMemberFunctionPointerCall1<void, KDevelop::ImportProjectJobPrivate, KDevelop::ProjectFolderItem*, KDevelop::ProjectFolderItem*>::runFunctor (
    this=0x2358710) at /usr/include/qt4/QtCore/qtconcurrentstoredfunctioncall.h:426
#23 0x00007fd589b9d564 in QtConcurrent::RunFunctionTask<void>::run (this=0x2358710) at /usr/include/qt4/QtCore/qtconcurrentrunbase.h:120
#24 0x00007fd58c76f424 in ?? () from /usr/lib/libQtCore.so.4
#25 0x00007fd58c778445 in ?? () from /usr/lib/libQtCore.so.4
#26 0x00007fd5878a2a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#27 0x00007fd58aed380d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#28 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 5 (Thread 0x7fd56fccc910 (LWP 20385)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fd58c7794fb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007fd58df84326 in ?? () from /usr/lib/libthreadweaver.so.4
#3  0x00007fd58df8645b in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007fd58df86474 in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007fd58df86474 in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x00007fd58df84a5f in ?? () from /usr/lib/libthreadweaver.so.4
#7  0x00007fd58df84eb8 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#8  0x00007fd58c778445 in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007fd5878a2a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007fd58aed380d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 4 (Thread 0x7fd56f4cb910 (LWP 20386)):
#0  0x00007fd58aecc412 in select () from /lib/libc.so.6
#1  0x00007fd58c83cb28 in ?? () from /usr/lib/libQtCore.so.4
#2  0x00007fd58c83ccc7 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007fd58c80081a in QProcess::waitForFinished(int) () from /usr/lib/libQtCore.so.4
#4  0x00007fd5777797f8 in CMakeProjectVisitor::visit (this=0x7fd56f4ca420, exec=0x4421400) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1240
#5  0x00007fd577765580 in ExecProgramAst::accept (this=0x4421400, visitor=0x7fd56f4ca420) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeast.h:216
#6  0x00007fd5777831a4 in CMakeProjectVisitor::walk (this=0x7fd56f4ca420, fc=..., line=104, isClean=false) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2057
#7  0x00007fd577779325 in CMakeProjectVisitor::visit (this=0x7fd56f4ca420, ifast=0x441f7a0) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1198
#8  0x00007fd577765948 in IfAst::accept (this=0x441f7a0, visitor=0x7fd56f4ca420) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeast.h:426
#9  0x00007fd5777831a4 in CMakeProjectVisitor::walk (this=0x7fd56f4ca420, fc=..., line=103, isClean=false) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2057
#10 0x00007fd577779325 in CMakeProjectVisitor::visit (this=0x7fd56f4ca420, ifast=0x441f570) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1198
#11 0x00007fd577765948 in IfAst::accept (this=0x441f570, visitor=0x7fd56f4ca420) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeast.h:426
#12 0x00007fd5777831a4 in CMakeProjectVisitor::walk (this=0x7fd56f4ca420, fc=..., line=102, isClean=true) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2057
#13 0x00007fd57777248d in CMakeProjectVisitor::visit (this=0x7fd56f4ca420, pack=0x34f86c0) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:584
#14 0x00007fd5777656c2 in FindPackageAst::accept (this=0x34f86c0, visitor=0x7fd56f4ca420) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeast.h:307
#15 0x00007fd5777831a4 in CMakeProjectVisitor::walk (this=0x7fd56f4ca420, fc=..., line=19, isClean=false) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2057
#16 0x00007fd577779325 in CMakeProjectVisitor::visit (this=0x7fd56f4ca420, ifast=0x32ac940) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1198
#17 0x00007fd577765948 in IfAst::accept (this=0x32ac940, visitor=0x7fd56f4ca420) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeast.h:426
#18 0x00007fd5777831a4 in CMakeProjectVisitor::walk (this=0x7fd56f4ca420, fc=..., line=9, isClean=true) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2057
#19 0x00007fd57777248d in CMakeProjectVisitor::visit (this=0x7fd56f4ca420, pack=0x7fd55c1feb80) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:584
#20 0x00007fd5777656c2 in FindPackageAst::accept (this=0x7fd55c1feb80, visitor=0x7fd56f4ca420) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeast.h:307
#21 0x00007fd5777831a4 in CMakeProjectVisitor::walk (this=0x7fd56f4ca420, fc=..., line=37, isClean=false) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2057
#22 0x00007fd577779325 in CMakeProjectVisitor::visit (this=0x7fd56f4ca420, ifast=0x7fd55c078f90) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1198
#23 0x00007fd577765948 in IfAst::accept (this=0x7fd55c078f90, visitor=0x7fd56f4ca420) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeast.h:426
#24 0x00007fd5777831a4 in CMakeProjectVisitor::walk (this=0x7fd56f4ca420, fc=..., line=29, isClean=true) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2057
#25 0x00007fd57777248d in CMakeProjectVisitor::visit (this=0x7fd56f4ca420, pack=0x4337890) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:584
#26 0x00007fd5777656c2 in FindPackageAst::accept (this=0x4337890, visitor=0x7fd56f4ca420) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeast.h:307
#27 0x00007fd5777831a4 in CMakeProjectVisitor::walk (this=0x7fd56f4ca420, fc=..., line=7, isClean=false) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2057
#28 0x00007fd577507205 in CMakeManager::parse (this=0x1e2b170, item=0x24bd200) at /home/milian/kdevelop/projectmanagers/cmake/cmakemanager.cpp:410
#29 0x00007fd589b9d7f9 in KDevelop::ImportProjectJobPrivate::import (this=0x2770880, folder=0x24bd200) at /home/milian/kdevplatform/project/importprojectjob.cpp:53
#30 0x00007fd589b9df46 in QtConcurrent::VoidStoredMemberFunctionPointerCall1<void, KDevelop::ImportProjectJobPrivate, KDevelop::ProjectFolderItem*, KDevelop::ProjectFolderItem*>::runFunctor (
    this=0x26544a0) at /usr/include/qt4/QtCore/qtconcurrentstoredfunctioncall.h:426
#31 0x00007fd589b9d564 in QtConcurrent::RunFunctionTask<void>::run (this=0x26544a0) at /usr/include/qt4/QtCore/qtconcurrentrunbase.h:120
#32 0x00007fd58c76f424 in ?? () from /usr/lib/libQtCore.so.4
#33 0x00007fd58c778445 in ?? () from /usr/lib/libQtCore.so.4
#34 0x00007fd5878a2a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#35 0x00007fd58aed380d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#36 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 3 (Thread 0x7fd56ecca910 (LWP 20406)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fd58c7794fb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007fd58df84326 in ?? () from /usr/lib/libthreadweaver.so.4
#3  0x00007fd58df8645b in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007fd58df86474 in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007fd58df84a5f in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x00007fd58df84eb8 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#7  0x00007fd58c778445 in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007fd5878a2a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007fd58aed380d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 2 (Thread 0x7fd56e4c9910 (LWP 20408)):
#0  0x00007fd58aecc412 in select () from /lib/libc.so.6
#1  0x00007fd58c83cb28 in ?? () from /usr/lib/libQtCore.so.4
#2  0x00007fd58c83ccc7 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007fd58c80081a in QProcess::waitForFinished(int) () from /usr/lib/libQtCore.so.4
#4  0x00007fd57777a133 in CMakeProjectVisitor::visit (this=0x7fd56e4c8420, exec=0x7fd55c286370) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1290
#5  0x00007fd5777655c0 in ExecuteProcessAst::accept (this=0x7fd55c286370, visitor=0x7fd56e4c8420) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeast.h:226
#6  0x00007fd5777831a4 in CMakeProjectVisitor::walk (this=0x7fd56e4c8420, fc=..., line=23, isClean=false) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2057
#7  0x00007fd577779325 in CMakeProjectVisitor::visit (this=0x7fd56e4c8420, ifast=0x7fd55c2868b0) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1198
#8  0x00007fd577765948 in IfAst::accept (this=0x7fd55c2868b0, visitor=0x7fd56e4c8420) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeast.h:426
#9  0x00007fd5777831a4 in CMakeProjectVisitor::walk (this=0x7fd56e4c8420, fc=..., line=22, isClean=false) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2057
#10 0x00007fd577779325 in CMakeProjectVisitor::visit (this=0x7fd56e4c8420, ifast=0x7fd55c286460) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1198
#11 0x00007fd577765948 in IfAst::accept (this=0x7fd55c286460, visitor=0x7fd56e4c8420) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeast.h:426
#12 0x00007fd5777831a4 in CMakeProjectVisitor::walk (this=0x7fd56e4c8420, fc=..., line=18, isClean=false) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2057
#13 0x00007fd577779325 in CMakeProjectVisitor::visit (this=0x7fd56e4c8420, ifast=0x7fd55c285be0) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1198
#14 0x00007fd577765948 in IfAst::accept (this=0x7fd55c285be0, visitor=0x7fd56e4c8420) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeast.h:426
#15 0x00007fd5777831a4 in CMakeProjectVisitor::walk (this=0x7fd56e4c8420, fc=..., line=17, isClean=true) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2057
#16 0x00007fd57777248d in CMakeProjectVisitor::visit (this=0x7fd56e4c8420, pack=0x7fd55c24bb10) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:584
#17 0x00007fd5777656c2 in FindPackageAst::accept (this=0x7fd55c24bb10, visitor=0x7fd56e4c8420) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeast.h:307
#18 0x00007fd5777831a4 in CMakeProjectVisitor::walk (this=0x7fd56e4c8420, fc=..., line=3, isClean=false) at /home/milian/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2057
#19 0x00007fd577507205 in CMakeManager::parse (this=0x1e2b170, item=0x24d7a80) at /home/milian/kdevelop/projectmanagers/cmake/cmakemanager.cpp:410
#20 0x00007fd589b9d7f9 in KDevelop::ImportProjectJobPrivate::import (this=0x2a883c0, folder=0x24d7a80) at /home/milian/kdevplatform/project/importprojectjob.cpp:53
#21 0x00007fd589b9df46 in QtConcurrent::VoidStoredMemberFunctionPointerCall1<void, KDevelop::ImportProjectJobPrivate, KDevelop::ProjectFolderItem*, KDevelop::ProjectFolderItem*>::runFunctor (
    this=0x2a929f0) at /usr/include/qt4/QtCore/qtconcurrentstoredfunctioncall.h:426
#22 0x00007fd589b9d564 in QtConcurrent::RunFunctionTask<void>::run (this=0x2a929f0) at /usr/include/qt4/QtCore/qtconcurrentrunbase.h:120
#23 0x00007fd58c76f424 in ?? () from /usr/lib/libQtCore.so.4
#24 0x00007fd58c778445 in ?? () from /usr/lib/libQtCore.so.4
#25 0x00007fd5878a2a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#26 0x00007fd58aed380d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#27 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 1 (Thread 0x7fd58fb60750 (LWP 20355)):
#0  0x00007fd58aec73c3 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fd58529f29a in ?? () from /usr/lib/libxcb.so.1
#2  0x00007fd5852a0c2c in xcb_wait_for_reply () from /usr/lib/libxcb.so.1
#3  0x00007fd588369f23 in _XReply () from /usr/lib/libX11.so.6
#4  0x00007fd5883467f5 in XGetImage () from /usr/lib/libX11.so.6
#5  0x00007fd58bb7e5ee in QX11PixmapData::toImage() const () from /usr/lib/libQtGui.so.4
#6  0x00007fd58bb6e38d in QPixmap::toImage() const () from /usr/lib/libQtGui.so.4
#7  0x00007fd58bb3b5b4 in QWidgetPrivate::setWindowIcon_sys(bool) () from /usr/lib/libQtGui.so.4
#8  0x00007fd58bafcc13 in QWidget::setWindowIcon(QIcon const&) () from /usr/lib/libQtGui.so.4
#9  0x00007fd5892217b3 in Sublime::IdealMainWidget::addView (this=0x12cfdf0, area=Qt::BottomDockWidgetArea, view=0x3250830) at /home/milian/kdevplatform/sublime/ideal.cpp:648
#10 0x00007fd58921344f in Sublime::MainWindowPrivate::IdealToolViewCreator::operator() (this=0x7fff86e4cf60, view=0x3250830, position=Sublime::Bottom)
    at /home/milian/kdevplatform/sublime/mainwindow_p.cpp:190
#11 0x00007fd589218637 in Sublime::Area::walkToolViews<Sublime::MainWindowPrivate::IdealToolViewCreator> (this=0x1319ba0, op=..., positions=...) at /home/milian/kdevplatform/sublime/areawalkers.h:59
#12 0x00007fd5892155e6 in Sublime::MainWindowPrivate::toolViewAdded (this=0x1295fe0, position=Sublime::Bottom) at /home/milian/kdevplatform/sublime/mainwindow_p.cpp:540
#13 0x00007fd58920e232 in Sublime::MainWindow::qt_metacall (this=0x1308210, _c=QMetaObject::InvokeMetaMethod, _id=15, _a=0x7fff86e4d110) at /home/milian/.build/kdevplatform/sublime/mainwindow.moc:120
#14 0x00007fd58efc11f3 in KDevelop::MainWindow::qt_metacall (this=0x1308210, _c=QMetaObject::InvokeMetaMethod, _id=65, _a=0x7fff86e4d110) at /home/milian/.build/kdevplatform/shell/mainwindow.moc:83
#15 0x00007fd58c873ddc in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#16 0x00007fd5891fcb5e in Sublime::Area::toolViewAdded (this=0x1319ba0, _t1=0x3250830, _t2=Sublime::Bottom) at /home/milian/.build/kdevplatform/sublime/area.moc:130
#17 0x00007fd5891faff5 in Sublime::Area::addToolView (this=0x1319ba0, view=0x3250830, defaultPosition=Sublime::Bottom) at /home/milian/kdevplatform/sublime/area.cpp:239
#18 0x00007fd58efd9754 in KDevelop::UiController::addToolViewToArea (this=0x12892b0, factory=0x2fe1340, doc=0x303f200, area=0x1319ba0) at /home/milian/kdevplatform/shell/uicontroller.cpp:574
#19 0x00007fd58efd96ef in KDevelop::UiController::addToolViewIfWanted (this=0x12892b0, factory=0x2fe1340, doc=0x303f200, area=0x1319ba0) at /home/milian/kdevplatform/shell/uicontroller.cpp:563
#20 0x00007fd58efd941a in KDevelop::UiController::loadAllAreas (this=0x12892b0, config=...) at /home/milian/kdevplatform/shell/uicontroller.cpp:530
#21 0x00007fd58efd4c16 in KDevelop::CorePrivate::initialize (this=0x126ffd0, mode=KDevelop::Core::Default) at /home/milian/kdevplatform/shell/core.cpp:195
#22 0x00007fd58efd52e2 in KDevelop::Core::initialize (splash=0x1281ed0, mode=KDevelop::Core::Default) at /home/milian/kdevplatform/shell/core.cpp:230
#23 0x0000000000407291 in main (argc=1, argv=0x7fff86e4ec28) at /home/milian/kdevelop/app/main_internal.cpp:111
The current source language is "auto; currently c".

Reported using DrKonqi
Comment 1 Christoph Feck 2010-03-04 12:57:34 UTC
It would help if you had Qt debugging symbols installed.
Comment 2 Andreas Pakulat 2010-03-04 14:06:47 UTC
Heh, nice. The usage of QScript probably needs protection with a mutex. But actually I don't understand why we need that there at all. Aren't there other ways to evaluate some math expression? What happens if the math-expression doesn't match Javascript's expectations? (is that possible with cmake's math?)
Comment 3 Milian Wolff 2010-09-08 23:10:34 UTC
didn't see this crash in a long time