Difference between revisions of "Crash logs"

From Second Life Wiki
Jump to navigation Jump to search
(Consolidating these, thanks Ellla McMahon for the heads-up!)
Line 1: Line 1:
{{KBmaster}}
{{KBmaster}} {{TOCright}}


== What are crash logs? ==
== What are crash logs? ==

Revision as of 08:21, 26 July 2010

What are crash logs?

Crash logs are a very important tool for debugging Second Life Viewer crashes; they allow a developer to try to fix a bug that they've never personally witnessed. Sometimes, our Support team will ask you to provide diagnostic logs while helping you with a support ticket.

The Viewer can automatically submit crash logs to Linden Lab when the Viewer crashes, but external developers can't see them publicly. If you'd like the broader community to help find the bug that caused Second Life to crash on your computer, you can report the bug on the Issue Tracker and attach your crash logs.

The exact data you need to attach depends on the platform:

  • Mac: Please attach two files to the JIRA report
    • the crash log, which will usually be called "Second Life.crash.log", and will be located in ~/Library/Logs/CrashReporter. If you'd prefer, you can search Spotlight for "CrashReporter"; it will be one of the Folder matches. (For a technical discussion of the contents of this file, refer to http://developer.apple.com/technotes/tn2004/tn2123.html)
    • a System Profiler report, which contains all of the necessary data about your computer and the hardware inside of it, so that we may group problems with similar hardware together. From the Apple menu, go to About This Mac, then click on More Info. This will open the System Profiler utility; select File -> Save as, pick a name for the file, save it, and then attach it to your JIRA report. (See also http://developer.apple.com/bugreporter/bugbestpractices.html#SP)
  • Windows:

Attach after crash and before next login to Jira report

Main Hard Drive-> Document and Settings-> HP_Administrator(depends on make)-> Application Data-> Second Life-> Logs->SecondLifeCrashReport

If Application Data can not be found you need to enable Hidden Folders in Tools-> Folder Options-> View

  • Linux:
The crash report is saved at: /home/<username>/.secondlife/logs/SecondLifeCrashReport.log

See also

  • User settings - Check this page if you need help getting to one of the above nested folders.





On a Windows PC

It'll usually be in a directory like this:

C:\Documents and Settings\[YOUR USERNAME]\Application Data\SecondLife\logs

Your drive letter may vary depending on your setup, but C: is the most common. To get here, you can also do the following:

  1. Click the Taskbar's Start button.
  2. Select Run...
  3. Type "%appdata%" and click OK.
  4. Scroll down and look for the SecondLife folder.
  5. Open the logs folder.

Vista

Start>Computer>Local disk C:\users>(user name)\AppData>Roaming\Secondlife>Logs

Your drive letter may vary depending on your setup, but C: is the most common. To get here, you can also do the following:

  1. Click the Taskbar's Start button.
  2. Select Computer from the pop up menu.
  3. Double click on the local disk (C:) drive. # Select Users
  4. Select username
  5. Select appdata
  6. Select Roaming
  7. Scroll down and look for the SecondLife folder.
  8. Open the logs folder.


On a Mac

It'll usually be in a directory like this:

[YOUR USERNAME]/Library/Application Support/SecondLife/logs


On Linux

The SecondLife.log file is located on Linux in:

~/.secondlife/logs

where ~ is your home/user directory.

Please note that "username" refers to the username used on your computer, not your Second Life Resident name.

We may ask you to provide specific logs; preferably, you can attach them to a support ticket, or if the contents are shorter, you can open them up in a text editor and copy-and-paste them into your ticket. If you're not sure, please ask us to clarify.

If you're asked to send crash logs, for future reference, these can be done automatically. In Second Life, Preferences > General tab > Crash reports should be set to Always send or Ask before sending.