| Summary: | Eclipse crashes during auto-completion | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Luca Cavanna <cavannaluca> |
| Component: | SWT | Assignee: | Grant Gayed <grant_gayed> |
| Status: | CLOSED WORKSFORME | QA Contact: | |
| Severity: | critical | ||
| Priority: | P3 | CC: | amj87.iitr, cavannaluca, ericwill, satyam.kandula |
| Version: | 3.7.1 | Keywords: | needinfo |
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Luca Cavanna
Hi, looks like there is something with your project setup/code which triggers the crash, and to investigate we will need more info. Is it possible to attach your project here? Also, can you tell us what all plugins you have installed over and above the default ones? I could reproduce the crash even with a new workspace and a small maven project with just one test class. When I open test/src/test/TestEclipseBug.java and try to write the following two lines inside the test empty method
File f = Mockito.mock(File.class);
Mockito.when(f.getPath()).thenReturn("/directory");
I cannot reach the end. Eclipse goes in segmentation fault, but not always at the same moment.
You can download the whole workspace I'm working with through this link: http://dl.dropbox.com/u/4006874/workspace.zip . I'm using Eclipse Java EE IDE for Web Developers, the only plugin I added is m2e.
Thanks, let me know if I can help more.
I think the problem is with SWT. It's likely a general Browser widget problem, and would probably happen in other scenarios as well. However it's difficult to investigate without more info because the Browser works well in general on Fedora 16, so it must be somehow related to your OS config, settings, etc. Can you try the following: 1. Try your case with Eclipse 4.3 (just released today). It has lots of fixes in the area of the Browser that could help your case. 2. If your case still crashes then try to find a full dump from the VM (if using an Oracle VM then its name would start with "hs_err_"). This could provide some helpful insight. No response from original bug reporter in quite some time. |