Bugzilla – Bug 354593
X Shared Memory related bug in eclipse triggered by X.Org security update
Last modified: 2008-01-18 21:32:10 UTC
eclipse (I tried the IDE for Java developers and the eclipse classic 3.3.1.1, recent download) does not start. It worked fine until yesterday. Today I installed the recommended updates of opensuse (3 updates, dating from today or maw 2 days ago) and since then eclipse fails to start. The programs gets up to run (the central large icon appears) but shuts down a few seconds later, with the following error msg ./eclipse -vmargs -Xmx64M -Xms64M (note, not giving parameters yields the same result) The program 'Eclipse' received an X Window System error. This probably reflects a bug in the program. The error was 'BadAlloc (insufficient resources for operation)'. (Details: serial 452 error_code 11 request_code 144 minor_code 5) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) Please let me know if you need more info. And if you cannot reproduce the problem, in which case I will try reinstalling opensuse or other. Thanks in advance Ettore Marchetti
I'm pretty sure this is related to yesterday's xorg-x11-Xnest update, because the same thing happened here. Anyone know how to backout that patch?
Can you still reproduce this issue when starting Xnest/Xephyr with option "-extension MIT-SHM" ? If you can't eclipse/Java suffers from the same bug as xine-ui <= 0.99.4 (Bug #353529) and vlc 0.8.6d (Bug #354615).
>From: Mike <mladwig@comcast.net> >To: sndirsch@novell.com >Subject: [Bug 354593] eclipse does not start - after opensuse 10.3 update >Date: Fri, 18 Jan 2008 08:10:29 -0500 > >I don't use Xnest/Xephyr (at least not knowingly) -- just the normal xorg >server. I don't know how to respond to this request, but if you tell me >I'll try. Xnest -extension MIT-SHM :1 & sleep 1; DISPLAY=:1 twm < press left mouse button --> Xterm > run 'eclipse' >Is there a way to back out the patch? I don't want to have to wipe and >reinstall over this, but I have to be able to work... Install xorg-x11-server from your DVD.
I can't reproduce this issue with eclipse 3.3, neither with Xnest (does not provide MIT-SHM extension) nor with Xephyr (which *does* provide MIT-SHM extension) on openSUSE 11.0 Alpha1 with all X.Org security patches applied. Same applies to regular Xorg Xserver.
Still waiting for feedback (see comment #2 and comment #3) by Mike.
I cannot reproduce the problem using Xnest.
Xnest doesn't provide the MIT-SHM extension. Anyway, I now can reproduce the issue with Xephyr with MIT-SHM enabled on openSUSE 10.3. When disabling it (with "-extension MiT-SHM") eclipse works. This means that it's related to the same security patch as Bug #353529 and Bug #354615.
I finally figured out that the problem does *not* occur on x86_64. Looks like it only occurs on i386.
Luckily trivial Java programs (ATW Hello World example) are not affected. Java programs like jedit and Limewire work as well.
*** This bug has been marked as a duplicate of bug 345131 ***