| Summary: | SIGSEGV with @Nullable analysis | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Brian de Alwis <bsd> | ||||
| Component: | Core | Assignee: | JDT-Core-Inbox <jdt-core-inbox> | ||||
| Status: | CLOSED NOT_ECLIPSE | QA Contact: | |||||
| Severity: | major | ||||||
| Priority: | P3 | CC: | daniel_megert, stephan.herrmann | ||||
| Version: | 4.4 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Mac OS X | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Brian de Alwis
Which build id? Do you have steps? Sorry forgot to include the build id: I20140518-2000 (updated this morning). My VM has -Xmx2500m I'm in the process of trying to add @Nullable support to a small-sized project with about 40 bundles. I added "Enable annotation-based null analysis" and used the suggested defaults; I include the o.e.j.annotation bundle via the additional.bundles in build.properties. I've only just started on this process (I've added annotations to about 3-4 files), but wouldn't describe what I'm doing as being overly difficult. Can anyone exactly interpret the "Problematic frame" info?
To me it looks like the JIT might have crashed while compiling the mentioned Java method?
Anyway, I believe the most relevant information is:
> # If you would like to submit a bug report, please visit:
> # http://bugreport.sun.com/bugreport/crash.jsp
(In reply to Brian de Alwis from comment #2) > I include the o.e.j.annotation > bundle via the additional.bundles in build.properties. Just a quick hint: we moved to recommending an optional Require-Bundle, because additional.bundles doesn't allow to specify a version, and with the semantic differences between o.e.j.annotation 1.1.x vs. 2.0.0 you are advised to give a specific version range to this dependency. resolution:=optional can be used to "simulate" a build-time-only dependency. I scanned through the other crash report and it looks random. I'll continue trundling along and see if I have any other problems. If the crash happens frequently enough, please try with disabled JIT and see whether that "fixes" the problem. Haven't had a crash for a while running with: -vmargs -XX:CompileCommand="exclude org/eclipse/jdt/internal/compiler/ast/Annotation$1LocationCollector.visit" |