Page 1 of 1

[2.3pre-927-x64] Crash : 64-bit crash on Wolf3D TC with vid_renderer 1

Posted: Mon Dec 12, 2016 9:23
by Lavender Moon
GZDoom Version Number: GZDOOM g2.3pre-927-gb709db3 64-bit
WAD: Wolf3D TC, SVN version
Reports: MSInfo32,
DXDiag - LavenderMoon, 12-12-2016.txt
DXDiag report
(34.89 KiB) Downloaded 101 times
CrashReport WolfTC 2.3pre-927-x64.zip
Crash Report for the latest DRD Team build
(20.41 KiB) Downloaded 98 times
CrashReport WolfTC 2.2.0.zip
Crash Report for the latest official release
(20.37 KiB) Downloaded 106 times
Misc Info:
  • GZDoom 2.1.1-x86 runs fine
  • GZDoom 2.1.1-x64 runs fine
  • GZDoom 2.2.0-x86 runs fine
  • GZDoom 2.2.0-x64 crashes on starting the first map, but runs fine with "vid_renderer 0"
  • GZDoom 2.3pre-918-x64 crashes on starting the first map, but runs fine with "vid_renderer 0"

Re: [2.3pre-927-x64] Crash : 64-bit crash on Wolf3D TC with vid_renderer 1

Posted: Mon Dec 12, 2016 12:30
by Graf Zahl
I can fix the crash, but I can not fix the definition bug in this mod. It uses "####" for weapon sprites in many places to consolidate states but for the weapon's 'Select' state this does not work because it has no preceding state to take a sprite from.

Re: [2.3pre-927-x64] Crash : 64-bit crash on Wolf3D TC with vid_renderer 1

Posted: Mon Dec 12, 2016 13:27
by Gez
Graf Zahl wrote:I can fix the crash, but I can not fix the definition bug in this mod. It uses "####" for weapon sprites in many places to consolidate states but for the weapon's 'Select' state this does not work because it has no preceding state to take a sprite from.
This could be worked around by setting actors to have UNKN A as their previous sprite when they are initialized.

Re: [2.3pre-927-x64] Crash : 64-bit crash on Wolf3D TC with vid_renderer 1

Posted: Mon Dec 12, 2016 14:16
by Graf Zahl
I initialized it to 0, i.e. TNT1. The crash occured because the variable was left uninitialized.