Opened 8 years ago

Closed 8 years ago

#3732 closed defect (invalid)

Error problem

Reported by: mopths Owned by:
Priority: Must Have Milestone:
Component: Core engine Keywords:
Cc: Patch:

Description

Every time after 50-70 minutes of playing,game stops working and shows this message:

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 = 12 (Not enough memory) OS error = 0 (no error code was set)

Attachments (5)

commands.txt (664.5 KB ) - added by mopths 8 years ago.
crashlog.txt (19.7 KB ) - added by mopths 8 years ago.
system_info.txt (18.2 KB ) - added by mopths 8 years ago.
mainlog.html (18.1 KB ) - added by mopths 8 years ago.
crashlog.dmp (87.3 KB ) - added by mopths 8 years ago.

Download all attachments as: .zip

Change History (10)

comment:1 by Itms, 8 years ago

Hello, thanks for reporting.

In order to understand what happened, we would need to have some files: see GameDataPaths to know where to find them.

  • the commands.txt of the game you were playing. It is somewhere in the sim_log folder, you should sort the elements by date to find the good one.
  • system_info.txt, crashlog.txt, and if there is one, crashlog.dmp
  • if and only if you didn't restart 0 A.D. since the crash, mainlog.html

Also, which version of the game are you playing? Is it the latest alpha, A19 Syllepsis? Thanks in advance :)

by mopths, 8 years ago

Attachment: commands.txt added

by mopths, 8 years ago

Attachment: crashlog.txt added

by mopths, 8 years ago

Attachment: system_info.txt added

by mopths, 8 years ago

Attachment: mainlog.html added

comment:2 by mopths, 8 years ago

Here are files you requested.I have played on "alpha 19 Syllepsis" Build:Nov 16,2015 (17296). Thank you for quick respond.

by mopths, 8 years ago

Attachment: crashlog.dmp added

comment:3 by AlThePhoenix, 8 years ago

I'm quite sure that this is the same thing that I am experiencing, albeit it happens more often in my mod (not saying it doesn't happen in unmodded 0 AD). To easily reproduce an out of memory crash, start a singeplayer match with 8 players (7 AI Players, I dunno if you can be a spectator and watch 8 AI players battle it out). My game always crashes when the games RAM usage reaches 1.5 GB, which usually happens when the match is atleast an hour long, and it's less likely to happen with less (AI) players. I'm using 64 Bit Windows, but since the executable isn't available as a 64 Bit version yet it isn't helping much (but I don't think the game should crash for 32 Bit users anyway).

comment:4 by mopths, 8 years ago

So i need to wait till it's fixed for 64bit windows? Just to know i was playing on lan with my friend and got crash report but just for me,other pc didn't get any error,he was still able to play. Other pc has lower performance than my pc.

Processor: AMD Athlon(tm)II x2 250 3Ghz Ram: 2Gb Os: Windows 7 Ultimate Service Pack 1 Sistem type: 64bit GPU: Ati Radeon HD4850 512mb

Last edited 8 years ago by mopths (previous) (diff)

comment:5 by elexis, 8 years ago

Milestone: Backlog
Resolution: invalid
Status: newclosed

That loghed error sounds like the cause for this crash:

errno = 12 (Not enough memory)

As mentioned by AlThePhoenix, 2GB ram for the whole operating system and 0 A.D. might be insufficient if you play long matches with many units. (By the way he tested some weeks ago for memory leaks and found that the memory usage doesn't increase indefinitely at least). The fact that your computer was the only one to crash fits in that picture.

You could reduce the RAM usage by reducing the maximum population to like 1000 units / playercount and normal map size.

If you have any more information on this, let us know.

Note: See TracTickets for help on using tickets.