MantisBT - Zandronum
View Issue Details
0003387Zandronum[All Projects] Bugpublic2018-02-28 06:462020-04-10 23:25
Tribeam3rd 
Torr Samaho 
highcrashalways
resolvedfixed 
MicrosoftWindowsXP/Vista/7
3.0 
3.13.1 
0003387: Crash when playing .voc sound files
Crash when playing duke3d .voc sound files..
Download example, shoot pistol
No tags attached.
? crash.pk3 (3,641) 2018-02-28 06:46
https://zandronum.com/tracker/file_download.php?file_id=2312&type=bug
patch 4be9a716361c119c4d81eb1571f58420ca333b75.patch (627) 2019-03-25 10:53
https://zandronum.com/tracker/file_download.php?file_id=2462&type=bug
Issue History
2018-02-28 06:46Tribeam3rdNew Issue
2018-02-28 06:46Tribeam3rdFile Added: crash.pk3
2018-03-18 20:51Torr SamahoNote Added: 0019155
2018-03-18 21:17Torr SamahoStatusnew => confirmed
2019-03-24 17:55AOSPNote Added: 0020456
2019-03-25 10:49WubTheCaptainNote Added: 0020457
2019-03-25 10:53WubTheCaptainFile Added: 4be9a716361c119c4d81eb1571f58420ca333b75.patch
2019-03-25 10:56WubTheCaptainNote Added: 0020458
2019-03-28 18:34AOSPNote Deleted: 0020456
2019-04-06 09:05Edward-sanNote Added: 0020474
2019-04-06 09:05Edward-sanAssigned To => Torr Samaho
2019-04-06 09:05Edward-sanStatusconfirmed => assigned
2019-04-06 09:05Edward-sanTarget Version => 3.1
2019-04-06 09:06Edward-sanNote Edited: 0020474bug_revision_view_page.php?bugnote_id=20474#r12465
2019-04-07 20:33Edward-sanNote Added: 0020480
2019-04-07 20:33Edward-sanStatusassigned => needs testing
2020-04-10 23:22Ru5tK1ngNote Added: 0021252
2020-04-10 23:23Ru5tK1ngStatusneeds testing => closed
2020-04-10 23:23Ru5tK1ngResolutionopen => fixed
2020-04-10 23:23Ru5tK1ngFixed in Version => 3.1
2020-04-10 23:24Ru5tK1ngAssigned ToTorr Samaho =>
2020-04-10 23:24Ru5tK1ngNote Added: 0021253
2020-04-10 23:24Ru5tK1ngStatusclosed => feedback
2020-04-10 23:24Ru5tK1ngResolutionfixed => reopened
2020-04-10 23:25Ru5tK1ngAssigned To => Torr Samaho
2020-04-10 23:25Ru5tK1ngStatusfeedback => resolved
2020-04-10 23:25Ru5tK1ngResolutionreopened => fixed

Notes
(0019155)
Torr Samaho   
2018-03-18 20:51   
I can confirm the crash. Looks non-trivial. I assume this works fine in the latest GZDoom version, right? I'll have to check how GZDoom fixed this then.
(0020457)
WubTheCaptain   
2019-03-25 10:49   
Christoph Oelckers fixed this with commit 4be9a716361c119c4d81eb1571f58420ca333b75 very shortly before the release of GZDoom 1.8.07. I'm attaching the patch.
(0020458)
WubTheCaptain   
2019-03-25 10:56   
NB: Christopher's patch uses a CR LF newline found in Windows, which was only normalized to LF by Randy Heit in commit 55142078d81c30c80c981f0a5ad5860e73444247 (along with other changed lines).
(0020474)
Edward-san   
2019-04-06 09:05   
(edited on: 2019-04-06 09:06)
For the backports of the changes from gzdoom, the gzdoom git commit hash is sufficient, or even better the commit hash from the zandronum-zdoom-sync repository ( for this change it's bcc10b059bba45bb08dd30483a27941bfdf6f340 ). The rest of the work is left to us devs.

(0020480)
Edward-san   
2019-04-07 20:33   
Done:https://bitbucket.org/Torr_Samaho/zandronum-stable/commits/1f31796ce97757691ad6ea82f1fa935218a4c381 [^] .
(0021252)
Ru5tK1ng   
2020-04-10 23:22   
Tested example wad with r200329-1854 and didn't experience any crash at all both online and offline.
(0021253)
Ru5tK1ng   
2020-04-10 23:24   
Marking as resolved.