Phoenix4646 Posted July 31, 2014 Report Share Posted July 31, 2014 (edited) 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.jpghttp://pastebin.com/8PmpZsk2Pressing ''suppress'' resolved in this:https://dl.dropboxusercontent.com/u/93679544/0AD%20logs/Dbghelp-random-Crash/hDbghelp-random-Crash-point-2.jpghttp://pastebin.com/ypYS5MB3Pressing continue made the game hang up.crashlog, dump and mainlog:https://dl.dropboxusercontent.com/u/93679544/0AD%20logs/Dbghelp-random-Crash/crashlog.txt?dl=1https://dl.dropboxusercontent.com/u/93679544/0AD%20logs/Dbghelp-random-Crash/crashlog.dmp?dl=1https://dl.dropboxusercontent.com/u/93679544/0AD%20logs/Dbghelp-random-Crash/mainlog.html?dl=1I hope this post is somewhat useful, say anything if you need more. Edited August 7, 2014 by Phoenix4646 Quote Link to comment Share on other sites More sharing options...
Itms Posted July 31, 2014 Report Share Posted July 31, 2014 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! 2 Quote Link to comment Share on other sites More sharing options...
Phoenix4646 Posted July 31, 2014 Author Report Share Posted July 31, 2014 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? Quote Link to comment Share on other sites More sharing options...
Itms Posted July 31, 2014 Report Share Posted July 31, 2014 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). Quote Link to comment Share on other sites More sharing options...
Phoenix4646 Posted July 31, 2014 Author Report Share Posted July 31, 2014 (edited) No problem, I can send you a downloadlink in a PM Edited July 31, 2014 by Phoenix4646 Quote Link to comment Share on other sites More sharing options...
Josh Posted August 1, 2014 Report Share Posted August 1, 2014 This seems to be the same error reported in ticket #2677 which should have been fixed in r15529. Could you check that 0ad/binaries/system/msvcrt.dll exists on your system? Quote Link to comment Share on other sites More sharing options...
Phoenix4646 Posted August 1, 2014 Author Report Share Posted August 1, 2014 Yup, it exists. 281kb of size. Quote Link to comment Share on other sites More sharing options...
Itms Posted August 2, 2014 Report Share Posted August 2, 2014 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. Quote Link to comment Share on other sites More sharing options...
Phoenix4646 Posted August 2, 2014 Author Report Share Posted August 2, 2014 Well, I've used TortoiseSVN to get the SVN version, so I'm sure there is nothing missing. But to verify that correctly, how do I check if I really do have everything? Quote Link to comment Share on other sites More sharing options...
Itms Posted August 2, 2014 Report Share Posted August 2, 2014 You can check here: http://trac.wildfiregames.com/browser/ps/trunk/binaries/system.Maybe there was a problem when downloading, or maybe the problem comes from somewhere else, it's just to be sure 1 Quote Link to comment Share on other sites More sharing options...
Phoenix4646 Posted August 2, 2014 Author Report Share Posted August 2, 2014 (edited) 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 August 2, 2014 by Phoenix4646 Quote Link to comment Share on other sites More sharing options...
Itms Posted August 2, 2014 Report Share Posted August 2, 2014 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... Quote Link to comment Share on other sites More sharing options...
Phoenix4646 Posted August 2, 2014 Author Report Share Posted August 2, 2014 No, I don't have anything like that. Sometimes I change things while I play when I notice them (like a building not being buildable because I mispelled the techs' name).I guess I'll just play around for very long then and hope this happens again. I'll tell you guys about it. Quote Link to comment Share on other sites More sharing options...
Itms Posted August 2, 2014 Report Share Posted August 2, 2014 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). Quote Link to comment Share on other sites More sharing options...
Phoenix4646 Posted August 2, 2014 Author Report Share Posted August 2, 2014 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! 1 Quote Link to comment Share on other sites More sharing options...
Phoenix4646 Posted August 2, 2014 Author Report Share Posted August 2, 2014 Not the same thing, but this time I got an access violation error.SVN Revision 15600https://dl.dropboxusercontent.com/u/93679544/0AD%20logs/crash_accessviolation_001/crashlog.dmp?dl=1https://dl.dropboxusercontent.com/u/93679544/0AD%20logs/crash_accessviolation_001/crashlog.txt?dl=1https://dl.dropboxusercontent.com/u/93679544/0AD%20logs/crash_accessviolation_001/interestinglog.html?dl=1https://dl.dropboxusercontent.com/u/93679544/0AD%20logs/crash_accessviolation_001/mainlog.html?dl=1https://dl.dropboxusercontent.com/u/93679544/0AD%20logs/crash_accessviolation_001/commands.txt?dl=1https://dl.dropboxusercontent.com/u/93679544/0AD%20logs/crash_accessviolation_001/crash_accessviolation_001.jpghttp://pastebin.com/BzCNgvkxThe match took approx. an hour. Sending you the current build, Itms! Quote Link to comment Share on other sites More sharing options...
Phoenix4646 Posted August 7, 2014 Author Report Share Posted August 7, 2014 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 15619http://pastebin.com/CUqc0wqNhttps://dl.dropboxusercontent.com/u/93679544/0AD%20logs/Dbghelp-random-Crash-2/crashlog.dmp?dl=1https://dl.dropboxusercontent.com/u/93679544/0AD%20logs/Dbghelp-random-Crash-2/crashlog.txt?dl=1https://dl.dropboxusercontent.com/u/93679544/0AD%20logs/Dbghelp-random-Crash-2/interestinglog.html?dl=1https://dl.dropboxusercontent.com/u/93679544/0AD%20logs/Dbghelp-random-Crash-2/mainlog.html?dl=1https://dl.dropboxusercontent.com/u/93679544/0AD%20logs/Dbghelp-random-Crash-2/commands.txt?dl=1Now this match took a while longer - around 3 hours!I'm sending the new build to you again. Quote Link to comment Share on other sites More sharing options...
Phoenix4646 Posted August 7, 2014 Author Report Share Posted August 7, 2014 (edited) 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 15621https://dl.dropboxusercontent.com/u/93679544/0AD%20logs/Dbghelp-random-Crash-3/crashlog.txt?dl=1https://dl.dropboxusercontent.com/u/93679544/0AD%20logs/Dbghelp-random-Crash-3/interestinglog.html?dl=1https://dl.dropboxusercontent.com/u/93679544/0AD%20logs/Dbghelp-random-Crash-3/mainlog.html?dl=1https://dl.dropboxusercontent.com/u/93679544/0AD%20logs/Dbghelp-random-Crash-3/commands.txt?dl=1I'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 Edited August 7, 2014 by Phoenix4646 Quote Link to comment Share on other sites More sharing options...
Phoenix4646 Posted August 8, 2014 Author Report Share Posted August 8, 2014 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 15622https://dl.dropboxusercontent.com/u/93679544/0AD%20logs/InitDbghelp-random-Crash-2/mainlog.html?dl=1https://dl.dropboxusercontent.com/u/93679544/0AD%20logs/InitDbghelp-random-Crash-2/interestinglog.html?dl=1https://dl.dropboxusercontent.com/u/93679544/0AD%20logs/InitDbghelp-random-Crash-2/crashlog.txt?dl=1https://dl.dropboxusercontent.com/u/93679544/0AD%20logs/InitDbghelp-random-Crash-2/commands.txt?dl=1I 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. Quote Link to comment Share on other sites More sharing options...
Josh Posted August 9, 2014 Report Share Posted August 9, 2014 It sounds like you're running out of memory. Could you check the RAM usage of 0 A.D. while running a scenario similar to the ones it has previously crashed on? (0 A.D. runs as pyrogenesis in the processes tab of task manager) Quote Link to comment Share on other sites More sharing options...
Phoenix4646 Posted August 9, 2014 Author Report Share Posted August 9, 2014 (edited) 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 August 10, 2014 by Phoenix4646 Quote Link to comment Share on other sites More sharing options...
Phoenix4646 Posted September 12, 2014 Author Report Share Posted September 12, 2014 (edited) Okay, today I ran into it again with the public mod. Again it didn't generate a crashlog.dmp dump file.SVN Revision 15728I 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.htmlhttps://dl.dropboxusercontent.com/u/93679544/0AD%20logs/Dbhhelp-random-Crash-3/mainlog.htmlhttps://dl.dropboxusercontent.com/u/93679544/0AD%20logs/Dbhhelp-random-Crash-3/crashlog.txthttps://dl.dropboxusercontent.com/u/93679544/0AD%20logs/Dbhhelp-random-Crash-3/commands.txtAlso, 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 September 12, 2014 by Phoenix4646 Quote Link to comment Share on other sites More sharing options...
Itms Posted September 13, 2014 Report Share Posted September 13, 2014 Can you try with latest SVN? (there is an autobuild coming soon)Scythe fixed several broken things regarding templates Quote Link to comment Share on other sites More sharing options...
Phoenix4646 Posted October 6, 2014 Author Report Share Posted October 6, 2014 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 ) 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.