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:53:51
|
Ahh, line 200 should be changed to: { QF_STACK_PUSH( Initiator::stop )=20 it was: { QF_STACK_PUSH( Acceptor::stop )=20 -----Original Message----- From: Andrew Munn [mailto:an...@nm...] Sent: Thu 7/3/2003 3:01 PM To: 'C. Johnson'; qui...@li... Cc:=09 Subject: RE: [Quickfix-developers] java EXCEPTION_ACCESS_VIOLATION from quickfix_jni.dll Thanks for the reply but I think I had that set right. This problem occurs when building from the command line also. It happens inside JBuilder 8 and JBuilder 9. It happens if I execute the project on JVM 1.4.2-beta-b19 or on 1.4.1_02-b06. =20 Oren, When I compile with #define ENABLE_CALLSTACK 1 using VC7 I get these errors: c:\quickfix\src\C++\Initiator.cpp(200): error C2653: 'Acceptor' : is not a class or namespace name c:\quickfix\src\C++\Initiator.cpp(200): error C2276: '&' : illegal operation on bound member function expression c:\quickfix\src\C++\Initiator.cpp(200): error C2653: 'Acceptor' : is n= ot a class or namespace name c:\quickfix\src\C++\Initiator.cpp(200): error C2276: '&' : illegal operation on bound member function expression Any ideas? Something overlooked in setting up the .sln? Thanks, Andrew Munn -----Original Message----- From: qui...@li... [mailto:qui...@li...] On Behalf Of C. Johnson Sent: Thursday, July 03, 2003 12:39 PM To: 'Andrew Munn'; qui...@li... Subject: RE: [Quickfix-developers] java EXCEPTION_ACCESS_VIOLATION from quickfix_jni.dll I ran across this issue a while back.. You need to edit your project's runtime profile and set your Project Run VM Parameters to -Djava.library.path=3D<your quickfix dll location> Project > Project Properties Click on Run Tab Add a new runtime config in the VM parameters, put in:-Djava.library.path=3D"C:\JBuilder8\myprojects\Quickfix\Quickfix_API_Fi les" [replace with the location of your quickfix dll's and etc..] That's the way I did it, and I've been working from within Jbuilder flawlessly since. I hope this helps... -cj -----Original Message----- From: qui...@li... [mailto:qui...@li...] On Behalf Of Andrew Munn Sent: Wednesday, July 02, 2003 3:50 PM To: qui...@li... Subject: [Quickfix-developers] java EXCEPTION_ACCESS_VIOLATION from quickfix_jni.dll 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: acceptor =3D new SocketAcceptor(application, messageStoreFactory, settings,=20 logFactory, messageFactory); I get: 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 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 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. Current Java thread: at org.quickfix.SocketAcceptor.create(Native Method) at org.quickfix.SocketAcceptor.<init>(Unknown Source) at multifix.mfix.main(mfix.java:28) Dynamic libraries: 0x00400000 - 0x00406000 C:\JBuilder8\jdk1.4\bin\javaw.exe 0x77F50000 - 0x77FF7000 C:\WINDOWS\System32\ntdll.dll 0x77E60000 - 0x77F46000 C:\WINDOWS\system32\kernel32.dll 0x77DD0000 - 0x77E5D000 C:\WINDOWS\system32\ADVAPI32.dll 0x78000000 - 0x78086000 C:\WINDOWS\system32\RPCRT4.dll 0x77D40000 - 0x77DCC000 C:\WINDOWS\system32\USER32.dll 0x77C70000 - 0x77CB0000 C:\WINDOWS\system32\GDI32.dll 0x77C10000 - 0x77C63000 C:\WINDOWS\system32\MSVCRT.dll 0x6D330000 - 0x6D45C000 C:\JBuilder8\jdk1.4\jre\bin\client\jvm.dll 0x76B40000 - 0x76B6C000 C:\WINDOWS\System32\WINMM.dll 0x5CD70000 - 0x5CD77000 C:\WINDOWS\System32\serwvdrv.dll 0x5B0A0000 - 0x5B0A7000 C:\WINDOWS\System32\umdmxfrm.dll 0x6BD00000 - 0x6BD0D000 C:\WINDOWS\System32\SYNCOR11.DLL 0x6D1D0000 - 0x6D1D7000 C:\JBuilder8\jdk1.4\jre\bin\hpi.dll 0x6D300000 - 0x6D30D000 C:\JBuilder8\jdk1.4\jre\bin\verify.dll 0x6D210000 - 0x6D229000 C:\JBuilder8\jdk1.4\jre\bin\java.dll 0x6D320000 - 0x6D32D000 C:\JBuilder8\jdk1.4\jre\bin\zip.dll 0x10000000 - 0x1007D000 C:\multifix\lib\quickfix_jni.dll 0x71AB0000 - 0x71AC5000 C:\WINDOWS\System32\WS2_32.dll 0x71AA0000 - 0x71AA8000 C:\WINDOWS\System32\WS2HELP.dll 0x771B0000 - 0x772D1000 C:\WINDOWS\system32\ole32.dll 0x77120000 - 0x771AB000 C:\WINDOWS\system32\OLEAUT32.dll 0x7C3A0000 - 0x7C41B000 C:\WINDOWS\System32\MSVCP71.dll 0x7C340000 - 0x7C396000 C:\WINDOWS\System32\MSVCR71.dll 0x0AE20000 - 0x0AE5F000 C:\WINDOWS\System32\LIBMYSQL.dll 0x71AD0000 - 0x71AD8000 C:\WINDOWS\System32\WSOCK32.dll 0x76FD0000 - 0x77048000 C:\WINDOWS\System32\CLBCATQ.DLL 0x77050000 - 0x77115000 C:\WINDOWS\System32\COMRes.dll 0x77C00000 - 0x77C07000 C:\WINDOWS\system32\VERSION.dll 0x72E00000 - 0x72F15000 C:\WINDOWS\System32\msxml3.dll 0x70A70000 - 0x70AD4000 C:\WINDOWS\system32\SHLWAPI.dll 0x76C90000 - 0x76CB2000 C:\WINDOWS\system32\imagehlp.dll 0x6D510000 - 0x6D58D000 C:\WINDOWS\system32\DBGHELP.dll 0x76BF0000 - 0x76BFB000 C:\WINDOWS\System32\PSAPI.DLL 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) # Thanks, Andrew Munn _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online =20 http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3D3963 ------------------------------------------------------- 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 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 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 confidential= ity or privilege 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 attachments, without printing, copying, forwarding or saving them and no= tify the sender immediately by reply e-mail. The company reserves the right= to monitor all e-mail communications through its networks. Unless otherwis= e stated, any financial results or price data contained in this email are in= dicative only and are subject to change without notice. |