Jump to content

Random dbghelp.cpp crash


Phoenix4646
 Share

Recommended Posts

Hi there,

posting this crash as it says on this site http://trac.wildfiregames.com/wiki/ReportingErrors to report crashes as soon as they occur.

It was when playing the SVN version, revision 15586.

I was having a fun game on a custom 8 player skirmish (which doesn't have many objects yet, it's quite empty right now) with 7 AI players, 6vs2, on my own mod. All PetraBot.

Then, after approx. 40 minutes, it crashed.

https://dl.dropboxusercontent.com/u/93679544/0AD%20logs/Dbghelp-random-Crash/hDbghelp-random-Crash.jpg

http://pastebin.com/8PmpZsk2

Pressing ''suppress'' resolved in this:

https://dl.dropboxusercontent.com/u/93679544/0AD%20logs/Dbghelp-random-Crash/hDbghelp-random-Crash-point-2.jpg

http://pastebin.com/ypYS5MB3

Pressing continue made the game hang up.

crashlog, dump and mainlog:

https://dl.dropboxusercontent.com/u/93679544/0AD%20logs/Dbghelp-random-Crash/crashlog.txt?dl=1

https://dl.dropboxusercontent.com/u/93679544/0AD%20logs/Dbghelp-random-Crash/crashlog.dmp?dl=1

https://dl.dropboxusercontent.com/u/93679544/0AD%20logs/Dbghelp-random-Crash/mainlog.html?dl=1

I hope this post is somewhat useful, say anything if you need more.

Edited by Phoenix4646
Link to comment
Share on other sites

What is the mod you used? Can you give us a link to the version used for this game? This might be the cause of the problem but the mods shouldn't be able to crash the engine that way, so we must correct the behavior.

Thanks in advance!

  • Like 2
Link to comment
Share on other sites

Played my own mod there which only affects the Athenians right now (which only I was playing, the AI players were every other civ since they do not correctly support my mod right now anyway).

The only things my mod has right now are custom templates (which are separated from the original, e.g. do not overwrite, and only used by the Athenians)

By link to the game version do you refer to my mod?

Link to comment
Share on other sites

By link to the game version do you refer to my mod?

Yes, I wanted to say "the version of the mod", in case the problem is solved in another version. :)

We must find what code triggered this crash (but maybe it does not come from your mod, it's just a guessing).

Link to comment
Share on other sites

Hi Phoenix, I took a look at your mod but unfortunately I couldn't test your commands.txt file because you seem to have modified your maps or something after you played that game.

Josh is right suggesting a missing DLL, could you verify your binaries/system to check every file is in it? This actually caused the "While generating an error report, we encountered a second problem" thing. So once this is fixed you can get the real error message, that may come from your mod.

Link to comment
Share on other sites

Okay, everything is in place (as much as I could check it, I just checked if all the files are there).

About that map thing - but you could select the map, right? That was pretty retarded of me, I don't remember what I have changed there, but it wasn't the map.

Edited by Phoenix4646
Link to comment
Share on other sites

Can you revert your mod to the version you used during the crash? (assuming you're using a version control system, which you should do)

If not, it'll be impossible to reproduce exactly the situation you experienced, so you'll have to wait a new occurrence of this...

Link to comment
Share on other sites

Good luck, then, I really liked what I saw while testing your mod! You should definitely use a version control system, and, why not, make your work (even in progress) somewhat public to get some feedback (which will probably be positive, and at least valuable). :)

Link to comment
Share on other sites

Hah, thanks, I'm really glad you liked it. The reason why I did not make it public yet is that I don't want to get anyone's hope extremely high up just yet (I've seen too many mods before that have been announced and which raised some hype, and then after some time it just died). I wanted to come up with something good before I'd show it :]

Maybe in the next few days I'll be ready to do so!

Anyway, back on topic. I'll get some games going and inform you guys asap when it crashes again!

  • Like 1
Link to comment
Share on other sites

Alright, now the Dbghelp.cpp crash happened again!

Also worth noting is that I get a lot of out of memory errors when playing with 2 AI players for a long time (this isn't the only time the out of memory error happened, see the log)

Checking the task manager told me that out of my 4 GB RAM 3,2 GB are being used.

SVN Revision 15619

http://pastebin.com/CUqc0wqN

https://dl.dropboxusercontent.com/u/93679544/0AD%20logs/Dbghelp-random-Crash-2/crashlog.dmp?dl=1

https://dl.dropboxusercontent.com/u/93679544/0AD%20logs/Dbghelp-random-Crash-2/crashlog.txt?dl=1

https://dl.dropboxusercontent.com/u/93679544/0AD%20logs/Dbghelp-random-Crash-2/interestinglog.html?dl=1

https://dl.dropboxusercontent.com/u/93679544/0AD%20logs/Dbghelp-random-Crash-2/mainlog.html?dl=1

https://dl.dropboxusercontent.com/u/93679544/0AD%20logs/Dbghelp-random-Crash-2/commands.txt?dl=1

Now this match took a while longer - around 3 hours!

I'm sending the new build to you again.

Link to comment
Share on other sites

And it just happened again - I tried to take a screenshot and it crashed.

But this time it didn't even create a dump file, only a .txt!

SVN Revision 15621

https://dl.dropboxusercontent.com/u/93679544/0AD%20logs/Dbghelp-random-Crash-3/crashlog.txt?dl=1

https://dl.dropboxusercontent.com/u/93679544/0AD%20logs/Dbghelp-random-Crash-3/interestinglog.html?dl=1

https://dl.dropboxusercontent.com/u/93679544/0AD%20logs/Dbghelp-random-Crash-3/mainlog.html?dl=1

https://dl.dropboxusercontent.com/u/93679544/0AD%20logs/Dbghelp-random-Crash-3/commands.txt?dl=1

I've uploaded the latest build again, just tell me if I should send it to you - I don't just want to send it to you everytime and spam your inbox :S

Edited by Phoenix4646
Link to comment
Share on other sites

I got it to crash in normal 0 AD. But this time it was wdbg_sym.cpp!

It again happened when trying to take a screenshot (but I got to take some some minutes before).

SVN Revision 15622

https://dl.dropboxusercontent.com/u/93679544/0AD%20logs/InitDbghelp-random-Crash-2/mainlog.html?dl=1

https://dl.dropboxusercontent.com/u/93679544/0AD%20logs/InitDbghelp-random-Crash-2/interestinglog.html?dl=1

https://dl.dropboxusercontent.com/u/93679544/0AD%20logs/InitDbghelp-random-Crash-2/crashlog.txt?dl=1

https://dl.dropboxusercontent.com/u/93679544/0AD%20logs/InitDbghelp-random-Crash-2/commands.txt?dl=1

I also noticed that there's more stuff going on with 2 AI players in my mod than there is in normal 0AD. Maybe that's one of the reasons why it crashes more.

I think you can reproduce these crashes by making a match with 2 or more AI players at very hard and try to take a screenshot once in a while. That's how it happened most of the times for me atleast.

Link to comment
Share on other sites

Indeed, I'm definitely running out of memory. I just crashed again when trying to play a match with a friend (both of us against one hard AI) about 40 minutes in - again I got a lot of out of memory java errors and it totally messed my view up. I could hear the game go on in the background while my vision was being entirely obstructed by the background texture of the gamesetup menu (the gamesetup menu where you select which map, etc.). The console's font outside of the console wasn't readable, it was only white blocks (but the text inside the console which you can open with F9 was readable). Checking the task manager said that the game was using 1.3 GB of RAM, being at the top of the list of processes.

Another thing that I noticed is that when I started 0 AD and minimize it (when the game is still at the moving starting screen) the RAM usage is ~78MB. It then rises by ~15 MB each minute! From 00:53 to 1:03 it changed from using ~78MB to using 255MB of RAM.

I then maximized the game again and continued to sit on the starting screen for 30 seconds. Then I minimized again and checked the task manager: All of a sudden it used 360 MB of RAM!

Edited by Phoenix4646
Link to comment
Share on other sites

  • 1 month later...

Okay, today I ran into it again with the public mod. Again it didn't generate a crashlog.dmp dump file.

SVN Revision 15728

I wanted to create a match with three players (me (Athenians) and one very hard AI (Spartans) vs. one very hard AI (Romans)) on the random naval map Archipelago. The first time I tried to start the match I got an error which returned me to the main menu while the game tried to load the match. The second time it started just fine with the same settings being used. See the first error on the very top in the interestinglog.

Around 30 minutes into the game I got a very long stream of Javascript errors (see interestinglog - as I said, the 1st error on the top is not related to this) which made the game lag badly. After some time it resulted in the dbghelp.cpp crash.
https://dl.dropboxusercontent.com/u/93679544/0AD%20logs/Dbhhelp-random-Crash-3/interestinglog.html
https://dl.dropboxusercontent.com/u/93679544/0AD%20logs/Dbhhelp-random-Crash-3/mainlog.html
https://dl.dropboxusercontent.com/u/93679544/0AD%20logs/Dbhhelp-random-Crash-3/crashlog.txt
https://dl.dropboxusercontent.com/u/93679544/0AD%20logs/Dbhhelp-random-Crash-3/commands.txt

Also, there's a command.txt for the 1st game which didn't start:
https://dl.dropboxusercontent.com/u/93679544/0AD%20logs/Dbhhelp-random-Crash-3/commands_fail.txt (note: this wasn't named ''fail'' by the game, I just added it into the filename to know which is which)

Edited by Phoenix4646
Link to comment
Share on other sites

  • 4 weeks later...

I just feel the need to update this.
Right now it looks like this has been fixed (or atleast heavily improved?) with the latest memory leak fixes . Even though the game lags extremely sometimes with 2 or more AI players on rather big maps (nothing new :P) it still keeps running and only uses 800 MB at peak (talking about my last game) compared to 1.3 GB which I was able to get to before (which was the point at which it crashed)!

Also the game doesn't immensely increase the amount of RAM used when in the main menu like before. So good job everyone :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...