This is an internal JVM error. It doesn't appear to be an OutOfMemoryException. I would suggest talking to Sun about this one. You may also want to upgrade to a newer JVM.
Mike
On Friday, October 24, 2003, at 01:13 PM, [EMAIL PROTECTED] wrote:
Hi all,
I am not sure this is the right context for my question..If it's not, feel free to ignore it.
I received a 'strange' error message from java VM while I was executing an application which involved 500 threads running httpclient in multithread mode on a standard pc. Each thread was executing several http requests in sequence.
I am not very fond of java, anyway it seems to me that the problem could have been generated by an OutOfMemoryException thrown by httpclient. I can't show you a log but the exception was actually thrown at run-time. If there are any clues suggesting that the problem could lie in the httpclient instead of being a consequence of a memory shortage, please let me know.
Here is the message i got:
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x4D53F0DA
Function=Java_java_net_Inet4AddressImpl_lookupAllHostAddr+0x76
Library=/usr/java/j2sdk1.4.1_02/jre/lib/i386/libnet.so
Current Java thread:
at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method)
at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:718)
at java.net.InetAddress.getAddressFromNameService(InetAddress.java:996)
at java.net.InetAddress.getAllByName0(InetAddress.java:946)
at java.net.InetAddress.getAllByName0(InetAddress.java:918)
at java.net.InetAddress.getAllByName(InetAddress.java:912)
at java.net.InetAddress.getByName(InetAddress.java:832)
at java.net.InetSocketAddress.<init>(InetSocketAddress.java:109)
at java.net.Socket.<init>(Socket.java:119)
at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.cre ateSocket(DefaultProtocolSocketFactory.java:105)
at org.apache.commons.httpclient.HttpConnection$1.doit(HttpConnection.java :614)
at org.apache.commons.httpclient.HttpConnection$SocketTask.run(HttpConnect ion.java:1202)
at java.lang.Thread.run(Thread.java:536)
Dynamic libraries:
08048000-0804e000 r-xp 00000000 03:02 3916052 /usr/java/j2sdk1.4.1_02/bin/java
0804e000-0804f000 rw-p 00005000 03:02 3916052 /usr/java/j2sdk1.4.1_02/bin/java
40000000-40013000 r-xp 00000000 03:02 3817582 /lib/ld-2.3.2.so
40013000-40014000 rw-p 00013000 03:02 3817582 /lib/ld-2.3.2.so
40014000-4001d000 r-xp 00000000 03:02 3850550 /usr/java/j2sdk1.4.1_02/jre/lib/i386/native_threads/libhpi.so
4001d000-4001e000 rw-p 00008000 03:02 3850550 /usr/java/j2sdk1.4.1_02/jre/lib/i386/native_threads/libhpi.so
4001f000-40022000 r--s 00000000 03:02 4407517 /usr/java/j2sdk1.4.1_02/jre/lib/ext/dnsns.jar
40022000-40028000 r--s 00000000 03:02 4407540 /usr/java/j2sdk1.4.1_02/jre/lib/ext/commons-logging-api.jar
40028000-40035000 r-xp 00000000 03:02 32774 /lib/i686/libpthread-0.10.so
40035000-40038000 rw-p 0000d000 03:02 32774 /lib/i686/libpthread-0.10.so
40079000-4007b000 r-xp 00000000 03:02 3817486 /lib/libdl-2.3.2.so
4007b000-4007c000 rw-p 00002000 03:02 3817486 /lib/libdl-2.3.2.so
4007c000-40394000 r-xp 00000000 03:02 1884313 /usr/java/j2sdk1.4.1_02/jre/lib/i386/client/libjvm.so
40394000-40578000 rw-p 00317000 03:02 1884313 /usr/java/j2sdk1.4.1_02/jre/lib/i386/client/libjvm.so
40589000-4059c000 r-xp 00000000 03:02 3817490 /lib/libnsl-2.3.2.so
4059c000-4059d000 rw-p 00012000 03:02 3817490 /lib/libnsl-2.3.2.so
4059f000-405c0000 r-xp 00000000 03:02 32772 /lib/i686/libm-2.3.2.so
405c0000-405c1000 rw-p 00021000 03:02 32772 /lib/i686/libm-2.3.2.so
405c1000-405d1000 r-xp 00000000 03:02 737526 /usr/java/j2sdk1.4.1_02/jre/lib/i386/libverify.so
405d1000-405d3000 rw-p 0000f000 03:02 737526 /usr/java/j2sdk1.4.1_02/jre/lib/i386/libverify.so
405d3000-405f4000 r-xp 00000000 03:02 737514 /usr/java/j2sdk1.4.1_02/jre/lib/i386/libjava.so
405f4000-405f6000 rw-p 00020000 03:02 737514 /usr/java/j2sdk1.4.1_02/jre/lib/i386/libjava.so
405f6000-4060b000 r-xp 00000000 03:02 737527 /usr/java/j2sdk1.4.1_02/jre/lib/i386/libzip.so
4060b000-4060d000 rw-p 00014000 03:02 737527 /usr/java/j2sdk1.4.1_02/jre/lib/i386/libzip.so
4060d000-41cdc000 r--s 00000000 03:02 1229056 /usr/java/j2sdk1.4.1_02/jre/lib/rt.jar
41d1f000-41d36000 r--s 00000000 03:02 1229057 /usr/java/j2sdk1.4.1_02/jre/lib/sunrsasign.jar
41d36000-41da7000 r--s 00000000 03:02 1229050 /usr/java/j2sdk1.4.1_02/jre/lib/jsse.jar
41da7000-41dba000 r--s 00000000 03:02 1229049 /usr/java/j2sdk1.4.1_02/jre/lib/jce.jar
41fe4000-41ff2000 r--s 00000000 03:02 4407518 /usr/java/j2sdk1.4.1_02/jre/lib/ext/ldapsec.jar
41ff2000-41ff9000 r--s 00000000 03:02 4407755 /usr/java/j2sdk1.4.1_02/jre/lib/ext/dom.jar
41ff9000-42000000 r--s 00000000 03:02 4407542 /usr/java/j2sdk1.4.1_02/jre/lib/ext/jaxp-api.jar
42000000-42134000 r-xp 00000000 03:02 32831 /lib/i686/libc-2.3.2.so
42134000-42139000 rw-p 00134000 03:02 32831 /lib/i686/libc-2.3.2.so
4213b000-423f7000 r--s 00000000 03:02 1229037 /usr/java/j2sdk1.4.1_02/jre/lib/charsets.jar
443f7000-443ff000 r--s 00000000 03:02 4407541 /usr/java/j2sdk1.4.1_02/jre/lib/ext/commons-logging.jar
4c481000-4c681000 r--p 00000000 03:02 475719 /usr/lib/locale/locale-archive
4c681000-4c68c000 r-xp 00000000 03:02 3817506 /lib/libnss_files-2.3.2.so
4c68c000-4c68d000 rw-p 0000a000 03:02 3817506 /lib/libnss_files-2.3.2.so
4c891000-4c930000 r--s 00000000 03:02 4407519 /usr/java/j2sdk1.4.1_02/jre/lib/ext/localedata.jar
4c930000-4c9d2000 r--s 00000000 03:02 4407463 /usr/java/j2sdk1.4.1_02/jre/lib/ext/handle.jar
4c9d2000-4c9ef000 r--s 00000000 03:02 4407520 /usr/java/j2sdk1.4.1_02/jre/lib/ext/sunjce_provider.jar
4c9ef000-4caca000 r--s 00000000 03:02 115139 /usr/java/j2sdk1.4.1_02/jre/lib/ext/xercesImpl.jar
4caca000-4cb1a000 r--s 00000000 03:02 4407538 /usr/java/j2sdk1.4.1_02/jre/lib/ext/mail.jar
4cb1a000-4cb50000 r--s 00000000 03:02 1720799 /usr/java/j2sdk1.4.1_02/jre/lib/ext/commons-httpclient.jar
4cb50000-4cba7000 r--s 00000000 03:02 4407759 /usr/java/j2sdk1.4.1_02/jre/lib/ext/log4j-1.2.8.jar
4cba7000-4cbce000 r--s 00000000 03:02 4260263 /usr/java/j2sdk1.4.1_02/jre/lib/ext/medra.jar
4cbce000-4cbd5000 r--s 00000000 03:02 4407543 /usr/java/j2sdk1.4.1_02/jre/lib/ext/sax.jar
4cbd5000-4ce5b000 r--s 00000000 03:02 4407545 /usr/java/j2sdk1.4.1_02/jre/lib/ext/xalan.jar
4ce5b000-4ce69000 r--s 00000000 03:02 4407544 /usr/java/j2sdk1.4.1_02/jre/lib/ext/activation.jar
4ce69000-4cf34000 r--s 00000000 03:02 3866953 /home/fabio/ed2k/ed2k_1.1.2.jar
4cf34000-4d4b1000 r--s 00000000 03:02 3866958 /home/fabio/java_scratch/WKNDZ3HJ.ZIP
4d4b1000-4d4b9000 r--s 00000000 03:02 213241 /usr/java/servlet-2_3-fcs-classfiles.zip
4d53a000-4d54a000 r-xp 00000000 03:02 737523 /usr/java/j2sdk1.4.1_02/jre/lib/i386/libnet.so
4d54a000-4d54c000 rw-p 0000f000 03:02 737523 /usr/java/j2sdk1.4.1_02/jre/lib/i386/libnet.so
4dbd9000-4dbdf000 r--s 00000000 03:02 4915387 /usr/lib/gconv/gconv-modules.cache
4e805000-4e810000 r-xp 00000000 03:02 3817514 /lib/libnss_nisplus-2.3.2.so
4e810000-4e811000 rw-p 0000a000 03:02 3817514 /lib/libnss_nisplus-2.3.2.so
4e811000-4e814000 r-xp 00000000 03:02 3817503 /lib/libnss_dns-2.3.2.so
4e814000-4e815000 rw-p 00003000 03:02 3817503 /lib/libnss_dns-2.3.2.so
4e815000-4e824000 r-xp 00000000 03:02 3817518 /lib/libresolv-2.3.2.so
4e824000-4e825000 rw-p 0000f000 03:02 3817518 /lib/libresolv-2.3.2.so
Local Time = Fri Oct 24 17:48:22 2003 Elapsed Time = 459 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) #
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]