Re: [Quickfix-developers] FileStore crashes in .NET?
Brought to you by:
orenmnero
From: Rick L. <ric...@gm...> - 2008-03-17 18:23:46
|
I'm fairly certain the crash was occurring in the quickfix_net.DLL -- I'll repost my stack trace while debugging the .dmp file at the end of this email. Is there any way the .pdb file generated when the DLL was compiled (sometime in 2006) can be found? It would help me determine where in the quickfix code the error is occuring (right now I only have the address of the function). After looking at the .dmp file and generating a new .map file for quickfix_net.DLL, I'm making an educated guess (based on the address in this .dmp) that the exception is occurring at ThreadedSocketConnection::readMessage(String) Thanks, Rick > kernel32.dll!77e4bee7() [Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll] kernel32.dll!77e4bee7() quickfix_net.dll!10084f0c() quickfix_net.dll!100938d5() quickfix_net.dll!10093938() msvcr80.dll!_EH_prolog() + 0x4e bytes msvcr80.dll!_FindAndUnlinkFrame() + 0x9b bytes msvcr80.dll!_is_exception_typeof() + 0x106 bytes msvcr80.dll!__CxxExceptionFilter() + 0x19f bytes msvcr80.dll!__CxxExceptionFilter() + 0x503 bytes msvcr80.dll!__CxxExceptionFilter() + 0x6e8 bytes msvcr80.dll!__CxxFrameHandler() + 0x26 bytes ntdll.dll!7c828752() kernel32.dll!77e4bee7() kernel32.dll!77e4bee7() kernel32.dll!77e4bee7() *msvcr80.dll!_CxxThrowException() + 0x46 bytes * quickfix_net.dll!10093879() msvcp80.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::assign() + 0x6a bytes msvcr80.dll!free() + 0xec bytes msvcp80.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Tidy() + 0x33 bytes msvcp80.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::~basic_string<char,std::char_traits<char>,std::allocator<char> >() + 0x9 bytes Rick Lane wrote: > That's what I was afraid of -- I'm fairly certain now that it had to > do w/ the market data.... No, looking at the .events file all I see > is heartbeats for the hour or so prior to the crash. Unfortunately > all I have for debugging purposes is a Dr Watson dump file, which > isn't telling me much. > > Thanks anyway, > Rick > > or...@qu... wrote: >> I don't know of any outstanding bugs with the filestore. Do you have >> any kind of stack trace. Keep in mind that the quickfix_net.dll will >> pretty much always show up because events are being passed from >> quickfix to your application. So crashes in your application will >> generally appear to start out in the quickfix dll. 12 MB is pretty >> big, but not outrageous and I've seen bigger. None of it is kept in >> memory, it's only read in as needed for resend requests and such. >> Any idea if one was being processed during your crash? >> >> --oren >> >> -------- Original Message -------- >> Subject: [Quickfix-developers] FileStore crashes in .NET? >> From: Rick Lane <ric...@gm...> >> Date: Fri, March 14, 2008 11:39 am >> To: qui...@li... >> <mailto:qui...@li...> >> >> QuickFIX Documentation: >> http://www.quickfixengine.org/quickfix/doc/html/index.html >> QuickFIX Support: http://www.quickfixengine.org/services.html >> >> Greetings, >> >> Have there been any documented instances of QuickFix causing an >> application crash in .NET related to the FileStore? My >> application was >> running along just fine, entering no orders (and with no orders, and >> therefore no execution reports) for a couple hours after a very busy >> morning. So for about an hour, the only traffic through QuickFix >> should've been heartbeats. I received an Application crash -- not >> the >> good kind, the kind that pretty much doesn't let you do any sort of >> recovery -- for the first time (I've gotten many crashes due to a >> null >> pointer, etc., but these can be caught and therefore recovered from). >> >> I'm not 100% sure QuickFix caused this -- I'm in the process of >> thumbing >> through the memory dump created by Dr Watson (I'm not very good >> at this) >> -- but the quickfix_net dll keeps popping up in the log, so I >> decided to >> go check out the FileStore file. I was surprised to see it was >> nearly >> 12 MB (which I guess because of a busy morning, this is to be >> expected?). This crash could very well have been due to the >> market data >> portion of my app (which listens to the CME's FIX/FAST data >> stream) but >> I thought I was handling those types of errors better than this, >> so I >> just wanted to see if anyone else has seen unexpected crashes w/ the >> .NET quickfix library, possibly having something to do with the >> FileStore? >> >> Thanks in advance, >> Rick >> >> ------------------------------------------------------------------------- >> This SF.net <http://SF.net> email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> Quickfix-developers mailing list >> Qui...@li... <#Compose> >> https://lists.sourceforge.net/lists/listinfo/quickfix-developers >> |