MantisBT - Zandronum |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0001112 | Zandronum | [All Projects] Bug | public | 2012-10-09 08:55 | 2024-04-08 17:47 |
|
Reporter | Scorpion | |
Assigned To | | |
Priority | normal | Severity | crash | Reproducibility | sometimes |
Status | resolved | Resolution | fixed | |
Platform | Microsoft | OS | Windows | OS Version | XP/Vista/7 |
Product Version | 1.0 | |
Target Version | 3.2 | Fixed in Version | 3.2 | |
|
Summary | 0001112: DM crashes when removing bots |
Description | When 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 |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | 0000802 | resolved | | Bot-activated scripts aren't terminated when bots are removed from the game |
|
Attached Files | dbguidedm.zip (7,831) 2012-10-09 15:40 https://zandronum.com/tracker/file_download.php?file_id=800&type=bug
CrashReport.zip (18,395) 2012-10-09 16:03 https://zandronum.com/tracker/file_download.php?file_id=801&type=bug
zandronum-Garry.ini (22,662) 2012-10-09 16:03 https://zandronum.com/tracker/file_download.php?file_id=802&type=bug
botscrash.patch (1,962) 2024-01-28 08:13 https://zandronum.com/tracker/file_download.php?file_id=2897&type=bug
error.png (8,633) 2024-03-13 14:27 https://zandronum.com/tracker/file_download.php?file_id=2936&type=bug

|
|
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 | bug_revision_view_page.php?bugnote_id=5058#r2762 |
2012-10-09 15:40 | Scorpion | File Added: dbguidedm.zip | |
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: CrashReport.zip | |
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 |
2024-03-12 04:59 | unknownna | Note Added: 0023367 | |
2024-03-12 05:24 | Ru5tK1ng | Note Added: 0023370 | |
2024-03-12 05:41 | Ru5tK1ng | Note Edited: 0023370 | bug_revision_view_page.php?bugnote_id=23370#r14123 |
2024-03-12 06:17 | unknownna | Note Added: 0023372 | |
2024-03-13 08:44 | Ru5tK1ng | Note Added: 0023380 | |
2024-03-13 08:44 | Ru5tK1ng | Assigned To | => Ru5tK1ng |
2024-03-13 08:44 | Ru5tK1ng | Status | needs review => feedback |
2024-03-13 14:27 | unknownna | Note Added: 0023382 | |
2024-03-13 14:27 | unknownna | File Added: error.png | |
2024-03-13 16:26 | Ru5tK1ng | Note Added: 0023385 | |
2024-03-13 16:26 | Ru5tK1ng | Assigned To | Ru5tK1ng => |
2024-03-13 16:26 | Ru5tK1ng | Status | feedback => needs review |
2024-03-16 01:15 | Ru5tK1ng | Relationship added | related to 0000802 |
2024-04-07 20:32 | Ru5tK1ng | Note Added: 0023528 | |
2024-04-07 20:32 | Ru5tK1ng | Status | needs review => needs testing |
2024-04-07 20:32 | Ru5tK1ng | Target Version | => 3.2 |
2024-04-08 17:47 | Ru5tK1ng | Note Added: 0023548 | |
2024-04-08 17:47 | Ru5tK1ng | Status | needs testing => resolved |
2024-04-08 17:47 | Ru5tK1ng | Resolution | open => fixed |
2024-04-08 17:47 | Ru5tK1ng | Fixed in Version | => 3.2 |
Notes |
|
|
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? |
|
|
(0005058)
|
Scorpion
|
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.
|
|
|
|
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. |
|
|
|
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. |
|
|
|
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. |
|
|
|
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). |
|
|
|
I can confirm it still crashes, since the patch of course wasn't added yet. |
|
|
(0023370)
|
Ru5tK1ng
|
2024-03-12 05:24
(edited on: 2024-03-12 05:41) |
|
I didn't make a merge request because I hadn't taken a closer look to why it crashes when bots are removed but not players. I suspect it has something to do with the order of PLAYER_SetDefaultSpectatorValues being called. By any chance can someone reproduce this bug on Gzdoom 1.8.6 or 1.9.0?
|
|
|
|
Testing GZDoom 1.8.6 with ZCajun bots for a while and removing them, and repeatedly doing it again, didn't yield any crashes compared to Zandronum. |
|
|
|
|
|
|
"Removebots" seems to be fixed. I couldn't get it to crash.
Quote from Ru5tK1ng I believe just using 'removebot' can trigger this crash as well.
I think you're right. I got this error when using "removebot", though I couldn't reproduce it again.
Thanks for the build! |
|
|
|
|
|
|
|
|
|
Using the latest beta, this crash seems to be resolved. |
|