This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | many NPEs and AssertionErrors when parsing very large project (gcc) | ||
---|---|---|---|
Product: | cnd | Reporter: | Thomas Preisler <thp> |
Component: | Code Model | Assignee: | nnnnnk <nnnnnk> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | ||
Priority: | P1 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
log
log C header file |
Description
Thomas Preisler
2008-02-29 00:27:37 UTC
Correction: 19,941 files Created attachment 57499 [details]
log
Hello. I've met some issues with compiling GCC 4.2.1 on Solaris. Although I compiled GCC 3.4.3 that currently installed on my Solaris, but it seems there is no problems with parsing of this version of GCC. Please, could you provide me NetBeans project for GCC you have or compile GCC with flags "-g3 -gdwarf-2" and send me binaries? I fixed: - NPE in linkage spec renderer - NPE in typedef render - assertion in function renderer - NPE in template patameters After that I successfully parsed GCC 4.3. On my machine when I am opening gcc43 project created by nnnnnk, then some AssertionError appears in messages.log (but hyperlinks works correctly in the parsed project) verified in 200803302302 build Created attachment 59544 [details]
log
fixed in trunk http://hg.netbeans.org/main?cmd=changeset;node=67a2c0232135 Reopened defect. Assertion errors. Escalated to P1. Already fix in trunk. Needs code review and QA verification. A new simple scenario provided by nnnnnk: - create a new project - create a new main C file - add a header file from attachment - add include for the header file to main C file - do some minor changes in the header file to cause reparsing Result: Multiple AssertionError messages appear in log. Created attachment 59856 [details]
C header file
verified in trunk build 20080408173400 code was reviewed by Vladimir Voskresensky. fixed in release61 by Nick Krasilnikov: http://hg.netbeans.org/release61/rev/812b9c616bb0 verified in NB6.1RC1 build |