Occasional System.AccessViolationException

Home Forums PFM Developer Support Occasional System.AccessViolationException

This topic contains 1 post, has 1 voice, and was last updated by  alot1 2 years.

Viewing 1 post (of 1 total)
  • Author
    Posts

  • alot1
    Posts: 2

    Hi,

    I wrote my own Pfm.FormatterDispatch implementation on C# and it seems to work fine for all open/list/read/write/close etc operations,
    but I am getting System.AccessViolationException occasionally without stable way to reproduce.

    Stack trace is:
    Exception Info: System.AccessViolationException
    at PfmShim.PfmMarshallerOpenOp_Complete(IntPtr, Int32, Boolean, Int64, Int64, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int64, Int64, Int64, Int64, Int64, Int64, Int64, System.String, Int32, IntPtr, Int32, IntPtr, FormatterSerializeOpen_SerializeOpen_t)
    at PfmShim+Dispatch+OpenOp.Complete(IntPtr ByRef)
    at PfmShim+Dispatch.Open(IntPtr, IntPtr, Int32, Int32, Int32, Int64, Int64, Int32, Int64)
    at PfmShim.PfmMarshaller_ServeDispatch(IntPtr, Int32, System.String, Int32, IntPtr, IntPtr, IntPtr, FormatterDispatch_Open_t, FormatterDispatch_Replace_t, FormatterDispatch_Move_t, FormatterDispatch_MoveReplace_t, FormatterDispatch_Delete_t, FormatterDispatch_Close_t, FormatterDispatch_FlushFile_t, FormatterDispatch_List_t, FormatterDispatch_ListEnd_t, FormatterDispatch_Read_t, FormatterDispatch_Write_t, FormatterDispatch_SetSize_t, FormatterDispatch_Capacity_t, FormatterDispatch_FlushMedia_t, FormatterDispatch_Control_t, FormatterDispatch_MediaInfo_t, FormatterDispatch_Access_t, FormatterDispatch_ReadXattr_t, FormatterDispatch_WriteXattr_t)
    at PfmShim+Marshaller.ServeDispatch(MarshallerServeParams)

    Faulting module name: pfmshim16_185.dll, version: 1.0.0.185, time stamp: 0x594d9ba6
    Exception code: 0xc0000005
    Fault offset: 0x0000000000002e17
    Faulting process id: 0xde8
    Faulting application start time: 0x01d3a722b44645dd

    App is running in 64 bit Windows.

    Any hints on how to debug this problem?

    PFM v185

    Thank you,
    Alexey.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.