Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Tiberian Technologies / Blackhand Studios » Tiberian Technologies Forum » Crash dump
Crash dump [message #472981] Wed, 08 August 2012 16:23 Go to next message
Ethenal is currently offline  Ethenal
Messages: 2532
Registered: January 2007
Location: US of A
Karma: 0
General (2 Stars)

Was at about 8:05 on Field in Jelly Marathon, Airstrip and Barracks were only structures left (and it had been that way for a couple of hours), when all of a sudden lots of people started disconnecting (with the "Connection broken to client. ##" message) and eventually when it happened to me, it brought up the "Renegade has encountered an internal error and must close" dialog.

Crashdumps attached. (there are two because I immediately rejoined after the first one and it happened again)
  • Attachment: debug.zip
    (Size: 2.95MB, Downloaded 84 times)


-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: Wed, 08 August 2012 16:31]

Report message to a moderator

Re: Crash dump [message #473015 is a reply to message #472981] Thu, 09 August 2012 16:32 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 that there had been 260 players in game. Renegade's data structures only allow for storing 256, so it caused a buffer overflow, which in turn caused this crash.

I'm not sure if I can fix this. I can (and will) fix this particular crash, but it is likely that Renegade uses similarly sized buffers elsewhere, which would also cause crashes or bugs.


BlackIntel admin/founder/coder
Please visit http://www.blackintel.org/
Re: Crash dump [message #473017 is a reply to message #472981] Thu, 09 August 2012 17:43 Go to previous messageGo to next message
liquidv2 is currently offline  liquidv2
Messages: 3407
Registered: February 2007
Karma: 0
General (3 Stars)
someone tried to tell me Renegade only has 100 players left
Hah


liquidv2
Re: Crash dump [message #473018 is a reply to message #472981] Thu, 09 August 2012 18:25 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)

What do you mean, does Renegade keep track of each player that joins and leaves the game until the end of the map?

If so, that could explain why the Marathon has traditionally always crashed after around the 7-9 hour mark in the past (even before 4.0). I'm glad this specific thing is something that can be fixed, though. Thanks StealthEye. Big Ups


-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

Re: Crash dump [message #473019 is a reply to message #472981] Thu, 09 August 2012 18:37 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)

Quote:

What do you mean, does Renegade keep track of each player that joins and leaves the game until the end of the map?
Exactly. It does that for ranking purposes and for reusing the credits/score/kills/deaths after players rejoin, for example.

Yes, this is likely the same issue as in stock. The issue is now fixed (dynamic size player array) but that does not necessarily mean that it will now work right. I know that in many places 256-element buffers are used and, even though those usually exclude inactive players, it is not unlikely that there are more similar issues.


BlackIntel admin/founder/coder
Please visit http://www.blackintel.org/
Re: Crash dump [message #473021 is a reply to message #472981] Fri, 10 August 2012 00:43 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4308
Registered: April 2011
Karma: 0
General (4 Stars)
I was playing in the same match for the whole eight hours and I didn't experience this crash, I did crash on the game over screen like 10 minutes after Ethenal's crash.

edit: I figured Westwood would use their hash map stuff for this. :/

Here are the crashdumps

https://dl.dropbox.com/u/21865790/crashdumps%208%20hour%20field%20game-iran.zip


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

[Updated on: Fri, 10 August 2012 02:26]

Report message to a moderator

Re: Crash dump [message #473022 is a reply to message #473021] Fri, 10 August 2012 01:21 Go to previous messageGo to next message
Good-One-Driver is currently offline  Good-One-Driver
Messages: 959
Registered: January 2009
Location: Ukraine
Karma: 0
Colonel
iRANian wrote on Fri, 10 August 2012 00:43

I was playing in the same match for the whole eight hours and I didn't experience this crash, I did crash on the game over screen like 10 minutes after Ethenal's crash.


lol someone has a life.


http://i48.tinypic.com/s1m2af.png
Quote: C4Smoke

Good-One-Driver is a little noob crying kid who sux at renegade I say let little noob kid Good-One-Driver cry all he wants lmao
Cry away little tiny kid
Re: Crash dump [message #473032 is a reply to message #473022] Fri, 10 August 2012 10:32 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)

Good-One-Driver wrote on Fri, 10 August 2012 03:21

iRANian wrote on Fri, 10 August 2012 00:43

I was playing in the same match for the whole eight hours and I didn't experience this crash, I did crash on the game over screen like 10 minutes after Ethenal's crash.


lol someone has a life.

mad


-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

Re: Crash dump [message #473035 is a reply to message #472981] Fri, 10 August 2012 11:31 Go to previous messageGo to next message
liquidv2 is currently offline  liquidv2
Messages: 3407
Registered: February 2007
Karma: 0
General (3 Stars)
he spends his time playing Renegade instead of making cheats for it
imagine that


liquidv2
Re: Crash dump [message #473037 is a reply to message #473035] Fri, 10 August 2012 11:55 Go to previous message
EvilWhiteDragon is currently offline  EvilWhiteDragon
Messages: 3751
Registered: October 2005
Location: The Netherlands
Karma: 0
General (3 Stars)

liquidv2 wrote on Fri, 10 August 2012 20:31

he spends his time playing Renegade instead of making cheats for it
imagine that


I was thinking the same!


http://www.blackintel.org/usr/evilwhitedragon/pointfix.gif
BlackIntel admin/founder/PR dude (not a coder)
Please visit http://www.blackintel.org/

V, V for Vendetta

People should not be afraid of their governments.
Governments should be afraid of their people.
Previous Topic: BRenBot
Next Topic: Commands->Get_Random_Int() is of very poor quality
Goto Forum:
  


Current Time: Thu Dec 26 17:43:51 MST 2024

Total time taken to generate the page: 0.00868 seconds