Opened 15 years ago

Last modified 13 years ago

#290 new task

Set up automated symbol server for Windows debugging

Reported by: Philip Taylor Owned by:
Priority: Should Have Milestone: Backlog
Component: Core engine Keywords:
Cc: Patch:

Description

The autobuilder uploads .exe and .pdb files to SVN. When the game crashes, it creates a minidump (crashlog.dmp) which can be uploaded to Trac and then opened by a developer in Visual Studio or WinDbg to debug the problem more easily, as long as the developer has the same .exe and .pdb files as the user (and preferably the same source files from which it was compiled).

If we upload new builds frequently, it's a pain to manually search for the right versions of those files. So it should be handled automatically via a symbol server, which stores all the .exe and .pdb files (for every version that was ever uploaded) and serves them over HTTP to the debugger on demand.

There is some existing information on how to set up this kind of thing - it seems to basically involve running symstore to handle the issues of assigning checksum-based directory names to each version of the files, and not a lot else. The actual server needs to run on Linux (I believe it's just plain HTTP so that's no problem); it could possibly run symstore in Wine (but I haven't tested that), or could use an independent implementation (maybe Mozilla has some code for this?), or else some work could be done by the autobuild machine on Windows before uploading.

Change History (2)

comment:1 by (none), 13 years ago

Milestone: Open Source Release

Milestone Open Source Release deleted

comment:2 by Andrew, 13 years ago

Milestone: Backlog
Note: See TracTickets for help on using tickets.