Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Aug 2007 02:11:57 +0400
From:      Vladimir Grebenschikov <vova@fbsd.ru>
To:        freebsd-eclipse@freebsd.org
Cc:        current <current@freebsd.org>
Subject:   Java dumps core with eclipse after recent upgrade
Message-ID:  <1186438317.1592.14.camel@localhost>

next in thread | raw e-mail | index | archive | help
Hi

After usual upgrade of world and some ports java dumps core when started
by eclipse:

% eclipse
Fatal error 'thr_resume_wrapper, lock_switch != 0
' at line 1119 in file /usr/src/lib/libpthread/thread/thr_kern.c (errno
= 174487
7412)
Fatal error 'thr_resume_wrapper, lock_switch != 0
' at line 1119 in file /usr/src/lib/libpthread/thread/thr_kern.c (errno
= 174487
7412)
Fatal error 'thr_resume_wrapper, lock_switch != 0
' at line 1119 in file /usr/src/lib/libpthread/thread/thr_kern.c (errno
= 174487
7412)
Fatal error 'thr_resume_wrapper, lock_switch != 0
' at line 1119 in file /usr/src/lib/libpthread/thread/thr_kern.c (errno
= 174487
7412)
... (many times) ...
GTK Accessibility Module initialized

It shows:
JVM terminated. Exit code=1
/usr/local/bin/java
-Xms40m
-Xmx256m
-jar /usr/local/eclipse/startup.jar
-os freebsd
-ws gtk
-arch x86
-launcher /usr/local/eclipse/eclipse
-name Eclipse
-showsplash 600
-exitdata 20013
-vm /usr/local/bin/java
-vmargs
-Xms40m
-Xmx256m
-jar /usr/local/eclipse/startup.jar 

% ls -l *core
-rw-------   1 vova  vova  278888448 Aug  7 01:43 java.core
%

stack-trace is useless for my taste - infinite list of empty frames:
% gdb /usr/local/jdk1.5.0/bin/java java.core 
...
Core was generated by `java'.
Program terminated with signal 11, Segmentation fault.
#0  0x2817a107 in ?? ()
(gdb) bt
#0  0x2817a107 in ?? ()
#1  0xbfbc2f60 in ?? ()
#2  0x2818a700 in ?? ()
#3  0x281a4050 in ?? ()
...

World with kernel upgraded 2006/07/24 -> 2007/08/06

Ports that was upgraded:

graphics/jasper
devel/autoconf261
textproc/intltool
multimedia/gstreamer
print/ghostscript-gpl
multimedia/gstreamer-plugins
audio/gstreamer-plugins-ogg
audio/gstreamer-plugins-cdparanoia
x11-toolkits/gstreamer-plugins-pango
devel/libglade2
devel/gstreamer-plugins-gnomevfs
multimedia/mplayer
multimedia/gstreamer-plugins-theora
audio/gstreamer-plugins-vorbis


Force upgrade of eclipse does not helps.

jdk15 is not latest (latest does not build) and was not changed during
this upgrade.

Booting with old kernel does not helps also.

% pkg_info -I jdk\* eclipse\*
eclipse-3.2.2       An open extensible IDE for anything and nothing in
particul
eclipse-EPIC-0.5.33_1 EPIC adds Perl support to the Eclipse IDE
Framework
eclipse-cdt-3.1.2_1 C/C++ IDE for Eclipse
eclipse-emf-2.2.1_1 Eclipse Modeling Framework
eclipse-gef-3.2.2_2 Graphical Editing Framework for the Eclipse IDE
eclipse-sqlexplorer-2.2.4_2 A visual database query tool for Eclipse
eclipse-uml-1.1.1_1 A framework creating UML diagrams in Eclipse
jdk-1.5.0.11p5,1    Java Development Kit 1.5.0
%

Any hints will be very appreciated.

-- 
Vladimir B. Grebenschikov
vova@fbsd.ru



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1186438317.1592.14.camel>