Name: krT82822 Date: 02/03/2000
java version "1.3.0rc1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0rc1-T)
Java HotSpot(TM) Client VM (build 1.3.0rc1-S, mixed mode)
I am the developer of [two products that]
use the JVMPI (profiling interface) to gather data about Java programs
while they're running. When I use these programs on Windows 2000, the JVM
crashes with an access violation.
I start java with "java -XrunOurJVMPI:Mode TestClass" [product references removed] and my library
(OurJVMPI.dll) loads and initializes. Then, inside the JVM before any Java code
has executed (as far as I can tell), the java.exe process crashes. According to
the Windows 2000 DrWatson system, it was exception number c0000005 (access
violation). This is the DrWatson stack traceback:
FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name
0006FC10 50425224 00000002 00000000 50424A4F 0697ECF8 !JVM_FindSignal
0006FC48 50447CDA 0006FCF8 00000000 78025147 00000000 !JVM_FindSignal
0006FCB8 5041730E 002351B0 0006FCF8 78025147 0006FCF8 !JVM_FindSignal
0006FCCC 00401A8D 0006FF28 0006FF48 0006FCE8 00000000 !JNI_CreateJavaVM
0006FCF8 00401277 0006FF28 0006FF48 0006FF20 00000000 !<nosymbols>
0006FF4C 004026F2 00000000 00232478 00232AE8 00404000 !<nosymbols>
0006FFC0 77E87903 00000000 00000000 7FFDF000 C0000005 !<nosymbols>
0006FFF0 00000000 0040260F 00000000 000000C8 00000100
kernel32!SetUnhandledExceptionFilter
The DrWatson disassembly appears at the end of this message. (The formatting
goes all to hell when I paste it in.)
I am running the Windows 2000 "120-day trial" version -- the one that became
available from Microsoft *after* RC3. This whole system works under Windows NT
4.0; it only crashes under Windows 2000. It also crashed when I used jdk1.2.2
and Windows 2000 RC3.
I can't debug this very well without help from Javasoft.
Please contact me directly about this at [contact info is in bug report]
The problem could be in plug-in library (loaded with -Xrun), but our product
works just fine under Windows NT 4.0 SP4. We want our product to work on Windows
2000 and Java 1.3.
(Review ID: 100603)
======================================================================
2/4/2000 add'l info from the user:
When I sent the original bug report, I forgot to attach a disassembly dump
from DrWatson that shows the exact instructions around the fault. Maybe you
can use this to determine what function it's in, despite not having full
debug symbols in the RC1 release. I've put that disassembly at the end of
this message.
Can you tell me whether you were able to reproduce the problem? If you can
reproduce it, that means you have enough information to pursue this on your
own. If you did not reproduce it, then there is little hope that it will be
addressed, and that would be unfortunate from my perspective. I'd like to
know whether I need to continue to pursue this from my end, or if you now
have enough data to work on this problem actively. Thanks.
-- Allan Pratt, ###@###.###
State Dump for Thread Id 0x32c
eax=002353d0 ebx=00000006 ecx=00000000 edx=002353d0 esi=0697ec30 edi=00000000
eip=5043b923 esp=0006fb4c ebp=0006fc10 iopl=0 nv up ei pl zr na po nc
cs=001b ss=0023 ds=0023 es=0023 fs=0038 gs=0000 efl=00000246
function: <nosymbols>
5043b90f 3a54010e cmp dl,[ecx+eax+0xe]
ds:00ca29a7=??
5043b913 74ec jz JVM_FindSignal+0x20a7d (5043ed01)
5043b915 33c0 xor eax,eax
5043b917 eb03 jmp JVM_FindSignal+0x24098 (5044231c)
5043b919 6a01 push 0x1
5043b91b 58 pop eax
5043b91c c20800 ret 0x8
5043b91f 56 push esi
5043b920 57 push edi
5043b921 8bf9 mov edi,ecx
FAULT ->5043b923 0fb7770c movzx esi,word ptr [edi+0xc]
ds:00a6d5d7=????
5043b927 8d4601 lea eax,[esi+0x1]
ds:073ec206=????????
5043b92a 50 push eax
5043b92b e8c8a8ffff call JVM_FindSignal+0x17f74 (504361f8)
5043b930 59 pop ecx
5043b931 33c9 xor ecx,ecx
5043b933 85f6 test esi,esi
5043b935 7e0c jle JVM_FindSignal+0x260bf (50444343)
5043b937 8a540f0e mov dl,[edi+ecx+0xe]
ds:00a6d5d7=??
5043b93b 881401 mov [ecx+eax],dl
ds:002353d0=6a
5043b93e 41 inc ecx
5043b93f 3bce cmp ecx,esi
- duplicates
-
JDK-4311981 JVMPI: using JRE rt.jar with hprof agent causes segmentation violation
-
- Closed
-