I have just migrated my RCP app to Eclipse 3.5 and Cocoa. It now
crashes in the native code right after displaying the splash screen
with this message:
Invalid memory access of location c0062557 eip=94aa2688
The stack trace is:
at objc_msgSend (native)
at takeDownSplash (native)
at Java_org_eclipse_equinox_launcher_JNIBridge__1takedown_1splash
(native)
at org.eclipse.equinox.launcher.JNIBridge._takedown_splash(Native Method)
at
org.eclipse.equinox.launcher.JNIBridge.takeDownSplash(JNIBridge.java:138)
at org.eclipse.equinox.launcher.Main.takeDownSplash(Main.java:1940)
at org.eclipse.equinox.launcher.Main$SplashHandler.run(Main.java:109)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:183)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
Even the sample Mail RCP application crashes like this. Am I doing
anything wrong with the target platform, or is there really a bug in
the Cocoa version of the Equinox launcher?
Cheers,
J.-P.