Bushfiend / TetherSE

SE BuildPlanner Tether
1 stars 6 forks source link

Holding a grinder while tether is active causes Space Engineers to crash #6

Open Codebreakerblue opened 1 year ago

Codebreakerblue commented 1 year ago

After typing /tether and linking to a block, taking out a grinder causes the game to crash to desktop.

Logs: SpaceEngineers_20221111_011856358.log

VRageRender-DirectX11_20221111_012823119.log

Video leading up to the crash:

https://user-images.githubusercontent.com/18739767/201301631-be8b7168-cb76-42fb-a1f5-d958860b3ede.mp4

kaedys commented 1 year ago

Same issue. Here's the analysis log output from the minidump:

*** WARNING: Unable to verify checksum for VRage.Library.ni.dll
DEBUG_FLR_EXCEPTION_CODE(80131509) and the ".exr -1" ExceptionCode(e0434352) don't match
MethodDesc:   00007fff0af23250
Method Name:  System.Collections.Generic.List`1+Enumerator[[VRage.Game.Entity.MyPhysicalInventoryItem, VRage.Game]].MoveNextRare()
Class:        00007fff0af17380
MethodTable:  00007fff0af232f0
mdToken:      0000000006006e0d
Module:       00007fff5ed41000
IsJitted:     yes
CodeAddr:     00007fff0f3d03d0
Transparency: Transparent
MethodDesc:   00007fff059a24e8
Method Name:  TetherSE.Tether.DoGrinder()
Class:        00007fff059b7f08
MethodTable:  00007fff059a2508
mdToken:      0000000006000011
Module:       00007fff059a1908
IsJitted:     yes
CodeAddr:     00007fff1153c100
Transparency: Critical
*** WARNING: Unable to verify checksum for plugin.dll
MethodDesc:   00007fff059a24c8
Method Name:  TetherSE.Tether.Update()
Class:        00007fff059b7f08
MethodTable:  00007fff059a2508
mdToken:      000000000600000f
Module:       00007fff059a1908
IsJitted:     yes
CodeAddr:     00007fff0ad82690
Transparency: Critical
MethodDesc:   00007fff059a2320
Method Name:  TetherSE.Plugin.Update()
Class:        00007fff059b7e08
MethodTable:  00007fff059a2330
mdToken:      000000000600000c
Module:       00007fff059a1908
IsJitted:     yes
CodeAddr:     00007fff058c6cb0
Transparency: Critical
MethodDesc:   00007fff017ebd50
Method Name:  avaness.PluginLoader.Main.Update()
Class:        00007fff01827580
MethodTable:  00007fff017ebda0
mdToken:      0000000006000041
Module:       00007fff017eab70
IsJitted:     yes
CodeAddr:     00007fff0ad76870
Transparency: Critical
MethodDesc:   00007fff0108f670
Method Name:  Sandbox.MySandboxGame.Update()
Class:        00007fff01079f30
MethodTable:  00007fff01091a20
mdToken:      0000000006000156
Module:       00007fff00d58ee8
IsJitted:     yes
CodeAddr:     00007fff0ac9b7e0
Transparency: Critical
MethodDesc:   00007fff0108e5c0
Method Name:  Sandbox.Engine.Platform.Game.UpdateInternal()
Class:        00007fff01079e30
MethodTable:  00007fff0108eaa8
mdToken:      000000000600aa87
Module:       00007fff00d58ee8
IsJitted:     yes
CodeAddr:     00007fff0ac9de20
Transparency: Critical
MethodDesc:   00007fff0108e570
Method Name:  Sandbox.Engine.Platform.Game.RunSingleFrame()
Class:        00007fff01079e30
MethodTable:  00007fff0108eaa8
mdToken:      000000000600aa80
Module:       00007fff00d58ee8
IsJitted:     yes
CodeAddr:     00007fff0ac9e3b0
Transparency: Critical
MethodDesc:   00007fff0108e560
Method Name:  Sandbox.Engine.Platform.Game.RunLoop()
Class:        00007fff01079e30
MethodTable:  00007fff0108eaa8
mdToken:      000000000600aa7f
Module:       00007fff00d58ee8
IsJitted:     yes
CodeAddr:     00007fff0ac9f480
Transparency: Critical
MethodDesc:   00007fff0108f2f8
Method Name:  Sandbox.MySandboxGame.Run(Boolean, System.Action)
Class:        00007fff01079f30
MethodTable:  00007fff01091a20
mdToken:      000000000600011a
Module:       00007fff00d58ee8
IsJitted:     yes
CodeAddr:     00007fff07e97150
Transparency: Critical

KEY_VALUES_STRING: 1

    Key  : Analysis.CPU.mSec
    Value: 9405

    Key  : Analysis.DebugAnalysisManager
    Value: Create

    Key  : Analysis.Elapsed.mSec
    Value: 21735

    Key  : Analysis.IO.Other.Mb
    Value: 166

    Key  : Analysis.IO.Read.Mb
    Value: 4

    Key  : Analysis.IO.Write.Mb
    Value: 233

    Key  : Analysis.Init.CPU.mSec
    Value: 3562

    Key  : Analysis.Init.Elapsed.mSec
    Value: 261128

    Key  : Analysis.Memory.CommitPeak.Mb
    Value: 560

    Key  : CLR.BuiltBy
    Value: NET48REL1LAST_C

    Key  : CLR.Engine
    Value: CLR

    Key  : CLR.Exception.System.InvalidOperationException._message
    Value: Collection was modified; enumeration operation may not execute.

    Key  : CLR.Exception.Type
    Value: System.InvalidOperationException

    Key  : CLR.Version
    Value: 4.8.4515.0

    Key  : Timeline.Process.Start.DeltaSec
    Value: 27268

    Key  : WER.OS.Branch
    Value: vb_release

    Key  : WER.OS.Timestamp
    Value: 2019-12-06T14:06:00Z

    Key  : WER.OS.Version
    Value: 10.0.19041.1

    Key  : WER.Process.Version
    Value: 1.0.0.0

FILE_IN_CAB:  Minidump.dmp

NTGLOBALFLAG:  0

PROCESS_BAM_CURRENT_THROTTLED: 0

PROCESS_BAM_PREVIOUS_THROTTLED: 0

CONTEXT:  (.ecxr)
rax=00007fff5f2d7b94 rbx=00000000e0434352 rcx=0000ec9cd8be1404
rdx=000000e3a19fd780 rsi=0000000000000001 rdi=0000000000000005
rip=00007fff8ebbcd29 rsp=000000e3a19fdef0 rbp=000002105aca09d0
 r8=00007fff5f2d7a78  r9=0000000000000000 r10=00007fff603864c0
r11=0000020bb6f6c128 r12=0000000000004000 r13=0000020bb6f68da0
r14=000000e3a19fe088 r15=0000020bb7cbbae8
iopl=0         nv up ei pl nz na po nc
cs=0033  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00000206
KERNELBASE!RaiseException+0x69:
00007fff`8ebbcd29 0f1f440000      nop     dword ptr [rax+rax]
Resetting default scope

EXCEPTION_RECORD:  (.exr -1)
ExceptionAddress: 00007fff8ebbcd29 (KERNELBASE!RaiseException+0x0000000000000069)
   ExceptionCode: e0434352 (CLR exception)
  ExceptionFlags: 00000001
NumberParameters: 5
   Parameter[0]: ffffffff80131509
   Parameter[1]: 0000000000000000
   Parameter[2]: 0000000000000000
   Parameter[3]: 0000000000000000
   Parameter[4]: 00007fff60340000

PROCESS_NAME:  SpaceEngineers.exe

EXCEPTION_CODE_STR:  80131509

FAULTING_THREAD:  ffffffff

STACK_TEXT:  
000000e3`a19fe2a0 00007fff`5faef57c mscorlib_ni!System.ThrowHelper.ThrowInvalidOperationException+0x3c
000000e3`a19fe2e0 00007fff`0f3d03f0 mscorlib_ni!System.Collections.Generic.List`1+Enumerator[[VRage.Game.Entity.MyPhysicalInventoryItem, VRage.Game]].MoveNextRare+0x20
000000e3`a19fe310 00007fff`1153c511 plugin_20bcfaf0000!TetherSE.Tether.DoGrinder+0x411
000000e3`a19fe420 00007fff`0ad829f1 plugin_20bcfaf0000!TetherSE.Tether.Update+0x361
000000e3`a19fe4e0 00007fff`058c6cb9 plugin_20bcfaf0000!TetherSE.Plugin.Update+0x9
000000e3`a19fe510 00007fff`0ad768e7 PluginLoader!avaness.PluginLoader.Main.Update+0x77
000000e3`a19fe560 00007fff`0ac9ce18 Sandbox_Game!Sandbox.MySandboxGame.Update+0x1638
000000e3`a19fe820 00007fff`0ac9dfad Sandbox_Game!Sandbox.Engine.Platform.Game.UpdateInternal+0x18d
000000e3`a19fe890 00007fff`0ac9e3e0 Sandbox_Game!Sandbox.Engine.Platform.Game.RunSingleFrame+0x30
000000e3`a19fe8e0 00007fff`45a93582 VRage_Library_ni!Sandbox.Engine.Platform.FixedLoop+<>c__DisplayClass11_0.<Run>b__0+0x92
000000e3`a19fe960 00007fff`45a85c36 VRage_Library_ni!Sandbox.Engine.Platform.GenericLoop.Run+0x26
000000e3`a19fe990 00007fff`0ac9f589 Sandbox_Game!Sandbox.Engine.Platform.Game.RunLoop+0x109
000000e3`a19fe9f0 00007fff`07e97429 Sandbox_Game!Sandbox.MySandboxGame.Run+0x2d9
000000e3`a19fea80 00007fff`00e6ad91 SpaceEngineers!SpaceEngineers.MyProgram.Main+0xa11

STACK_COMMAND:  !C:\ProgramData\Dbg\sym\SOS_AMD64_AMD64_4.8.4515.00.dll\624CE773244000\SOS_AMD64_AMD64_4.8.4515.00.dll.pe 0x210607718d8 ; ** Pseudo Context ** ManagedPseudo ** Value: ffffffff ** ; kb

SYMBOL_NAME:  mscorlib_ni!System.ThrowHelper.ThrowInvalidOperationException+daf57c

MODULE_NAME: mscorlib

IMAGE_NAME:  mscorlib.dll

FAILURE_BUCKET_ID:  CLR_EXCEPTION_System.InvalidOperationException_80131509_mscorlib.dll!System.ThrowHelper.ThrowInvalidOperationException

BUCKET_ID_MODPRIVATE: 1

OS_VERSION:  10.0.19041.1

BUILDLAB_STR:  vb_release

OSPLATFORM_TYPE:  x64

OSNAME:  Windows 10

FAILURE_ID_HASH:  {04525835-cd72-ba51-5da9-09b4e156fc66}

Followup:     MachineOwner
---------