Re: [Quickfix-developers] Attempted to read or write protected memory.
Brought to you by:
orenmnero
From: Ariel P. <ari...@gm...> - 2009-05-12 15:24:48
|
Never to call to method Dispose(). the problem occurs unexpectedly. that is recommended to fix this? regards 2009/5/10 Djalma Rosa dos Santos Filho <drs...@gm...> > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > > Yes, but this error can occur even if dispose is not being called, because > ToString requires a pinned object, the same problem with addGroup. > > > http://www.nabble.com/Re%3A-NewOrderList-addgroup-threw-%22Attempted-to-read-or-write-protected-memory.-This-is-often-an-indication-that-other-memory-is-corrupt%22-p21635727.html > > Regards, > Djalma > > > On Fri, May 8, 2009 at 6:15 PM, Bristotti, Fernando < > fer...@cr...> wrote: > >> QuickFIX Documentation: >> http://www.quickfixengine.org/quickfix/doc/html/index.html >> QuickFIX Support: http://www.quickfixengine.org/services.html >> >> This error happens when you try call a method after you have called >> Dispose() on a message. >> >> Example: >> >> void QuickFix.Application.fromAdmin(QuickFix.Message message, >> QuickFix.SessionID session) >> { >> message.Dispose(); >> message.getHeader().getString(QuickFix.TargetCompID.FIELD); // >> Error!! >> } >> >> Regards. >> Bristotti >> >> -----Original Message----- >> From: arielsrv [mailto:ari...@gm...] >> Sent: Friday, May 08, 2009 4:00 PM >> To: qui...@li... >> Subject: [Quickfix-developers] Attempted to read or write protected >> memory. >> >> QuickFIX Documentation: >> http://www.quickfixengine.org/quickfix/doc/html/index.html >> QuickFIX Support: http://www.quickfixengine.org/services.html >> >> >> >> Hi, >> >> I'm Ariel from Argentina and have next error. The design is in C#. >> This error is 1 or 2 times per day >> I have not found solution for this error. >> >> Regards. >> >> >> Extended message: Attempted to read or write protected memory. This is >> often an indication that other memory is corrupt. >> Stack trace: at FIX.Message.toString(Message* , >> basic_string<char\,std::char_traits<char>\,std::allocator<char> >* , >> Int32 , >> Int32 , Int32 ) >> at QuickFix.Message.ToString() >> at QuickFix.Message.getHeader() >> -- >> View this message in context: >> http://www.nabble.com/Attempted-to-read-or-write-protected-memory.-tp234 >> 51721p23451721.html<http://www.nabble.com/Attempted-to-read-or-write-protected-memory.-tp234%0A51721p23451721.html> >> Sent from the QuickFIX - Dev mailing list archive at Nabble.com. >> >> >> ------------------------------------------------------------------------ >> ------ >> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your >> production scanning environment may not be a perfect world - but thanks >> to >> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK >> i700 >> Series Scanner you'll get full speed at 300 dpi even with all image >> processing features enabled. http://p.sf.net/sfu/kodak-com >> _______________________________________________ >> Quickfix-developers mailing list >> Qui...@li... >> https://lists.sourceforge.net/lists/listinfo/quickfix-developers >> >> >> >> =============================================================================== >> Please access the attached hyperlink for an important electronic >> communications disclaimer: >> http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html >> >> =============================================================================== >> >> >> >> ------------------------------------------------------------------------------ >> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your >> production scanning environment may not be a perfect world - but thanks to >> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK >> i700 >> Series Scanner you'll get full speed at 300 dpi even with all image >> processing features enabled. http://p.sf.net/sfu/kodak-com >> _______________________________________________ >> Quickfix-developers mailing list >> Qui...@li... >> https://lists.sourceforge.net/lists/listinfo/quickfix-developers >> > > > > ------------------------------------------------------------------------------ > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK > i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > |