JDK-4729122 : JVM fails with Access Violation in -server mode gives hotspot error
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 1.4.0_01
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_nt
  • CPU: x86
  • Submitted: 2002-08-09
  • Updated: 2002-08-19
  • Resolved: 2002-08-19
Related Reports
Duplicate :  
Description
We are running performance tests of the Sentences product using J2SE version 1.4.0_01, and Windows NT Server (will soon upgrade to Windows 2000). The hardware is a dual-processor 1GHz Dell server. Our current focus is to understand the importance of JVM parameters on Sentences performance. One option in particular is "-server", which offers significant benefits for a large server application such as ours. 

When we were still using Java 1.3.1, the combination of "-server" and two processors was unstable. We had a number of intermittent and unpredictable errors, which is why we upgraded to Java 1.4.0_01. Using this, the previous errors disappeared, and we were happy to recommend this combination to our customers.

This week, a data load program failed with a JVM error using Java 1.4.0_01 with the -server option. 

Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x6D5459EA
Function=JVM_RegisterUnsafeMethods+0x19AEA
Library=C:\j2sdk1.4.0_01\jre\bin\server\jvm.dll

Current Java thread:
        at com.sentences.db.w.Hd(Unknown Source)
        at com.sentences.profile.distribution.di.Jk(Unknown Source)
        at com.sentences.profile.distribution.di.Ek(Unknown Source)
        at com.sentences.profile.distribution.pi.Ad(Unknown Source)
        at com.sentences.base.zr.hasNext(Unknown Source)
        at com.sentences.profile.distribution.ai.Qk(Unknown Source)
        at com.sentences.profile.distribution.ai.<init>(Unknown Source)
        at com.sentences.profile.distribution.ii.nm(Unknown Source)
        at com.sentences.profile.pl.Nq(Unknown Source)
        at com.sentences.server.things.gw.gbd(Unknown Source)
        at com.sentences.server.things.gw.fbd(Unknown Source)
        at com.sentences.server.things.zu.getByName(Unknown Source)
        at com.sentences.server.things.zu.getByName(Unknown Source)
        at com.sentences.server.things.zu.getOrCreateInstance(Unknown Source)
        at com.sentences.export.jo.JM(Unknown Source)
        at com.sentences.export.ImportCSV.OQ(Unknown Source)
        at com.sentences.export.ImportCSV.zQ(Unknown Source)
        at com.sentences.export.ImportCSV.yQ(Unknown Source)
        at com.sentences.export.ImportCSV.main(Unknown Source)

Dynamic libraries:
0x00400000 - 0x00406000         C:\j2sdk1.4.0_01\jre\bin\java.exe
0x77F60000 - 0x77FBE000         C:\WINNT\System32\ntdll.dll
0x77DC0000 - 0x77DFF000         C:\WINNT\system32\ADVAPI32.dll
0x77F00000 - 0x77F5E000         C:\WINNT\system32\KERNEL32.dll
0x77E70000 - 0x77EC5000         C:\WINNT\system32\USER32.dll
0x77ED0000 - 0x77EFC000         C:\WINNT\system32\GDI32.dll
0x77E10000 - 0x77E67000         C:\WINNT\system32\RPCRT4.dll
0x78000000 - 0x78044000         C:\WINNT\system32\MSVCRT.dll
0x6D450000 - 0x6D6AD000         C:\j2sdk1.4.0_01\jre\bin\server\jvm.dll
0x77FD0000 - 0x77FFA000         C:\WINNT\System32\WINMM.dll
0x6D1D0000 - 0x6D1D7000         C:\j2sdk1.4.0_01\jre\bin\hpi.dll
0x6D300000 - 0x6D30D000         C:\j2sdk1.4.0_01\jre\bin\verify.dll
0x6D210000 - 0x6D228000         C:\j2sdk1.4.0_01\jre\bin\java.dll
0x6D320000 - 0x6D32D000         C:\j2sdk1.4.0_01\jre\bin\zip.dll
0x6D2D0000 - 0x6D2DD000         C:\j2sdk1.4.0_01\jre\bin\net.dll
0x776D0000 - 0x776D8000         C:\WINNT\system32\WSOCK32.dll
0x776B0000 - 0x776C4000         C:\WINNT\system32\WS2_32.dll
0x776A0000 - 0x776A7000         C:\WINNT\system32\WS2HELP.dll
0x74FF0000 - 0x74FFE000         C:\WINNT\System32\rnr20.dll
0x77BF0000 - 0x77BF7000         C:\WINNT\System32\rpcltc1.dll
0x76AC0000 - 0x76ADD000         C:\WINNT\System32\imagehlp.dll
0x71DC0000 - 0x71DCA000         C:\WINNT\System32\PSAPI.DLL

Local Time = Mon Aug 05 15:58:22 2002
Elapsed Time = 31
#
# HotSpot Virtual Machine Error : EXCEPTION_ACCESS_VIOLATION
# Error ID : 4F530E43505002D5
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Java VM: Java HotSpot(TM) Server VM (1.4.0_01-b03 mixed mode)
#

Comments
EVALUATION Bug has not reproduced for customer and no core file or detailed stack information is available. CTE's map file indicates that the reported failure may come from one of the following methods: methodDataOopDesc::bci_to_dp(int bci) methodDataOopDesc::data_before(int bci) This is consistent with being a duplicate of 4509816 so I'm contacting the engineers that have worked on 4509816. ###@###.### 2002-08-16 The fix for this problem is described in 4742833. The crash results from an infrequent timing sequence when a garbage collection occurs during the lock in RetData::fixup_ret(int bci), while executing the interpreter, and relocated the MethodDataOopDesc. ###@###.### 2002-09-13
13-09-2002