dcsimg
JNI code crashes
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   ajay_gupta
Posted On:   Sunday, December 29, 2002 05:12 AM

< An unexpected exception has been detected in native code outside the VM. Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x6C5A3CC7 Function=sqloinca+0x37 Library=D:Program FilesSQLLIBBINDB2SYS.dll Current Java thread: at jArchive.doCArchive(Native Method) at jArchive.callJNI(jArchive.java:15) at jArchive.doArchive(jArchive.java:8) at test.main(test.java:10) Dynamic libraries: 0x00400000 - 0x00406000 d:progra~1javaj2re1.4.0_03 injava.exe 0x77F60000 - 0x77FBE000 C:WINNT40System32 tdll.dll 0x77DC0000 - 0x77DFF000 C:WINNT40system32ADVAPI32.dll 0x77F00000 - 0x77F5E000 C:WINNT40system32 KERNEL32.dll 0x77   More>>
<
			
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x6C5A3CC7
Function=sqloinca+0x37
Library=D:Program FilesSQLLIBBINDB2SYS.dll

Current Java thread:
at jArchive.doCArchive(Native Method)
at jArchive.callJNI(jArchive.java:15)
at jArchive.doArchive(jArchive.java:8)
at test.main(test.java:10)

Dynamic libraries:
0x00400000 - 0x00406000 d:progra~1javaj2re1.4.0_03 injava.exe
0x77F60000 - 0x77FBE000 C:WINNT40System32
tdll.dll
0x77DC0000 - 0x77DFF000 C:WINNT40system32ADVAPI32.dll
0x77F00000 - 0x77F5E000 C:WINNT40system32
KERNEL32.dll
0x77E70000 - 0x77EC5000 C:WINNT40system32USER32.dll
0x77ED0000 - 0x77EFC000 C:WINNT40system32GDI32.dll
0x77E10000 - 0x77E67000 C:WINNT40system32RPCRT4.dll
0x78000000 - 0x78046000 C:WINNT40system32MSVCRT.dll
0x6D330000 - 0x6D445000 d:progra~1javaj2re1.4.0_03 inclientjvm.dll
0x77FD0000 - 0x77FFA000 C:WINNT40System32WINMM.dll
0x6BC00000 - 0x6BC11000 C:WINNT40System32SMNT40.dll
0x69F00000 - 0x69FBA000 C:WINNT40System32adisynth.dll
0x6D1D0000 - 0x6D1D7000 d:progra~1javaj2re1.4.0_03 inhpi.dll
0x6D300000 - 0x6D30D000 d:progra~1javaj2re1.4.0_03 inverify.dll
0x6D210000 - 0x6D228000 d:progra~1javaj2re1.4.0_03 injava.dll
0x6D320000 - 0x6D32D000 d:progra~1javaj2re1.4.0_03 inzip.dll
0x0ACD0000 - 0x0ACDD000 D:Program FilesJavaj2re1.4.0_03 inzip.dll
0x10000000 - 0x1000B000 C:ajayArchive.dll
0x6C590000 - 0x6C75B000 D:Program FilesSQLLIBBINDB2SYS.dll
0x776B0000 - 0x776C4000 C:WINNT40system32WS2_32.dll
0x776A0000 - 0x776A7000 C:WINNT40system32WS2HELP.dll
0x6D620000 - 0x6D62B000 D:Program FilesSQLLIBBINDB2WINT.dll
0x0ADE0000 - 0x0ADF1000 D:Program FilesSQLLIBBINDB2SYSP.dll
0x77800000 - 0x7783A000 C:WINNT40system32NETAPI32.dll
0x77840000 - 0x77849000 C:WINNT40system32NETRAP.dll
0x777E0000 - 0x777ED000 C:WINNT40system32SAMLIB.dll
0x6C280000 - 0x6C3D4000 D:Program FilesSQLLIBBINDB2APP.dll
0x77B20000 - 0x77BD7000 C:WINNT40system32ole32.dll
0x779B0000 - 0x77A4B000 C:WINNT40system32OLEAUT32.dll
0x6C000000 - 0x6C273000 D:Program FilesSQLLIBBINDB2CLI.dll
0x6C4C0000 - 0x6C561000 D:Program FilesSQLLIBBINDB2UTIL.dll
0x6C3E0000 - 0x6C3FD000 D:Program FilesSQLLIBBINDB2ABIND.dll
0x77A90000 - 0x77A9B000 C:WINNT40system32VERSION.dll
0x70980000 - 0x70B28000 C:WINNT40system32SHELL32.dll
0x70BD0000 - 0x70C19000 C:WINNT40system32SHLWAPI.dll
0x715A0000 - 0x71629000 C:WINNT40system32COMCTL32.dll
0x0AE00000 - 0x0AE08000 C:WINNT40system32LZ32.dll
0x77BF0000 - 0x77BF7000 C:WINNT40System32
pcltc1.dll
0x76AC0000 - 0x76ADD000 C:WINNT40System32imagehlp.dll
0x4FB80000 - 0x4FB8B000 C:WINNT40System32PSAPI.DLL

Local Time = Sun Dec 29 01:38:51 2002
Elapsed Time = 2
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.0_03-b04 mixed mode)
#

Anyone has idea how to solve this problem ?
   <<Less

Re: JNI code crashes

Posted By:   Bharathan_Ilangovan  
Posted On:   Thursday, January 23, 2003 03:32 PM

This seems to be a problem at the native code end.

The error Access Violation occurs normally when memory allocations/operations are not handled properly.

First try calling the methods in the dll from a native code implementation itself and see if it crashes.

Hope this helps.
About | Sitemap | Contact