[????-gb587c85] Crash in ACS code with Zombie Horde program

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
Edward-san
Posts: 1774
Joined: Sat Oct 17, 2009 9:40 am

[????-gb587c85] Crash in ACS code with Zombie Horde program

Post by Edward-san »

Download Zombie Horde + Fix and open any map with zdoom:

Code: Select all

zdoom -iwad doom2.wad -file zh-beta28.pk3 zh-beta28-fix1.wad +map ZE01
It crashes with the following crash report:
Spoiler:
For some reason, 'activeBehavior->GetScriptPtr(InModuleScriptNumber)' (with 'InModuleScriptNumber' = 6) is NULL , no clue why.
User avatar
ibm5155
Posts: 1268
Joined: Wed Jul 20, 2011 4:24 pm
Contact:

Re: [????-gb587c85] Crash in ACS code with Zombie Horde prog

Post by ibm5155 »

isn't it related to that hacky script support higher than 999 and the hacky named script?
User avatar
edward850
Posts: 5886
Joined: Tue Jul 19, 2005 9:06 pm
Location: New Zealand
Contact:

Re: [????-gb587c85] Crash in ACS code with Zombie Horde prog

Post by edward850 »

ibm5155 wrote:isn't it related to that hacky script support higher than 999 and the hacky named script?
Neither of those are "hacky". And most importantly, what have you accomplished by posting this?
Edward-san
Posts: 1774
Joined: Sat Oct 17, 2009 9:40 am

Re: [????-gb587c85] Crash in ACS code with Zombie Horde prog

Post by Edward-san »

ibm5155 wrote:isn't it related to that hacky script support higher than 999 and the hacky named script?
????
User avatar
phantombeta
Posts: 2166
Joined: Thu May 02, 2013 1:27 am
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: Brazil

Re: [????-gb587c85] Crash in ACS code with Zombie Horde prog

Post by phantombeta »

I think he's confusing ZDoom for Zandronum. (Which, if I recall correctly, has hacky support for named scripts and script numbers higher than 999...)
User avatar
ibm5155
Posts: 1268
Joined: Wed Jul 20, 2011 4:24 pm
Contact:

Re: [????-gb587c85] Crash in ACS code with Zombie Horde prog

Post by ibm5155 »

phantombeta wrote:I think he's confusing ZDoom for Zandronum. (Which, if I recall correctly, has hacky support for named scripts and script numbers higher than 999...)
This (since the mod was made for skulltag,... Buy idk if that could result that bug)
User avatar
edward850
Posts: 5886
Joined: Tue Jul 19, 2005 9:06 pm
Location: New Zealand
Contact:

Re: [????-gb587c85] Crash in ACS code with Zombie Horde prog

Post by edward850 »

This is the ZDoom forums. Skulltag has nothing to do with this crashlog. Why do you keep posting this nonsense?
User avatar
ibm5155
Posts: 1268
Joined: Wed Jul 20, 2011 4:24 pm
Contact:

Re: [????-gb587c85] Crash in ACS code with Zombie Horde prog

Post by ibm5155 »

I'm sorry oh lord edward850, I'll stop with nonsens for now...
siealex
Posts: 166
Joined: Tue Mar 17, 2009 2:02 am

Re: [????-gb587c85] Crash in ACS code with Zombie Horde prog

Post by siealex »

Signal 11 is almost always a hardware error, usually RAM related.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49230
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [????-gb587c85] Crash in ACS code with Zombie Horde prog

Post by Graf Zahl »

siealex wrote:Signal 11 is almost always a hardware error, usually RAM related.

Please do not post if you have no idea what you are talking about.
_mental_
 
 
Posts: 3820
Joined: Sun Aug 07, 2011 4:32 am

Re: [????-gb587c85] Crash in ACS code with Zombie Horde prog

Post by _mental_ »

The crash is caused by unknown p-code encountered in a function called from a different module. I fixed it in this pull request.
In the given case, the unknown p-code is PCD_CONSOLECOMMAND. Does it make sense to "support" it by doing nothing but adjusting the stack pointer? At least, a script won't be terminated prematurely because of this Skulltag/Zandronum feature, it just will be skipped like no-op.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49230
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [????-gb587c85] Crash in ACS code with Zombie Horde prog

Post by Graf Zahl »

Good question. Let's get some other opinions. I'd prefer a big, ugly centered message telling in clear words that ConsoleCommand is baaaad.
_mental_
 
 
Posts: 3820
Joined: Sun Aug 07, 2011 4:32 am

Re: [????-gb587c85] Crash in ACS code with Zombie Horde prog

Post by _mental_ »

I prefer something slightly less obtrusive. For instance, Edward-san's test case will lead to 102 red error messages in console. I guess, this is more than enough.
Post Reply

Return to “Closed Bugs [GZDoom]”