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

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002222Zandronum[All Projects] Bugpublic2015-05-09 19:122018-09-30 21:50
ReporterArco 
Assigned ToTorr Samaho 
PrioritynormalSeveritycrashReproducibilityalways
StatusclosedResolutionfixed 
PlatformMicrosoftOSWindowsOS VersionXP/Vista/7
Product Version3.0-beta 
Target Version3.0Fixed in Version3.0 
Summary0002222: Using "restart" results in a crash
DescriptionZandronum crashes whenever the "restart" CCMD is executed.
Steps To Reproduce1. Zandronum.exe -iwad doom2.wad
2. Type "restart" in the console.
Attached Fileszip file icon CrashReport-restart-hexentohexen.zip [^] (23,921 bytes) 2015-05-18 00:31
png file icon restart.png [^] (536,778 bytes) 2015-08-09 23:59

- Relationships
child of 0002172closedTorr Samaho Upgrade GZDoom base to 1.8.6 

-  Notes
User avatar (0012289)
Torr Samaho (administrator)
2015-05-16 15:54

Should work better now. Still seems to have some problems, but I'm not sure whether they were also present in ZDoom 2.7.0 or not.
User avatar (0012298)
WaTaKiD (updater)
2015-05-16 18:58

after testing with 3.0-r150516-1553, the basic use of restart seems to work fine offline, but calling restart with rcon crashes, and calling restart as a client will leave u at the console with "None is not an actor"
User avatar (0012330)
Arco (updater)
2015-05-17 23:28
edited on: 2015-05-17 23:36

And to add on to what WaTaKiD was saying, Zandronum 3.0 appears to freeze when switching Iwads.

EDIT: it appears to happen when the iwad is switched from Hexen. I'm not sure whether it's the same case with Heretic and/or Strife.

User avatar (0012332)
WaTaKiD (updater)
2015-05-18 00:28
edited on: 2015-05-18 00:29

it appears that when switching FROM hexen/hexdd to anything (including themselves), itll freeze, however i managed to get one crash report for wutever reason

'https://www.dropbox.com/s/t8jeb6wr7b5mjd4/zandronum-3.0-150517-2229-82d094f-windows.zip?dl=0 [^]'

'https://www.dropbox.com/s/ebrxoomppc08yhv/pdb-82d094f.zip?dl=0 [^]'

> zandronum.exe!FMetaTable::GetMetaString(unsigned int id=610305) Line 188 + 0x10 bytes C++
     zandronum.exe!D_PlayerClassToInt(const char * classname=0x00000000) Line 312 + 0xe bytes C++
     zandronum.exe!userinfo_t::PlayerClassChanged(const char * classname=0x02f6d970) Line 690 C++
     zandronum.exe!D_SetupUserInfo() Line 599 + 0xe bytes C++
     zandronum.exe!D_UserInfoChanged(FBaseCVar * cvar=0x00000000) Line 1021 C++
     zandronum.exe!FBaseCVar::SetGenericRep(UCVarValue value={...}, ECVarType type=CVAR_String) Line 199 + 0x28 bytes C++
     zandronum.exe!FGameConfigFile::ReadCVars(unsigned long flags=289) Line 535 + 0xe bytes C++
     zandronum.exe!FGameConfigFile::DoGameSetup(const char * gamename=0x0359544c) Line 407 C++
     zandronum.exe!D_DoomMain() Line 2766 C++
     zandronum.exe!DoMain(HINSTANCE__ * hInstance=0x00000000) Line 1058 C++
     zandronum.exe!WinMain(HINSTANCE__ * hInstance=0x00400000, HINSTANCE__ * nothing=0x00000000, char * cmdline=0x002c3ee8, int nCmdShow=10) Line 1354 C++
     zandronum.exe!__tmainCRTStartup() Line 315 + 0x1c bytes C

EDIT: also, each time "restart" is used, optional pwads will be loaded again, resulting in multiples

User avatar (0013144)
Torr Samaho (administrator)
2015-08-09 11:02

I fixed some more network related restart problems and the ZDoom backports seem to have taken care of other restart problems. Can you check if restart works properly now?
User avatar (0013183)
WaTaKiD (updater)
2015-08-09 23:58

using'https://www.dropbox.com/s/sd5bqw0l7qfxovi/zandronum-3.0-r150809-1439-b7cf5f6-windows.zip?dl=0 [^]' with newtextcolours1_220.pk3 set as optional

offline:
restart (or for example: restart -iwad hexen) seems to work fine, except for the optional wad is being loading again for every restart

client:
restart will disconnect u from the server and put u in singleplayer, although the optional wad will not be loaded at all

server:
restart will disconnect all clients and load optional wads again, and after what seems to be consistent, the 3rd restart, the server will error out
see attached screenshot (the server error is in the middle, while on the left is the error clients recieve when servers use restart)
User avatar (0014274)
Ru5tK1ng (updater)
2016-02-01 00:34

I tested this with 160131-2023.

offline restart:
I used doom2.wad and ragectf.wad. The pwad isn't loaded up after issuing the Restart command and if you have other IWADS in your directory, the IWAD selection window pops up.

client:
Disconnects and stays at console with a WAD authentication error (due to the PWAD not being load on the server after Restart).

server:
My server didn't load up the PWADs and the IWAD selection window popped up each time. I couldn't get the server to crash after many restarts at least.
User avatar (0014280)
Torr Samaho (administrator)
2016-02-01 07:32

FYI, unless specified with " -file" in the restart command, e.g. "restart -file test.pk3", no pwads will be loaded. This is intentional, because the restart command is intended to allow you to change which wads are loaded.

The client behavior sounds wrong though. Restart should disconnect you without an authentication error.
User avatar (0014292)
Ru5tK1ng (updater)
2016-02-01 22:48

Actually scratch what I said earlier regarding the client behavior, I misread the console. When using restart, you are simply kicked with the 'Player was kicked from the server. . .server encountered error. . .etc.' message.


Using the syntax above with restart loaded the specified pwad correctly with -file

However, one thing I noticed when switching between IWADs with restart is that going from MAPXX based wads (doom2, strife, hexen, etc.) to EXMX based (doom, heretic) caused the server console to flood with "Error could not find map01" endlessly.
User avatar (0016252)
Edward-san (developer)
2016-11-21 15:14

What's the situation with latest beta?
User avatar (0016691)
Ru5tK1ng (updater)
2017-01-26 05:08

As of r170122, using restart and, for example, switching out doom2.wad for heretic.wad on the server results in the "Error could not find map01" spam. Going from heretic to doom also produces "Error could not find map e1m1".
User avatar (0016706)
Torr Samaho (administrator)
2017-01-28 15:41

Switching between MAPXX and EXMX IWADs should be possible now on the server.
User avatar (0016709)
Ru5tK1ng (updater)
2017-01-28 20:51

The message spam is no longer present when switching between IWADs.

Issue Community Support
This issue is already marked as resolved.
If you feel that is not the case, please reopen it and explain why.
Supporters: Combinebobnt
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2015-05-09 19:12 Arco New Issue
2015-05-10 13:54 Arco Steps to Reproduce Updated View Revisions
2015-05-12 13:19 Arco Relationship added child of 0002172
2015-05-16 15:54 Torr Samaho Note Added: 0012289
2015-05-16 15:55 Torr Samaho Assigned To => Torr Samaho
2015-05-16 15:55 Torr Samaho Status new => needs testing
2015-05-16 18:58 WaTaKiD Note Added: 0012298
2015-05-17 23:28 Arco Note Added: 0012330
2015-05-17 23:28 Arco Status needs testing => assigned
2015-05-17 23:36 Arco Note Edited: 0012330 View Revisions
2015-05-18 00:28 WaTaKiD Note Added: 0012332
2015-05-18 00:29 WaTaKiD Note Edited: 0012332 View Revisions
2015-05-18 00:31 WaTaKiD File Added: CrashReport-restart-hexentohexen.zip
2015-05-24 18:54 Dusk Product Version => 3.0
2015-05-24 18:54 Dusk Summary [Merge experiments] Using "restart" results in a crash => Using "restart" results in a crash
2015-05-24 19:32 Dusk Product Version 3.0 => 3.0-beta
2015-08-09 11:02 Torr Samaho Note Added: 0013144
2015-08-09 11:03 Torr Samaho Status assigned => needs testing
2015-08-09 23:58 WaTaKiD Note Added: 0013183
2015-08-09 23:59 WaTaKiD File Added: restart.png
2016-02-01 00:34 Ru5tK1ng Note Added: 0014274
2016-02-01 00:35 Ru5tK1ng Status needs testing => feedback
2016-02-01 07:32 Torr Samaho Note Added: 0014280
2016-02-01 22:48 Ru5tK1ng Note Added: 0014292
2016-11-21 15:14 Edward-san Note Added: 0016252
2016-12-24 22:42 Dusk Target Version => 3.0
2017-01-26 05:08 Ru5tK1ng Note Added: 0016691
2017-01-28 15:41 Torr Samaho Note Added: 0016706
2017-01-28 15:41 Torr Samaho Status feedback => needs testing
2017-01-28 20:51 Ru5tK1ng Note Added: 0016709
2017-01-28 20:51 Ru5tK1ng Status needs testing => resolved
2017-01-28 20:51 Ru5tK1ng Resolution open => fixed
2017-01-28 20:51 Ru5tK1ng Fixed in Version => 3.0
2018-09-30 21:50 Blzut3 Status resolved => closed






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2025 MantisBT Team
Powered by Mantis Bugtracker