Date: Tue, 28 Sep 2004 22:40:31 GMT From: Dan Nelson <dnelson@allantgroup.com> To: freebsd-java@FreeBSD.org Subject: Re: java/72151: JVM crash on 5.2.1-R Message-ID: <200409282240.i8SMeV2Q020319@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR java/72151; it has been noted by GNATS. From: Dan Nelson <dnelson@allantgroup.com> To: Andrzej Bialecki <ab@getopt.org> Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: java/72151: JVM crash on 5.2.1-R Date: Tue, 28 Sep 2004 17:39:29 -0500 In the last episode (Sep 28), Dan Nelson said: > In the last episode (Sep 28), Andrzej Bialecki said: > > An unexpected exception has been detected in native code outside the VM. > > Unexpected Signal : 11 occurred at PC=0x28151624 > > Function=flockfile+0x24 > > Library=/lib/libc.so.5 > > > > Current Java thread: > > at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method) > > almost certainly trash each other. My quick hack is this, which > returns a DNS error if hostf ends up NULL. A better fix would be to > add a mutex around the DNS routines in > Inet4AddressImpl.lookupAllHostAddr. I'm wrong; the best fix would be thread-safe resolver routines in libc :) -- Dan Nelson dnelson@allantgroup.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409282240.i8SMeV2Q020319>