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

List:       kdevelop-bugs
Subject:    [Bug 208480] New: Kdevelop crash when double clicking on a source file
From:       Davide Rondini <davide.rondini () gmail ! com>
Date:       2009-09-25 9:10:44
Message-ID: bug-208480-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

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

           Summary: Kdevelop crash when double clicking on a source file
           Product: kdevelop
           Version: unspecified
          Platform: Unlisted Binaries
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-bugs@kdevelop.org
        ReportedBy: davide.rondini@gmail.com


Application that crashed: kdevelop
Version of the application: 3.9.95 (using KDevPlatform 0.9.95)
KDE Version: 4.3.1 (KDE 4.3.1)
Qt Version: 4.5.2
Operating System: Linux 2.6.27.30-170.2.82.fc10.x86_64 x86_64
Distribution: "Fedora release 10 (Cambridge)"

What I was doing when the application crashed:
Kdevelop crashed when double clicked on a source file in my project tree. When
re-started Kdevelop, re-opened the project, and double-clicked again on the
same file, and the crash re-happened. It looks like the code parser don't like
something in my code.

 -- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
261        movl    (%rsp), %edi
[Current thread is 1 (Thread 0x7f2ad390f810 (LWP 15005))]

Thread 7 (Thread 0x7f2ac920e950 (LWP 15006)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
#1  0x000000300045b597 in QWaitCondition::wait () from
/usr/lib64/libQtCore.so.4
#2  0x00007f2ad429016e in KDevelop::DUChainPrivate::CleanupThread::run
(this=0x23adec0) at
/home/davide/Programmi/Kdevelop4.0/sources/kdevplatform/language/duchain/duchain.cpp:280
 #3  0x000000300045a5d5 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x0000003cd7c073da in start_thread (arg=<value optimized out>) at
pthread_create.c:297
#5  0x0000003cd70e62bd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112

Thread 6 (Thread 0x7f2abc0c0950 (LWP 15423)):
#0  0x0000003cd70dc886 in __poll (fds=0x3a41290, nfds=1, timeout=-1) at
../sysdeps/unix/sysv/linux/poll.c:87
#1  0x000000300143ae28 in g_main_context_poll () at gmain.c:3091
#2  g_main_context_iterate (context=0x7f2ac4917270, block=1, dispatch=1,
self=<value optimized out>) at gmain.c:2773
#3  0x000000300143b14b in IA__g_main_context_iteration (context=0x7f2ac4917270,
may_block=1) at gmain.c:2841
#4  0x000000300056d5ae in QEventDispatcherGlib::processEvents () from
/usr/lib64/libQtCore.so.4
#5  0x0000003000542912 in QEventLoop::processEvents () from
/usr/lib64/libQtCore.so.4
#6  0x0000003000542ce4 in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#7  0x0000003000457648 in QThread::exec () from /usr/lib64/libQtCore.so.4
#8  0x000000300045a5d5 in ?? () from /usr/lib64/libQtCore.so.4
#9  0x0000003cd7c073da in start_thread (arg=<value optimized out>) at
pthread_create.c:297
#10 0x0000003cd70e62bd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112

Thread 5 (Thread 0x7f2abb6bf950 (LWP 15424)):
#0  0x0000003cd70dc886 in __poll (fds=0x3aa6fb0, nfds=1, timeout=-1) at
../sysdeps/unix/sysv/linux/poll.c:87
#1  0x000000300143ae28 in g_main_context_poll () at gmain.c:3091
#2  g_main_context_iterate (context=0x3aef490, block=1, dispatch=1, self=<value
optimized out>) at gmain.c:2773
#3  0x000000300143b14b in IA__g_main_context_iteration (context=0x3aef490,
may_block=1) at gmain.c:2841
#4  0x000000300056d5ae in QEventDispatcherGlib::processEvents () from
/usr/lib64/libQtCore.so.4
#5  0x0000003000542912 in QEventLoop::processEvents () from
/usr/lib64/libQtCore.so.4
#6  0x0000003000542ce4 in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#7  0x0000003000457648 in QThread::exec () from /usr/lib64/libQtCore.so.4
#8  0x000000300045a5d5 in ?? () from /usr/lib64/libQtCore.so.4
#9  0x0000003cd7c073da in start_thread (arg=<value optimized out>) at
pthread_create.c:297
#10 0x0000003cd70e62bd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112

Thread 4 (Thread 0x7f2abacbe950 (LWP 15427)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
#1  0x000000300045a025 in ?? () from /usr/lib64/libQtCore.so.4
#2  0x000000300045a18e in QThread::msleep () from /usr/lib64/libQtCore.so.4
#3  0x00007f2abd0d9a51 in UIBlockTester::UIBlockTesterThread::run
(this=0x3aff3d0) at
/home/davide/Programmi/Kdevelop4.0/sources/kdevelop/languages/cpp/cpplanguagesupport.cpp:661
 #4  0x000000300045a5d5 in ?? () from /usr/lib64/libQtCore.so.4
#5  0x0000003cd7c073da in start_thread (arg=<value optimized out>) at
pthread_create.c:297
#6  0x0000003cd70e62bd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112

Thread 3 (Thread 0x7f2ab9ee3950 (LWP 15428)):
[KCrash Handler]
#5  QBasicAtomicInt::ref () at /usr/include/QtCore/qatomic_x86_64.h:121
#6  QVector () at /usr/include/QtCore/qvector.h:113
#7  KDevelop::DUContext::useRanges (this=0x5a47530) at
/home/davide/Programmi/Kdevelop4.0/sources/kdevplatform/language/duchain/ducontext.cpp:1303
 #8  0x00007f2abcbfddd7 in KDevelop::AbstractUseBuilder<AST, NameAST,
ContextBuilder>::openContext (this=0x7f2ab9ee20d0, newContext=0x5a47530)
    at
/home/davide/Programmi/install/include/kdevplatform/language/duchain/builders/abstractusebuilder.h:214
 #9  0x00007f2abcbb75fa in KDevelop::AbstractContextBuilder<AST,
NameAST>::openContext () at
/home/davide/Programmi/install/include/kdevplatform/language/duchain/builders/abstractcontextbuilder.h:505
 #10 ContextBuilder::openPrefixContext (this=0x7f2ab9ee20d0, ast=0x55b7648,
id=<value optimized out>, pos=@0x7f2ab9ee1cc0)
    at
/home/davide/Programmi/Kdevelop4.0/sources/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:276
 #11 0x00007f2abcbb7852 in ContextBuilder::visitInitDeclarator
(this=0x7f2ab9ee20d0, node=0x55b7648)
    at
/home/davide/Programmi/Kdevelop4.0/sources/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:952
 #12 0x00007f2abc92979d in visitNodes<InitDeclaratorAST*> () at
/home/davide/Programmi/Kdevelop4.0/sources/kdevelop/languages/cpp/parser/visitor.h:128
 #13 DefaultVisitor::visitSimpleDeclaration (this=0x7f2ab9ee2130,
node=0x55b7690) at
/home/davide/Programmi/Kdevelop4.0/sources/kdevelop/languages/cpp/parser/default_visitor.cpp:336
 #14 0x00007f2abcbb5bc2 in ContextBuilder::visitSimpleDeclaration
(this=0x7f2ab9ee20d0, node=0x55b7690)
    at
/home/davide/Programmi/Kdevelop4.0/sources/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:768
 #15 0x00007f2abc929f55 in visitNodes<DeclarationAST*> (v=0x7f2ab9ee2130,
nodes=0x55b5ad8) at
/home/davide/Programmi/Kdevelop4.0/sources/kdevelop/languages/cpp/parser/visitor.h:128
 #16 0x00007f2abcbfb416 in KDevelop::AbstractContextBuilder<AST,
NameAST>::supportBuild (context=<value optimized out>, node=<value optimized
out>, this=<value optimized out>)
    at
/home/davide/Programmi/install/include/kdevplatform/language/duchain/builders/abstractcontextbuilder.h:201
 #17 KDevelop::AbstractUseBuilder<AST, NameAST, ContextBuilder>::buildUses () at
/home/davide/Programmi/install/include/kdevplatform/language/duchain/builders/abstractusebuilder.h:70
 #18 UseBuilder::buildUses (this=0x7f2ab9ee20d0, node=0x55b3e10) at
/home/davide/Programmi/Kdevelop4.0/sources/kdevelop/languages/cpp/cppduchain/usebuilder.cpp:66
 #19 0x00007f2abd0ee60a in CPPInternalParseJob::run (this=0x582b7e0) at
/home/davide/Programmi/Kdevelop4.0/sources/kdevelop/languages/cpp/cppparsejob.cpp:707
#20 0x000000301660c06c in ?? () from /usr/lib64/libthreadweaver.so.4
#21 0x000000301660c391 in ThreadWeaver::Job::execute () from
/usr/lib64/libthreadweaver.so.4
#22 0x000000301660d733 in ?? () from /usr/lib64/libthreadweaver.so.4
#23 0x000000301660b32f in ?? () from /usr/lib64/libthreadweaver.so.4
#24 0x000000301660b7b9 in ThreadWeaver::Thread::run () from
/usr/lib64/libthreadweaver.so.4
#25 0x000000300045a5d5 in ?? () from /usr/lib64/libQtCore.so.4
#26 0x0000003cd7c073da in start_thread (arg=<value optimized out>) at
pthread_create.c:297
#27 0x0000003cd70e62bd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112

Thread 2 (Thread 0x7f2ab94e2950 (LWP 15429)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x000000300045b5b9 in QWaitCondition::wait () from
/usr/lib64/libQtCore.so.4
#2  0x000000301660a634 in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x000000301660cde3 in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x000000301660cdfc in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x000000301660b35f in ?? () from /usr/lib64/libthreadweaver.so.4
#6  0x000000301660b7b9 in ThreadWeaver::Thread::run () from
/usr/lib64/libthreadweaver.so.4
#7  0x000000300045a5d5 in ?? () from /usr/lib64/libQtCore.so.4
#8  0x0000003cd7c073da in start_thread (arg=<value optimized out>) at
pthread_create.c:297
#9  0x0000003cd70e62bd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112

Thread 1 (Thread 0x7f2ad390f810 (LWP 15005)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x000000300045b5b9 in QWaitCondition::wait () from
/usr/lib64/libQtCore.so.4
#2  0x000000300045a77c in QThread::wait () from /usr/lib64/libQtCore.so.4
#3  0x00000030004500ad in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00000030004502a1 in QThreadPool::~QThreadPool () from
/usr/lib64/libQtCore.so.4
#5  0x00000030004515d5 in ?? () from /usr/lib64/libQtCore.so.4
#6  0x0000003cd703659d in exit (status=1) at exit.c:75
#7  0x00000030139ed7e8 in ?? () from /usr/lib64/libQtGui.so.4
#8  0x000000300cc12ec8 in KApplication::xioErrhandler () from
/usr/lib64/libkdeui.so.5
#9  0x0000003009e45564 in _XIOError (dpy=0x2045f30) at XlibInt.c:2947
#10 0x0000003009e4c330 in _XGetXCBBuffer (dpy=0x2045f30) at xcb_lock.c:70
#11 0x0000003009e4d1f2 in _XReply (dpy=0x2045f30, rep=0x7fff97b30c70, extra=0,
discard=1) at xcb_io.c:367
#12 0x0000003009e40ca3 in XSync (dpy=0x2045f30, discard=0) at Sync.c:48
#13 0x0000003013b445a2 in QRasterWindowSurface::flush () from
/usr/lib64/libQtGui.so.4
#14 0x0000003013b5ff81 in ?? () from /usr/lib64/libQtGui.so.4
#15 0x0000003013b61188 in ?? () from /usr/lib64/libQtGui.so.4
#16 0x00000030139d9f50 in QWidgetPrivate::syncBackingStore () from
/usr/lib64/libQtGui.so.4
#17 0x00000030139e0ebd in QWidget::event () from /usr/lib64/libQtGui.so.4
#18 0x0000003013d6d05b in QMainWindow::event () from /usr/lib64/libQtGui.so.4
#19 0x000000300cd1fd68 in KXmlGuiWindow::event () from /usr/lib64/libkdeui.so.5
#20 0x000000301399008d in QApplicationPrivate::notify_helper () from
/usr/lib64/libQtGui.so.4
#21 0x00000030139982ca in QApplication::notify () from /usr/lib64/libQtGui.so.4
#22 0x000000300cc134ab in KApplication::notify () from /usr/lib64/libkdeui.so.5
#23 0x000000300054407c in QCoreApplication::notifyInternal () from
/usr/lib64/libQtCore.so.4
#24 0x0000003000544cea in QCoreApplicationPrivate::sendPostedEvents () from
/usr/lib64/libQtCore.so.4
#25 0x000000300056d903 in ?? () from /usr/lib64/libQtCore.so.4
#26 0x00000030014377bb in g_main_dispatch () at gmain.c:2144
#27 IA__g_main_context_dispatch (context=0x2029520) at gmain.c:2697
#28 0x000000300143af8d in g_main_context_iterate (context=0x2029520, block=1,
dispatch=1, self=<value optimized out>) at gmain.c:2778
#29 0x000000300143b14b in IA__g_main_context_iteration (context=0x2029520,
may_block=1) at gmain.c:2841
#30 0x000000300056d58f in QEventDispatcherGlib::processEvents () from
/usr/lib64/libQtCore.so.4
#31 0x0000003013a274cf in ?? () from /usr/lib64/libQtGui.so.4
#32 0x0000003000542912 in QEventLoop::processEvents () from
/usr/lib64/libQtCore.so.4
#33 0x0000003000542ce4 in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#34 0x0000003000544fb4 in QCoreApplication::exec () from
/usr/lib64/libQtCore.so.4
#35 0x0000000000407c2f in main (argc=1, argv=0x7fff97b32fd8) at
/home/davide/Programmi/Kdevelop4.0/sources/kdevelop/app/main.cpp:181

Reported using DrKonqi

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs


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

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