Hi all,
I've recently begun creating a relatively simple OS X application. The
backend is mostly java, so I use the (deprecated) bridge to access the
Cocoa APIs.
The app builds and runs fine on my PowerBook G4, but when I try to
build and run a copy on a MacBook Core2Duo, I get the error below:
Invalid memory access of location 00000000 eip=9b75388e
Looking at the debug log, it lists a "EXC_BAD_ACCESS" error. This
error seems to occur shortly after my application is instantiated (at
'return NSApplicationMain(argc, (const char **) argv);', but before
'applicationWillFinishLaunching()' is called. I've not modified any of
this code, except for creating the NIB file it uses in interface
builder. In a much earlier version of my app it had built and run fine
on a MacBook.
Hopefully it's something fairly basic I'm missing- if you have any
thoughts on how to remedy this error, please let me know.
Best,
-Scott
Simon Slavin - 18 Jul 2008 21:34 GMT
On 16/07/2008, mchughs@dickinson.edu wrote in message <28c35ae4-3476-4d55-
a09b-530c76bf1f8f@25g2000hsx.googlegroups.com>:
> The app builds and runs fine on my PowerBook G4, but when I try to
> build and run a copy on a MacBook Core2Duo, I get the error below:
>
> Invalid memory access of location 00000000 eip=9b75388e
When you finished testing the application on your PowerBook, did you make
sure you'd switched away from the 'Debug' or 'Development' settings in
Xcode ? You need to compile a version that runs on Intel and possibly a
different version of the OS.
Simon.

Signature
http://www.hearsay.demon.co.uk