Stan` Posted March 16, 2014 Report Share Posted March 16, 2014 Much to our regret we must report the program has encountered an error.Please let us know at http://trac.wildfiregames.com/ and attach the crashlog.txt and crashlog.dmp files.Details: unhandled exception (Access violation reading 0x00000004)Location: unknown:0 (?)Call stack:(error while dumping stack: No stack frames found)errno = 0 (No error reported here)OS error = 0 (no error code was set)logs.7z Quote Link to comment Share on other sites More sharing options...
feneur Posted March 16, 2014 Report Share Posted March 16, 2014 When did you alt-tab? It most likely can happen at most times, but iirc the game is most vulnerable to alt-tabbing while loading a map. I generally use Alt-Enter instead as that seems less likely to crash in my experience. 1 Quote Link to comment Share on other sites More sharing options...
Stan` Posted March 16, 2014 Author Report Share Posted March 16, 2014 Well I guess a lot of things get in action here. I alt-tabbed just after loading the map and moving some units.I guess thing is I'm using switchable graphics, and the game doesn't like going from one card to another.This no more possible to disable the intel chipset since the all the graphic data go through it's bridge. Moreover samsung Bios is locked.Alt enter works fine because it doesn't switch graphics I guess. Quote Link to comment Share on other sites More sharing options...
sanderd17 Posted March 16, 2014 Report Share Posted March 16, 2014 Also, the report only mentions a null pointer (with an offset of 4). As null pointers cause immediate crashes (and prevent the engine to do any useful logging), they can only be fixed with dedicated tools. Which means we need a way to reproduce it consistently. Quote Link to comment Share on other sites More sharing options...
Stan` Posted March 16, 2014 Author Report Share Posted March 16, 2014 What tools do you need ? I can reproduce it as much as I want.I have Visual Studio 2013 Installed. Quote Link to comment Share on other sites More sharing options...
sanderd17 Posted March 16, 2014 Report Share Posted March 16, 2014 In Linux, I use GDB, I don't know what tools are used for Windows. I guess something is build in VS. This bug is most likely OS-specific (or even driver-specific). So debugging in Linux makes no sense. Can you join #0ad-dev (best in the evening), and try to contact historic_bruno, Philip, or maybe leper? Quote Link to comment Share on other sites More sharing options...
Stan` Posted March 16, 2014 Author Report Share Posted March 16, 2014 Sure. Gonna be busy this week though. Quote Link to comment Share on other sites More sharing options...
feneur Posted March 16, 2014 Report Share Posted March 16, 2014 http://trac.wildfiregames.com/wiki/DebuggingOnWindows also has some information that might be relevant Quote Link to comment Share on other sites More sharing options...
Stan` Posted March 16, 2014 Author Report Share Posted March 16, 2014 Okay, I ´´ try windbg if I have time Quote Link to comment Share on other sites More sharing options...
historic_bruno Posted March 17, 2014 Report Share Posted March 17, 2014 Visual Studio is probably easier if you have it, though the game doesn't build on VS 2013 without modifications (missing prebuilt binaries for Boost libs). Here is a guide I wrote that goes into some detail on how to set up the debugger and troubleshoot, etc.: http://trac.wildfiregames.com/wiki/Debugging Quote Link to comment Share on other sites More sharing options...
Stan` Posted March 17, 2014 Author Report Share Posted March 17, 2014 Had to install 2012. Stupid Teacher --" So I guess I should be able to do it. Quote Link to comment Share on other sites More sharing options...
Stan` Posted March 24, 2014 Author Report Share Posted March 24, 2014 After the game crashed I asked visual studio to debug it here is what it saidException non gérée à 0x06800C90 (ig7icd32.dll) dans pyrogenesis.exe : 0xC0000005 : Violation d'accès lors de la lecture de l'emplacement 0x00000004.I'm sorry french versionIt also said graphic package was not loaded correctly. Maybe a switchable graphics bug ? AMy card is AMD 8750M muxed with Intel HD4000 Quote Link to comment Share on other sites More sharing options...
historic_bruno Posted March 30, 2014 Report Share Posted March 30, 2014 After the game crashed I asked visual studio to debug it here is what it saidException non gérée à 0x06800C90 (ig7icd32.dll) dans pyrogenesis.exe : 0xC0000005 : Violation d'accès lors de la lecture de l'emplacement 0x00000004.What we need is the call stack once it crashes and you have entered the debugger. You should see the call stack window, which you can select and copy/paste here. Sans titre.png I'm sorry french version It also said graphic package was not loaded correctly. Maybe a switchable graphics bug ? A My card is AMD 8750M muxed with Intel HD4000I think that's a problem with the Visual Studio installation, but it shouldn't have any effect on debugging this. Quote Link to comment Share on other sites More sharing options...
Stan` Posted March 30, 2014 Author Report Share Posted March 30, 2014 Set VS2012 to english. First message that appearsUnhandled exception at 0x05950C90 (ig7icd32.dll) in pyrogenesis.exe: 0xC0000005: Access violation reading location 0x00000004.Unhandled exception at 0x77E41A91 in pyrogenesis.exe: 0xC0000005: Access violation executing location 0x00000000.Unhandled exception at 0x77E41A91 in pyrogenesis.exe: 0xC00001A5: Une routine de gestionnaire d’exceptions non valide a été détectée (parameters: 0x00000003).Maybe one of the pictures can help you Quote Link to comment Share on other sites More sharing options...
historic_bruno Posted March 31, 2014 Report Share Posted March 31, 2014 Set VS2012 to english. First message that appearsUnhandled exception at 0x05950C90 (ig7icd32.dll) in pyrogenesis.exe: 0xC0000005: Access violation reading location 0x00000004.Unhandled exception at 0x77E41A91 in pyrogenesis.exe: 0xC0000005: Access violation executing location 0x00000000.Unhandled exception at 0x77E41A91 in pyrogenesis.exe: 0xC00001A5: Une routine de gestionnaire dexceptions non valide a été détectée (parameters: 0x00000003).Maybe one of the pictures can help youThe symbol paths need to be set up, I recently wrote a section specifically for that in Debugging Then you can set VS to load the symbols either automatically or on demand. Then you should have a decent call stack that shows which function in pyrogenesis is triggering the crash. 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.