View Issue Details

IDProjectCategoryView StatusLast Update
0004557The Dark ModCodingpublic08.07.2017 18:55
Reporterstgatilov Assigned Tostgatilov  
PrioritynormalSeveritycrashReproducibilitysometimes
Status resolvedResolutionfixed 
OSLinux 
Product VersionSVN 
Target VersionTDM 2.06Fixed in VersionTDM 2.06 
Summary0004557: Crash after killing or knocking out someone
DescriptionIn Linux 64-bit, when I knock someone off or kill, the game often crashes with message:
  ERROR:GetBody no body with id 32767 exists on ent archer
The entity may be arbitrary (whoever you killed just before error).
Steps To Reproduce1. Start Inn Business mission freshly.
2. Enable "god" mode in console.
3. Go out and kill everyone (if you can).
After a few guys the game would crash.

To make things funnier, I cannot reproduce the issue in debug build.
TagsNo tags attached.

Activities

stgatilov

stgatilov

08.07.2017 14:09

administrator   ~0008970

Fixed in revision 7006.

It was caused by a very ancient bug introduced by Ishtvan in revision 594 in 2006. It was waiting for us to discover it all this time =)
Pointer to local struct define inside if block was passed into another function (when the struct is already dead according to language rules).

Issue History

Date Modified Username Field Change
08.07.2017 08:14 stgatilov New Issue
08.07.2017 08:14 stgatilov Status new => assigned
08.07.2017 08:14 stgatilov Assigned To => stgatilov
08.07.2017 08:14 stgatilov Severity normal => crash
08.07.2017 14:09 stgatilov Note Added: 0008970
08.07.2017 14:09 stgatilov Status assigned => resolved
08.07.2017 14:09 stgatilov Fixed in Version => TDM 2.06
08.07.2017 14:09 stgatilov Resolution open => fixed
08.07.2017 18:54 nbohr1more Relationship added related to 0000594
08.07.2017 18:55 nbohr1more Relationship deleted related to 0000594