MantisBT - Zandronum
View Issue Details
0003997Zandronum[All Projects] Bugpublic2022-05-09 22:352022-12-01 12:51
WaTaKiD 
Kaminsky 
normalminoralways
resolvedfixed 
MicrosoftWindowsXP/Vista/7
3.1 
3.23.2 
0003997: zan 3.1 64 bit windows build does not produce a crash report
the 64bit windows build of zan 3.1 does not produce a crash report whereas the 32bit version does

im using windows 11 and have tried a fresh ini, restarting the pc, changing uac, running as admin, and changing the cvars "crashlogs" and "crashlog_dir" all to no avail
also zan is not installed in program files

gzdoom 1.8.6 and 4.7.1 also produce crash reports as intended
load up the 64 bit windows build of zan 3.1
crashout
no crash report
one user on discord with windows 7 said they also could not produce a crash report, which makes me think the 64bit build itself is at fault, not the os version

links for convenience:
'https://zandronum.com/downloads/zandronum3.1-win32-base.zip [^]'
'https://zandronum.com/downloads/zandronum3.1-win64-base.zip [^]'
No tags attached.
Issue History
2022-05-09 22:35WaTaKiDNew Issue
2022-05-09 22:38WaTaKiDDescription Updatedbug_revision_view_page.php?rev_id=13598#r13598
2022-05-09 22:40WaTaKiDDescription Updatedbug_revision_view_page.php?rev_id=13599#r13599
2022-08-04 16:39DrinkyBirdNote Added: 0022303
2022-08-04 16:39DrinkyBirdStatusnew => confirmed
2022-08-10 14:46KaminskyTarget Version => 3.2
2022-08-14 18:08DrinkyBirdNote Added: 0022306
2022-08-14 18:08DrinkyBirdStatusconfirmed => needs testing
2022-08-14 22:26DrinkyBirdNote Added: 0022308
2022-08-14 22:26DrinkyBirdStatusneeds testing => resolved
2022-08-14 22:26DrinkyBirdFixed in Version => 3.2
2022-08-14 22:26DrinkyBirdResolutionopen => fixed
2022-08-14 22:26DrinkyBirdAssigned To => DrinkyBird
2022-09-05 13:51WaTaKiDAssigned ToDrinkyBird =>
2022-09-05 13:51WaTaKiDNote Added: 0022336
2022-09-05 13:51WaTaKiDStatusresolved => feedback
2022-09-05 13:51WaTaKiDResolutionfixed => reopened
2022-09-05 15:42WaTaKiDNote Added: 0022339
2022-09-05 15:42WaTaKiDStatusfeedback => new
2022-09-05 22:57DrinkyBirdNote Added: 0022348
2022-09-11 19:58WaTaKiDNote Added: 0022393
2022-09-11 19:59WaTaKiDStatusnew => needs testing
2022-12-01 03:11WaTaKiDNote Added: 0022504
2022-12-01 12:49KaminskyStatusneeds testing => resolved
2022-12-01 12:49KaminskyResolutionreopened => fixed
2022-12-01 12:49KaminskyAssigned To => Kaminsky
2022-12-01 12:51KaminskyNote Added: 0022509

Notes
(0022303)
DrinkyBird   
2022-08-04 16:39   
Backporting'https://github.com/ZDoom/gzdoom/commit/2854e1fe03f847e39857b14c3efa8b4162c7a525 [^]' and'https://github.com/ZDoom/gzdoom/commit/8fbb5372b2e934876dd2e288f73d49c4a4b690da [^]' fixed the crash reporter on win64 for me.
(0022306)
DrinkyBird   
2022-08-14 18:08   
Those two commits were backported
'https://hg.osdn.net/view/zandronum/zandronum-stable/rev/a995f0ed3cac [^]'
'https://hg.osdn.net/view/zandronum/zandronum-stable/rev/eb88c12c9e6f [^]'
(0022308)
DrinkyBird   
2022-08-14 22:26   
Tested with a win64 release build of 3.2-alpha-220804-1704, the crash handler works properly.
(0022336)
WaTaKiD   
2022-09-05 13:51   
using ZandroDev3.2-220904-2011windows-x86_64, crash reports are still not produced for online clients or servers, but do work for offline clients
(0022339)
WaTaKiD   
2022-09-05 15:42   
regarding my above note, i got mixed up, online clients DO produce crash reports, its just servers that dont
(0022348)
DrinkyBird   
2022-09-05 22:57   
Quote from Discord:

Quote from Kaminsky

The server console in Windows is actually handled in a separate thread which the backported (G)ZDoom commit didn't account for. Copying and pasting the changes into this new thread fixes the server not producing crash reports in x64.

//==========================================================================
//
// [BC] MainDoomThread
//
// This is the new thread created by the server console.
//
//==========================================================================
DWORD WINAPI MainDoomThread( LPVOID )

(0022393)
WaTaKiD   
2022-09-11 19:58   
'http://hg.osdn.net/view/zandronum/zandronum-stable/rev/556024eb3b0f [^]' was added
(0022504)
WaTaKiD   
2022-12-01 03:11   
using ZandroDev3.2-221030-0316windows-x86_64 clients and servers now provide crash reports
(0022509)
Kaminsky   
2022-12-01 12:51   
Since a crash report seems to now be produced in all cases (client and server) in the x64 Windows builds, I went ahead and marked this ticket as resolved.