Breakpad/Design/Symbol Server

From MozillaWiki
< Breakpad‎ | Design
Revision as of 15:34, 16 March 2007 by Benjamin Smedberg (talk | contribs) (Copy information from the other symbol server page)
Jump to navigation Jump to search

« back to Breakpad design page

Breakbag as a Symbol Server

Symbol Server

Breakpad includes a simple symbol supplier that looks for symbols in an organized filesystem setup like Microsoft's Symbol Server. The format is: file.pdb/GUID+AGE/file.sym Where file.pdb is the name of the debug info file, and GUID and AGE are the GUID and AGE from the debug info file. I'm not sure how this will generalize to non-Windows systems, but there are OS X support patches in progress, so we'll see soon enough.

The symbols from a nightly build of Firefox are approximately 60-70Mb in size including only the .sym files, and 140-160Mb in size including the .pdb files as well.

I've also written a script to process pdb files into the proper directory structure for SimpleSymbolSupplier.

We can get Windows OS symbols here: Download Windows Symbol Packages and run dump_syms or the previously mentioned script on them to make them useful to breakpad. In addition you can download symbols using symchk, which can get you the latest symbols from Microsoft.

Source Server

It may also be possible (though not currently planned) to use a similar system as a Source Server. This involves identifying CVS revisions of particular sources and saving the information in the PDB files.