Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2004:
[Freeciv-Dev] (PR#10849) Win32: Exception handler for debugging purposes
Home

[Freeciv-Dev] (PR#10849) Win32: Exception handler for debugging purposes

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#10849) Win32: Exception handler for debugging purposes
From: "James Canete" <use_less@xxxxxxxxxxx>
Date: Tue, 2 Nov 2004 15:49:43 -0800
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=10849 >

I still see a lot of win32 crashes that I can't recreate, so I wrote a
patch to get backtrace logs.

This patch modifies both the client and server by starting up drmingw's
 exception handler at the very start of execution.  It's missing
exchndl.dll, which can be obtained from the mingw utils package at
mingw.org.

When the client or server crashes, a file named civserver.RPT or
civclient.RPT is produced which contains a crash log.

I believe exchndl.dll is under GPL, but I could be wrong, so I'll have
to look into it a bit more before we can include it in a distribution.

One issue is that for a readable crash log the executables can't be
stripped, so that will increase the size of a win32 binary distribution.

Any thoughts?
-James Canete

Attachment: win32-exchndldll.diff
Description: Binary data


[Prev in Thread] Current Thread [Next in Thread]