MantisBT - Zandronum
View Issue Details
0002472Zandronum[All Projects] Bugpublic2015-09-26 20:542015-10-10 15:22
AlienOverlord 
Torr Samaho 
highcrashalways
closedno change required 
x86_64Windows7 Pro
3.0-beta 
 
0002472: Zandronum 3.0 150831-1814 crashes on ACS execution
Well, basically.
I have a conversation system that reliably works on GZDoom g2.1.pre-930-gbaa775b.
I tried to run it on Zandronum 3.0 and got a nice client crash.
Happens in offline mode too.

PK3 attached. Press the switch on map01 in order to crash.
Before introducing script 2 in the map (i.e. if I called Conversation_Init in script 1 serverside) the server would crash instead.
No tags attached.
? zzconv.pk3 (8,215) 2015-09-26 20:54
/tracker/file_download.php?file_id=1660&type=bug
Issue History
2015-09-26 20:54AlienOverlordNew Issue
2015-09-26 20:54AlienOverlordFile Added: zzconv.pk3
2015-09-26 20:56AlienOverlordNote Added: 0013557
2015-09-27 00:36Edward-sanNote Added: 0013558
2015-09-27 00:36Edward-sanAssigned To => Edward-san
2015-09-27 00:36Edward-sanStatusnew => feedback
2015-09-27 11:31AlienOverlordNote Added: 0013562
2015-09-27 11:31AlienOverlordStatusfeedback => assigned
2015-09-27 11:48Edward-sanNote Added: 0013563
2015-09-27 11:48Edward-sanAssigned ToEdward-san =>
2015-09-27 11:48Edward-sanStatusassigned => new
2015-09-27 15:00AlienOverlordNote Added: 0013565
2015-10-04 12:57Torr SamahoAssigned To => Torr Samaho
2015-10-04 12:57Torr SamahoStatusnew => acknowledged
2015-10-04 12:57Torr SamahoResolutionopen => backport later
2015-10-10 15:22Torr SamahoStatusacknowledged => closed
2015-10-10 15:22Torr SamahoResolutionbackport later => no change required

Notes
(0013557)
AlienOverlord   
2015-09-26 20:56   
Oh and by the way, source code to the library, as well as source code to the map, are in the archive. But separately you can look at them here

'http://pastebin.com/9fVXuwus [^]' (lib)
'http://pastebin.com/gTJaEqXF [^]' (map)
(0013558)
Edward-san   
2015-09-27 00:36   
Can you reproduce this with GZDoom 1.8.6?
(0013562)
AlienOverlord   
2015-09-27 11:31   
Yes. Well, that's bad. I really hoped this is a backporting issue. :(
(0013563)
Edward-san   
2015-09-27 11:48   
The crash is similar to the one I saw in zdoom, reported here. In fact, before crashing, zandronum reports "Unknown P-Code 365 in script 2", then it crashes.

Porting the zdoom fix won't help with the underlying issue: you're trying to use script/function arrays, which are not supported in gzdoom 1.8.6, hence in zandronum 3.0.
(0013565)
AlienOverlord   
2015-09-27 15:00   
Right. Thanks for clarifying, I just made these temporary arrays global and it works now.