Re: [Quickfix-users] Stack Trace thrown
Brought to you by:
orenmnero
From: Oren M. <ore...@ya...> - 2004-01-06 17:59:27
|
Remember that as of QuickFix 1.5, start() is no longer a blocking call. It will return immediately. So after you're call to start you will need to keep the calling thread alive, or make sure that the QF objects are references somewhere so they don't get garbage collected. --oren Nikhil Bose <ass...@ya...> wrote: Hello, I am using Quickfix 1.5 to connect to an external FIX 4.1 counterparty. When I step through the code in a debugger, everything works beautifully. When I run it (in regular run mode), it throws an exception in the JVM and produces a stack trace on Win 2K. I suppose I need to put a sleep in some thread. Any ideas where? Any suggestions, ideas, welcome. Thanks, Nikhil Here's the stack trace: An unexpected exception has been detected in native code outside the VM. Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x184E0641 Function=[Unknown.] Library=C:\Investor\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.SocketInitiator.destroy(Native Method) at org.quickfix.SocketInitiator.finalize(Unknown Source) at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method) at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83) at java.lang.ref.Finalizer.access$100(Finalizer.java:14) at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160) Dynamic libraries: 0x00400000 - 0x00406000 C:\j2sdk1.4.2\bin\java.exe 0x77F80000 - 0x77FFB000 C:\WINNT\System32\ntdll.dll 0x77DB0000 - 0x77E0C000 C:\WINNT\system32\ADVAPI32.dll 0x77E80000 - 0x77F35000 C:\WINNT\system32\KERNEL32.DLL 0x77D30000 - 0x77D9E000 C:\WINNT\system32\RPCRT4.DLL 0x78000000 - 0x78046000 C:\WINNT\system32\MSVCRT.dll 0x08000000 - 0x08136000 C:\j2sdk1.4.2\jre\bin\client\jvm.dll 0x77E10000 - 0x77E74000 C:\WINNT\system32\USER32.dll 0x77F40000 - 0x77F7C000 C:\WINNT\system32\GDI32.DLL 0x77570000 - 0x775A0000 C:\WINNT\System32\WINMM.dll 0x10000000 - 0x10007000 C:\j2sdk1.4.2\jre\bin\hpi.dll 0x007C0000 - 0x007CE000 C:\j2sdk1.4.2\jre\bin\verify.dll 0x007D0000 - 0x007E8000 C:\j2sdk1.4.2\jre\bin\java.dll 0x007F0000 - 0x007FD000 C:\j2sdk1.4.2\jre\bin\zip.dll 0x18470000 - 0x18566000 C:\Investor\quickfix_jni.dll 0x75030000 - 0x75043000 C:\WINNT\System32\WS2_32.dll 0x75020000 - 0x75028000 C:\WINNT\System32\WS2HELP.DLL 0x77A50000 - 0x77B3C000 C:\WINNT\system32\ole32.dll 0x779B0000 - 0x77A4B000 C:\WINNT\system32\OLEAUT32.dll 0x780C0000 - 0x78121000 C:\WINNT\System32\MSVCP60.dll 0x74FD0000 - 0x74FEF000 C:\WINNT\system32\msafd.dll 0x77920000 - 0x77943000 C:\WINNT\system32\imagehlp.dll 0x72A00000 - 0x72A2D000 C:\WINNT\system32\DBGHELP.dll 0x690A0000 - 0x690AB000 C:\WINNT\System32\PSAPI.DLL Heap at VM Abort: Heap def new generation total 576K, used 46K [0x10010000, 0x100b0000, 0x104f0000) eden space 512K, 8% used [0x10010000, 0x1001a538, 0x10090000) from space 64K, 8% used [0x100a0000, 0x100a15f8, 0x100b0000) to space 64K, 0% used [0x10090000, 0x10090000, 0x100a0000) tenured generation total 1408K, used 164K [0x104f0000, 0x10650000, 0x14010000) the space 1408K, 11% used [0x104f0000, 0x10519150, 0x10519200, 0x10650000) compacting perm gen total 4096K, used 4052K [0x14010000, 0x14410000, 0x18010000) the space 4096K, 98% used [0x14010000, 0x14405180, 0x14405200, 0x14410000) Local Time = Tue Jan 06 08:57:39 2004 Elapsed Time = 18 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.2-beta-b19 mixed mode) # --------------------------------- Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes --------------------------------- Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes |