r3274 Console warning on quitting the game.

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: r3274 Console warning on quitting the game.

by Gez » Wed Aug 03, 2011 10:07 am

Funnily enough, I don't get that bug in GZDoom r1224 or earlier... It appears in r1225 for me.

Checking the corresponding ZDoom versions, I get the expected results: there's no such warning message in r3262; which is the version that corresponds to GZDoom r1224; but the warning message does appear in r3263, which corresponds to GZDoom r1225.


Fixed in GZDoom.

Re: r3274 Console warning on quitting the game.

by Kappes Buur » Sun Jul 31, 2011 6:30 pm

For me

Warning: 'Object' is freed outside the GC process.

first happens with

GZDoom 1221 2011-07-06 12:47:47 gez /trunk/ * Updated to ZDoom r3249:

Re: r3274 Console warning on quitting the game.

by Enjay » Tue Jul 26, 2011 5:17 pm

Edward-san wrote:Two lines are interesting:

Code: Select all

16 bots read from bots.cfg
and

Code: Select all

ACS scripts unloaded.
The first line is normal if you have a bots.cfg file in a zcajun sub folder of Zdoom. It does not mean that I am using bots, merely that Zdoom has loaded the definitions for 16 bots from the file. Removing my zcajun folder removes the "16 bots" message but does not change the "GC process" message.

The "ACS scripts unloaded" is a message that you get if the map is question is in ZdoomHexen format but does not have any scripts. Specifically, in this case, my Doom2 IWAD has been run through ZWADCONV for editing purposes. However, using an unaltered IWAD still gives the "GC process" message.

Re: r3274 Console warning on quitting the game.

by Edward-san » Tue Jul 26, 2011 4:54 pm

Two lines are interesting:

Code: Select all

16 bots read from bots.cfg
and

Code: Select all

ACS scripts unloaded.
I don't have these ones. What happens if you don't use bots?

That warning message is displayed in the destructor of the DObject class:

Code: Select all

		if (!(ObjectFlags & OF_YesReallyDelete))

		{

			Printf ("Warning: '%s' is freed outside the GC process.\n",

				type != NULL ? type->TypeName.GetChars() : "==some object==");

		}
I checked the changes on the file dobject.cpp, an this has only a new include in r3259:

Code: Select all

#include "farchive.h"
And in dobject.h this is added (r3263):

Code: Select all

	// For cleanup

	void DelSoftRootHead();

Re: r3274 Console warning on quitting the game.

by Enjay » Tue Jul 26, 2011 4:04 pm

Edward-san wrote:Do you mean running it like this:
Yes.

Full log
Spoiler:
Edward-san wrote:Also, can you reproduce this in r3271 and below?
Of the revisions that I have quick access to, r3263 shows this behaviour but r3249 does not. So the change that caused this happened sometime between those two revisions.

Re: r3274 Console warning on quitting the game.

by Edward-san » Tue Jul 26, 2011 3:43 pm

Do you mean running it like this:

Code: Select all

zdoom +logfile foo.log
?
In that case I cannot reproduce this in linux Ubuntu 10.10 x86-64 release and debug, r3274. The last message in console is this:

Code: Select all

+MAP01 - entryway
Also, can you reproduce this in r3271 and below?

r3274 Console warning on quitting the game.

by Enjay » Tue Jul 26, 2011 2:45 pm

Whenever I play a game, when I quit, the following message is sent to the console:

Code: Select all

Warning: 'Object' is freed outside the GC process.
To replicate, start a game with a log file running, enter the first map then quit. The above line should be at the end of your log file. Happens to me every time in Zdoom and GZdoom and in any of the supported games. It doesn't seem to have a detrimental effect, but it's there, so I reported it.

Top