[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 302025] New: Crashed when open cmake project
From:       Maxim Prohorenko <Maxim.Prohorenko () gmail ! com>
Date:       2012-06-16 21:59:00
Message-ID: bug-302025-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=302025

            Bug ID: 302025
          Severity: crash
           Version: unspecified
          Priority: NOR
          Assignee: kdevelop-bugs@kdevelop.org
           Summary: Crashed when open cmake project
    Classification: Unclassified
                OS: Linux
          Reporter: Maxim.Prohorenko@gmail.com
          Hardware: Other
            Status: UNCONFIRMED
         Component: general
           Product: kdevelop

Application: kdevelop (4.3.1)
KDE Platform Version: 4.8.3 (4.8.3)
Qt Version: 4.8.2
Operating System: Linux 3.4.0-1.fc17.x86_64 x86_64
Distribution: "RFRemix release 17 (Beefy Miracle)"

-- Information about the crash:
- What I was doing when the application crashed:

1. Edit 
Copy this test to CMakeLists.txt
-------------------------------------------------------------------------

cmake_minimum_required (VERSION 2.8)

project (ctest_simple)

file (GLOB run_list RELATIVE ${test_base_dir}/conf "run-*")

message (${run_list})

foreach (file IN ${run_list})
  file (STRINGS ${file} ${var} REGEX "^model")
endforeach (file)
-------------------------------------------------------------------------

2. Try to Open / Import project with this file
3. Crash on parsing cmake

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
82    T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f59c156a880 (LWP 6691))]

Thread 7 (Thread 0x7f59b556d700 (LWP 6693)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:218
#1  0x000000304367ba47 in wait (time=1000, this=0x3615010) at
thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x3611200, time=1000) at
thread/qwaitcondition_unix.cpp:158
#3  0x000000375c0b1c3b in KDevelop::DUChainPrivate::CleanupThread::run
(this=0x36111e0) at
/usr/src/debug/kdevplatform-1.3.1/language/duchain/duchain.cpp:282
#4  0x000000304367b5eb in QThreadPrivate::start (arg=0x36111e0) at
thread/qthread_unix.cpp:307
#5  0x0000003f79a07d14 in start_thread (arg=0x7f59b556d700) at
pthread_create.c:309
#6  0x0000003f78ef199d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 6 (Thread 0x7f599dcc5700 (LWP 6702)):
#0  0x0000003f79a0e0ad in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x0000003f7b282a4f in read (__nbytes=16, __buf=0x7f599dcc4b30,
__fd=<optimized out>) at /usr/include/bits/unistd.h:45
#2  g_wakeup_acknowledge (wakeup=0x7f59a0001da0) at gwakeup.c:212
#3  0x0000003f7b247539 in g_main_context_check
(context=context@entry=0x7f59980009a0, max_priority=2147483647,
fds=fds@entry=0x7f5998002bb0, n_fds=n_fds@entry=1) at gmain.c:2980
#4  0x0000003f7b247952 in g_main_context_iterate
(context=context@entry=0x7f59980009a0, block=block@entry=1,
dispatch=dispatch@entry=1, self=<error reading variable: Unhandled dwarf
expression opcode 0xfa>) at gmain.c:3143
#5  0x0000003f7b247ad4 in g_main_context_iteration (context=0x7f59980009a0,
may_block=1) at gmain.c:3207
#6  0x00000030437a4506 in QEventDispatcherGlib::processEvents
(this=0x7f59980008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0x000000304377513f in QEventLoop::processEvents
(this=this@entry=0x7f599dcc4cf0, flags=...) at kernel/qeventloop.cpp:149
#8  0x00000030437753c8 in QEventLoop::exec (this=0x7f599dcc4cf0, flags=...) at
kernel/qeventloop.cpp:204
#9  0x0000003043678650 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:501
#10 0x0000003043755b4f in QInotifyFileSystemWatcherEngine::run (this=0x44906c0)
at io/qfilesystemwatcher_inotify.cpp:248
#11 0x000000304367b5eb in QThreadPrivate::start (arg=0x44906c0) at
thread/qthread_unix.cpp:307
#12 0x0000003f79a07d14 in start_thread (arg=0x7f599dcc5700) at
pthread_create.c:309
#13 0x0000003f78ef199d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 5 (Thread 0x7f599ccc3700 (LWP 6783)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:166
#1  0x000000375dc1677d in WTF::TCMalloc_PageHeap::scavengerThread
(this=0x375e6009a0) at wtf/FastMalloc.cpp:2495
#2  0x000000375dc16889 in WTF::TCMalloc_PageHeap::runScavengerThread
(context=<optimized out>) at wtf/FastMalloc.cpp:1618
#3  0x0000003f79a07d14 in start_thread (arg=0x7f599ccc3700) at
pthread_create.c:309
#4  0x0000003f78ef199d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 4 (Thread 0x7f599d4c4700 (LWP 6784)):
#0  g_poll (fds=fds@entry=0x7f59900173f0, nfds=nfds@entry=1,
timeout=timeout@entry=7894) at gpoll.c:132
#1  0x0000003f7b2479b4 in g_main_context_poll (n_fds=1, fds=0x7f59900173f0,
timeout=7894, context=0x7f5990017780, priority=<optimized out>) at gmain.c:3440
#2  g_main_context_iterate (context=context@entry=0x7f5990017780,
block=block@entry=1, dispatch=dispatch@entry=1, self=<error reading variable:
Unhandled dwarf expression opcode 0xfa>) at gmain.c:3141
#3  0x0000003f7b247ad4 in g_main_context_iteration (context=0x7f5990017780,
may_block=1) at gmain.c:3207
#4  0x00000030437a4506 in QEventDispatcherGlib::processEvents
(this=0x7f59900146c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x000000304377513f in QEventLoop::processEvents
(this=this@entry=0x7f599d4c3d20, flags=...) at kernel/qeventloop.cpp:149
#6  0x00000030437753c8 in QEventLoop::exec (this=0x7f599d4c3d20, flags=...) at
kernel/qeventloop.cpp:204
#7  0x0000003043678650 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:501
#8  0x000000304367b5eb in QThreadPrivate::start (arg=0x4108140) at
thread/qthread_unix.cpp:307
#9  0x0000003f79a07d14 in start_thread (arg=0x7f599d4c4700) at
pthread_create.c:309
#10 0x0000003f78ef199d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7f594f00e700 (LWP 6956)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:166
#1  0x000000304367baeb in wait (time=18446744073709551615, this=0x53694e0) at
thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x52fd470,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x000000305140aa81 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x576b370,
th=0x3f72ff0) at
/usr/src/debug/kdelibs-4.8.3/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x000000305140d2cb in ThreadWeaver::WorkingHardState::applyForWork
(this=0x534d8b0, th=0x3f72ff0) at
/usr/src/debug/kdelibs-4.8.3/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x000000305140c13f in ThreadWeaver::ThreadRunHelper::run
(this=this@entry=0x7f594f00dd20, parent=0x576b370, th=th@entry=0x3f72ff0) at
/usr/src/debug/kdelibs-4.8.3/threadweaver/Weaver/Thread.cpp:87
#6  0x000000305140c1cb in ThreadWeaver::Thread::run (this=0x3f72ff0) at
/usr/src/debug/kdelibs-4.8.3/threadweaver/Weaver/Thread.cpp:142
#7  0x000000304367b5eb in QThreadPrivate::start (arg=0x3f72ff0) at
thread/qthread_unix.cpp:307
#8  0x0000003f79a07d14 in start_thread (arg=0x7f594f00e700) at
pthread_create.c:309
#9  0x0000003f78ef199d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f594d571700 (LWP 6957)):
[KCrash Handler]
#6  QString::operator== (this=0x35, other=...) at tools/qstring.cpp:2203
#7  0x00007f59a6c28f4f in qStringComparisonHelper (s2=<optimized out>, s1=...)
at /usr/include/QtCore/qstring.h:921
#8  qStringComparisonHelper (s1=..., s2=<optimized out>) at
/usr/include/QtCore/qstring.h:916
#9  0x00007f59a6c21769 in operator== (s=0x7f59a6c5e761 "LISTS", this=<optimized
out>) at /usr/include/QtCore/qstring.h:924
#10 parseFunctionInfo (func=..., this=0x7f59482ad310) at
/usr/src/debug/kdevelop-4.3.1/projectmanagers/cmake/parser/cmakeast.cpp:1621
#11 ForeachAst::parseFunctionInfo (this=0x7f59482ad310, func=...) at
/usr/src/debug/kdevelop-4.3.1/projectmanagers/cmake/parser/cmakeast.cpp:1593
#12 0x00007f59a6c40ada in CMakeProjectVisitor::walk (this=0x7f594d570590,
fc=..., line=4, isClean=<optimized out>) at
/usr/src/debug/kdevelop-4.3.1/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2190
#13 0x00007f59a6c56680 in CMakeParserUtils::includeScript (file=...,
parent=..., data=0x7f5948002fa8, sourcedir=..., env=...) at
/usr/src/debug/kdevelop-4.3.1/projectmanagers/cmake/parser/cmakeparserutils.cpp:175
#14 0x00007f594d793af4 in CMakeManager::includeScript
(this=this@entry=0x5344f70, file=..., project=project@entry=0x21ec260, dir=...,
parent=...) at
/usr/src/debug/kdevelop-4.3.1/projectmanagers/cmake/cmakemanager.cpp:659
#15 0x00007f594d795e6f in CMakeManager::parse (this=0x5344f70, item=0x52c4990)
at /usr/src/debug/kdevelop-4.3.1/projectmanagers/cmake/cmakemanager.cpp:714
#16 0x0000003759a21d8b in KDevelop::ImportProjectJobPrivate::import
(this=0x52ba0c0, folder=<optimized out>) at
/usr/src/debug/kdevplatform-1.3.1/project/importprojectjob.cpp:53
#17 0x0000003759a21b66 in run (this=0x52a8db0) at
/usr/include/QtCore/qtconcurrentrunbase.h:134
#18 QtConcurrent::RunFunctionTask<void>::run (this=0x52a8db0) at
/usr/include/QtCore/qtconcurrentrunbase.h:125
#19 0x000000304366f27d in QThreadPoolThread::run (this=0x5298530) at
concurrent/qthreadpool.cpp:107
#20 0x000000304367b5eb in QThreadPrivate::start (arg=0x5298530) at
thread/qthread_unix.cpp:307
#21 0x0000003f79a07d14 in start_thread (arg=0x7f594d571700) at
pthread_create.c:309
#22 0x0000003f78ef199d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f59c156a880 (LWP 6691)):
#0  0x0000003f79a0e0ad in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x0000003f7b282a4f in read (__nbytes=16, __buf=0x7fff8f3d2460,
__fd=<optimized out>) at /usr/include/bits/unistd.h:45
#2  g_wakeup_acknowledge (wakeup=0x2085910) at gwakeup.c:212
#3  0x0000003f7b247539 in g_main_context_check
(context=context@entry=0x2087430, max_priority=2147483647,
fds=fds@entry=0x45ba9f0, n_fds=n_fds@entry=14) at gmain.c:2980
#4  0x0000003f7b247952 in g_main_context_iterate
(context=context@entry=0x2087430, block=block@entry=1,
dispatch=dispatch@entry=1, self=<error reading variable: Unhandled dwarf
expression opcode 0xfa>) at gmain.c:3143
#5  0x0000003f7b247ad4 in g_main_context_iteration (context=0x2087430,
may_block=1) at gmain.c:3207
#6  0x00000030437a44e6 in QEventDispatcherGlib::processEvents (this=0x2054a60,
flags=...) at kernel/qeventdispatcher_glib.cpp:424
#7  0x000000320506a2ee in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#8  0x000000304377513f in QEventLoop::processEvents
(this=this@entry=0x7fff8f3d2640, flags=...) at kernel/qeventloop.cpp:149
#9  0x00000030437753c8 in QEventLoop::exec (this=0x7fff8f3d2640, flags=...) at
kernel/qeventloop.cpp:204
#10 0x000000304377a1b8 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1187
#11 0x0000000000409798 in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/kdevelop-4.3.1/app/main.cpp:479

This bug may be a duplicate of or related to bug 291448.

Possible duplicates by query: bug 291448.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic