MantisBT - Zandronum
View Issue Details
0002302Zandronum[All Projects] Bugpublic2015-06-10 15:142024-03-21 13:49
nvsofts 
 
normalcrashalways
closedno change required 
MicrosoftWindowsXP/Vista/7
2.0 
 
0002302: Crashes in tnt.wad MAP09 using DHTP
Hello,

I'm trying to play tnt.wad with DHTP.
My DHTP is zdoom-dhtp-20140617.pk3 (SHA1:B826E0103F48A7D85985C2F9B5284212671B4540).
Attachment is zip file of crash report.
I confirm the problem is still causing in development version(cbbf84f2c151).

I investigated the problem, found a source of the problem.
The program crashes in FMultiPatchTexture::UseBasePalette() because of using freed memory.

Information of texture causing crash:
Texture name: CRWDS64
Parts[i]: [1]
Number of parts: 4

Workaround is available, modify texturemanager.cpp:L574 :
ReplaceTexture(tlist[i], newtex, true); -> ReplaceTexture(tlist[i], newtex, false);
No tags attached.
zip CrashReport.zip (23,164) 2015-06-10 15:14
/tracker/file_download.php?file_id=1545&type=bug
Issue History
2015-06-10 15:14nvsoftsNew Issue
2015-06-10 15:14nvsoftsFile Added: CrashReport.zip
2024-03-21 13:49Ru5tK1ngNote Added: 0023448
2024-03-21 13:49Ru5tK1ngStatusnew => closed
2024-03-21 13:49Ru5tK1ngResolutionopen => no change required

Notes
(0023448)
Ru5tK1ng   
2024-03-21 13:49   
This possibly got fixed with the 3.0 codebase update that made this adjustment in texturemanager.cpp: Line 433: if (free && !oldtexture->bKeepAround).

If you still have this issue with 3.1 or 3.2 beta, please reopen this ticket.