Skip to content

AccessViolationException crashing app #10

Description

@sporty81

Once in a while my app is crashing due to a AccessViolationException. Anyone else seen this or have any ideas? I'm not sure exactly what json was being parsed. I'm using the latest version of the nuget.

Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
Stack:
at System.Text.Json.JsonParser.FasterGetPropInfo(TypeInfo)
at System.Text.Json.JsonParser.Obj(Int32)
at System.Text.Json.JsonParser.Val(Int32)
at DynamicClass.Set(System.Object, System.Text.Json.JsonParser, Int32, Int32)
at System.Text.Json.JsonParser.Arr(Int32)
at System.Text.Json.JsonParser.Val(Int32)
at DynamicClass.Setstacks(System.Object, System.Text.Json.JsonParser, Int32, Int32)
at System.Text.Json.JsonParser.Obj(Int32)
at System.Text.Json.JsonParser.Val(Int32)
at DynamicClass.Set(System.Object, System.Text.Json.JsonParser, Int32, Int32)
at System.Text.Json.JsonParser.Arr(Int32)
at System.Text.Json.JsonParser.Val(Int32)
at DynamicClass.Setstacks(System.Object, System.Text.Json.JsonParser, Int32, Int32)
at System.Text.Json.JsonParser.Obj(Int32)
at System.Text.Json.JsonParser.Val(Int32)
at DynamicClass.Set(System.Object, System.Text.Json.JsonParser, Int32, Int32)
at System.Text.Json.JsonParser.Arr(Int32)
at System.Text.Json.JsonParser.Val(Int32)
at DynamicClass.Setstacks(System.Object, System.Text.Json.JsonParser, Int32, Int32)
at System.Text.Json.JsonParser.Obj(Int32)
at System.Text.Json.JsonParser.Val(Int32)
at System.Text.Json.JsonParser.DoParse[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.String, System.Collections.Generic.IDictionary2<System.Type,System.Func5<System.Type,System.Object,System.Object,Int32,System.Func2<System.Object,System.Object>>) at System.Text.Json.JsonParser.Parse[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.__Canon, System.String, System.Collections.Generic.IDictionary2<System.Type,System.Func5<System.Type,System.Object,System.Object,Int32,System.Func2<System.Object,System.Object>>)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions