[Fixed] Thing_Hate causing a crash

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Thing_Hate causing a crash

Postby Enjay » Thu Jan 17, 2019 2:53 pm

g3.8pre-228-g3df112a7b (32 bit because of 64 bit version crashing at startup)

I noticed this when testing my Burghead mod. There were a few things going on in the script when the crash happened but I managed to trim them down until I got the crash with not much else happening, then put it into a simple demo map.

Just load the attached and puke script 1. After a moment, the game should crash. 3.7.1 official (64 bit) does not crash.

[edit] Uploaded a newer version of the test map with a better test script. You can now puke script 1 or 2 to get a crash. Both use Thing_Hate, just slightly different versions.

Code: Select allExpand view
#include "zcommon.acs"

script 1 (void)
{
   Thing_Activate (3);
   Thing_Activate (4);
   Thing_Activate (5);
   //Floor_RaiseByValue(119, 16, 64);
   delay(4);

   //Hate type 6 prevents enemies attacking until they are closer
   //gives the player a chance to kill a few before they get nasty

   Thing_Hate (3, 53, 6);
   Thing_Hate (4, 53, 6);
   Thing_Hate (5, 53, 6);
   delay(4);
}


script 2 (void)
{
   Thing_Activate (3);
   Thing_Activate (4);
   Thing_Activate (5);
   //Floor_RaiseByValue(119, 16, 64);
   delay(4);

   Thing_Hate (3, 53, 3);
   Thing_Hate (4, 53, 3);
   Thing_Hate (5, 53, 3);

}


[/edit]
Attachments
Hate01.zip
Puke 1 or 2
(1.2 KiB) Downloaded 8 times
CrashReport.zip
(24.11 KiB) Downloaded 7 times
User avatar
Enjay
Everyone is a moon, and has a dark side which he never shows to anybody. Twain
 
 
 
Joined: 15 Jul 2003
Location: Scotland

Re: Thing_Hate causing a crash

Postby Zan » Fri Jan 18, 2019 4:45 am

Can confirm, I used to get this crash in Hedon as well. What fixed it was moving the script trigger line further away from where the monsters were, so I assume it may have something to do with the player's position too?
User avatar
Zan
 
Joined: 22 Oct 2016
Location: The depths of Hedon.

Re: Thing_Hate causing a crash

Postby _mental_ » Fri Jan 18, 2019 5:24 am

Fixed in 395d613.
_mental_
 
 
 
Joined: 07 Aug 2011


Return to Closed Bugs

Who is online

Users browsing this forum: No registered users and 1 guest