MantisBT - Zandronum
View Issue Details
0002591Zandronum[All Projects] Bugpublic2016-01-24 16:112016-12-25 21:15
StrikerMan780 
Torr Samaho 
normalcrashalways
assignedopen 
MicrosoftWindowsXP/Vista/7
3.0-beta 
3.0 
0002591: Crash on exit with certain settings/INIs.
I'm using this build:'https://www.dropbox.com/sh/nnc1tgooo1pbo0z/AABnmVdzdEArYA8eXrZz1KLca/zandronum-3.0-r160117-2053-4255969-windows.zip?dl=0 [^]'

With this INI:'https://www.dropbox.com/s/38pbl1s20m2sea1/zandronum-Striker.ini?dl=0 [^]'

For some reason, Zandronum crashes when I quit when I use that INI. The crash prevents the INI from being written as well.
No tags attached.
Issue History
2016-01-24 16:11StrikerMan780New Issue
2016-01-24 19:45Torr SamahoNote Added: 0014180
2016-01-24 19:45Torr SamahoAssigned To => Torr Samaho
2016-01-24 19:45Torr SamahoStatusnew => feedback
2016-01-24 20:01StrikerMan780Note Added: 0014181
2016-01-24 20:01StrikerMan780Statusfeedback => assigned
2016-01-24 20:17Torr SamahoNote Added: 0014182
2016-01-24 20:18StrikerMan780Note Added: 0014183
2016-01-24 20:21Torr SamahoNote Added: 0014184
2016-01-24 20:27StrikerMan780Note Added: 0014185
2016-01-24 20:28StrikerMan780Note Edited: 0014185bug_revision_view_page.php?bugnote_id=14185#r8526
2016-01-24 20:28StrikerMan780Note Edited: 0014185bug_revision_view_page.php?bugnote_id=14185#r8527
2016-01-24 20:29StrikerMan780Note Edited: 0014185bug_revision_view_page.php?bugnote_id=14185#r8532
2016-01-24 20:31Torr SamahoNote Added: 0014187
2016-01-24 20:34WaTaKiDNote Added: 0014188
2016-01-24 20:46WaTaKiDNote Edited: 0014188bug_revision_view_page.php?bugnote_id=14188#r8534
2016-01-24 22:24StrikerMan780Note Added: 0014193
2016-01-24 22:44StrikerMan780Note Edited: 0014193bug_revision_view_page.php?bugnote_id=14193#r8541
2016-12-24 22:43DuskTarget Version => 3.0
2016-12-25 21:14StrikerMan780Note Edited: 0014193bug_revision_view_page.php?bugnote_id=14193#r9998
2016-12-25 21:15StrikerMan780Note Edited: 0014193bug_revision_view_page.php?bugnote_id=14193#r9999

Notes
(0014180)
Torr Samaho   
2016-01-24 19:45   
Doesn't crash for me with the latest official 3.0 testing build. Does it crash for you with that binary? If so, can you post a crash log?
(0014181)
StrikerMan780   
2016-01-24 20:01   
It crashes, but doesn't let me post a crash log. It only gives me "Close Program" and "Debug". It doesn't give me the usual Zandronum crash dialog. However, I have a minidump saved from Visual Studio 2015. Hope it helps.'https://www.dropbox.com/s/mpw2zm87apt6li4/zandronum_dump.7z?dl=0 [^]'
(0014182)
Torr Samaho   
2016-01-24 20:17   
That dump points to the joystick code. Do you have a joystick or anything like that connected to your machine?
(0014183)
StrikerMan780   
2016-01-24 20:18   
Not presently.
(0014184)
Torr Samaho   
2016-01-24 20:21   
Can anybody else reproduce the crash with the ini? As I said above, it doesn't crash for me with the latest official 3.0 testing build. So it has to be somehow machine dependent.
(0014185)
StrikerMan780   
2016-01-24 20:27   
(edited on: 2016-01-24 20:29)
Hmm, seems to be related to the fact that I once connected a Wii U Pro controller to my PC via Bluetooth a while ago. It's no longer connected, but a buttonless/axisless joystick device is still there (any bluetooth device stays for quick re-connection until you un-pair it completely). Removing it fixes the crash, but it shouldn't be crashing to begin with.

Haven't tested to see if it crashes with ANY joystick at the moment.

(0014187)
Torr Samaho   
2016-01-24 20:31   
Of course it shouldn't be crashing. But to fix the crash, we must first understand why it's crashing. Does GZDoom 1.8.6 also crash if this controller is listed as it is in Zandronum?
(0014188)
WaTaKiD   
2016-01-24 20:34   
(edited on: 2016-01-24 20:46)
using striker's ini (only added my iwad/pwad paths to it), and both the build linked in the description and the latest official beta, i am unable to reproduce the crash neither off nor online

EDIT: i connected a ps3 controller via usb and the joy movements register in game so i know it works, but i am still unable to reproduce the crash, if its any help

(0014193)
StrikerMan780   
2016-01-24 22:24   
(edited on: 2016-12-25 21:15)
Tried it in GZDoom 1.8.6, I do not get the crash there. It's in Zandronum only.

Seems to only happen if there's a joystick with no buttons or axes connected. (Such as virtual joystick drivers, dummy joysticks, etc.)

EDIT: As an example, if a Wii U Pro controller/Wii controller is connected, the dummy device for it has no axes or buttons.