You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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>>)
The text was updated successfully, but these errors were encountered:
@sporty81 Thanks for reporting, and it would help to have the input JSON / steps to reproduce. But I'm considering to retire all versions from 2.0.0.7 to 2.0.0.11 (inclusive), as I suspect that a nasty regression eventually slipped in, ever since that FASTER_GETPROPINFO. Consider backing up to v2.0.0.6, functionally equivalent and likely more reliable (and not relying on any unsafe code, btw). You won't lose much in performance.
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.IDictionary
2<System.Type,System.Func
5<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.IDictionary
2<System.Type,System.Func5<System.Type,System.Object,System.Object,Int32,System.Func
2<System.Object,System.Object>>)The text was updated successfully, but these errors were encountered: