//DEVGURU

Category archives ‘Air’

Adobe Air, Mac OS X and bus error

Sunday, January 18th, 2009

The problem

I couldn’t start any Adobe AIR application on my MacBook. Any. They were working before, but after some time of not having touched any of them – they stopped working. I sent some reports to Apple, but I bet that they don’t give a damn about it.

The solution

…was quite simple, but hard to find. I thought that it would be nice to have some output using adl command (from AIR sdk). Every app outputted following error:

2009-01-18 16:15:01.250 adl[6206:10b] *** +[WebFontCache fontWithFamily:traits:weight:size:]: unrecognized selector sent to class 0xa01b2480
2009-01-18 16:15:01.252 adl[6206:10b] *** NSTimer ignoring exception '*** +[WebFontCache fontWithFamily:traits:weight:size:]: unrecognized selector sent to class 0xa01b2480' that raised during firing of timer with target 0x149d90 and selector '_playerTimerAction:'
Bus error

And crash!

After hours of searching the web I came to this solution, but it wasn’t working for me. They say that you should remove the Safari Block plugin… In my case, I don’t know if it was caused by Safari Block, because Cooliris plugin was the AIR-harmer (and I’m NOT saying about any bio-related gases, you naughties!).

So I started with removing the Safari Block plugin

Library$ cd InputManagers/
InputManagers$ ls
Cooliris		Glims			SafariBlock		Smart Crash Reports
InputManagers$ sudo rm -rf SafariBlock/

But, as I said, it haven’t fixed anything… So I’ve removed the Cooliris plugin:

~$ cd /Library/InputManagers/
InputManagers$ ls
Cooliris		Glims			Smart Crash Reports
InputManagers$ sudo rm -rf Cooliris/

And voilla! They work fine.

Yeah, the cost of having working AIR runtime is watching internet ads.