Random Crashing in Adobe Illustrator and Photoshop CS4

Recently I came across this little or well known (depending who you talk to) bug in Adobe Illustrator and Photoshop CS4 (although it would appear that it has existed since CS2 too) on my iMac running OS X Leopard (10.5.8).

The symptoms are immediate and sudden crashes when launching the application. You don’t even make it past the loading splash screen but instead you’re greeted by the Adobe crash report asking if you want to send it to the guys at Adobe (not sure if that every really works!).

Taking a look at the crash report you’ll notice the following keywords in the error report under exceptions:
EXC_BAD_ACCESS (SIGSEGV) and KERN_BAD_INSTRUCTION.

After spending over three hours on the Internet looking for a solution and granted you don’t have much to go on beyond the fact that the application just suddenly crashes it can be easy to give up.

Instead of giving up, why not try the following solution.

Check to see whether the font file: zebra_01-49-58.ttf exists anywhere in your font folder in /Library/Fonts/. If not, take a look here for alternative font locations. The font itself is a free font and you can find out more here.

If you can’t find any font named Zebra in any of your font folders you’re going to have to do it the hard/long way and remove all non-essential fonts and trying the following while returning a batch of fonts at a time back to the fonts folder and subsequently testing for crashes. Narrowing down the exact font causing the problem will take time and patience, refer to the Apple support article for further information on alternative font locations and there signifiance.

If it does exist, try removing the file and renaming it. Then you’ll need to flush your Font cache using the atsutil command-line program.

The atsutil command allows you to easily clear the font cache for one (or all) users on the system, and stop and restart the Apple Type Services server, which (should) do the same thing as logging out and logging in after deleting a cache file in pre-10.5 systems [source]. You can get more information at the Mac OS X Reference Library here.

To clear the current user’s font cache, first quit all running applications especially any Adobe applications like Dreamweaver, Fireworks, InDesign or Bridge (etc.) and fire up Terminal. Note that if you intend to remove the font cache for all users you’ll have to login as root or use sudo.

First command for a single user:

1
atsutil databases -removeUser

Or, for all users:

1
sudo atsutil databases -remove

Once you’ve cleared the cache you’ll need to stop and restart the (Apple Type Services) ATS server with these commands:

1
2
$ atsutil server -shutdown
$ atsutil server -ping

The final command may take or second or two to process to get the server back up and running. Just as a precaution it’s worth logging out and logging back in again, especially if you notice any oddities.

If the above does not solve the problem, you could try the above again and delete your preferences file for the Adobe application that is crashing which can either be found here: /Library/Application Support/Adobe/ or in here /Library/Preferences/. Ensure you delete or remove only the files that correspond to the application you are troubleshooting. Note that you do this and any of the above without any warranty from me as YMMV.

Let me know if you found this helpful.

One Comment

  1. Posted April 29, 2010 at 2:08 pm | Permalink

    Hey guy!

    Usually i do not write anything, if a hint helps me, cause there have already been discussing 10 people about it and said thank you and all that stuff. Now it seems that I am the first one to write here. And you know what? It fucking helped me. It took me about two hours to get out, what is disturbing my Adobe Photoshop CS4. I reinstalled it, restarted the system, changed the performance settings, and so on … until i saw, that ATSServer is at top of activity monitor, when I started Photoshop or Illustrator.

    By the way: The main problems were:
    - Slow Start Up of Photoshop / Illustrator
    - Very slow at switsching windows, zooming, typing, switching tools, painting with brushes, opening files, closing files, and so on and so on.

    I’m working on a Mac Pro 4-core with 7GB RAM and thought all the time: it can’t be the hardware, hopefully it wasn’t!

    Now it seems everythings is as fast as before the problem all of a sudden appeared.

    THANKS VERY MUCH!

Post a Comment

Wrap code blocks with <pre lang="LANGUAGE" line="1"> and </pre> where LANGUAGE is a GeSHi supported language syntax. The line attribute is optional. More help here.

Your email is never shared. Required fields are marked *

*
*