[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: RCP app crash with splash problem on Cocoa

See this bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=277064

This is a crash during error handling. That is, your application had some other problem and was in the process of shutting down, and then we crashed trying to close the splash screen. If this crash did not occur, then you would get an error message telling you to look in your log files.

If you specify -nosplash, you should then see the real error that is stopping your application. Also see comment #18 in that bug which has a code change you can do in your application to avoid this.

-Andrew

J.-P. Pellet wrote:
OK, I found that this was due to a slightly modified version of org.eclipse.ui.workbench I had installed in place of the default one. I've put back the default one and it now works properly. But what am I doing wrong so that changing Java code (in ShowFastViewContribution.java) can cause a crash in native code?

TIA,
J.-P.

J.-P. Pellet wrote:
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.