asumagic / kag-staging

Issue tracker for the KAG staging build
6 stars 0 forks source link

Server crash in some occasions #137

Closed asumagic closed 2 years ago

asumagic commented 2 years ago

Repro:

Effect:

[17:49:37] Script: Exception occurred while executing 'Entities/Structures/Door/SwingDoor.as'; Line 5 Column 2; in function: bool canOpenDoor(CBlob@, CBlob@)
Null pointer access
[17:49:37] 
[17:49:37] PRINTING SCRIPT EXECUTION TRACE
[17:49:37] Tip: You can fetch callstack and scriptstack info from string[]@ getCallStack() and string[]@ getScriptStack().
[17:49:37] 
[17:49:37] #1: Entities/Structures/Door/DoorCommon.as:5: bool canOpenDoor(CBlob@ this, CBlob@ blob)
[17:49:37] #2: Entities/Structures/Door/SwingDoor.as:118: void onTick(CBlob@ this)
[17:49:37] 
[1]    49382 segmentation fault (core dumped)  ./KAG noautoupdate nolauncher autostart Scripts/server_autostart.as
asumagic commented 2 years ago

Happens on localhost too actually. Related to blob overlapping in some way. Lighting a bomb while in doors seems to be enough. Potentially related to a recent engine change...

asumagic commented 2 years ago

Vanilla bug, identified and will be fixed.

asumagic commented 2 years ago

... wrong one

asumagic commented 2 years ago

But really, it was fixed.

asumagic commented 2 years ago

sike

asumagic commented 2 years ago

wait no there's another issue for the crash