Bug 76238 - crashes on project import
Summary: crashes on project import
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: CPP (old) (show other bugs)
Version: 3.0.1
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-27 02:45 UTC by Grzegorz Jaskiewicz
Modified: 2013-03-31 00:44 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Grzegorz Jaskiewicz 2004-02-27 02:45:25 UTC
Version:            (using KDE KDE 3.2.0)
Installed from:    Compiled From Sources
Compiler:          debian unstable g++ 
OS:          Linux

Another large project to import, crash on about 97%.
project is about 600MB in size sources, it took him about 550MB of RAM ! so, it's like almost getting whole sources into memory !
And, I am sure it didn't run out of memory.
14635 gj        16   0  524m 524m  29m R 92.6 52.1   0:22.99 kdevelop

Mem:   1032340k total,   655176k used,   377164k free,    79156k buffers
Swap:   489972k total,   333892k used,   156080k free,    68324k cached

here's bt:

[New Thread 16384 (LWP 14619)]
[New Thread 32769 (LWP 14635)]
[New Thread 32770 (LWP 14668)]
0x419f7bfb in waitpid () from /lib/libpthread.so.0
#0  0x419f7bfb in waitpid () from /lib/libpthread.so.0
#1  0x41010fe0 in __JCR_LIST__ () from /opt/kde/lib/libkdecore.so.4
#2  0x00000014 in ?? ()
#3  0x40f4d920 in KCrash::defaultCrashHandler(int) (sig=11) at kcrash.cpp:246
#4  0x419f6815 in __pthread_sighandler () from /lib/libpthread.so.0
#5  <signal handler called>
#6  0x426a0904 in Token::isNull() const (this=0x200065) at lexer.h:383
#7  0x4268042b in Parser::skipUntilDeclaration() (this=0xbffff370)
    at parser.cpp:177
#8  0x426814d3 in Parser::parseTranslationUnit(std::auto_ptr<TranslationUnitAST>&) (this=0xbffff370, node=@0xbffff300) at parser.cpp:443
#9  0x4266d6d5 in Driver::parseFile(QString const&, bool, bool) (
    this=0x8935c98, fileName=@0xbffff490, onlyPreProcess=false, force=false)
    at driver.cpp:250
#10 0x424b35a0 in CppSupportPart::parseProject(bool) (this=0x8d8bc90, 
    force=false) at cppsupportpart.cpp:910
#11 0x424b2b3a in CppSupportPart::initialParse() (this=0x8d8bc90)
    at cppsupportpart.cpp:799
#12 0x424b9051 in CppSupportPart::qt_invoke(int, QUObject*) (this=0x8d8bc90, 
    _id=29, _o=0xbffff670) at cppsupportpart.moc:229
#13 0x413ae7e1 in QObject::activate_signal(QConnectionList*, QUObject*) (
    this=0x81b5560, clist=0xc5fe750, o=0xbffff670) at kernel/qobject.cpp:2359
#14 0x4170d7e7 in QSignal::signal(QVariant const&) (this=0x81b5560, 
    t0=@0x81b5588) at .moc/debug-shared-mt/moc_qsignal.cpp:100
#15 0x413cbeb2 in QSignal::activate() (this=0x81b5560)
    at kernel/qsignal.cpp:206
#16 0x413d360c in QSingleShotTimer::event(QEvent*) (this=0x81b5538)
    at kernel/qtimer.cpp:277
#17 0x4134bb73 in QApplication::internalNotify(QObject*, QEvent*) (
    this=0xbffffc20, receiver=0x81b5538, e=0xbffff920)
    at kernel/qapplication.cpp:2614
#18 0x4134b0ab in QApplication::notify(QObject*, QEvent*) (this=0xbffffc20, 
    receiver=0x81b5538, e=0xbffff920) at kernel/qapplication.cpp:2337
#19 0x40ec2c3c in KApplication::notify(QObject*, QEvent*) (this=0xbffffc20, 
    receiver=0x81b5538, event=0xbffff920) at kapplication.cpp:506
#20 0x4016effe in QApplication::sendEvent(QObject*, QEvent*) (
    receiver=0x81b5538, event=0xbffff920) at qapplication.h:491
#21 0x4133a300 in QEventLoop::activateTimers() (this=0x80ef548)
    at kernel/qeventloop_unix.cpp:558
#22 0x412f372b in QEventLoop::processEvents(unsigned) (this=0x80ef548, flags=4)
    at kernel/qeventloop_x11.cpp:389
#23 0x413600d1 in QEventLoop::enterLoop() (this=0x80ef548)
    at kernel/qeventloop.cpp:198
#24 0x4135ffea in QEventLoop::exec() (this=0x80ef548)
    at kernel/qeventloop.cpp:145
#25 0x4134bcdf in QApplication::exec() (this=0xbffffc20)
    at kernel/qapplication.cpp:2737
#26 0x08066c1b in main (argc=1, argv=0xbffffd94) at main.cpp:128
Comment 1 Grzegorz Jaskiewicz 2004-02-27 02:46:17 UTC
KDE 3.2, qt-copy from HEAD,
kdevelop from 2004-02-25, HEAD (3.0.1)
Comment 2 Grzegorz Jaskiewicz 2004-02-27 02:47:32 UTC
I got those on console:
kdevelop (cpp support): newly parsing...
QGVector::insert: Index 5000 out of range
QGVector::operator[]: Index 5000 out of range
DCOP: unregister 'kdevelop-14619'
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = kdevelop path = <unknown> pid = 14619
....
Comment 3 Grzegorz Jaskiewicz 2004-02-27 04:28:56 UTC
ok, it turns that it crashes on .ASM file, m$ Assembler style one.
unfortunatelly, I am not allowed to give you that file. But it is small and simple.
I'll try to pickup some free bits written for that assembler, and see if i'll get the same.
It doesn't crashes always thou, sometimes I am just getting 100x of lines saying:
QGVector::operator[]: Index 5000 out of range

Comment 4 Amilcar do Carmo Lucas 2004-02-27 11:06:44 UTC
Are you using KDevelop
HEAD (3.0.90cvs)
or
KDE_3_2_BRANCH (3.0.1)
?
Comment 5 Grzegorz Jaskiewicz 2004-02-27 12:16:06 UTC
I am using KDE_3_2_BRANCH (3.0.1), sorry for confusion.


Comment 6 Grzegorz Jaskiewicz 2004-08-07 14:58:03 UTC
doesn't happend anymore here. please close.
Comment 7 Jens Dagerbo 2004-08-16 13:14:31 UTC
OK. Let's hope it's gone then.
Comment 8 Aleix Pol 2013-03-31 00:44:29 UTC
Moving all the bugs from the CPP Parser. It was not well defined the difference between it and C++ Language Support and people kept reporting in both places indistinctively