JVM errors

Hi,

I am getting the following error when I execute the a particular query that returns 34 records. However, each row has lots of columns. If I reduce the number of rows or the number of columns the error goes away.

I do not get this error on Windows XP, even when I don't reduce the number of rows/columns. (java version "1.5.0_09")

Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_09-b01)

Java HotSpot(TM) Client VM (build 1.5.0_09-b01, mixed mode)

Only on Linux.(1.5.0_06-b05)

Linux <machine-name> 2.6.9-34.ELsmp #1 SMP

I researched a little. At least one page was said that this could be a JVM bug.

Any help is appreciated.

Thanks,

vk79

#

# An unexpected error has been detected by HotSpot Virtual Machine:

#

# SIGSEGV (0xb) at pc=0xb79dfcd1, pid=18422, tid=766794672

#

# Java VM: Java HotSpot(TM) Server VM (1.5.0_06-b05 mixed mode)

# Problematic frame:

# V [libjvm.so+0x3c9cd1]

#

# An error report file with more information is saved as hs_err_pid18422.log

#

# If you would like to submit a bug report, please visit:

#http://java.sun.com/webapps/bugreport/crash.jsp

#

T H R E A D

Current thread (0x0812a510): JavaThread"CompilerThread1" daemon [_thread_in_native, id=18435]

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

Registers:

EAX=0x00000000, EBX=0xb7bc17f0, ECX=0x2db43e50, EDX=0x1e5d0150

ESP=0x2db43dc4, EBP=0x2db43de8, ESI=0x1e57b998, EDI=0x2db43e50

EIP=0xb79dfcd1, CR2=0x00000000, EFLAGS=0x00010212

Top of Stack: (sp=0x2db43dc4)

0x2db43dc4:2db44400 2db44410 b79dfc16 1eb504b4

0x2db43dd4:1eb504a0 2db43e08 b7bc17f0 1e57b998

0x2db43de4:1e57b954 2db43e18 b79dfd75 1e57bee4

0x2db43df4:1e5d0150 1e57bee4 2db43e50 1e57bf58

0x2db43e04:1eb505a0 1e57b954 b7bc17f0 1e57bee4

0x2db43e14:00000000 2db43e78 b79e0258 1e57bee4

0x2db43e24:1e57b998 1e57bee4 2db43e50 0000003f

0x2db43e34:1eb50464 2db43e78 b7a64bf1 1eb505a0

Instructions: (pc=0xb79dfcd1)

0xb79dfcc1:10 eb de 31 c0 eb 8e 8b 42 04 83 ec 0c 8b 40 08

0xb79dfcd1:8b 08 50 ff 51 28 83 c4 10 e9 48 ff ff ff 90 55

Stack: [0x2dac5000,0x2db46000), sp=0x2db43dc4, free space=507k

Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)

V [libjvm.so+0x3c9cd1]

V [libjvm.so+0x3c9d75]

V [libjvm.so+0x3ca258]

V [libjvm.so+0x4511fd]

V [libjvm.so+0x450e90]

V [libjvm.so+0x19e432]

V [libjvm.so+0x1474b3]

V [libjvm.so+0x1a6929]

V [libjvm.so+0x1a6281]

V [libjvm.so+0x4c8366]

V [libjvm.so+0x4c2ba3]

V [libjvm.so+0x424338]

C [libpthread.so.0+0x5371]

Current CompileTask:

opto:932 s!org.jacorb.orb.Delegate.request(Lorg/omg/CORBA/Object;Ljava/lang/String;Z)Lorg/omg/CORBA/portable/OutputStream; (259 bytes)

P R O C E S S

Java Threads: ( => current thread )

0x082ddcb0 JavaThread"...

...

Other Threads:

0x08118880 VMThread [id=18428]

0x0812cec8 WatcherThread [id=18437]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap

PSYoungGentotal 191936K, used 50565K [0xa46a0000, 0xb2a20000, 0xb2a20000)

eden space 161664K, 31% used [0xa46a0000,0xa78016c8,0xae480000)

from space 30272K, 0% used [0xae480000,0xae480000,0xb0210000)

tospace 39936K, 0% used [0xb0320000,0xb0320000,0xb2a20000)

PSOldGentotal 290880K, used 123585K [0x32a20000, 0x44630000, 0xa46a0000)

object space 290880K, 42% used [0x32a20000,0x3a2d05e8,0x44630000)

PSPermGentotal 41216K, used 23627K [0x2ea20000, 0x31260000, 0x32a20000)

object space 41216K, 57% used [0x2ea20000,0x30132e80,0x31260000)

...

S Y S T E M

OS:Red Hat Enterprise Linux AS release 4 (Nahant Update 3)

uname:Linux 2.6.9-34.ELsmp #1 SMP Fri Feb 24 16:54:53 EST 2006 i686

libc:glibc 2.3.4 NPTL 2.3.4

rlimit: STACK 10240k, CORE 0k, NPROC 138239, NOFILE 1024, AS infinity

load average:4.93 3.08 1.54

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

Memory: 4k page, physical 2013k(50k free), swap 1023k(305k free)

vm_info: Java HotSpot(TM) Server VM (1.5.0_06-b05)for linux-x86, built on Nov 10 2005 10:56:33 by java_re with gcc 3.2.1-7a (J2SE release)

[4672 byte] By [vk79a] at [2007-11-26 16:16:06]
# 1
I would try updating the jdk on your linux box.. windows is using a newer version.Also which Linux version is this?
gcollins1a at 2007-7-8 22:39:10 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 2
Also, on windows you are using client vm.. Try using -client as a java arg on your linux box.. Lets us know if the issue goes away.
gcollins1a at 2007-7-8 22:39:10 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 3

I cannot update the Linux machine JDK. Don't have rights.

Also, the client is launched from the Linux box via Tomcat, so client and server use the same JDK.

> cat /proc/version

Linux version 2.6.9-34.ELsmp (bhcompile@hs20-bc1-7.build.redhat.com) (gcc version 3.4.5 20051201 (Red Hat 3.4.5-2)) #1 SMP Fri Feb 24 16:54:53 EST 2006

Here is my set-up, sort-of:

Windows client <-> Windows server

Linux client <-> Linux server

I could try to get my Windows client to talk to Linux server, but it's been a while since I tried that. Let me give it a shot. Theoretically, should get the same error in the Windows client.

vk79a at 2007-7-8 22:39:10 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 4

This is the bug 6346871 which is fixed in 1.5.0_07. You can either upgrade to update 7 or disable the problematic code with -XX:-EliminateLocks.

tom

Stack: [0x2dac5000,0x2db46000), sp=0x2db43dc4, free space=507k

Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)

V [libjvm.so+0x3c9cd1];; _ZN16AbstractLockNode20find_matching_unlockEPK10RegionNodeP12FastLockNodeR13Growabl

eArrayIPS_E+0xd1

V [libjvm.so+0x3c9d75];; _ZN16AbstractLockNode31find_lock_and_unlock_through_ifEP4NodeP12FastLockNodeR13Grow

ableArrayIPS_E+0x95

V [libjvm.so+0x3ca258];; _ZN12FastLockNode5IdealEP8PhaseGVNi+0x2e8

V [libjvm.so+0x4511fd];; _ZN12PhaseIterGVN13transform_oldEP4Node+0x3d

V [libjvm.so+0x450e90];; _ZN12PhaseIterGVN8optimizeEv+0xd0

V [libjvm.so+0x19e432];; _ZN7CompileC1EP5ciEnvP10C2CompilerP8ciMethodii+0x672

V [libjvm.so+0x1474b3];; _ZN10C2Compiler14compile_methodEP5ciEnvP8ciMethodi+0x93

V [libjvm.so+0x1a6929];; _ZN13CompileBroker25invoke_compiler_on_methodEP11CompileTask+0x2a9

V [libjvm.so+0x1a6281];; _ZN13CompileBroker20compiler_thread_loopEv+0x2f1

V [libjvm.so+0x4c8366];; _Z21compiler_thread_entryP10JavaThreadP6Thread+0x16

V [libjvm.so+0x4c2ba3];; _ZN10JavaThread3runEv+0x133

V [libjvm.so+0x424338];; _Z6_startP6Thread+0x178

C [libpthread.so.0+0x5371]

neverevera at 2007-7-8 22:39:10 > top of Java-index,Java HotSpot Virtual Machine,Specifications...