[Bug 121413] eclipse reports memory corruption, crashes

Bogdan Butnaru bogdanb+launchpad at gmail.com
Wed Jun 20 19:09:54 UTC 2007


Public bug reported:

Binary package hint: eclipse

Hello! I have updated to Gutsy recently and I noticed Eclipse throws a
scary warning due to the new GSlice thing:

bogdanb at cimer:~$ eclipse
using specified vm: /usr/lib/jvm/java

***MEMORY-WARNING***: [12710]: GSlice: g_thread_init() must be called
before all other GLib functions; memory corruption due to late
invocation of g_thread_init() has been detected; this program is likely
to crash, leak or unexpectedly abort soon...

===============
Eclipse starts correctly, but I encountered random crashes soon afterwards, for example when autocomplete comes up (automatically or when asked):

~$ eclipse 
using specified vm: /usr/lib/jvm/java

***MEMORY-WARNING***: [12862]: GSlice: g_thread_init() must be called before all other GLib functions; memory corruption due to late invocation of g_thread_init() has been detected; this program is likely to crash, leak or unexpectedly abort soon...
#
# An unexpected error has been detected by Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0xb2e82dd2, pid=12862, tid=3085007760
#
# Java VM: Java HotSpot(TM) Client VM (1.6.0-b105 mixed mode, sharing)
# Problematic frame:
# C  [libmozjs.so+0x1cdd2]
#
# An error report file with more information is saved as hs_err_pid12862.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#
==============
If I rename the library the crash complains about (cd /usr/lib/firefox && sudo mv libmozjs.so ~libmozjs.so) eclipse doesn't crash anymore, but it still shows the warning at start. (However, Firefox doesn't start anymore, so this needs either manual shuffling of the file or some linker script-fu to fix.)

I'm not sure if the warning and the crash are related, but they appeared
at the same time, so there you go...

** Affects: eclipse (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

** Affects: firefox (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
eclipse reports memory corruption, crashes
https://bugs.launchpad.net/bugs/121413
You received this bug notification because you are a member of Mozilla
Bugs, which is a bug contact for firefox in ubuntu.




More information about the Ubuntu-mozillateam-bugs mailing list