Adobe Symbol Server: How Adobe Could Address Crash Issues

Since crash bugs are a top priority within Adobe, there is one relatively simple step Adobe should take which would make it much easier for everyone else to help Adobe track and diagnose crashes: implement a symbol server.

A symbol server is a public web server from which developers can fetch debugging information (PDB files) for released binaries. The Microsoft debuggers have excellent support for automatically pulling down symbols as they are needed in the debugger. Mozilla runs a symbol server for Firefox nightlies and releases, which is invaluable for people debugging and profiling Firefox without having to do a custom build. Microsoft runs a symbol server which contains debug information for Windows and many other Microsoft products, including the Silverlight plugin.

Debug information is not simply a way to get symbolic information from Flash. It is necessary in order to get any useful stack trace of the Mozilla code which is calling Flash. A common compiler optimization called frame pointer omission (FPO) avoids storing the frame pointer in the x86 EBP register, freeing that register up for general use. In order to walk the stack of this optimized code, the debugger has to query the frame size and frame pointer information from the PDB file. When debug information is not available, stack walking doesn’t produce usable results.

As an example, take the current #3 topcrash for nightly builds of Firefox (mozilla-central). The signature for this crash is NPSWF32.dll@0x1e7fe4. The stack traces from Mozilla’s crash reporting system are completely opaque:























Even worse, the crash signature depends on the particular version of Flash that is installed on the user’s computer. We can’t tell if a particular crash signature is fixed by a new revision of flash because without symbols we can’t correlate crashes between different versions.

As part of developing multi-process plugins for Firefox, we are constantly dealing with unexpected plugin behaviors. Whenever we encounter a problem which can be reproduced in both Silverlight and Flash, we’ll always test with silverlight, simply because Microsoft makes Silverlight symbols available through their symbol server and therefore we can actually step through their code and ours in a debugger.

Adobe should set up a symbol server for their three main plugins, Flash, Shockwave, and Acrobat. By implementing this simple tool, Adobe could help all browser vendors and interested hackers to help identify and fix bugs. If Adobe is concerned about using full debug information to reverse-engineer details of their code, there is a way to strip the PDB files so that only frame-pointer information and function names.

Atom Feed for Comments 8 Responses to “Adobe Symbol Server: How Adobe Could Address Crash Issues”

  1. Chris Says:

    I’ve been suggesting this in Flash crash bugs for a while now. Adobe’s people don’t seem to care.


  2. Till Schneidereit Says:

    After searching through the Flash Player’s bug tracker and not finding a feature request for this, I’ve created one:

  3. Justin Dolske Says:

    Probably worth pointing out that setting up a symbol server isn’t a technically-difficult task (AIUI), and it would have *immediate* payoffs.

    I guess we’ll see if Adobe is all-talk or not.

  4. John Dowdell Says:

    Thanks, Till, for forwarding it directly.


  5. Ted Mielczarek Says:

    Also of note is that “setting up a symbol server” just involves getting the PDB files in the right directory structure, and exposing that via HTTP. We don’t use symstore.exe (which is probably the simplest way to do it, if that’s all you need), but we do just serve the resulting files via Apache.

  6. Michelle Sintov Says:

    Thanks for the post, Benjamin. The Flash Player team has an effort underway to create a public symbol server, though still will need to obfuscate some symbols such as for third party code. You are right — we have a lot to gain from implementing a symbol server. Thanks for bringing this issue to the surface, and we appreciate being able to work together with Mozilla to make these stack traces more usable.

    Michelle Sintov
    Flash Player Engineering

  7. Basel Salam Says:

    Thanks for setting that request up.

    I’ve been constantly hitting a crash with the latest adobe update, and it would’ve helped if the symbols were available.

    Basel/SDET, Microsoft

  8. MB Says:

    Michelle, is this still being worked on?

Leave a Reply