Menu

#11 OrderStatusRequest.Set(Account): System.AccessViolationExcep

open
None
9
2009-06-29
2009-06-29
No

OrderStatusRequest.Set(Account) -- System.AccessViolationException: Attempted to read or write protected memory.

Hello I have an issue with QuickFix42.OrderStatusRequest
Sometime when I set the Account

c#
QuickFix42.
OrderStatusRequest message = new QuickFix42.OrderStatusRequest();
message.set(new QuickFix.Account(myAccount));

I see the following critical error:

Description: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Details: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at std.basic_string<char,std::char_traits<char>,std::allocator<char> >.{ctor}(basic_string<char\,std::char_traits<char>\,std::allocator<char> >* , SByte* )
at QuickFix.convertString(basic_string<char\,std::char_traits<char>\,std::allocator<char> >* , String s)
at QuickFix.mapSetString(Int32 field, String value, FieldMap* map)
at QuickFix.Message.setField(StringField field)
at QuickFix42.OrderStatusRequest.set(Account value)

Any idea? Does any one else use the OrderStatusRequest and experience the samething?

Thank you for your help

Wilhelm

Discussion

  • Wilhelm Thomas

    Wilhelm Thomas - 2009-06-29

    I forgot to mention, I'm using QF 4.2 with C#

    Thanks

    Wilhelm

     
  • Wilhelm Thomas

    Wilhelm Thomas - 2009-06-29
    • priority: 5 --> 9
     
  • Wilhelm Thomas

    Wilhelm Thomas - 2009-06-29
    • assigned_to: nobody --> orenmnero
     
  • SergeyG

    SergeyG - 2009-09-25

    I have the very similar problem at ~Dictionary(). If I comment out the destructor:

    ~Dictionary()
    {
    //delete m_pUnmanaged;
    }

    It's not crashing anymore.
    Definitely, something is wrong in Dictionary. As I understand it serves for FIX message.
    The problem occurs on Windows Server 2003. At WinXP and Vista -- everything works fine.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.