Interesting. this is definitely different from any scenario that I have seen here. Your module loading looks pretty healthy right up to the point of failure.
Can you add "-xe ii" to your ntsd command line? Hopefully, this will cause a break at the point of the illegal instruction instead of passing off to the second chance handler. ntsd -g -xe ii ... If you do get a break at the point of the failure, a backtrace via the "k" command may be of value too. Without symbol information, it is only of limited value but may help. Do you know if the platform that you are using is a pretty old system that doesn't support at least SSE2 (which could point us in one direction) or is a new system with XD (execute disable) support? If so, have you done anything that may be causing XD to trigger (e.g., setting the default behavior to trigger faults)? I didn't think that this was supposed to result in SIGILL but its worth asking... On my system, it can be XD support can be disabled in BIOS under "security settings"... In addition, you can check in "right click my computer, properties, advanced, performance settings, data execution prevention" It looks like Mikhail trying to get you an instrumented version is pretty much on track. Regards, Chris -----Original Message----- From: Michael M. Miskulin [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 22, 2007 12:15 PM To: [email protected] Subject: Re: problem under windows Here you go... if I can find time tonight I am going to try running on a very new laptop with XP to see if any differences. Microsoft (R) Windows User-Mode Debugger Version 5.1.2600.0 Copyright (c) Microsoft Corporation. All rights reserved. CommandLine: c:\jre\bin\java -Xem:jet -XX:em.jitPath=C:\jre\jitrino.dll Hello Loaded dbghelp extension DLL The call to LoadLibrary(ext) failed with error 2. Please check your debugger configuration and/or network access Loaded exts extension DLL The call to LoadLibrary(uext) failed with error 2. Please check your debugger configuration and/or network access Loaded ntsdexts extension DLL Symbol search path is: *** Invalid *** : Verify _NT_SYMBOL_PATH setting Executable search path is: ModLoad: 00400000 0040d000 java.exe ModLoad: 7c900000 7c9b0000 ntdll.dll ModLoad: 7c800000 7c8f4000 E:\WINNT\system32\kernel32.dll ModLoad: 11100000 11118000 c:\jre\bin\HYPRT.dll ModLoad: 10000000 10407000 c:\jre\bin\HYTHR.dll ModLoad: 71ab0000 71ac7000 E:\WINNT\system32\WS2_32.dll ModLoad: 77c10000 77c68000 E:\WINNT\system32\msvcrt.dll ModLoad: 71aa0000 71aa8000 E:\WINNT\system32\WS2HELP.dll ModLoad: 77dd0000 77e6b000 E:\WINNT\system32\ADVAPI32.dll ModLoad: 77e70000 77f01000 E:\WINNT\system32\RPCRT4.dll ModLoad: 7c340000 7c396000 c:\jre\bin\MSVCR71.dll ModLoad: 5cb70000 5cb96000 E:\WINNT\system32\ShimEng.dll ModLoad: 00510000 00ac3000 c:\jre\bin\default\harmonyvm.dll ModLoad: 003b0000 003c3000 c:\jre\bin\default\zlib1.dll ModLoad: 4a800000 4a8c8000 c:\jre\bin\icuuc34.dll ModLoad: 4ad00000 4b570000 c:\jre\bin\icudt34.dll ModLoad: 59a60000 59b01000 E:\WINNT\system32\dbghelp.dll ModLoad: 77c00000 77c08000 E:\WINNT\system32\VERSION.dll ModLoad: 74320000 7435d000 E:\WINNT\system32\ODBC32.dll ModLoad: 5d090000 5d12a000 E:\WINNT\system32\COMCTL32.dll ModLoad: 77f10000 77f57000 E:\WINNT\system32\GDI32.dll ModLoad: 7e410000 7e4a0000 E:\WINNT\system32\USER32.dll ModLoad: 7c9c0000 7d1d5000 E:\WINNT\system32\SHELL32.dll ModLoad: 77f60000 77fd6000 E:\WINNT\system32\SHLWAPI.dll ModLoad: 763b0000 763f9000 E:\WINNT\system32\comdlg32.dll ModLoad: 76bf0000 76bfb000 E:\WINNT\system32\PSAPI.DLL ModLoad: 769c0000 76a73000 E:\WINNT\system32\USERENV.dll ModLoad: 71a50000 71a8f000 E:\WINNT\system32\MSWSOCK.dll ModLoad: 76390000 763ad000 E:\WINNT\system32\IMM32.DLL ModLoad: 773d0000 774d3000 E:\WINNT\WinSxS\x86_Microsoft.Windows.Common-Contro ls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\comctl32.dll ModLoad: 20000000 20017000 E:\WINNT\system32\odbcint.dll ModLoad: 77fe0000 77ff1000 E:\WINNT\system32\Secur32.dll APR_DSO_LOAD: loading em.dll ModLoad: 013a0000 013e0000 c:\jre\bin\default\em.dll APR_DSO_LOAD: loading C:\jre\jitrino.dll ModLoad: 013f0000 019cb000 C:\jre\jitrino.dll Illegal instruction - code c000001d (first chance) ERROR: code:-1073741795 msg:(null) ModLoad: 019e0000 01fbb000 C:\jre\jitrino.dll Illegal instruction - code c000001d (first chance) ERROR: code:-1073741795 msg:(null) Failure to open JIT dll C:\jre\jitrino.dll 720317 apr code: The system cannot find message text for message number 0x%1 in the mes sage file for %2. EM: JIT library loading error:'C:\jre\jitrino.dll' HEAP[java.exe]: Invalid Address specified to RtlFreeHeap( 013E0000, 013070C8 ) Break instruction exception - code 80000003 (first chance) eax=013070c0 ebx=013070c0 ecx=7c91eb05 edx=0013f056 esi=013e0000 edi=013070c0 eip=7c901230 esp=0013f260 ebp=0013f264 iopl=0 nv up ei pl nz na pe nc cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000202 *** ERROR: Symbol file could not be found. Defaulted to export symbols for ntdl l.dll - ntdll!DbgBreakPoint: 7c901230 cc int 3 0:000> ----> I would suggest running under ntsd. I'e seen jitrino.dll issues show up > on a number of builds but nothing with your particular signature. When > I've seen it, it has typically related to some underlying MSVCR issue. > > ntsd -g c:\jre\bin\java -Xem:jet -XX:em.jitPath=C:\jre\jitrino.dll Hello > > You should get a debug breakpoint at the failure. If you can copy the > list of dlls that were loaded, that might help. In the case of failure, > I have typically seen another MSVCRT try to load somewhere in this set > of module loads (sometimes in between the two loads of gc_cc.dll). > > ModLoad: 01160000 011a0000 > c:\java\harmony-jre-r533500\bin\default\em.dll > ModLoad: 011b0000 015c0000 > C:\java\harmony-jre-r533500\bin\default\jitrino.dll > ModLoad: 015d0000 015f5000 > c:\java\harmony-jre-r533500\bin\default\gc_cc.dll > ModLoad: 015d0000 015f5000 > c:\java\harmony-jre-r533500\bin\default\gc_cc.dll > ModLoad: 13100000 13106000 c:\java\harmony-jre-r533500\bin\hysig.dll > > Running on my system with the r33500 binary build: > I would particularly watch out for > ModLoad: 7c340000 7c396000 c:\java\harmony-jre-r533500\bin\MSVCR71.dll > To see if it is trying to load from somewhere else on your system. > > CommandLine: c:\java\harmony-jre-r533500\bin\java -Xem:jet > -XX:em.jitPath=C:\java\harmony-jre-r533500\bin\default\jitrino.dll hello > Loaded dbghelp extension DLL > The call to LoadLibrary(ext) failed with error 2. > Please check your debugger configuration and/or network access > Loaded exts extension DLL > The call to LoadLibrary(uext) failed with error 2. > Please check your debugger configuration and/or network access > Loaded ntsdexts extension DLL > Symbol search path is: *** Invalid *** : Verify _NT_SYMBOL_PATH setting > Executable search path is: > ModLoad: 00400000 0040d000 java.exe > ModLoad: 7c900000 7c9b0000 ntdll.dll > ModLoad: 7c800000 7c8f4000 C:\WINNT\system32\kernel32.dll > ModLoad: 11100000 11118000 c:\java\harmony-jre-r533500\bin\HYPRT.dll > ModLoad: 10000000 10407000 c:\java\harmony-jre-r533500\bin\HYTHR.dll > ModLoad: 71ab0000 71ac7000 C:\WINNT\system32\WS2_32.dll > ModLoad: 77c10000 77c68000 C:\WINNT\system32\msvcrt.dll > ModLoad: 71aa0000 71aa8000 C:\WINNT\system32\WS2HELP.dll > ModLoad: 77dd0000 77e6b000 C:\WINNT\system32\ADVAPI32.dll > ModLoad: 77e70000 77f01000 C:\WINNT\system32\RPCRT4.dll > ModLoad: 7c340000 7c396000 c:\java\harmony-jre-r533500\bin\MSVCR71.dll > ModLoad: 5cb70000 5cb96000 C:\WINNT\system32\ShimEng.dll > ModLoad: 00510000 00934000 > c:\java\harmony-jre-r533500\bin\default\harmonyvm.dll > ModLoad: 00370000 00383000 > c:\java\harmony-jre-r533500\bin\default\zlib1.dll > ModLoad: 4a800000 4a8c8000 c:\java\harmony-jre-r533500\bin\icuuc34.dll > ModLoad: 4ad00000 4b570000 c:\java\harmony-jre-r533500\bin\icudt34.dll > ModLoad: 59a60000 59b01000 C:\WINNT\system32\dbghelp.dll > ModLoad: 77c00000 77c08000 C:\WINNT\system32\VERSION.dll > ModLoad: 74320000 7435d000 C:\WINNT\system32\ODBC32.dll > ModLoad: 5d090000 5d12a000 C:\WINNT\system32\COMCTL32.dll > ModLoad: 77f10000 77f57000 C:\WINNT\system32\GDI32.dll > ModLoad: 7e410000 7e4a1000 C:\WINNT\system32\USER32.dll > ModLoad: 7c9c0000 7d1d5000 C:\WINNT\system32\SHELL32.dll > ModLoad: 77f60000 77fd6000 C:\WINNT\system32\SHLWAPI.dll > ModLoad: 763b0000 763f9000 C:\WINNT\system32\comdlg32.dll > ModLoad: 76bf0000 76bfb000 C:\WINNT\system32\PSAPI.DLL > ModLoad: 769c0000 76a73000 C:\WINNT\system32\USERENV.dll > ModLoad: 71a50000 71a8f000 C:\WINNT\system32\MSWSOCK.dll > ModLoad: 76390000 763ad000 C:\WINNT\system32\IMM32.DLL > ModLoad: 629c0000 629c9000 C:\WINNT\system32\LPK.DLL > ModLoad: 74d90000 74dfb000 C:\WINNT\system32\USP10.dll > ModLoad: 48000000 48027000 C:\PROGRA~1\Google\GOOGLE~2\GOEC62~1.DLL > ModLoad: 773d0000 774d3000 > C:\WINNT\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6 > .0.2600.2982_x-ww_ac3f9c03\comctl32.dll > ModLoad: 20000000 20017000 C:\WINNT\system32\odbcint.dll > ModLoad: 77fe0000 77ff1000 C:\WINNT\system32\Secur32.dll > ModLoad: 01160000 011a0000 > c:\java\harmony-jre-r533500\bin\default\em.dll > ModLoad: 011b0000 015c0000 > C:\java\harmony-jre-r533500\bin\default\jitrino.dll > ModLoad: 015d0000 015f5000 > c:\java\harmony-jre-r533500\bin\default\gc_cc.dll > ModLoad: 015d0000 015f5000 > c:\java\harmony-jre-r533500\bin\default\gc_cc.dll > ModLoad: 13100000 13106000 c:\java\harmony-jre-r533500\bin\hysig.dll > ModLoad: 11700000 11713000 c:\java\harmony-jre-r533500\bin\hyzlib.dll > ModLoad: 13300000 13306000 c:\java\harmony-jre-r533500\bin\hytext.dll > ModLoad: 01f50000 01f56000 > c:\java\harmony-jre-r533500\bin\default\VMI.dll > ModLoad: 13200000 13206000 c:\java\harmony-jre-r533500\bin\hynio.dll > ModLoad: 01f60000 01f83000 c:\java\harmony-jre-r533500\bin\hyluni.dll > ModLoad: 01f90000 01f9d000 > c:\java\harmony-jre-r533500\bin\hyarchive.dll > ModLoad: 026a0000 026b7000 > c:\java\harmony-jre-r533500\bin\icuinterface34.dll > ModLoad: 4a900000 4a9aa000 c:\java\harmony-jre-r533500\bin\icuin34.dll > Hello World from Java! > > Thanks, > > Chris Elford > Intel SSG/Enterprise Solutions Software Division > > -----Original Message----- > From: Mikhail Fursov [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 22, 2007 1:00 AM > To: [email protected]; [EMAIL PROTECTED] > Subject: Re: problem under windows > > On 5/18/07, Michael M. Miskulin <[EMAIL PROTECTED]> wrote: > > > > > > Ok, seems same result. > > > > C:\jre>run.cmd > > > > C:\jre>c:\jre\bin\java -Xem:jet -XX:em.jitPath=C:\jre\jitrino.dll > Hello > > APR_DSO_LOAD: loading em.dll > > APR_DSO_LOAD: loading C:\jre\jitrino.dll > > ERROR: code:-1073741795 msg:(null) > > ERROR: code:-1073741795 msg:(null) > > Failure to open JIT dll C:\jre\jitrino.dll 720317 > > apr code: The system cannot find message text for message number 0x%1 > in > > the mes > > sage file for %2. > > EM: JIT library loading error:'C:\jre\jitrino.dll' > > Cannot instantiate EM > > HMYEXEL062E Internal VM error: Failed to create Java VM > > FAILED to invoke JVM. > > C:\jre> > > We have unreadable error code here again and this is strange. I tried to > add > errors intentionally into JIT initialization (illegal memory access) and > always have valid error codes. > Do you have any pop up dialog with debugging option? (It must appear on > any > PC with MSVC installed) > If you have not, another option is to send a complete debug build to you > and > check it. > ? > > > > In addition, the -Xint option fails to work now too. > > > I didn't check it with interpreter, so its OK (our builds are not > synchronized). The only test I checked was Hello world application with > JIT. > > -- > Mikhail Fursov ------------------------------------------------------------------------ ----- Reach for the sky cause tomorrow may never come
