With the problem occurring after 30,000 - suggests your overflowing something with a counter set to 32767.

Not one I've come across before so your best bet it to have a look at the code yourself to see if there is a java short being used in the JNI interface - although i'm not familiar enough with JNI to know what a java short gets translated to on the C side.

cheers

NOTTEZ Jean-Sebastien wrote:



Hello,


I write a program 'a RMI server' that sends ADPU command to a card; I used the OCF framework like a wrapper between PC/SC and my java code source.


This RMI server sometime blocked, and this message was returned by the JVM. This problem appear after 30 000 methods call.


Messages :




Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x6D41091D
Function=JVM_RegisterUnsafeMethods+0x18C
Library=C:\Program Files\Java\j2re1.4.1_05\bin\client\jvm.dll


Current Java thread: at com.ibm.opencard.terminal.pcsc10.OCFPCSC1.SCardTransmit(Native Method) - locked <02F7A868> (a com.ibm.opencard.terminal.pcsc10.OCFPCSC1) at com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminal.internalSendAPDU(Pcs c10CardTerminal.java:812) at opencard.core.terminal.CardTerminal.sendAPDU(CardTerminal.java:494)


Dynamic libraries: 0x00400000 - 0x00406000 c:\winnt\system32\java.exe 0x77F80000 - 0x77FFD000 C:\WINNT\system32\ntdll.dll 0x7C2D0000 - 0x7C332000 C:\WINNT\system32\ADVAPI32.dll 0x7C570000 - 0x7C628000 C:\WINNT\system32\KERNEL32.DLL 0x77D30000 - 0x77DA1000 C:\WINNT\system32\RPCRT4.DLL 0x78000000 - 0x78045000 C:\WINNT\system32\MSVCRT.dll 0x6D340000 - 0x6D46C000 C:\Program Files\Java\j2re1.4.1_05\bin\client\jvm.dll 0x77E10000 - 0x77E75000 C:\WINNT\system32\USER32.dll 0x77F40000 - 0x77F7E000 C:\WINNT\system32\GDI32.DLL 0x77570000 - 0x775A0000 c:\winnt\system32\WINMM.dll 0x6D1E0000 - 0x6D1E7000 C:\Program Files\Java\j2re1.4.1_05\bin\hpi.dll 0x6D310000 - 0x6D31E000 C:\Program Files\Java\j2re1.4.1_05\bin\verify.dll 0x6D220000 - 0x6D239000 C:\Program Files\Java\j2re1.4.1_05\bin\java.dll 0x6D330000 - 0x6D33D000 C:\Program Files\Java\j2re1.4.1_05\bin\zip.dll 0x6D2E0000 - 0x6D2EE000 C:\Program Files\Java\j2re1.4.1_05\bin\net.dll 0x75050000 - 0x75058000 c:\winnt\system32\WSOCK32.dll 0x75030000 - 0x75044000 c:\winnt\system32\WS2_32.DLL 0x75020000 - 0x75028000 c:\winnt\system32\WS2HELP.DLL 0x782C0000 - 0x782CC000 C:\WINNT\System32\rnr20.dll 0x77980000 - 0x779A4000 c:\winnt\system32\DNSAPI.DLL 0x77340000 - 0x77353000 c:\winnt\system32\iphlpapi.dll 0x77520000 - 0x77525000 c:\winnt\system32\ICMP.DLL 0x77320000 - 0x77337000 c:\winnt\system32\MPRAPI.DLL 0x75150000 - 0x7515F000 c:\winnt\system32\SAMLIB.DLL 0x75170000 - 0x751BF000 c:\winnt\system32\NETAPI32.DLL 0x7C340000 - 0x7C34F000 c:\winnt\system32\SECUR32.DLL 0x751C0000 - 0x751C6000 c:\winnt\system32\NETRAP.DLL 0x77950000 - 0x7797A000 C:\WINNT\system32\WLDAP32.DLL 0x77A50000 - 0x77B3F000 C:\WINNT\system32\OLE32.DLL 0x779B0000 - 0x77A4B000 C:\WINNT\system32\OLEAUT32.DLL 0x773B0000 - 0x773DF000 c:\winnt\system32\ACTIVEDS.DLL 0x77380000 - 0x773A3000 c:\winnt\system32\ADSLDPC.DLL 0x77830000 - 0x7783E000 c:\winnt\system32\RTUTILS.DLL 0x77880000 - 0x7790E000 c:\winnt\system32\SETUPAPI.DLL 0x7C0F0000 - 0x7C151000 c:\winnt\system32\USERENV.DLL 0x774E0000 - 0x77513000 c:\winnt\system32\RASAPI32.DLL 0x774C0000 - 0x774D1000 c:\winnt\system32\RASMAN.DLL 0x77530000 - 0x77552000 c:\winnt\system32\TAPI32.DLL 0x71710000 - 0x71794000 C:\WINNT\system32\COMCTL32.DLL 0x70A70000 - 0x70AD5000 C:\WINNT\system32\SHLWAPI.DLL 0x77360000 - 0x77379000 c:\winnt\system32\DHCPCSVC.DLL 0x777E0000 - 0x777E8000 C:\WINNT\System32\winrnr.dll 0x777F0000 - 0x777F5000 c:\winnt\system32\rasadhlp.dll 0x74FD0000 - 0x74FEE000 C:\WINNT\system32\msafd.dll 0x75010000 - 0x75017000 C:\WINNT\System32\wshtcpip.dll 0x10000000 - 0x1001C000 C:\WINNT\system32\fepReadRegDll.dll 0x77800000 - 0x7781E000 c:\winnt\system32\WINSPOOL.DRV 0x76620000 - 0x76630000 C:\WINNT\system32\MPR.DLL 0x0B8D0000 - 0x0B8EE000 C:\WINNT\system32\fepReportEventDll.dll 0x0BA10000 - 0x0BA20000 C:\WINNT\system32\Ocfpcsc1.dll 0x76960000 - 0x76977000 c:\winnt\system32\WinSCard.dll 0x6D300000 - 0x6D305000 C:\Program Files\Java\j2re1.4.1_05\bin\rmi.dll 0x77920000 - 0x77943000 C:\WINNT\system32\imagehlp.dll 0x72A00000 - 0x72A2D000 C:\WINNT\system32\DBGHELP.dll 0x690A0000 - 0x690AB000 c:\winnt\system32\PSAPI.DLL


Local Time = Fri May 07 18:14:45 2004 Elapsed Time = 3 # # HotSpot Virtual Machine Error : EXCEPTION_ACCESS_VIOLATION # Error ID : 4F530E43505002E6 # Please report this error at # http://java.sun.com/cgi-bin/bugreport.cgi # # Java VM: Java HotSpot(TM) Client VM (1.4.1_05-b01 mixed mode) #


Anybody have an idea about this problem ?



Tanks.



__________________________________________________________________________________________________________________________________________________ This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual to whom it is addressed.If you have received this email in error please send it back to the person that sent it to you. Unauthorized publication, use, dissemination, forwarding, printing or copying of this email and its associated attachments is strictly prohibited.


---


Visit the OpenCard web site at http://www.opencard.org/ for more
information on OpenCard---binaries, source code, documents.
This list is being archived at http://www.opencard.org/archive/opencard/


! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
! to
! [EMAIL PROTECTED]
! containing the word
! unsubscribe ! in the body.






--
------------------------------------------------------------------
 Brian McGuiness                          Phone: +44(0)1355 272911
 Senior Software Engineer                   Fax: +44(0)1355 272993
 Ecebs Limited
 The James Watt Building,
 Scottish Enterprise Technology Park,
 East Kilbride
 G75 0QD                           Email: [EMAIL PROTECTED]
 United Kingdom                    Internet:  http://www.Ecebs.com

 This email is only for the use of the addressee.  It may contain
 information which is legally privileged, confidential and exempt
 from disclosure.  If you are not the intended recipient you are
 hereby notified that any dissemination, distribution, or copying
 of this communication and its attachments is strictly prohibited.
------------------------------------------------------------------


---
Visit the OpenCard web site at http://www.opencard.org/ for more
information on OpenCard---binaries, source code, documents.
This list is being archived at http://www.opencard.org/archive/opencard/

! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
! to
! [EMAIL PROTECTED]
! containing the word
! unsubscribe ! in the body.




Reply via email to