Bugzilla – Bug 355239
eclipse crashes with BadAlloc after last xorg update
Last modified: 2008-01-23 16:55:08 UTC
user@box:~$ eclipse 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 1081 error_code 11 request_code 146 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.) The window shows: JVM terminated. Exit code=1 /usr/lib/jvm/java-1.6.0.u3.sr2-sun-1.6.0.u3/bin/java -jar /usr/share/eclipse/./plugins/org.eclipse.equinox.launcher_1.0.0.v20070606.jar -os linux -ws gtk -arch x86 -showsplash -launcher /usr/lib/eclipse/eclipse -name Eclipse --launcher.library /usr/lib/eclipse/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.0.0.v20070606/eclipse_1017a.so -startup /usr/share/eclipse/./plugins/org.eclipse.equinox.launcher_1.0.0.v20070606.jar -exitdata 31f18015 -data /home/user/.eclipse -vm /usr/lib/jvm/java-1.6.0.u3.sr2-sun-1.6.0.u3/bin/java -vmargs -jar /usr/share/eclipse/./plugins/org.eclipse.equinox.launcher_1.0.0.v20070606.jar I may be wrong but this looks unrelated to the other eclipse bugs in this bugtracking system. In some cases eclipse prints a backtrace: *** glibc detected *** /usr/lib/eclipse/eclipse: double free or corruption (!prev): 0x08074de8 *** ======= Backtrace: ========= /lib/libc.so.6[0xb7a024b6] /lib/libc.so.6(cfree+0x89)[0xb7a04179] /usr/lib/eclipse/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.0.0.v20070606/eclipse_1017a.so(run+0x81d)[0xb7f5a665] /usr/lib/eclipse/eclipse[0x80492e7] /lib/libc.so.6(__libc_start_main+0xe0)[0xb79b1fe0] /usr/lib/eclipse/eclipse[0x8048f61] ======= Memory map: ======== 08048000-0804b000 r-xp 00000000 08:06 1071313 /usr/lib/eclipse/eclipse 0804b000-0804c000 rw-p 00002000 08:06 1071313 /usr/lib/eclipse/eclipse 0804c000-081af000 rw-p 0804c000 00:00 0 [heap] b6c00000-b6c21000 rw-p b6c00000 00:00 0 b6c21000-b6d00000 ---p b6c21000 00:00 0 b6e0a000-b6e6a000 rw-s 00000000 00:09 11763726 /SYSV00000000 (deleted) b6e6a000-b6eae000 r--p 00000000 08:06 1547939 /usr/share/fonts/msttcorefonts/arial.ttf b6eae000-b6eb0000 r-xp 00000000 08:06 1134825 /usr/lib/pango/1.6.0/modules/pango-basic-fc.so b6eb0000-b6eb2000 rw-p 00001000 08:06 1134825 /usr/lib/pango/1.6.0/modules/pango-basic-fc.so b6eb2000-b6eb9000 r--s 00000000 08:07 140485 /var/cache/fontconfig/77e41c5059666d75f92e318d4be8c21e-x86.cache-2 b6eb9000-b6ebd000 r--s 00000000 08:07 140499 /var/cache/fontconfig/328c5a1c75e188e25cd6ea305ded76e1-x86.cache-2 b6ebd000-b6ec0000 r--s 00000000 08:07 140568 /var/cache/fontconfig/939cd9e33219caf517a4e98a4f26623f-x86.cache-2 b6ec0000-b6ec1000 r--s 00000000 08:07 140566 /var/cache/fontconfig/b6bbb9f898b73777cfe763014a8c08d3-x86.cache-2 b6ec1000-b6ecd000 r--s 00000000 08:07 140491 /var/cache/fontconfig/73a61b34dd8ca4d8a159807604ab432f-x86.cache-2 b6ecd000-b6f13000 r--s 00000000 08:07 140482 /var/cache/fontconfig/17090aa38d5c6f09fb8c5c354938f1d7-x86.cache-2 b6f13000-b6f15000 r--s 00000000 08:07 140493 /var/cache/fontconfig/d458be102e54cf534d1eef0dcbb02d07-x86.cache-2 b6f15000-b6f1a000 r--s 00000000 08:07 140484 /var/cache/fontconfig/d62e99ef547d1d24cdb1bd22ec1a2976-x86.cache-2 b6f1a000-b6f60000 r--s 00000000 08:07 140481 /var/cache/fontconfig/df311e82a1a24c41a75c2c930223552e-x86.cache-2 b6f60000-b6f67000 r--s 00000000 08:07 140490 /var/cache/fontconfig/f80f85ff075af895657a2def80df3f56-x86.cache-2 b6f67000-b6f8f000 r--s 00000000 08:07 140536 /var/cache/fontconfig/8d4af663993b81a124ee82e610bb31f9-x86.cache-2 b6f8f000-b6ff6000 r--s 00000000 08:07 140489 /var/cache/fontconfig/7ef2298fde41cc6eeb7af42e48b7d293-x86.cache-2 b6ff6000-b701b000 r-xp 00000000 08:06 858643 /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so b701b000-b701d000 rw-p 00024000 08:06 858643 /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so b701d000-b703d000 r-xp 00000000 08:06 858654 /usr/lib/gtk-2.0/2.10.0/engines/libqtcurve.so b703d000-b703f000 rw-p 0001f000 08:06 858654 /usr/lib/gtk-2.0/2.10.0/engines/libqtcurve.so b703f000-b7040000 rw-p b703f000 00:00 0 b7040000-b7044000 r-xp 00000000 08:06 2281965 /lib/libnss_dns-2.6.1.so b7044000-b7046000 rw-p 00003000 08:06 2281965 /lib/libnss_dns-2.6.1.so b7046000-b7048000 r-xp 00000000 08:06 2282160 /lib/libnss_mdns4_minimal.so.2 b7048000-b704a000 rw-p 00001000 08:06 2282160 /lib/libnss_mdns4_minimal.so.2 b704a000-b7052000 r-xp 00000000 08:06 2281967 /lib/libnss_files-2.6.1.so b7052000-b7054000 rw-p 00007000 08:06 2281967 /lib/libnss_files-2.6.1.so b7054000-b705b000 r-xp 00000000 08:06 289150 /usr/lib/libkrb5support.so.0.1 b705b000-b705d000 rw-p 00006000 08:06 289150 /usr/lib/libkrb5support.so.0.1 b705d000-b7080000 r-xp 00000000 08:06 289138 /usr/lib/libk5crypto.so.3.1 b7080000-b7082000 rw-p 00023000 08:06 289138 /usr/lib/libk5crypto.so.3.1 b7082000-b710a000 r-xp 00000000 08:06 289148 /usr/lib/libkrb5.so.3.3 b710a000-b710b000 r--p 00087000 08:06 289148 /usr/lib/libkrb5.so.3.3 b710b000-b710d000 rw-p 00088000 08:06 289148 /usr/lib/libkrb5.so.3.3 b710d000-b723a000 r-xp 00000000 08:06 759993 /usr/lib/libcrypto.so.0.9.8 b723a000-b7241000 r--p 0012c000 08:06 759993 /usr/lib/libcrypto.so.0.9.8 b7241000-b724f000 rw-p 00133000 08:06 759993 /usr/lib/libcrypto.so.0.9.8 b724f000-b7253000 rw-p b724f000 00:00 0 b7253000-b7292000 r-xp 00000000 08:06 760826 /usr/lib/libssl.so.0.9.8 b7292000-b7296000 rw-p 0003e000 08:06 760826 /usr/lib/libssl.so.0.9.8 b7296000-b72ac000 r-xp 00000000 08:06 759734 /usr/lib/libsasl2.so.2.0.22 b72ac000-b72ae000 rw-p 00015000 08:06 759734 /usr/lib/libsasl2.so.2.0.22 b72ae000-b72bd000 r-xp 00000000 08:06 2281978 /lib/libresolv-2.6.1.so b72bd000-b72bf000 rw-p 0000e000 08:06 2281978 /lib/libresolv-2.6.1.so b72bf000-b72c1000 rw-p b72bf000 00:00 0 b72c1000-b72e9000 r-xp 00000000 08:06 289134 /usr/lib/libgssapi_krb5.so.2.2 b72e9000-b72eb000 rw-p 00027000 08:06 289134 /usr/lib/libgssapi_krb5.so.2.2 b72eb000-b72f7000 r-xp 00000000 08:06 760143 /usr/lib/liblber-2.3.so.0.2.25 b72f7000-b72f9000 rw-p 0000b000 08:06 760143 /usr/lib/liblber-2.3.so.0.2.25 b72f9000-b7330000 r-xp 00000000 08:06 760145 /usr/lib/libldap-2.3.so.0.2.25 b7330000-b7332000 rw-p 00036000 08:06 760145 /usr/lib/libldap-2.3.so.0.2.25 b7332000-b7345000 r-xp 00000000 08:06 2282226 /lib/libnss_ldap.so.2 b7345000-b7347000 rw-p 00012000 08:06 2282226 /lib/libnss_ldap.so.2 b7347000-b7352000 rw-p b7347000 00:00 0 b7352000-b7365000 r-xp 00000000 08:06 2281961 /lib/libnsl-2.6.1.so b7365000-b7367000 rw-p 00012000 08:06 2281961 /lib/libnsl-2.6.1.so b7367000-b7369000 rw-p b7367000 00:00 0 /usr/share/eclipse/eclipse: line 8: 7355 Abgebrochen (core dumped) /usr/share/eclipse/eclipse.bin -startup $STARTUP_JAR "$@"
Same problem with SuSE 10.1, xorg-x11-server 6.9.0-50.54.5. xorg-x11-server 6.9.0-50.52 works.
I have excatly the same problem. Same java version, opensuse 10.3 and latest xorg (7.2-143.9). Looks like after latest (17 jan.) security update eclipse and also azureus stopped working. After downgrading xorg they work again.
Probable dup of bug 345131.
Same here. Downgrading and eclipse works again.
*** This bug has been marked as a duplicate of bug 345131 ***