Re: [Quickfix-developers] FileStore crashes in .NET?
Brought to you by:
orenmnero
From: <or...@qu...> - 2008-03-14 20:13:17
|
<html><body>Never mind. I can see it's VS8 from your post. Might be able to do something about this by changing the build settings. I don't think it's a coding error. I'm looking into the microsoft knowledge base for possible solutions.<BR><BR> <BLOCKQUOTE style="PADDING-LEFT: 8px; MARGIN-LEFT: 8px; BORDER-LEFT: blue 2px solid" webmail="1">-------- Original Message --------<BR>Subject: Re: [Quickfix-developers] FileStore crashes in .NET?<BR>From: Rick Lane <ric...@gm...><BR>Date: Fri, March 14, 2008 2:41 pm<BR>To: <a href="mailto:qui...@li...">qui...@li...</a><BR><BR>QuickFIX Documentation: <a href="http://www.quickfixengine.org/quickfix/doc/html/index.html" target=_blank>http://www.quickfixengine.org/quickfix/doc/html/index.html</a><BR>QuickFIX Support: <a href="http://www.quickfixengine.org/services.html" target=_blank>http://www.quickfixengine.org/services.html</a><BR><BR> <HR> After some more digging, I'm attempting to load the .dmp file generated at the application crash into Visual Studio. There are many entries for quickfix_net.dll (which, as you said, may not mean there was a problem with quickfix), but it would be nice to be able to load the .pdb file for QuickFix into Visual Studio so I can see actual function names instead of just assembly mumbo jumbo.<BR><BR>I tried loading both the debug/vs8/quickfix_net.pdb and the release/vs8/quickfix_net.pdb and for both it said it "did not match the module." Has anyone tried to load these pdb files into studio for debugging purposes? incidentally, the exception is: "<SPAN id=_ctl0_MainContent_PostFlatView><SPAN>Unhandled exception at 0x77e4bee7 in user.dmp: 0xC0020001: The string binding is invalid." I've done some research on this and in most cases it seems to occur when people are blending managed and unmanaged code. Outside of QuickFix, I do <I>not </I>have any unmanaged code -- so is this looking more like it might be a native issue (after all, isn't the .NET QuickFix library just a wrapper around the unmanaged version?).<BR><BR>call stack at crash:<BR><BR></SPAN></SPAN>> kernel32.dll!77e4bee7() <BR> [Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll] <BR> kernel32.dll!77e4bee7() <BR> quickfix_net.dll!10084f0c() <BR> quickfix_net.dll!100938d5() <BR> quickfix_net.dll!10093938() <BR><BR><BR><a class=moz-txt-link-abbreviated onclick="Popup.composeWindow('pcompose.php?sendto=oren%40quickfixengine.org');; return false;" href="mailto:or...@qu..." target=_blank><a href="mailto:or...@qu...">or...@qu...</a></A> wrote: <BLOCKQUOTE cite=mid:200...@em... type="cite"> <DIV>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?</DIV> <DIV> </DIV> <DIV>--oren</DIV> <BLOCKQUOTE style="PADDING-LEFT: 8px; MARGIN-LEFT: 8px; BORDER-LEFT: blue 2px solid" webmail="1">-------- Original Message --------<BR>Subject: [Quickfix-developers] FileStore crashes in .NET?<BR>From: Rick Lane <A class=moz-txt-link-rfc2396E onclick="Popup.composeWindow('pcompose.php?sendto=rick.lane%40gmail.com');; return false;" href="mailto:ric...@gm..." target=_blank><ric...@gm...></A><BR>Date: Fri, March 14, 2008 11:39 am<BR>To: <A onclick="Popup.composeWindow('pcompose.php?sendto=quickfix-developers%40lists.sourceforge.net');; return false;" href="mailto:qui...@li..." target=_blank moz-do-not-send="true"><a href="mailto:qui...@li...">qui...@li...</a></A><BR><BR>QuickFIX Documentation: <A href="http://www.quickfixengine.org/quickfix/doc/html/index.html" target=_blank moz-do-not-send="true">http://www.quickfixengine.org/quickfix/doc/html/index.html</a><BR>QuickFIX Support: <a href="http://www.quickfixengine.org/services.html" target=_blank moz-do-not-send="true">http://www.quickfixengine.org/services.html</a><BR><BR>Greetings,<BR><BR>Have there been any documented instances of QuickFix causing an <BR>application crash in .NET related to the FileStore? My application was <BR>running along just fine, entering no orders (and with no orders, and <BR>therefore no execution reports) for a couple hours after a very busy <BR>morning. So for about an hour, the only traffic through QuickFix <BR>should've been heartbeats. I received an Application crash -- not the <BR>good kind, the kind that pretty much doesn't let you do any sort of <BR>recovery -- for the first time (I've gotten many crashes due to a null <BR>pointer, etc., but these can be caught and therefore recovered from).<BR><BR>I'm not 100% sure QuickFix caused this -- I'm in the process of thumbing <BR>through the memory dump created by Dr Watson (I'm not very good at this) <BR>-- but the quickfix_net dll keeps popping up in the log, so I decided to <BR>go check out the FileStore file. I was surprised to see it was nearly <BR>12 MB (which I guess because of a busy morning, this is to be <BR>expected?). This crash could very well have been due to the market data <BR>portion of my app (which listens to the CME's FIX/FAST data stream) but <BR>I thought I was handling those types of errors better than this, so I <BR>just wanted to see if anyone else has seen unexpected crashes w/ the <BR>.NET quickfix library, possibly having something to do with the FileStore?<BR><BR>Thanks in advance,<BR>Rick<BR><BR>-------------------------------------------------------------------------<BR>This <a href="http://sf.net/" target=_blank moz-do-not-send="true"><a href="http://SF.net">SF.net</a></A> email is sponsored by: Microsoft<BR>Defy all challenges. Microsoft(R) Visual Studio 2008.<BR><A href="http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/" target=_blank moz-do-not-send="true">http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/</a><BR>_______________________________________________<BR>Quickfix-developers mailing list<BR><a href="#Compose" target=_self moz-do-not-send="true" _onclick="Popup.composeWindow('pcompose.php?sendto=Quickfix-developers%40lists.sourceforge.net'); return false;"><a href="mailto:Qui...@li...">Qui...@li...</a></A><BR><A href="https://lists.sourceforge.net/lists/listinfo/quickfix-developers" target=_blank moz-do-not-send="true">https://lists.sourceforge.net/lists/listinfo/quickfix-developers</a><BR></BLOCKQUOTE></BLOCKQUOTE> <HR> -------------------------------------------------------------------------<BR>This <a href="http://SF.net">SF.net</a> email is sponsored by: Microsoft<BR>Defy all challenges. Microsoft(R) Visual Studio 2008.<BR><a href="http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/" target=_blank>http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/</a> <HR> _______________________________________________<BR>Quickfix-developers mailing list<BR><a onclick="Popup.composeWindow('pcompose.php?sendto=Quickfix-developers%40lists.sourceforge.net'); return false;" href="#Compose">Quickfix-developers<B></B>@lists.sourceforge.net</A><BR><A href="https://lists.sourceforge.net/lists/listinfo/quickfix-developers" target=_blank>https://lists.sourceforge.net/lists/listinfo/quickfix-developers</a> </BLOCKQUOTE></body></html> |