Crash Information

Do you want to help out with Freeciv development? Then check out this forum.
mrtrub44
Posts: 1
Joined: Sun Jan 07, 2018 9:05 am

Crash Information

Postby mrtrub44 » Sun Jan 07, 2018 9:18 am

I was running freeciv single player Windows, the new Beta, when it crashed. The only information displayed was that the program had crashed in the C++ library, not very useful for a fix. Is there an existing crash trace that can be turned on for testing? If not, would the community like me to try to write one. My C++ skills are not that great - I am retired now and most of my programming was on IBM mainframe, but I will give it an attempt.
Any information about where to join the routine, what information to display besides the calling sequence, or other suggestions would be appreciated.

User avatar
JTN
Elite
Posts: 462
Joined: Wed Jan 30, 2013 12:15 am

Re: Crash Information

Postby JTN » Sun Jan 07, 2018 11:17 am

With any luck, you should find a file called "freeciv-server.RPT" or "freeciv-gtk3.RPT" or similar (depending on which component crashed), containing a stack backtrace.
(These used to require some interpretation, but hopefully are straightforward to read since we addressed bug #681643; that fix is in 2.6.0-beta1. I can't remember if I've verified that though.)