Customer login  |   Contact us
Home Company Products Support Purchase
Forum Home » Network Probe

Topic: Incompatibility with SUN Java 1.4.2_05
Replies: 6   Pages: 1   Last Post: Dec 9, 2004 8:28 AM by: Eivind Pedersen


Back to Topic List Back to Topic List
Replies: 6   Pages: 1  
cmarsot

Posts: 19
Registered: Mar 19, 2004
Incompatibility with SUN Java 1.4.2_05
Posted: Sep 27, 2004 11:17 AM
  Reply

Hi,

Netprobe 1.1.1 under linux does not work with Sun JAVA 1.4.2_05 ...
Anybody has the same problem ?

It works fine with Sun JAva 1.5 rc1.

Eivind Pedersen

Posts: 471
From: Oslo, Norway
Registered: Jun 11, 2002
Re: Incompatibility with SUN Java 1.4.2_05
Posted: Sep 27, 2004 1:16 PM
  Reply

Can you give a more detailed description of the error? I'm trying to reproduce the problem, but everything works fine on Red Hat with 1.4.2_05.
Is it a client or server problem?
Which Linux distribution do you have?

cmarsot

Posts: 19
Registered: Mar 19, 2004
Re: Incompatibility with SUN Java 5.0
Posted: Dec 7, 2004 10:55 AM
  Reply

Hi, sorry for the delay.

Yes everything is working fine with 1.4.2_05/06.
But problems with 5.0 ....

Here is the error:
[root@netprobe netprobe]# ./netprobe start -noip -eth1 -verbose
Starting Network Probe...
./netprobe: line 230: 2825 Aborted $JAVA_PATH/java -Xmx256m -classpath Probe.jar:$CLASSPATH com.objectplanet.probe.server.Probe $STARTUP_PARAMETERS </dev/null >>/var/log/networkprobe.log 2>&1
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#

Using Java 5.0 on Redhat 9.0


Message was edited by: cmarsot


Message was edited by: cmarsot


cmarsot

Posts: 19
Registered: Mar 19, 2004
Re: Incompatibility with SUN Java 5.0
Posted: Dec 7, 2004 10:57 AM
  Reply

Here the error log:

#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# SIGSEGV (0xb) at pc=0x417e1cec, pid=2825, tid=1073922176
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0-b64 mixed mode, sharing)
# Problematic frame:
# C [libdriverif.so+0x9cec] Java_com_objectplanet_probe_util_NativeCollection_getServiceName+0x44
#

--------------- T H R E A D ---------------

Current thread (0x0805ab48): JavaThread "main" [_thread_in_native, id=2825]

siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x567764c9

Registers:
EAX=0xbfffb878, EBX=0x6a32e8b0, ECX=0x7e8035b7, EDX=0x5677622d
ESP=0xbfffb868, EBP=0xbfffb8c0, ESI=0x6a32e8b0, EDI=0x0805ab48
EIP=0x417e1cec, CR2=0x567764c9, EFLAGS=0x00010282

Top of Stack: (sp=0xbfffb868)
0xbfffb868: bfffb87c bfffb878 bfffb8c0 417e1cba
0xbfffb878: 6345645b 5677622d 6a782d53 402d637d
0xbfffb888: 2d6a4a58 49573259 3256692d 6f782d45
0xbfffb898: 682d4e38 0a526f54 3256692d 6f782d45
0xbfffb8a8: 682d4e38 0a526f54 40366ae8 08149a98
0xbfffb8b8: 6a32e8b0 bfffb8bc bfffb8c0 417e1ccb
0xbfffb8c8: bfffb87c 0805ab48 bfffb8c0 417e1cba
0xbfffb8d8: bfffb918 6a32ec00 00000000 6a32e8b0

Instructions: (pc=0x417e1cec)
0x417e1cdc: 10 83 ec 08 8b 45 08 8b 10 8d 45 b8 50 ff 75 08
0x417e1cec: 8b 82 9c 02 00 00 ff d0 83 c4 10 89 c0 89 45 f4

Stack: [0xbfe00000,0xc0000000), sp=0xbfffb868, free space=2030k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libdriverif.so+0x9cec] Java_com_objectplanet_probe_util_NativeCollection_getServiceName+0x44

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.objectplanet.probe.util.NativeCollection.getServiceName()Ljava/lang/String;+-682937334
j com.objectplanet.probe.util.E.L()Ljava/lang/String;+0
j J.B.Z(Ljava/lang/StringLjava/lang/String;+17
j com.objectplanet.probe.server.B.<init>(Lcom/objectplanet/probe/server/D;Lcom/objectplanet/probe/server/D;LJ/BV+51
j com.objectplanet.probe.server.D.<init>(LJ/B;I)V+554
j com.objectplanet.probe.server.Probe.<init>(Lcom/objectplanet/probe/server/GV+297
j com.objectplanet.probe.server.Probe.main([Ljava/lang/StringV+130
v ~StubRoutines::call_stub

--------------- P R O C E S S ---------------

Java Threads: ( => current thread )
0x0809f098 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=2832]
0x0809d9d0 JavaThread "CompilerThread0" daemon [_thread_blocked, id=2831]
0x0809cad0 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2830]
0x080985f0 JavaThread "Finalizer" daemon [_thread_blocked, id=2829]
0x08097900 JavaThread "Reference Handler" daemon [_thread_blocked, id=2828]
=>0x0805ab48 JavaThread "main" [_thread_in_native, id=2825]

Other Threads:
0x08094e28 VMThread [id=2827]
0x080a0528 WatcherThread [id=2833]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
def new generation total 576K, used 510K [0x5a300000, 0x5a3a0000, 0x5b6b0000)
eden space 512K, 87% used [0x5a300000, 0x5a36f980, 0x5a380000)
from space 64K, 100% used [0x5a390000, 0x5a3a0000, 0x5a3a0000)
to space 64K, 0% used [0x5a380000, 0x5a380000, 0x5a390000)
tenured generation total 1408K, used 95K [0x5b6b0000, 0x5b810000, 0x6a300000)
the space 1408K, 6% used [0x5b6b0000, 0x5b6c7ef0, 0x5b6c8000, 0x5b810000)
compacting perm gen total 8192K, used 187K [0x6a300000, 0x6ab00000, 0x6e300000)
the space 8192K, 2% used [0x6a300000, 0x6a32ecb8, 0x6a32ee00, 0x6ab00000)
ro space 8192K, 64% used [0x6e300000, 0x6e825e00, 0x6e825e00, 0x6eb00000)
rw space 12288K, 47% used [0x6eb00000, 0x6f0ada98, 0x6f0adc00, 0x6f700000)

Dynamic libraries:
08048000-08056000 r-xp 00000000 03:05 32996 /usr/local/jre1.5.0/bin/java
08056000-08058000 rw-p 0000e000 03:05 32996 /usr/local/jre1.5.0/bin/java
08058000-08171000 rwxp 00000000 00:00 0
40000000-40015000 r-xp 00000000 03:02 67322 /lib/ld-2.3.2.so
40015000-40016000 rw-p 00015000 03:02 67322 /lib/ld-2.3.2.so
40016000-40017000 r--p 00000000 00:00 0
40017000-40019000 r--s 00000000 03:05 140 /usr/local/jre1.5.0/lib/ext/dnsns.jar
40019000-4001a000 rw-p 00000000 00:00 0
4001a000-40025000 r-xp 00000000 03:02 77526 /lib/tls/libpthread-0.34.so
40025000-40026000 rw-p 0000a000 03:02 77526 /lib/tls/libpthread-0.34.so
40026000-40028000 rw-p 00000000 00:00 0
40028000-4002b000 r-xp 00000000 03:02 67335 /lib/libdl-2.3.2.so
4002b000-4002c000 rw-p 00002000 03:02 67335 /lib/libdl-2.3.2.so
4002c000-4002d000 rw-p 00000000 00:00 0
4002d000-4034c000 r-xp 00000000 03:05 161257 /usr/local/jre1.5.0/lib/i386/client/libjvm.so
4034c000-4036a000 rw-p 0031e000 03:05 161257 /usr/local/jre1.5.0/lib/i386/client/libjvm.so
4036a000-4077f000 rw-p 00000000 00:00 0
4077f000-407a0000 r-xp 00000000 03:02 77524 /lib/tls/libm-2.3.2.so
407a0000-407a1000 rw-p 00020000 03:02 77524 /lib/tls/libm-2.3.2.so
407a1000-407a7000 r-xp 00000000 03:05 304941 /usr/local/jre1.5.0/lib/i386/native_threads/libhpi.so
407a7000-407a8000 rw-p 00006000 03:05 304941 /usr/local/jre1.5.0/lib/i386/native_threads/libhpi.so
407ab000-407bd000 r-xp 00000000 03:02 67339 /lib/libnsl-2.3.2.so
407bd000-407be000 rw-p 00011000 03:02 67339 /lib/libnsl-2.3.2.so
407be000-407c0000 rw-p 00000000 00:00 0
407c0000-407cb000 r-xp 00000000 03:02 67355 /lib/libnss_files-2.3.2.so
407cb000-407cc000 rw-p 0000a000 03:02 67355 /lib/libnss_files-2.3.2.so
407cc000-407d4000 rw-s 00000000 03:08 4098 /tmp/hsperfdata_root/2825
407d4000-407df000 r-xp 00000000 03:05 304951 /usr/local/jre1.5.0/lib/i386/libverify.so
407df000-407e0000 rw-p 0000b000 03:05 304951 /usr/local/jre1.5.0/lib/i386/libverify.so
407e0000-40801000 r-xp 00000000 03:05 304953 /usr/local/jre1.5.0/lib/i386/libjava.so
40801000-40803000 rw-p 00020000 03:05 304953 /usr/local/jre1.5.0/lib/i386/libjava.so
40803000-40816000 r-xp 00000000 03:05 304955 /usr/local/jre1.5.0/lib/i386/libzip.so
40816000-40818000 rw-p 00012000 03:05 304955 /usr/local/jre1.5.0/lib/i386/libzip.so
40818000-40880000 rw-p 00000000 00:00 0
40880000-408f9000 r--s 00000000 03:05 161293 /usr/local/jre1.5.0/lib/jsse.jar
408f9000-4090d000 r--s 00000000 03:05 161260 /usr/local/jre1.5.0/lib/jce.jar
4090d000-4112b000 r--s 00000000 03:05 161294 /usr/local/jre1.5.0/lib/charsets.jar
4112b000-412fa000 rwxp 00001000 00:00 0
412fa000-412fb000 ---p 001d0000 00:00 0
412fb000-4137b000 rwxp 001d1000 00:00 0
4137b000-4137e000 ---p 00251000 00:00 0
4137e000-413fc000 rwxp 00254000 00:00 0
413fc000-413ff000 ---p 002d2000 00:00 0
413ff000-4147d000 rwxp 002d5000 00:00 0
4147d000-41480000 ---p 00353000 00:00 0
41480000-414fe000 rwxp 00356000 00:00 0
414fe000-41501000 ---p 003d4000 00:00 0
41501000-4157f000 rwxp 003d7000 00:00 0
4157f000-41582000 ---p 00455000 00:00 0
41582000-41600000 rwxp 00458000 00:00 0
41600000-41601000 ---p 004d6000 00:00 0
41601000-41681000 rwxp 004d7000 00:00 0
41681000-416a7000 r--s 00000000 03:05 138 /usr/local/jre1.5.0/lib/ext/sunjce_provider.jar
416a7000-416d2000 r--s 00000000 03:05 139 /usr/local/jre1.5.0/lib/ext/sunpkcs11.jar
416d2000-41795000 r--s 00000000 03:05 191 /usr/local/jre1.5.0/lib/ext/localedata.jar
41795000-417c3000 r--s 00000000 03:05 209347 /usr/local/bin/netprobe-1.1.1/Probe.jar
417c3000-417d7000 r-xp 00000000 03:05 304958 /usr/local/jre1.5.0/lib/i386/libnet.so
417d7000-417d8000 rw-p 00013000 03:05 304958 /usr/local/jre1.5.0/lib/i386/libnet.so
417d8000-417f7000 r-xp 00000000 03:05 161253 /usr/local/bin/netprobe-1.1.1/driver/linux/libdriverif.so
417f7000-417f8000 rw-p 0001f000 03:05 161253 /usr/local/bin/netprobe-1.1.1/driver/linux/libdriverif.so
417f8000-417f9000 rw-p 00000000 00:00 0
42000000-42130000 r-xp 00000000 03:02 77522 /lib/tls/libc-2.3.2.so
42130000-42133000 rw-p 00130000 03:02 77522 /lib/tls/libc-2.3.2.so
42133000-42136000 rw-p 00000000 00:00 0
42136000-442f1000 r--s 00000000 03:05 161302 /usr/local/jre1.5.0/lib/rt.jar
442f1000-462f1000 rwxp 00028000 00:00 0
5a300000-6e300000 rwxp 160d7000 00:00 0
6e300000-6e826000 r--s 00001000 03:05 161292 /usr/local/jre1.5.0/lib/i386/client/classes.jsa
6e826000-6eb00000 rwxp 2a5fd000 00:00 0
6eb00000-6f0ae000 rw-p 00527000 03:05 161292 /usr/local/jre1.5.0/lib/i386/client/classes.jsa
6f0ae000-6f700000 rwxp 2ae85000 00:00 0
6f700000-6f7ca000 rw-p 00ad5000 03:05 161292 /usr/local/jre1.5.0/lib/i386/client/classes.jsa
6f7ca000-6fb00000 rwxp 2b5a1000 00:00 0
6fb00000-6fb04000 r-xs 00b9f000 03:05 161292 /usr/local/jre1.5.0/lib/i386/client/classes.jsa
6fb04000-6ff00000 rwxp 2b8db000 00:00 0
bfe00000-bfe03000 ---p 00000000 00:00 0
bfe03000-c0000000 rwxp ffe04000 00:00 0

VM Arguments:
jvm_args: -Xmx256m
java_command: com.objectplanet.probe.server.Probe -Xmx819m -noip eth1 -verbose

Environment Variables:
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin/X11:/usr/X11R6/bin:/root/bin
USERNAME=root
LD_LIBRARY_PATH=/usr/local/jre1.5.0/lib/i386/client:/usr/local/jre1.5.0/lib/i386:/usr/local/jre1.5.0/../lib/i386
SHELL=/bin/bash


--------------- S Y S T E M ---------------

OS:Red Hat Linux release 9 (Shrike)

uname:Linux 2.4.20-31.9 #1 Tue Apr 13 18:04:23 EDT 2004 i686
libc:glibc 2.3.2 NPTL 0.34
rlimit: STACK 8192k, CORE 0k, NPROC 7168, NOFILE 1024, AS infinity
load average:0.20 0.15 0.05

CPU:total 1 family 15, cmov, cx8, fxsr, mmx, sse, sse2, ht

Memory: 4k page, physical 1029364k(794252k free), swap 514072k(514072k free)

vm_info: Java HotSpot(TM) Client VM (1.5.0-b64) for linux-x86, built on Sep 15 2004 03:56:41 by java_re with gcc 3.2.1-7a
(J2SE release)

Eivind Pedersen

Posts: 471
From: Oslo, Norway
Registered: Jun 11, 2002
Re: Incompatibility with SUN Java 5.0
Posted: Dec 7, 2004 1:20 PM
  Reply

Does this happen if you start it without the script?
java -jar Probe.jar -noip eth0

cmarsot

Posts: 19
Registered: Mar 19, 2004
Re: Incompatibility with SUN Java 5.0
Posted: Dec 7, 2004 1:54 PM
  Reply

Without the script, everything is working fine ...

Eivind Pedersen

Posts: 471
From: Oslo, Norway
Registered: Jun 11, 2002
Re: Incompatibility with SUN Java 5.0
Posted: Dec 9, 2004 8:28 AM
  Reply

I'm struggling hard to reproduce the error.
Does it happen every time you launch the script? And only if you use the "-noip" parameter?

By the way, the correct syntax is:
./netprobe start -noip eth1

If you still have problems, please send me your netprobe script (perhaps you've changed some lines).



© 1998-2018 ObjectPlanet, Inc. Øvre Slottsgate 5, 0157 Oslo, Norway Tel (+47) 2233 3360 | Fax (+47) 2233 3361