| Summary: | Eclipse with many features installed opens too many files at once and crashes on Linux | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Oded Arbel <oded> | ||||||
| Component: | Runtime | Assignee: | platform-runtime-inbox <platform-runtime-inbox> | ||||||
| Status: | CLOSED DUPLICATE | QA Contact: | |||||||
| Severity: | critical | ||||||||
| Priority: | P3 | CC: | tjwatson | ||||||
| Version: | 4.1 | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
Created attachment 198088 [details]
The log file of the crash
This is the log file eclipse generates when crashing
It looks like the problem is that eclipse cannot read some jar file that was installed in the plugins directory. I've looked at the file and it opens fine with "jar" and a few other tools I have. I've also tried to download a new copy of the file (matched the same name and version), and it still happens. I found that the problem is the maximum allowed files open. By default on most Linux distributions it is set to 1024 files per process, and apparently in Eclipse Indigo - after installing multiple features, Eclipse easily supersedes that when starting. As a workaround I've set the maximum open files limit to 4096, and now Eclipse loads fine. Created attachment 198092 [details]
Eclipse configuration summary
Attached is the output of Help->About->Installation Details->Configuration that details everything I have installed
This is a bug we found after RC4. We determined the bug was severe enough that we respun the final build for indigo. Please try the latest at http://download.eclipse.org/eclipse/downloads/drops/I20110613-1736/index.php (this will eventually become RC5). *** This bug has been marked as a duplicate of bug 349105 *** |
Build Identifier: I20110603-0909 I've downloaded the Indigo RC4 platform build (with no extra stuff) from the download page. After installing additional software from the Eclipse Indigo repositories (I don't what specifically caused the problem as I installed a bunch of stuff at once), Eclipse won't start and report that an error has occurred. When running from the command line, I can see it throws an exception: SESSION 2011-06-16 15:28:26.132 ----------------------------------------------- eclipse.buildId=I20110603-0909 java.version=1.6.0_22 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US Command-line arguments: -os linux -ws gtk -arch x86_64 !ENTRY org.xbill.dns 4 0 2011-06-16 15:28:32.264 !MESSAGE FrameworkEvent ERROR !STACK 0 java.util.zip.ZipException: Exception in opening zip file: /home/odeda/.local/eclipse/plugins/org.xbill.dns_2.0.8.v201010140805.jar at org.eclipse.osgi.framework.util.SecureAction.getZipFile(SecureAction.java:287) ... Caused by: java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(ZipFile.java:131) ... Reproducible: Always Steps to Reproduce: 1. Download and start Eclipse Indigo RC4 platform 2. Install a lot of additional features from Indigo repositories 3. Restart Eclipse