Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Tiberian Technologies / Blackhand Studios » Tiberian Technologies Forum » Server Crashdump
Re: Server Crashdump [message #473581 is a reply to message #470855] Sun, 26 August 2012 16:22 Go to previous messageGo to next message
StealthEye is currently offline  StealthEye
Messages: 2518
Registered: May 2006
Location: The Netherlands
Karma: 0
General (2 Stars)

The scripts.dll does not match the crashdump.

I can't tell what the issue was based on this. I see traces of cmsgp and spectate, but that does not necessarily mean that those are the cause. The correct .dll might help.


BlackIntel admin/founder/coder
Please visit http://www.blackintel.org/
Re: Server Crashdump [message #473582 is a reply to message #470855] Sun, 26 August 2012 16:48 Go to previous messageGo to next message
Gen_Blacky is currently offline  Gen_Blacky
Messages: 3250
Registered: September 2006
Karma: 1
General (3 Stars)
spectate plugin can cause a crash because of Send_Object_Update. Check if player is active and game obj exists.

http://s18.postimage.org/jc6qbn4k9/bricks3.png
Re: Server Crashdump [message #473585 is a reply to message #473581] Sun, 26 August 2012 17:22 Go to previous messageGo to next message
raven
Messages: 595
Registered: January 2007
Location: Toronto, Ontario
Karma: 0
Colonel
Odd, that's the exact build of scripts (and only build of scripts) that I had running on the server at the time of the crash.. nonetheless I think Blacky is right as there is no crash if I remove the Send_Object_Update() code.

Thanks guys.


-Jelly Administrator
-Exodus Administrator
Re: Server Crashdump [message #473591 is a reply to message #470855] Sun, 26 August 2012 23:37 Go to previous messageGo to next message
raven
Messages: 595
Registered: January 2007
Location: Toronto, Ontario
Karma: 0
Colonel
http://jelly-server.com/raven/Untitled.png

is what I get when trying to debug it. No idea what that could be


-Jelly Administrator
-Exodus Administrator
Re: Server Crashdump [message #473592 is a reply to message #470855] Sun, 26 August 2012 23:47 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4308
Registered: April 2011
Karma: 0
General (4 Stars)
If you remove Send_Object_Update() people can see the guy spectating on his radar, hear his footsteps and sometimes will see dust kicking up from the air.

Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases
Re: Server Crashdump [message #473593 is a reply to message #473592] Sun, 26 August 2012 23:48 Go to previous messageGo to next message
raven
Messages: 595
Registered: January 2007
Location: Toronto, Ontario
Karma: 0
Colonel
iRANian wrote on Sun, 26 August 2012 23:47

If you remove Send_Object_Update() people can see the guy spectating on his radar, hear his footsteps and sometimes will see dust kicking up from the air.


Which is why I want to get to the root of the issue rather than remove it


-Jelly Administrator
-Exodus Administrator
Re: Server Crashdump [message #473597 is a reply to message #473593] Mon, 27 August 2012 01:18 Go to previous messageGo to next message
Gen_Blacky is currently offline  Gen_Blacky
Messages: 3250
Registered: September 2006
Karma: 1
General (3 Stars)
raven wrote on Mon, 27 August 2012 00:48

iRANian wrote on Sun, 26 August 2012 23:47

If you remove Send_Object_Update() people can see the guy spectating on his radar, hear his footsteps and sometimes will see dust kicking up from the air.


Which is why I want to get to the root of the issue rather than remove it


This

Gen_Blacky wrote on Sun, 26 August 2012 17:48

Send_Object_Update. Check if the player is active and game obj exists.


If going through the player list and player leaves before Send_Object_Update server will crash.


http://s18.postimage.org/jc6qbn4k9/bricks3.png

[Updated on: Mon, 27 August 2012 01:30]

Report message to a moderator

Re: Server Crashdump [message #473599 is a reply to message #470855] Mon, 27 August 2012 06:27 Go to previous messageGo to next message
StealthEye is currently offline  StealthEye
Messages: 2518
Registered: May 2006
Location: The Netherlands
Karma: 0
General (2 Stars)

I just committed this fix:

@@ -168,10 +168,11 @@ void Spectate(GameObject *obj,int id)
 		Commands->Set_Shield_Type(soldier,"Blamo");

 		Disarm_All_C4_Beacons(id);

 		for (SLNode<cPlayer>* PlayerIter = Get_Player_List()->Head(); (PlayerIter != NULL); PlayerIter = PlayerIter->Next())

 		{

 			cPlayer *p = PlayerIter->Data();

+			if (!p->Is_Active()) continue;

 			if (p->Get_Id() == id)

 			{

 				Send_Object_Update(obj,p->Get_Id());

 			}

 			else



BlackIntel admin/founder/coder
Please visit http://www.blackintel.org/
Re: Server Crashdump [message #473600 is a reply to message #470855] Mon, 27 August 2012 06:37 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4308
Registered: April 2011
Karma: 0
General (4 Stars)
I think raven was gonna try out a fix that checks for cPlayer::IsActive too.

Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases
Re: Server Crashdump [message #477895 is a reply to message #470855] Sun, 09 December 2012 16:30 Go to previous messageGo to next message
raven
Messages: 595
Registered: January 2007
Location: Toronto, Ontario
Karma: 0
Colonel
Bump!

New crash tonight. Latest version of scripts (r5074)

Crashdump, dll and pdb are in the .rar.

Any ideas would be helpful!

http://jelly-server.com/raven/dec09_crash.rar


-Jelly Administrator
-Exodus Administrator
Re: Server Crashdump [message #477926 is a reply to message #470855] Mon, 10 December 2012 10:19 Go to previous messageGo to next message
StealthEye is currently offline  StealthEye
Messages: 2518
Registered: May 2006
Location: The Netherlands
Karma: 0
General (2 Stars)

It seems your bandwidth budget (sbbo) was set to 0, which caused a division by zero.

BlackIntel admin/founder/coder
Please visit http://www.blackintel.org/
Re: Server Crashdump [message #477927 is a reply to message #470855] Mon, 10 December 2012 10:22 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4308
Registered: April 2011
Karma: 0
General (4 Stars)
hahaha

Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases
Re: Server Crashdump [message #477942 is a reply to message #470855] Mon, 10 December 2012 17:06 Go to previous messageGo to next message
raven
Messages: 595
Registered: January 2007
Location: Toronto, Ontario
Karma: 0
Colonel
hahaha indeed

Thanks StealthEye


-Jelly Administrator
-Exodus Administrator
Re: Server Crashdump [message #477943 is a reply to message #470855] Mon, 10 December 2012 17:17 Go to previous messageGo to next message
Gen_Blacky is currently offline  Gen_Blacky
Messages: 3250
Registered: September 2006
Karma: 1
General (3 Stars)
haha nice.

http://s18.postimage.org/jc6qbn4k9/bricks3.png
Re: Server Crashdump [message #478110 is a reply to message #470855] Fri, 21 December 2012 09:27 Go to previous messageGo to next message
Lazy5686 is currently offline  Lazy5686
Messages: 254
Registered: November 2007
Karma: 0
Recruit
Iran is telling me it crashed in shaders.dll but I'm still going to say it is Raven's fault.

The Scruffy, AngryCanadian with Vuvuzelas
-Jelly Games admin
http://i.imgur.com/7RiVG.jpg
Re: Server Crashdump [message #478118 is a reply to message #470855] Fri, 21 December 2012 17:36 Go to previous messageGo to next message
StealthEye is currently offline  StealthEye
Messages: 2518
Registered: May 2006
Location: The Netherlands
Karma: 0
General (2 Stars)

It crashed while quitting. (I can't see why it quit.) The crash is related to unloading a bink movie.

BlackIntel admin/founder/coder
Please visit http://www.blackintel.org/
Re: Server Crashdump [message #478128 is a reply to message #470855] Sat, 22 December 2012 20:08 Go to previous messageGo to next message
Lazy5686 is currently offline  Lazy5686
Messages: 254
Registered: November 2007
Karma: 0
Recruit
That sounds rather odd. Raven appears to be clueless as to why it occered.

Thanks.


The Scruffy, AngryCanadian with Vuvuzelas
-Jelly Games admin
http://i.imgur.com/7RiVG.jpg
Re: Server Crashdump [message #478131 is a reply to message #470855] Sun, 23 December 2012 01:03 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4308
Registered: April 2011
Karma: 0
General (4 Stars)
Could have been a disconnect from XWIS? The server shuts down the next map when it happens, maybe cause the server can't send data to the ladder but I'm not sure.

Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases
Re: Server Crashdump [message #478147 is a reply to message #478131] Sun, 23 December 2012 17:27 Go to previous messageGo to next message
ExEric3 is currently offline  ExEric3
Messages: 746
Registered: February 2005
Location: Slovakia
Karma: 0
Colonel
iRANian wrote on Sun, 23 December 2012 09:03

Could have been a disconnect from XWIS? The server shuts down the next map when it happens, maybe cause the server can't send data to the ladder but I'm not sure.


You tried simulate it locally? Because this was problem on older ssgm.

Also last days I just see on xwis higher pings on all servers.
Re: Server Crashdump [message #478148 is a reply to message #470855] Sun, 23 December 2012 19:11 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4308
Registered: April 2011
Karma: 0
General (4 Stars)
Nope but I know it happens even with 4.0 on the server. When the server shuts down it's like 30 seconds into the next map and you see a admin message pop telling you the server shut down with the Commando saying "real tough guy" IIRC.

Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases
Re: Server Crashdump [message #478361 is a reply to message #470855] Fri, 04 January 2013 16:56 Go to previous messageGo to next message
Lazy5686 is currently offline  Lazy5686
Messages: 254
Registered: November 2007
Karma: 0
Recruit
O.o

The Scruffy, AngryCanadian with Vuvuzelas
-Jelly Games admin
http://i.imgur.com/7RiVG.jpg
Re: Server Crashdump [message #478385 is a reply to message #470855] Sat, 05 January 2013 08:41 Go to previous messageGo to next message
StealthEye is currently offline  StealthEye
Messages: 2518
Registered: May 2006
Location: The Netherlands
Karma: 0
General (2 Stars)

Your bandwidth (bbo) seems to be set to 0, please check your server.ini and change it to something reasonable.

BlackIntel admin/founder/coder
Please visit http://www.blackintel.org/
Re: Server Crashdump [message #478389 is a reply to message #470855] Sat, 05 January 2013 10:46 Go to previous messageGo to next message
Ethenal is currently offline  Ethenal
Messages: 2532
Registered: January 2007
Location: US of A
Karma: 0
General (2 Stars)

BandwidthUp = 150000000

:/ Btw, our bot manually does !fds sbbo <some ridiculously large number> at the start of every map (if it doesn't do that the kbps sits at like 20 with 50 players), yet that's our server.ini setting. Either the server.ini setting is too low (even though that shouldn't cause a bandwidth budget of zero) or there is a bug that is causing it not to be loaded.

EDIT: THIS:

Quote:

Sat   12:00:31        (&Tiresias) !fds set_bw_budget_out 9999999999


If the bot DOESN'T do this, it lags TREMENDOUSLY until you do.


-TLS-DJ-EYE-K wrote on Mon, 18 March 2013 07:29

Instead of showing us that u aren't more inteligent than a Toast, maybe you should start becomming good in renegade Thumbs Up

[Updated on: Sat, 05 January 2013 11:01]

Report message to a moderator

Re: Server Crashdump [message #478395 is a reply to message #470855] Sat, 05 January 2013 14:01 Go to previous messageGo to next message
StealthEye is currently offline  StealthEye
Messages: 2518
Registered: May 2006
Location: The Netherlands
Karma: 0
General (2 Stars)

Those values are too high, which makes the strtol function that is used to parse them return 0. I think the maximum possible value 2147483647.

I don't see why the KBPS would be 20 for 50 players with a reasonable SBBO value, that's the real issue... Do you have any stats for this that I can look at to see what's going on? The ridiculous value possible helps because the bandwidth limit is disabled altogether due to divisions by zero or something.


BlackIntel admin/founder/coder
Please visit http://www.blackintel.org/

[Updated on: Sat, 05 January 2013 14:02]

Report message to a moderator

Re: Server Crashdump [message #478398 is a reply to message #470855] Sat, 05 January 2013 15:25 Go to previous messageGo to previous message
Ethenal is currently offline  Ethenal
Messages: 2532
Registered: January 2007
Location: US of A
Karma: 0
General (2 Stars)

Both of them are too high? Judging by that number, I assume it's the maximum int value these are bumping into. Is the bandwidth budget measured in bytes?

-TLS-DJ-EYE-K wrote on Mon, 18 March 2013 07:29

Instead of showing us that u aren't more inteligent than a Toast, maybe you should start becomming good in renegade Thumbs Up

Previous Topic: Cant start LevelEdit on win8
Next Topic: remote c4 bug
Goto Forum:
  


Current Time: Mon Nov 25 04:59:49 MST 2024

Total time taken to generate the page: 0.01395 seconds