Getting a Crash Log

Crash logs are incredibly useful when trying to track down a bug, especially if it’s not immediately reproducible.


Obtaining a crash log on OS X is incredibly easy since it automatically creates easily accessible crash logs for you.

  1. If WebKit has just crashed or you can easily reproduce the crash, press the Report button on the CrashReporter dialog box to view the crash information.

  2. Copy and paste the entire contents of the top portion of the CrashReporter window into your favorite text editor and upload it as an attachment in Bugzilla.

  3. If the crash report dialog does not appear or the crash is hard to reproduce, crash logs can be retrieved from the ~/Library/Logs/CrashReporter folder.

On Leopard (Mac OS X 10.5), crash logs are stored as individually dated and time stamped files. Despite having a “.crash” extension, they are plain text files and can be attached directly to a bug report.

On Tiger (Mac OS X 10.4), all crashes are logged to Safari.crash.log. This is a plain text file and can be viewed in the default or your favorite text editor. All of Safari’s crashes are logged to this file so please only attach the last crash in it. Crashes are separated by a series of asterisks (∗∗∗∗∗∗∗∗∗∗) for easy identification.


See the WebKit on Windows page.