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

List:       kdevelop-bugs
Subject:    [Bug 307015] New: qt assert on startup during indices generation (c++)
From:       Bastian <bastian.leyer () wetteronline ! de>
Date:       2012-09-19 6:15:55
Message-ID: bug-307015-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

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

            Bug ID: 307015
          Severity: normal
           Version: git master
          Priority: NOR
          Assignee: kdevelop-bugs@kdevelop.org
           Summary: qt assert on startup during indices generation (c++)
    Classification: Unclassified
                OS: Linux
          Reporter: bastian.leyer@wetteronline.de
          Hardware: Compiled Sources
            Status: UNCONFIRMED
         Component: Language Support: CPP
           Product: kdevelop

KDevelop crashes silently. After restarting with gdb, this error is reported:

ASSERT: "idx >= 0 && idx < s" in file
/usr/include/qt4/QtCore/qvarlengtharray.h, line 106

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7fff47fff700 (LWP 10397)]
0x00007ffff5048405 in __GI_raise (sig=<optimized out>) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
64      ../nptl/sysdeps/unix/sysv/linux/raise.c: Datei oder Verzeichnis nicht
gefunden.
(gdb) backtrace
#0  0x00007ffff5048405 in __GI_raise (sig=<optimized out>) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007ffff504bb6b in __GI_abort () at abort.c:91
#2  0x00007ffff640e50b in qt_message_output (msgType=<optimized out>,
buf=0x7fff3c032948 "ASSERT: \"idx >= 0 && idx < s\" in file
/usr/include/qt4/QtCore/qvarlengtharray.h, line 106") at
global/qglobal.cpp:2276
#3  0x00007ffff640e8bf in qt_message(QtMsgType, const char *, typedef
__va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x7ffff657bae8 "ASSERT:
\"%s\" in file %s, line %d", ap=0x7fff47ffc638)
    at global/qglobal.cpp:2322
#4  0x00007ffff640ea64 in qFatal (msg=<optimized out>) at
global/qglobal.cpp:2505
#5  0x00007fffc406b193 in QVarLengthArray<KDevVarLengthArray<QPair<unsigned
int, TOKEN_KIND>, 10>, 200>::operator[] (idx=146, this=<optimized out>) at
/usr/include/qt4/QtCore/qvarlengtharray.h:106
#6  0x00007fffc406e0a8 in createIndicesForTokens () at
/home/wolib/src/kdevelop/languages/cpp/parser/lexer.cpp:185
#7  0x00007fffc407147e in Lexer::scan_identifier_or_keyword
(this=0x7fff47ffe120) at
/home/wolib/src/kdevelop/languages/cpp/parser/lexer.cpp:650
#8  0x00007fffc4071a68 in Lexer::tokenize (this=0x7fff47ffe120,
_session=<optimized out>) at
/home/wolib/src/kdevelop/languages/cpp/parser/lexer.cpp:350
#9  0x00007fffc40807fc in Parser::parse (this=0x7fff47ffe110,
_session=<optimized out>) at
/home/wolib/src/kdevelop/languages/cpp/parser/parser.cpp:202
#10 0x00007fffc450b43c in CPPInternalParseJob::run (this=0x4ef8760) at
/home/wolib/src/kdevelop/languages/cpp/cppparsejob.cpp:562
#11 0x00007fffedc2605b in ?? () from /usr/local/lib/libthreadweaver.so.4
#12 0x00007fffedc261cc in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) ()
from /usr/local/lib/libthreadweaver.so.4
#13 0x00007fffedc271d3 in ?? () from /usr/local/lib/libthreadweaver.so.4
#14 0x00007fffedc2581f in ?? () from /usr/local/lib/libthreadweaver.so.4
#15 0x00007fffedc258db in ThreadWeaver::Thread::run() () from
/usr/local/lib/libthreadweaver.so.4
#16 0x00007ffff6418fcb in QThreadPrivate::start (arg=0x7fff48002510) at
thread/qthread_unix.cpp:298
#17 0x00007ffff4467e9a in start_thread (arg=0x7fff47fff700) at
pthread_create.c:308
#18 0x00007ffff510439d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#19 0x0000000000000000 in ?? ()


Reproducible: Sometimes

Steps to Reproduce:
Sorry, I don't known how this could be reproduced.

-- 
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