|
Navigation Search Contact |
How To Identify and Disable software extensions on OS X that cause other Apps to crashSometimes, people contact me because software of mine, such as Find Any File, crashes mysteriously at launch. Often it turns out that this is caused by an incompatibility or bug in some other software that tries to enhance general Mac OS X functionality. The difficulty is to figure out which software is the culprit, in order to disable it and/or notify its maker and ask to get this resolved. Sometimes, one can get a hint by looking at the detailed Crash Report one can find when opening the "Console" app. It will contain a long list of "Binary Images", listing which software components are loaded along with the app that crashes. Many of those components are so-called Frameworks and "libs" provided by Apple as part of OS X - they're usually not the culprit. Then, there are other parts, installed by other apps or even installed explicitly by you for a particular purpose. However, analysing these reports is difficult and may not lead to success, either. Instead, I'll try to give you some pointers that are often helping and do not require to understand the Crash Report contents. Figuring out if it's a software conflict at allBefore starting to modify your system, sorting out extensions etc, here's a few even simpler steps to see if you'll have success going down that path:
Where many of the culprits are foundMost of those software extensions are found inside two folders. One is the Library folder directly at the root of your startup disk. The other the Library folder of your home directory. Starting with OSX Lion, this folder might be hidden - to find it, go into the top menu bar, open the "Go" menu and hold down the option ("alt") key - now "Library" will appear in the menu and you can choose it. Next, inside these two Library folders, we have the following folders of interest:
Not all of them might actually be available on your computer, they may only get created when actually needed. The first two "Input..." folders should be checked first for culprits. Once you've ruled them out, go on with the other ones. Other places where conflicting components may be found:
Finding the offenderHere's how you'd go about it in general:
Once the crashing stops, move the other items back in their places where they were originally, restarting and testing again, until you have just a single item left that causes the crashing when present in one of the above folders. If you've actually found a culprit this way, please contact me (see E-Mail link on the left) and tell me what you found out, with the name of the item, maybe even include it in the mail so I can review it, and which app(s) crashed due to it. I would like to create a database of potential culprits and can also assist in helping resolve them with the respective developer. Moving items out and back, when needing authorizationWhile moving items from the folders inside your home folder's Library folder should be no difficulty, moving those from the Library folder at the root of your startup disk gets tricky: The requiry authorization and their ownership (permissions) must be restored afterwards, or they won't be recognized any more and may cause warning messages at OS X startup. Here's a step-by-step guide: Moving items out of their system foldersFirst, let's look at the contents of my own LaunchAgents folder:
Now let's perform a "Get Info" command on the com.bjango.istatlocal.plist file:
Note the three items listed under Name in the Sharing & Permissions section. This is how they need to be when the item gets moved back later. Now let's move it out. To do that, simply drag it to the Desktop or a folder you've created, maybe even named "From Root LaunchAgents" so that you later still know where it came from. The drag will not actually move but copy the item. That's because, as the Get Info showed above, "you can only read" this item, i.e. not delete it from its place, usually. But now that you've created a copy, you can move the item to the Trash - this time you'll be asked to Authenticate this operation:
Enter your account password. Then the file will be removed from the LaunchAgents folder. Now you've successfully moved the item out of the system and you can restart your Mac to see if this fixes the crash. If it doesn't fix the crash, you should move the item back: Moving items back into their system foldersFirst, simply drop the previously created copy back into the folder from where it came (here: "LaunchAgents"). You'll get prompted again to authorize this operation:
Confirm and then enter your password again. Now perform again a "Get Info" on the restored file:
Note that now you're the owner of this file, but it should be "system". To fix that, perform "Get Info" on the enclosing folder (here: "LaunchAgents"). You'll see this:
Click on the little lock at the bottom right. This will ask you again to authenticate. Go ahead. Now click on the Cogwheel at the bottom of the Info window and choose Apply to enclosed items...:
Again, you have to confirm:
After that, the Permission Names of the moved-back item(s) will be restored and you can restart the Mac to see that the functionality provided by these item(s) is back. Further readingBare Bones Software lists a few software products that are known to potentially cause conflicts |