Community
Participate
Working Groups
Created attachment 207309 [details] Exception details On Mac using current code from " org.eclipse.ui.cocoa" bundle launching inner instance results in the following exception: Eclipse quit unexpectedly while using libswt-pi-coco-3811.jnilib plugin. Invalid memory access of location 0x20 rip-0x7fff8297b6df Attached file with exception details.
The problem seems to be caused by this line in the CocoaUIEnhancer#init() : invokeMethod(OS.class, "objc_registerClassPair", makeArgs(cls));
So it's safe to say this is a blocker, Oleg?
The problem originates in the call to objc_allocateClassPair(NSObject, "SWTCocoaEnhancerDelegate", 0) in the same init() method. The call returns Nil indicating that the class with this name already exist. The Nil later passed to objc_registerClassPair() which, this time, triggers an exception. (In reply to comment #2) > So it's safe to say this is a blocker, Oleg? This is certainly a blocker for me. I am not sure why it suddenly started to show up as this code has not being touched for at least a year. Could be that it was failing silently and recent Mac OS update changed it to surface a error.
Oleg, what version is your OS X?
It's true — org.eclipse.ui.cocoa is 3.x specific, and is not in the 4.x builds. It's been replaced by org.eclipse.e4.ui.workbench.renderers.swt.cocoa. org.eclipse.ui.cocoa should be deleted from master (providing we're not going to somehow merge the 3.x and 4.x branches into a single branch). I meant to bring this up on last week's call.
Thanks Brian! So the only action items here is to delete "org.eclipse.ui.cocoa" from the master branch. Paul, can you do that?
I've deleted org.eclipse.ui.cocoa and org.eclipse.ui.carbon (not even supported anymore) from master, and pushed it. PW
(In reply to comment #7) > I've deleted org.eclipse.ui.cocoa and org.eclipse.ui.carbon (not even supported > anymore) from master, and pushed it. > > PW Thank you!
Still fixed in I20111205-2330 PW
This broke file proxy icons, see bug 378723.