Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Dec 2003 17:23:32 +0200
From:      Alexey Zelkin <phantom@FreeBSD.org.ua>
To:        Sebastiaan van Erk <sebster@sebster.com>
Cc:        freebsd-java@freebsd.org
Subject:   Re: bug report jdk1.4.2
Message-ID:  <20031219152332.GA25641@phantom.cris.net>
In-Reply-To: <1071830891.66714.3.camel@blauwoor.sebster.com>
References:  <1071830891.66714.3.camel@blauwoor.sebster.com>

next in thread | previous in thread | raw e-mail | index | archive | help
hi,

It was reported already.  Can you please try '-Djava.net.preferIPv4Stack=true'
command line switch while executing java ?  Error should not appear in this
case.

If java still fail -- notice me urgently!

On Fri, Dec 19, 2003 at 11:48:11AM +0100, Sebastiaan van Erk wrote:
> 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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-java
> To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org"



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