Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Microbe engulf disposed object exception #2129

Closed
hhyyrylainen opened this issue Mar 15, 2021 · 0 comments · Fixed by #4521
Closed

Microbe engulf disposed object exception #2129

hhyyrylainen opened this issue Mar 15, 2021 · 0 comments · Fixed by #4521

Comments

@hhyyrylainen
Copy link
Member

hhyyrylainen commented Mar 15, 2021

Found this in one of the logs given to me (game doesn't crash here):

crash in thrive: ERROR: shape_find_owner: Index p_shape_index =
52019136 is out of bounds (total_subshapes = 22).  At:
scene/3d/collision_object.cpp:328 ERROR: shape_find_owner: Index
p_shape_ ERROR: ertyInfo+Getter`2[T,R] getter, System.Object obj)
[0x00000] in <34e7ab706f1141f9b981d74fbe2f5560>:0 at
System.Reflection.RuntimePropertyInfo.GetValue (System.Object obj,
System.Object[] index) [0x00082] in
<34e7ab706f1141f9b981d74fbe2f5560>:0 --- End of inner exception stack
trace --- at System.Reflection.RuntimePropertyInfo.GetValue
(System.Object obj, System.Object[] index) [0x00096] in
<34e7ab706f1141f9b981d74fbe2f5560>:0 at BaseThriveConverter.WriteJson
(Newtonsoft.Json.JsonWriter writer, System.Object value,
Newtonsoft.Json.JsonSerializer serializer) [0x001da] in
<7ec708c7874641c1b251467d569721c1>:0 Problem trying to save a
property: System.Reflection.TargetInvocationException: Exception has
been thrown by the target of an invocation. --->
System.ObjectDisposedException: Cannot access a disposed
object. Object name: 'PlacedOrganelle'. at Godot.Object.GetPtr
(Godot.Object instance) [0x0001c] in
<b6bf450c2ab44fafb6278bd19225df9c>:0 at Godot.Node.GetName ()
[0x00000] in <b6bf450c2ab44fafb6278bd19225df9c>:0 at
Godot.Node.get_Name () [0x00000] in
<b6bf450c2ab44fafb6278bd19225df9c>:0 at
System.Reflection.RuntimePropertyInfo.GetterAdapterFrame[T,R]
(System.Reflection.RuntimePropertyInfo+Getter`2[T,R] getter,
System.Object obj) [0x00000] in <34e7ab706f1141f9b981d74fbe2f5560>:0
at System.Reflection.RuntimePropertyInfo.GetValue (System.Object obj,
System.Object[] index) [0x00082] in
<34e7ab706f1141f9b981d74fbe2f5560>:0 --- End of inner exception stack
trace --- at System.Reflection.RuntimePropertyInfo.GetValue
(System.Object obj, System.Object[] index) [0x00096] in
<34e7ab706f1141f9b981d74fbe2f5560>:0 at BaseThriveConverter.WriteJson
(Newtonsoft.Json.JsonWriter writer, System.Object value,
Newtonsoft.Json.JsonSerializer serializer) [0x001da] in
<7ec708c7874641c1b251467d569721c1>:0 Problem trying to save a
property: System.Reflection.TargetInvocationException: Exception has
been thrown by the target of an invocation. --->
System.ObjectDisposedException: Cannot access a disposed
object. Object name: 'PlacedOrganelle'. at Godot.Object.GetPtr
(Godot.Object instance) [0x0001c] in
<b6bf450c2ab44fafb6278bd19225df9c>:0 at Godot.Node.GetFilename ()
[0x00000] in <b6bf450c2ab44fafb6278bd19225df9c>:0 at
Godot.Node.get_Filename () [0x00000] in
<b6bf450c2ab44fafb6278bd19225df9c>:0 at
System.Reflection.RuntimePropertyInfo.GetterAdapterFrame[T,R]
(System.Reflection.RuntimePropertyInfo+Getter`2[T,R] getter,
System.Object obj) [0x00000] in <34e7ab706f1141f9b981d74fbe2f5560>:0
at System.Reflection.RuntimePropertyInfo.GetValue (System.Object obj,
System.Object[] index) [0x00082] in
<34e7ab706f1141f9b981d74fbe2f5560>:0 --- End of inner exception stack
trace --- at System.Reflection.RuntimePropertyInfo.GetValue
(System.Object obj, System.Object[] index) [0x00096] in
<34e7ab706f1141f9b981d74fbe2f5560>:0 at BaseThriveConverter.WriteJson
(Newtonsoft.Json.JsonWriter writer, System.Object value,
Newtonsoft.Json.JsonSerializer serializer) [0x001da] in
<7ec708c7874641c1b251467d569721c1>:0 Unhandled Exception:
System.ObjectDisposedException: Cannot access a disposed
object. Object name: 'Microbe'. at Godot.Object.GetPtr (Godot.Object
instance) [0x0001c] in <b6bf450c2ab44fafb6278bd19225df9c>:0 at
Godot.PhysicsBody.RemoveCollisionExceptionWith (Godot.Node body)
[0x0000b] in <b6bf450c2ab44fafb6278bd19225df9c>:0 at
Microbe.StopEngulfingOnTarget (Microbe microbe) [0x00000] in
<7ec708c7874641c1b251467d569721c1>:0 at
Microbe.ProcessPhysicsForEngulfing () [0x0001e] in
<7ec708c7874641c1b251467d569721c1>:0 at Microbe.HandleEngulfing
(System.Single delta) [0x00032] in
<7ec708c7874641c1b251467d569721c1>:0 at Microbe._Process
(System.Single delta) [0x000bf] in
<7ec708c7874641c1b251467d569721c1>:0 index = 52019136 is out of bounds
(total_subshapes = 22).  At: scene/3d/collision_object.cpp:328 ERROR:
shape_find_owner: Index p_shape_index = 52019136 is out of bounds
(total_subshapes = 22).  At: scene/3d/collision_object.cpp:328 ERROR:
shape_find_owner: Index p_shape_index = 52019136 is out of bounds
(total_subshapes = 33).  At: scene/3d/collision_object.cpp:328 ERROR:
shape_find_owner: Index p_shape_index = 52019136 is out of bounds
(total_subshapes = 34).  At: scene/3d/collision_object.cpp:328

later on the game was reported to have crashed with code 0 without printing an error there.

Excuse the bad formatting, it was originally on a single line, so I just line wrapped it to make it fit better here.

@hhyyrylainen hhyyrylainen added this to Backburner in Thrive Planning via automation Mar 15, 2021
@hhyyrylainen hhyyrylainen moved this from Backburner to High priority bugs / issues in Thrive Planning Mar 15, 2021
@hhyyrylainen hhyyrylainen added this to the Release 0.6.4 milestone Oct 13, 2023
@hhyyrylainen hhyyrylainen moved this from High priority bugs / issues to In progress in Thrive Planning Oct 13, 2023
Thrive Planning automation moved this from In progress to Done Oct 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
1 participant