Zandronum Chat on our Discord Server Get the latest version: 3.1
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001112Zandronum[All Projects] Bugpublic2012-10-09 08:552024-01-28 08:15
Assigned To 
Statusneeds reviewResolutionopen 
PlatformMicrosoftOSWindowsOS VersionXP/Vista/7
Product Version1.0 
Target VersionFixed in Version 
Summary0001112: DM crashes when removing bots
DescriptionWhen in a deathmatch game against bots and playing for a while, the game crashes when the bots are removed and then switching to spectator mode.

Thus far, it happens to me when I am playing against 7 or 8 bots, and nothing seems to go wrong when playing against 4. The problem seems to occur only after playing for a while. Not sure whether being in the lead or not has anything to do with it.
Steps To Reproduce- Assign key to 'spectate' and 'addbot'
- menu -> multiplayer -> offline skirmish
  create deathmatch game, any skill#, map, or wad
  start game (without bots)
- press addbot key 7 or 8 times
- play
- open console, enter 'removebots', close console
- press spectate key
Attached Fileszip file icon [^] (7,831 bytes) 2012-10-09 15:40
zip file icon [^] (18,395 bytes) 2012-10-09 16:03
? file icon zandronum-Garry.ini [^] (22,662 bytes) 2012-10-09 16:03
patch file icon botscrash.patch [^] (1,962 bytes) 2024-01-28 08:13 [Show Content]

- Relationships

-  Notes
User avatar (0005057)
unknownna (updater)
2012-10-09 14:59

It doesn't crash for me when following your steps. There's too little information. What files are you loading (skins/announcer folder)? What are the dmflags, dmflags2, dmflags3, compatflags, compatflags2 values?
User avatar (0005058)
Scorpion (reporter)
2012-10-09 15:11
edited on: 2012-10-09 15:39

Clean Zandronum install (with Skulltag as subfolder).
No skins, ZanACG.pk3 and ZanGeneric.pk3 in announcer folder (latter is used).

dmflags: 20612; dmflags2: 512; compatflags: 0; compatflags2: 0

Most recently tried on DOOM2 MAP01, no additional PWADs loaded.

EDIT: Although it has happened to me once or twice with D2 MAP01, I seem to be able to recreate it more often with the attached PWAD.

User avatar (0005060)
unknownna (updater)
2012-10-09 15:54

What is skill, botskill, timelimit, fraglimit, pointlimit, duellimit, winlimit and wavelimit set to? Does it crash in both renderers? Does it only crash when you turn into a spectator? Do you have to win/lose a game first before it crashes?

I couldn't find any downloads for ZanACG.pk3 and ZanGeneric.pk3 anywhere.

Could you please upload your ini here? It doesn't crash for me.
User avatar (0005061)
Scorpion (reporter)
2012-10-09 16:03

As I said, playing for a while with about 8 players is what does it.

Just tried again, 20 frags and typing REMOVEBOTS in the console and then closing the console did the trick, without having to go to spectator mode. - my apologies, I originally discovered the bug as a user rather than a bugtester.

I added the crashreport as well as my ini file.
User avatar (0005065)
unknownna (updater)
2012-10-09 22:13

Quote from Scorpion
I added the crashreport as well as my ini file.

Thank you very much for uploading your ini. I'm now able to reproduce the crashes on my end as well. It only crashes in the OpenGL renderer for me.
User avatar (0023016)
Ru5tK1ng (updater)
2024-01-28 08:15

I added a patch to resolve this crash. It seems that the bots being yanked so quickly caused a NULL pointer in gl_SetActorLights. GZDoom never made such a change pre3.0 (3.0 and above removed the file completely).

Issue Community Support
Only registered users can voice their support. Click here to register, or here to log in.
Supporters: No one explicitly supports this issue yet.
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2012-10-09 08:55 Scorpion New Issue
2012-10-09 14:59 unknownna Note Added: 0005057
2012-10-09 14:59 unknownna Status new => feedback
2012-10-09 15:11 Scorpion Note Added: 0005058
2012-10-09 15:11 Scorpion Status feedback => new
2012-10-09 15:39 Scorpion Note Edited: 0005058 View Revisions
2012-10-09 15:40 Scorpion File Added:
2012-10-09 15:54 unknownna Note Added: 0005060
2012-10-09 15:55 unknownna Status new => feedback
2012-10-09 16:03 Scorpion Note Added: 0005061
2012-10-09 16:03 Scorpion Status feedback => new
2012-10-09 16:03 Scorpion File Added:
2012-10-09 16:03 Scorpion File Added: zandronum-Garry.ini
2012-10-09 22:13 unknownna Note Added: 0005065
2012-10-09 22:13 unknownna Status new => confirmed
2024-01-28 08:13 Ru5tK1ng File Added: botscrash.patch
2024-01-28 08:15 Ru5tK1ng Note Added: 0023016
2024-01-28 08:15 Ru5tK1ng Status confirmed => needs review

Questions or other issues? Contact Us.


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker