bug report jdk1.4.2

Sebastiaan van Erk sebster at sebster.com
Fri Dec 19 03:29:55 PST 2003


Thanks for the fast reply.

On Fri, 2003-12-19 at 12:10, Achilleus Mantzios wrote:

> Could it be a /etc/hosts issue??

I'm not sure what the exact cause is. I do know that lookup of the
localhostname fails because it's not in /etc/host, but that shouldn't be
a problem should it?

> Also it wouldn't be a bad idea to set 
> #sysctl net.inet6.ip6.v6only=0

That seems to be default on FreeBSD 4.9.

BTW, I recompiled the source code of the java project I'm working on,
and now suddenly the problem is gone. (I'm using eclispe from the port).
Still, a VM crash shouldn't be possible should it?

Greetings,
Sebastiaan van Erk

> O kyrios Sebastiaan van Erk egrapse stis Dec 19, 2003 :
> 
> > Hi all,
> > 
> > I'm running FreeBSD 4.9-RELEASE with native JDK 1.4.2, and I get the
> > following VM crash (see below). It's consistent, I.E. it crashes EVERY
> > time. Does anybody know a work around?
> > 
> > Greetings,
> > Sebastiaan van Erk
> > 
> > An unexpected exception has been detected in native code outside the VM.
> > Unexpected Signal : 11 occurred at PC=0x280C327B
> > Function=_flockfile_debug+0x2B
> > Library=/usr/lib/libc_r.so.4
> > 
> > Current Java thread:
> >         at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
> >         at
> > java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:770)
> >         at
> > java.net.InetAddress.getAddressFromNameService(InetAddress.java:1059)
> >         at java.net.InetAddress.getAllByName0(InetAddress.java:1009)
> >         at java.net.InetAddress.getAllByName0(InetAddress.java:981)
> >         at java.net.InetAddress.getAllByName(InetAddress.java:975)
> >         at java.net.InetAddress.getByName(InetAddress.java:889)
> >         at sun.net.www.http.HttpClient.<init>(HttpClient.java:296)
> >         at sun.net.www.http.HttpClient.<init>(HttpClient.java:267)
> >         at sun.net.www.http.HttpClient.New(HttpClient.java:339)
> >         at sun.net.www.http.HttpClient.New(HttpClient.java:320)
> >         at sun.net.www.http.HttpClient.New(HttpClient.java:315)
> >         at
> > sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConne
> > ction.java:510)
> >         at
> > sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection
> > .java:487)
> >         at
> > sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
> > nection.java:615)
> >         - locked <0x2cd0ce18> (a
> > sun.net.www.protocol.http.HttpURLConnection)
> >         at java.net.URL.openStream(URL.java:913)
> >         at
> > com.servoy.j2db.develop.cmd.CmdNewVersionCheck$2.run(CmdNewVersionChe
> > ck.java:80)
> >         at com.servoy.j2db.util.TaskExecuter.run(TaskExecuter.java:50)
> >         at java.lang.Thread.run(Thread.java:534)
> > 
> > Dynamic libraries:
> > 0x8048000       /usr/local/jdk1.4.2/bin/java
> > 0x2806b000      /usr/lib/libc_r.so.4
> > 0x28122000      /usr/local/jdk1.4.2/jre/lib/i386/client/libjvm.so
> > 0x28668000      /usr/lib/libstdc++.so.3
> > 0x286ad000      /usr/lib/libm.so.2
> > 0x286c8000     
> > /usr/local/jdk1.4.2/jre/lib/i386/native_threads/libhpi.so
> > 0x286d6000      /usr/local/jdk1.4.2/jre/lib/i386/libverify.so
> > 0x286f1000      /usr/local/jdk1.4.2/jre/lib/i386/libjava.so
> > 0x28712000      /usr/local/jdk1.4.2/jre/lib/i386/libzip.so
> > 0x345c0000      /usr/local/jdk1.4.2/jre/lib/i386/libjdwp.so
> > 0x345f1000      /usr/local/jdk1.4.2/jre/lib/i386/libdt_socket.so
> > 0x34cef000      /usr/local/jdk1.4.2/jre/lib/i386/libawt.so
> > 0x34f5e000      /usr/local/jdk1.4.2/jre/lib/i386/libmlib_image.so
> > 0x34fb0000      /usr/X11R6/lib/libXp.so.6
> > 0x34fb8000      /usr/X11R6/lib/libXt.so.6
> > 0x35002000      /usr/X11R6/lib/libXext.so.6
> > 0x35010000      /usr/X11R6/lib/libXtst.so.6
> > 0x3501e000      /usr/X11R6/lib/libXmu.so.6
> > 0x35033000      /usr/X11R6/lib/libX11.so.6
> > 0x350ef000      /usr/X11R6/lib/libSM.so.6
> > 0x350f8000      /usr/X11R6/lib/libICE.so.6
> > 0x3510e000      /usr/X11R6/lib/libXThrStub.so.6
> > 0x35110000      /usr/local/jdk1.4.2/jre/lib/i386/libfontmanager.so
> > 0x351e2000      /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2
> > 0x351e5000      /usr/lib/libc.so.4
> > 0x3527e000      /usr/X11R6/lib/libXcursor.so.1
> > 0x35287000      /usr/X11R6/lib/libXrender.so.1
> > 0x3528f000      /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2
> > 0x353a6000      /usr/local/jdk1.4.2/jre/lib/i386/libnet.so
> > 0x35b30000      /usr/local/jdk1.4.2/jre/lib/i386/libdcpr.so
> > 0x2804e000      /usr/libexec/ld-elf.so.1
> > 
> > Heap at VM Abort:
> > Heap
> >  def new generation   total 576K, used 94K [0x2c540000, 0x2c5e0000,
> > 0x2ca20000)
> >   eden space 512K,  10% used [0x2c540000, 0x2c54d738, 0x2c5c0000)
> >   from space 64K,  63% used [0x2c5c0000, 0x2c5ca2f8, 0x2c5d0000)
> >   to   space 64K,   0% used [0x2c5d0000, 0x2c5d0000, 0x2c5e0000)
> >  tenured generation   total 5136K, used 3472K [0x2ca20000, 0x2cf24000,
> > 0x3054000
> > 0)
> >    the space 5136K,  67% used [0x2ca20000, 0x2cd843f0, 0x2cd84400,
> > 0x2cf24000)
> >  compacting perm gen  total 15104K, used 14943K [0x30540000, 0x31400000,
> > 0x34540
> > 000)
> >    the space 15104K,  98% used [0x30540000, 0x313d7c90, 0x313d7e00,
> > 0x31400000)
> > 
> > Local Time = Fri Dec 19 11:39:50 2003
> > Elapsed Time = 18
> > #
> > # The exception above was detected in native code outside the VM
> > #
> > # Java VM: Java HotSpot(TM) Client VM (1.4.2-p5-root_17_dec_2003_16_42
> > mixed mod
> > e)
> > #
> > 
> > 
> > _______________________________________________
> > freebsd-java at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-java
> > To unsubscribe, send any mail to "freebsd-java-unsubscribe at freebsd.org"
> > 



More information about the freebsd-java mailing list