ACS string table corruption

These bugs do plan to be resolved, when they can be.

Moderator: Developers

ACS string table corruption

Postby Marrub » Sun Apr 30, 2017 7:31 pm

Summary 0000590
ACS string table corruption

Description
Same as issue 0000441 but, apparently, it's not save games causing this. Strings are just getting shuffled around in the string table, for some reason.

Additional Information
The attached save file uses doom2.wad and http://mab.greyserv.net/f/Lithium_1_4.pk7

Files
save30.zds
User avatar
Marrub
Secreta In Exile
 
 
 
Joined: 26 Feb 2013
Discord: Marrub#5455

Re: 0000590: ACS string table corruption

Postby Marrub » Sun Apr 30, 2017 7:32 pm

Forgot to add, the save is running 2.4.0. (Though that could be determined by just looking inside the file.)
You can reproduce the issue by grabbing the plasma rifle in front of the player, but there's also corrupted strings in the log tab in the menu.
User avatar
Marrub
Secreta In Exile
 
 
 
Joined: 26 Feb 2013
Discord: Marrub#5455

Re: 0000590: ACS string table corruption

Postby Graf Zahl » Sun Apr 30, 2017 7:32 pm

Sorry, but this is pretty much undebuggable.
The biggest roadblock are those ACS binaries which I cannot decompile or disassemble to rule out bad code generation as a culprit. To use dynamic strings from ACS libraries they need to follow very strict procedures of how to deal with strings. So far every time someone reported string corruption it was caused by badly generated byte code.

I need something smaller and more contained where I am capable of seeing what the scripts are actually doing. This is 1.8 MB of ACS binary code, all of which may indirectly be responsible for the problems.
User avatar
Graf Zahl
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: ACS string table corruption

Postby wildweasel » Mon Nov 27, 2017 2:19 pm

I'd like to amend this report by saying that FInal Doomer Plus (found at https://forum.zdoom.org/viewtopic.php?f=43&t=55061) also exhibits this glitch; weapon descriptions (invoked by holding Reload) will sometimes change into a letter A. I'd managed to trigger this with the Plutonia machine gun, but don't have a save file handy ([edit]: for what it's worth, though, it may have exhibited by use of autosaves).
User avatar
wildweasel
May or may not have a pumpernickel addiction
Moderator Team Lead
 
Joined: 15 Jul 2003
Location: avatar by kurashiki

Re: ACS string table corruption

Postby Marrub » Mon Nov 27, 2017 3:47 pm

Yeah, a lot of people are getting this bug, and the code is maybe 60 lines of vanilla ACS... That's kind of worrying.
User avatar
Marrub
Secreta In Exile
 
 
 
Joined: 26 Feb 2013
Discord: Marrub#5455


Return to On Hold Bugs

Who is online

Users browsing this forum: No registered users and 1 guest