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: | Exception: SUID: STRUCT CFieldCallback[ 3388:7/123851 - 3405:8/124571 ][ParseDecl.cpp 3388:7-3405:8], STRUCT CFieldCallback[ 3388:7/123851 - 3405:8/124571 ][ParseDecl.cpp 3388:7-3405:8] | ||
---|---|---|---|
Product: | cnd | Reporter: | Alexander Simon <alexvsimon> |
Component: | Code Model | Assignee: | petrk |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alexvsimon, soldatov |
Priority: | P2 | ||
Version: | 8.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 211388 |
Attachments: |
stacktrace
stacktrace stacktrace stacktrace |
Description
Alexander Simon
2014-08-22 13:50:09 UTC
Created attachment 148843 [details]
stacktrace
Created attachment 148844 [details]
stacktrace
open file ParseObjc.cpp from LLVM33
Created attachment 148845 [details]
stacktrace
open file StackAddrEscapeChecker.cpp from LLVM34
The simplest test case: template <typename T, unsigned N> class SmallVector { }; void foo() const { class CallBack { public: SmallVector<std::pair<int, int>, 10> V; }; CallBack cb; cb.V[1].second; } This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=211388 Created attachment 152381 [details]
stacktrace
I can't edit such simple code because generates exceptions
#include <iostream>
#include <map>
#include <algorithm>
using namespace std;
int main() {
map<int, int> m = { {1, 1}, {2, 2} };
for_each(m.begin(), m.end(), [](pair<int, int> p) { cout << p.first << endl; });
return 0;
}
Integrated into 'main-silver', will be available in build *201503050001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/d05d80288c52 User: Petr Kudryavtsev <petrk@netbeans.org> Log: Fixed #246643 - Exception: SUID: STRUCT CFieldCallback[ 3388:7/123851 - 3405:8/124571 ][ParseDecl.cpp 3388:7-3405:8], STRUCT CFieldCallback[ 3388:7/123851 - 3405:8/124571 ][ParseDecl.cpp 3388:7-3405:8] (edit) |