| Summary: | JVM crash on ctrl+space for code completion | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Kresten Peter Vester <kresten+eclipse> | ||||
| Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | |||||
| Severity: | critical | ||||||
| Priority: | P3 | CC: | amj87.iitr, grant_gayed, remy.suen | ||||
| Version: | 3.6.2 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Kresten Peter Vester
Are you saying eclipse crashes in 2 ways for u: 1) Either while starting up in a fresh workspace 2) or, pressing CTRL+SPACE Or are both of the above necessary conditions for the crash? I think its most probably a problem in the file /usr/lib64/libproxy-0.4.6/modules/pacrunner_mozjs.so. A bit of googling tells me that this file has dependencies on Mozilla firefox browser. So maybe when eclipse starts and the browser widget is loaded, this unresolved dependency causes the crash. It crashes in 2 ways. Either 1 or 2 causes the crash. But the same message occurs in both cases. Can you please attach the core dump/crash log? Moving to Platform/SWT. Created attachment 193018 [details]
crash log
I deleted my eclipse installation and created a new one. The crash log is from starting eclipse with an existing workspace. It crashes after clicking ok in the dialog for selecting workspace.
I tried with java version "1.6.0_23" and are seeing the same problem. Now i have reinstalled eclipse and all my plugins + upgrading all available packages for my openSUSE OS. Now it works again but I still have no idea what caused it. I have now recreated the issue in another RCP application.
This code seems to cause the error:
IWorkbenchBrowserSupport browserSupport = PlatformUI.getWorkbench().getBrowserSupport();
try {
browserSupport.createBrowser(null).openURL(new URL("http://www.ob.dk/"));
} catch (PartInitException e) {
e.printStackTrace();
} catch (MalformedURLException e) {
e.printStackTrace();
}
Found a workaround. The issue only occurs when eclipse is configured to use the internal browser. If the browser is changed to firefox it does not crash anymore. The crash log is identical to bug 330476, marking report as a duplicate. *** This bug has been marked as a duplicate of bug 330476 *** |