RE: [Quickfix-developers] java EXCEPTION_ACCESS_VIOLATION from quickfix_jni.dll
Brought to you by:
orenmnero
From: Miller, O. <OM...@ri...> - 2003-07-03 22:55:41
|
That's a bug. Looks like that exception isn't being handled in the JN= I layer. You're supposed to get a Java exception telling you it was unable = to find the file. -----Original Message----- From: Andrew [mailto:and...@ho...] Sent: Thu 7/3/2003 4:29 PM To: qui...@li... Cc:=09 Subject: RE: [Quickfix-developers] java EXCEPTION_ACCESS_VIOLATION from quickfix_jni.dll I figured out this problem. If the DataDictionary specified in the .cfg file does not exist then it crashes w/the EXCEPTION_ACCESS_VIOLATION. The default path in the cfg is a relative one and I was not running the project from the standard location. Still I wonder why I wasn't able to compile w/ENABLE_CALLSTACK defined. Andrew Munn -----Original Message----- From: Oren Miller [mailto:ore...@ya...]=20 Sent: Thursday, July 03, 2003 7:47 AM To: Andrew Munn; qui...@li... Subject: Re: [Quickfix-developers] java EXCEPTION_ACCESS_VIOLATION fro= m quickfix_jni.dll We can get more useful information if you recompile with the ENABLE_CALLSTACK defined in config_windows.h --- Andrew Munn <and...@ho...> wrote: > Thanks to anyone who recognises this symptom. I am > using the executor as=20 > the foundation for a FIX message multiplexer. I'm > using the same=20 > quickfix_jni.dll that I use successfully with the > banzai client, java=20 > executor, etc. When I run the app(either from > within JBuilder or the=20 > prompt) execution gets to the line: >=20 > acceptor =3D new SocketAcceptor(application, > messageStoreFactory, settings,=20 > logFactory, messageFactory); >=20 > I get: >=20 > C:\multifix>run_multifix.bat > C:\multifix>set > CLASSPATH=3D./lib/mfix.jar;./lib/quickfix.jar; > C:\multifix>java -Djava.library.path=3D./lib; > multifix.mfix cfg\multifix.cfg > instantiating a SocketAcceptor >=20 > An unexpected exception has been detected in native > code outside the VM. > Unexpected Signal : EXCEPTION_ACCESS_VIOLATION > occurred at PC=3D0x10035205 > Function=3D[Unknown.] > Library=3DC:\multifix\lib\quickfix_jni.dll >=20 > NOTE: We are unable to locate the function name > symbol for the error > just occurred. Please refer to release > documentation for possible > reason and solutions. >=20 > Current Java thread: > at org.quickfix.SocketAcceptor.create(Native > Method) > at org.quickfix.SocketAcceptor.<init>(Unknown > Source) > at multifix.mfix.main(mfix.java:28) >=20 > Dynamic libraries: > 0x00400000 - 0x00406000=20 > C:\JBuilder8\jdk1.4\bin\javaw.exe > 0x77F50000 - 0x77FF7000=20 > C:\WINDOWS\System32\ntdll.dll > 0x77E60000 - 0x77F46000=20 > C:\WINDOWS\system32\kernel32.dll > 0x77DD0000 - 0x77E5D000=20 > C:\WINDOWS\system32\ADVAPI32.dll > 0x78000000 - 0x78086000=20 > C:\WINDOWS\system32\RPCRT4.dll > 0x77D40000 - 0x77DCC000=20 > C:\WINDOWS\system32\USER32.dll > 0x77C70000 - 0x77CB0000=20 > C:\WINDOWS\system32\GDI32.dll > 0x77C10000 - 0x77C63000=20 > C:\WINDOWS\system32\MSVCRT.dll > 0x6D330000 - 0x6D45C000=20 > C:\JBuilder8\jdk1.4\jre\bin\client\jvm.dll > 0x76B40000 - 0x76B6C000=20 > C:\WINDOWS\System32\WINMM.dll > 0x5CD70000 - 0x5CD77000=20 > C:\WINDOWS\System32\serwvdrv.dll > 0x5B0A0000 - 0x5B0A7000=20 > C:\WINDOWS\System32\umdmxfrm.dll > 0x6BD00000 - 0x6BD0D000=20 > C:\WINDOWS\System32\SYNCOR11.DLL > 0x6D1D0000 - 0x6D1D7000=20 > C:\JBuilder8\jdk1.4\jre\bin\hpi.dll > 0x6D300000 - 0x6D30D000=20 > C:\JBuilder8\jdk1.4\jre\bin\verify.dll > 0x6D210000 - 0x6D229000=20 > C:\JBuilder8\jdk1.4\jre\bin\java.dll > 0x6D320000 - 0x6D32D000=20 > C:\JBuilder8\jdk1.4\jre\bin\zip.dll > 0x10000000 - 0x1007D000=20 > C:\multifix\lib\quickfix_jni.dll > 0x71AB0000 - 0x71AC5000=20 > C:\WINDOWS\System32\WS2_32.dll > 0x71AA0000 - 0x71AA8000=20 > C:\WINDOWS\System32\WS2HELP.dll > 0x771B0000 - 0x772D1000=20 > C:\WINDOWS\system32\ole32.dll > 0x77120000 - 0x771AB000=20 > C:\WINDOWS\system32\OLEAUT32.dll > 0x7C3A0000 - 0x7C41B000=20 > C:\WINDOWS\System32\MSVCP71.dll > 0x7C340000 - 0x7C396000=20 > C:\WINDOWS\System32\MSVCR71.dll > 0x0AE20000 - 0x0AE5F000=20 > C:\WINDOWS\System32\LIBMYSQL.dll > 0x71AD0000 - 0x71AD8000 > C:\WINDOWS\System32\WSOCK32.dll > 0x76FD0000 - 0x77048000=20 > C:\WINDOWS\System32\CLBCATQ.DLL > 0x77050000 - 0x77115000=20 > C:\WINDOWS\System32\COMRes.dll > 0x77C00000 - 0x77C07000=20 > C:\WINDOWS\system32\VERSION.dll > 0x72E00000 - 0x72F15000=20 > C:\WINDOWS\System32\msxml3.dll > 0x70A70000 - 0x70AD4000=20 > C:\WINDOWS\system32\SHLWAPI.dll > 0x76C90000 - 0x76CB2000=20 > C:\WINDOWS\system32\imagehlp.dll > 0x6D510000 - 0x6D58D000=20 > C:\WINDOWS\system32\DBGHELP.dll > 0x76BF0000 - 0x76BFB000=20 > C:\WINDOWS\System32\PSAPI.DLL >=20 > Local Time =3D Wed Jul 02 14:02:31 2003 > Elapsed Time =3D 1 > # > # The exception above was detected in native code > outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1-b21 > mixed mode) > # >=20 > Thanks, > Andrew Munn >=20 > _________________________________________________________________ > Protect your PC - get McAfee.com VirusScan Online =20 > http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3D3963 >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built > ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are > available now. > Download today and enter to win an XBOX or Visual > Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/= 01 > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Quickfix-developers mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfix-developers ----------------------------------------- This email and any attachments are confidential and may be legally privileged. No confidentiality or p= rivilege is waived or lost by any transmission in error. If you are not the= intended recipient you are hereby notified that any use, printing, copying = or disclosure is strictly prohibited. Please delete this email and any atta= chments, without printing, copying, forwarding or saving them and notify the= sender immediately by reply e-mail. The company reserves the right to moni= tor all e-mail communications through its networks. Unless otherwise stated= , any financial results or price data contained in this email are indicative= only and are subject to change without notice. |