RE: [Quickfix-users] Re: JAVA/JNI error..
Brought to you by:
orenmnero
From: Juergen J. <je...@gm...> - 2003-04-13 23:03:19
|
Hello Oren, I put a endless loop in the onRun method. Now I get a "abnomal program termination" and the vm crash/ends after this error. I get this error only during connection time. In the acceptor mode when a new fix connection is established and in the initiator mode during opening connection to the fix server. I get no stacktrace, nothing. I try already quickfix 1.4.0, 1.4.1 and the latest from cvs, with the same result. This happens only if I start it together/with jboss J2EE server. Jboss starts for each new module a new thread. Could this be a problem ? Thank you.. Cheers, jj -----Original Message----- From: qui...@li... [mailto:qui...@li...] On Behalf Of Oren Miller Sent: Freitag, 11. April 2003 20:47 To: Juergen Jetmar Cc: qui...@li... Subject: RE: [Quickfix-users] Re: JAVA/JNI error.. Well, yeah. The engine won't run after onRun exits. This is no longer true in the version in the repository, but if you are running any of the releases, you need to keep that method alive. Juergen Jetmar <je...@gm...> wrote: The onRun method is currently empty. Must it be a endless loop ? I start the quickfix stuff in a separate thread and hold the thread as a JMX (java message extension). Cheers, jj -----Original Message----- From: qui...@li... [mailto:qui...@li...] On Behalf O Oren Miller Sent: Freitag, 11. April 2003 19:31 To: je...@gm... Cc: qui...@li... Subject: Re: [Quickfix-users] Re: JAVA/JNI error.. Why is your SocketAcceptor being destroyed? What does your onRun look like? je...@gm... wrote: hello Oren, thanks for the fast reply. i use the latest (1.4.1) version of the quickfix code, SUN JDK 1.4.0_03, Windows 2000 i could solve the problem by commenting out the "DataDictionary" tag in the config file, but i after this i get another java/jni error. the java vm crash after 20-30 seconds after start. cheers, jj // ################### TRACE ###################### 19:11:34,270 INFO [STDOUT] FixApplication:: onCreate(SessionID sessionID) <20030411-17:11:34, FIX.4.0:TW->CLIENT1, event> (Created session) 19:11:34,286 INFO [STDOUT] FixApplication:: onCreate(SessionID sessionID) <20030411-17:11:34, FIX.4.0:TW->CLIENT2, event> (Created session) 19:11:34,302 INFO [STDOUT] FixApplication:: onCreate(SessionID sessionID) <20030411-17:11:34, FIX.4.1:TW->CLIENT1, event> (Created session) 19:11:34,302 INFO [STDOUT] FixApplication:: onCreate(SessionID sessionID) <20030411-17:11:34, FIX.4.1:TW->CLIENT2, event> (Created session) 19:11:34,317 INFO [STDOUT] FixApplication:: onCreate(SessionID sessionID) <20030411-17:11:34, FIX.4.2:TW->CLIENT1, event> (Created session) 19:11:34,317 INFO [STDOUT] FixApplication:: onCreate(SessionID sessionID) <20030411-17:11:34, FIX.4.2:TW->CLIENT2, event> (Created session) 19:11:34,333 INFO [STDOUT] FixApplication:: onCreate(SessionID sessionID) <20030411-17:11:34, FIX.4.3:TW->CLIENT1, event> (Created session) 19:11:34,349 INFO [STDOUT] FixApplication:: onCreate(SessionID sessionID) <20030411-17:11:34, FIX.4.3:TW->CLIENT2, event> (Created session) An unexpected exception has been detected in native code outside the VM. Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0xBA8163D Function=FIX::Session::~Session+0x5C Library=D:\opt\jboss-3.0.6\lib\quickfix_jni_debug.dll Source file = D:\work\quickfix\src\C++\Session.cpp : 102 Current Java thread: at org.quickfix.SocketAcceptor.destroy(Native Method) at org.quickfix.SocketAcceptor.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 d:\opt\jdk\1.4.0_03\bin\java.exe 0x77880000 - 0x77901000 C:\WINNT\System32\ntdll.dll 0x77DA0000 - 0x77DFD000 C:\WINNT\system32\ADVAPI32.dll 0x77E70000 - 0x77F33000 C:\WINNT\system32\KERNEL32.DLL 0x77D20000 - 0x77D91000 C:\WINNT\system32\RPCRT4.DLL 0x78000000 - 0x78046000 C:\WINNT\system32\MSVCRT.dll 0x6D330000 - 0x6D445000 d:\opt\jdk\1.4.0_03\jre\bin\client\jvm.dll 0x77E00000 - 0x77E65000 C:\WINNT\system32\USER32.dll 0x77F40000 - 0x77F7C000 C:\WINNT\system32\GDI32.DLL 0x77540000 - 0x77571000 C:\WINNT\System32\WINMM.dll 0x6D1D0000 - 0x6D1D7000 d:\opt\jdk\1.4.0_03\jre\bin\hpi.dll 0x6D300000 - 0x6D30D000 d:\opt\jdk\1.4.0_03\jre\bin\verify.dll 0x6D210000 - 0x6D228000 d:\opt\jdk\1.4.0_03\jre\bin\java.dll 0x6D320000 - 0x6D32D000 d:\opt\jdk\1.4.0_03\jre\bin\zip.dll 0x6D2D0000 - 0x6D2DD000 D:\opt\jdk\1.4.0_03\jre\bin\net.dll 0x74FC0000 - 0x74FC9000 C:\WINNT\System32\WSOCK32.dll 0x74FA0000 - 0x74FB3000 C:\WINNT\System32\WS2_32.DLL 0x74F90000 - 0x74F98000 C:\WINNT\System32\WS2HELP.DLL 0x77830000 - 0x7783C000 C:\WINNT\System32\rnr20.dll 0x77970000 - 0x77994000 C:\WINNT\System32\DNSAPI.DLL 0x77310000 - 0x77323000 C:\WINNT\System32\iphlpapi.dll 0x774F0000 - 0x774F5000 C:\WINNT\System32\ICMP.DLL 0x772F0000 - 0x77307000 C:\WINNT\System32\MPRAPI.DLL 0x750C0000 - 0x750D0000 C:\WINNT\System32\SAMLIB.DLL 0x750E0000 - 0x7512F000 C:\WINNT\System32\NETAPI32.DLL 0x77BD0000 - 0x77BDF000 C:\WINNT\System32\SECUR32.DLL 0x75130000 - 0x751Yahoo! Tax <http://us.rd.yahoo.com/finance/mailsig/*http:/tax.yahoo.com> Center - File online, calculators, forms, and more |