Mac Console & com.apple.ReportCrash.Self Error

mac-tipsWell, the Mac had its first crash today, while I was switching between Safari and Chrome, and listening to iTunes… D’oh!

While I didn’t get a Kernel Panic message (the Mac version of BSOD),

mac-kernel-panic

the laptop did freeze and was completely unresponsive to Force Quit (pressing Command-Option-Esc), iTunes stilling running but skipping and stuck on the same note, and the only way to shut down anything was pressing the Power button.

After restarting the Mac, the first thing I wanted to do was to find out what happened.  In Windows, there’s the Event Viewer where I can find information for debug and diagnosis purposes.  But what about in Mac OS?console-screenshot

Console is the equivalent of Windows’ Event Viewer.  Here is where you will see any errors that Mac OS is encountering, diagnostic reports, system logs and other information on what the OS is doing.  From Console, you then can save the logs as text files, print the logs or email the logs (or a selection of any log) to whoever.  Pretty handy.

p.s. To learn more about all the standard software Mac OS X includes, Apple has this handy guide:

http://www.apple.com/macosx/what-is-macosx/apps-and-utilities.html

 

WHAT IS THIS “com.apple.ReportCrash.Self” ERROR?

After finding the Console, I started reading the event log and tried to figure out what went wrong.  I noticed there were many incidents of the following error:

com.apple.launchd.peruser.501[80] (com.apple.ReportCrash): Falling back to default Mach exception handler. Could not find: com.apple.ReportCrash.Self

It looked to me that the OS was trying to create some kind of exception handling (may be creating a crash report) but couldn’t find this com.apple.ReportCrash.Self .  I went online to see if I could find a fix because I want to make sure exceptions are handled (and logged when possible) correctly.  Here’s what I found:

http://www.insanelymac.com/forum/index.php?showtopic=192563

The steps are:

  1. Navigate to: System>Library>LaunchAgents>com.apple.ReportCrash.Self.Plist
  2. Copy the file: com.apple.ReportCrash.Self.Plist Navigate to: Users/Home/Library
  3. Create a new folder in Library titled: LaunchAgents (if it doesn’t exist already… Chances are it does because other programs use this folder too)
  4. Paste: com.apple.ReportCrash.Self.Plist in LaunchAgents
  5. Delete the original: System>Library>LaunchAgents>com.apple.ReportCrash.Self.Plist

I searched around the web before doing the fix and it seems other people have had success with it, so I followed the steps.  It seemed to do the trick — I haven’t seen the error since.  It is also possible that because I have not had any crash/exception happened so I have not seen that error.  I guess only time will truly tell.

ANOTHER INTERESTING ERROR…

I also saw many of the following error –

MacBook-Pro.local Dock[914] : kCGErrorIllegalArgument: CGSSetWindowTransformsAtPlacement: Singular matrix at index 2: [0.000 0.000 0.000 0.000]

It looks like it has to do with Chrome and/or VirtualBox…

I do notice the error occur when I have Chrome opened and switching back and forth between windows using Exposé.  I hope it is not a too serious of a problem (beside taking up log space) because I like Chrome…

Another day, another day of adventure in learning about Mac OS X…

Have you guys seen any of these errors?  How do you fix them?  If you have a solution fixing any of these errors, I would love to know.  Please also feel free to share other common errors (and solution) that you have have encountered.