Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipse.org-architecture-council] Serious issue with Eclipse and menus on macOS 10.13

Hi Dani, all -

So I've recompiled the osx launcher from git R4_7_maintenance, using the new XCode 9.0 beta on OSX 10.13 GM ... but when I replace the binary artifacts in the Eclipse.app, it crashes with a SEGV:

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.apple.CoreFoundation       0x00007fff4201cb42 CFBundleGetFunctionPointerForName + 34
1   org.eclipse.sdk.ide           0x000000010eedc62e findSymbol + 62
2   org.eclipse.sdk.ide           0x000000010eeda9e1 original_main + 1249

I had just run build.sh in the launcher's library/cocoa dir, and I'm afraid I don't have time to investigate further. Anyways looking at the most recent comments on https://bugs.eclipse.org/bugs/show_bug.cgi?id=520176 it doesn't seem like the issue could be amended by recompiling. The issue has been tracked down to occurring on non-English primarry locale only. In fact it seems that the culprit is a combination of Apple not shipping default non-English localizations for Java in High Sierra + Eclipse listing foreign locales in its Info.plist without implementing them...

Cheers,
Martin

On Tue, Sep 19, 2017 at 4:18 PM, Daniel Megert <daniel_megert@xxxxxxxxxx> wrote:
> @Mike, I can try recompiling the Launcher ... I'm not convinced it would help,
Same here.

> but you are right it's worth a try.
Can you do it? Would be good to know for sure.

Dani



From:        Martin Oberhuber <mober.at+eclipse@xxxxxxxxx>
To:        "eclipse.org-architecture-council" <eclipse.org-architecture-council@xxxxxxxxxxx>
Date:        19.09.2017 09:51
Subject:        Re: [eclipse.org-architecture-council] Serious issue with Eclipse and menus on macOS 10.13
Sent by:        eclipse.org-architecture-council-bounces@xxxxxxxxxxx




Thanks Torkild,

I'd like to add that it looks like a reliable workaround has been found [1]
(launching Eclipse as "java -jar o.e.equinox.launcher"). It seems that
this has helped everyone who's seen the issue so far. I'm not sure if this
is adequate for wide publication to end-users, but at least it is something...
and, best of all, it would potentially help users with old installs who can't
upgrade their Eclipse and see themselves stuck with the issue after
upgrading their OS.

Regarding the symptoms, it seemed to me that "fresh installs" were unlikely
to show the problem, whereas upgrading an existing (old) install was more
likely to show the issue.

Till's observations from https://bugs.eclipse.org/bugs/show_bug.cgi?id=457921#c9
about the Launcher's use of SetFrontProcess() being suspicios use
look like a promising hint to me. If there's anyone around with some
understanding of Mac Cocoa, reviewing that code might be good.

@Mike, I can try recompiling the Launcher ... I'm not convinced it would help,
but you are right it's worth a try.

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=520176#c46

Thanks,
Martin


On 18 Sep 2017, at 21:54, Torkild U. Resheim <torkildr@xxxxxxxxx> wrote:

Hi,

Please do not install the beta/GM on your workstations unless you are prepared to face the consequences ;) Well, actually I’m doing pretty good all thanks to the «Quick Access», I rarely used the menu anyway. But for RCP applications without this feature we do have a problem.

I believe we are plenty of people looking into it and there are quite a few that can reproduce the issue. I guess the question is whether or not one is inclined to start digging into the Eclipse launcher executable, which I think is the culprit. I might be wrong, but in any case it appears we’re talking about some delicate OS/UI thing.

I can try to sum up the current situation:

* Menus are disabled on macOS 10.13 when running Eclipse Platform based applications
* Plain SWT applications are not affected
* This has only happened when running on real hardware
* Using VirtualBox and VMWare we have been unsuccessful reproducing the issue
* But on one i5 based MacBook Pro it could not be reproduced (Martin O.)
* We have tried various combinations of Java installations, but that appears unrelated
* When the native launcher (eclipse.exe) is omitted, the problem does not occur

Best regards,
Torkild


18. sep. 2017 kl. 19:12 skrev Martin Lippert <mlippert@xxxxxxxxx>:

Hey!

Could try on real hardware tomorrow, if that helps, but sounds like some folks are already looking into this. Is that right?
Sounds like a super major issue if this happens on real hardware running macOS High Sierra… :-(

Cheers,
-Martin



Am 18.09.2017 um 19:05 schrieb Daniel Megert <daniel_megert@xxxxxxxxxx>:

Martin,

the problem does not appear on virtual boxes. You would need to test on "real" hardware.

Dani



From:        Martin Lippert <
mlippert@xxxxxxxxx>
To:        "
eclipse.org-architecture-council" <eclipse.org-architecture-council@xxxxxxxxxxx>
Date:        18.09.2017 18:48
Subject:        Re: [
eclipse.org-architecture-council] Serious issue with Eclipse and menus on macOS 10.13
Sent by:        
eclipse.org-architecture-council-bounces@xxxxxxxxxxx



Hey!

I tested this today, too. I am running VMware Fusion (8.5.8) and have macOS High Sierra Build 17A362a (GM candidate build) installed.
I DO NOT see the described issues. Tested Eclipse Oxygen.1RC4 (Java EPP) as well as STS ci builds.

What version of macOS High Sierra do you use, Torkild?

Cheers,
-Martin



Am 17.09.2017 um 20:16 schrieb Torkild U. Resheim <torkildr@xxxxxxxxx>:

Ed,

Yes, this appears to be the same problem. I used VMWare Fusion and the rescue partition to create a virtual machine with 10.12 – which I then upgraded to the various betas. I don’t know of any other means.

Best regards,
Torkild

17. sep. 2017 kl. 08:22 skrev Ed Merks <ed.merks@xxxxxxxxx>:

Torkild,

Do you think the following problem reported in the newcomers forum is an example of this problem:

https://urldefense.proofpoint.com/v2/url?u=https-3A__www.eclipse.org_forums_index.php_mv_msg_1088892_1772827_-23msg-5F1772827&d=DwIGaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=1UITCR5rxUZHSFczvfaNFK4ymEbEiccRX7VKchpqz0Y&m=OKXkGWHkrorNXk5Qy5i_fnrgZL_4q1DRqDMZcdx37NI&s=Z3aV8rWWoMMBg4y0kd6tAzswOvOX3S-4xSNBshqT_5w&e=

How can one install a virtual machine with this version of MacOS to test it?

Regards,
Ed



_______________________________________________

eclipse.org-architecture-council mailing list
eclipse.org-architecture-council@xxxxxxxxxxx
https://urldefense.proofpoint.com/v2/url?u=https-3A__dev.eclipse.org_mailman_listinfo_eclipse.org-2Darchitecture-2Dcouncil&d=DwIGaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=1UITCR5rxUZHSFczvfaNFK4ymEbEiccRX7VKchpqz0Y&m=OKXkGWHkrorNXk5Qy5i_fnrgZL_4q1DRqDMZcdx37NI&s=AsFG4-OkGmK1FFS21SwYJePFIwAqphJZjPwQl5MhByU&e=

IMPORTANT: Membership in this list is generated by processes internal to the Eclipse Foundation.  To be permanently removed from this list, you must contact emo@xxxxxxxxxxx to request removal.


_______________________________________________

eclipse.org-architecture-council mailing list
eclipse.org-architecture-council@xxxxxxxxxxx
https://urldefense.proofpoint.com/v2/url?u=https-3A__dev.eclipse.org_mailman_listinfo_eclipse.org-2Darchitecture-2Dcouncil&d=DwIGaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=1UITCR5rxUZHSFczvfaNFK4ymEbEiccRX7VKchpqz0Y&m=OKXkGWHkrorNXk5Qy5i_fnrgZL_4q1DRqDMZcdx37NI&s=AsFG4-OkGmK1FFS21SwYJePFIwAqphJZjPwQl5MhByU&e=

IMPORTANT: Membership in this list is generated by processes internal to the Eclipse Foundation.  To be permanently removed from this list, you must contact emo@xxxxxxxxxxx to request removal.



_______________________________________________
eclipse.org-architecture-council mailing list
eclipse.org-architecture-council@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipse.org-architecture-council

IMPORTANT: Membership in this list is generated by processes internal to the Eclipse Foundation.  To be permanently removed from this list, you must contact emo@xxxxxxxxxxx to request removal.


_______________________________________________

eclipse.org-architecture-council mailing list
eclipse.org-architecture-council@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipse.org-architecture-council

IMPORTANT: Membership in this list is generated by processes internal to the Eclipse Foundation.  To be permanently removed from this list, you must contact emo@xxxxxxxxxxx to request removal.


_______________________________________________

eclipse.org-architecture-council mailing list
eclipse.org-architecture-council@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipse.org-architecture-council

IMPORTANT: Membership in this list is generated by processes internal to the Eclipse Foundation.  To be permanently removed from this list, you must contact emo@xxxxxxxxxxx to request removal.

_______________________________________________
eclipse.org-architecture-council mailing list
eclipse.org-architecture-council@xxxxxxxxxxx
https://urldefense.proofpoint.com/v2/url?u=https-3A__dev.eclipse.org_mailman_listinfo_eclipse.org-2Darchitecture-2Dcouncil&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=1UITCR5rxUZHSFczvfaNFK4ymEbEiccRX7VKchpqz0Y&m=SAEwLv7X775YL2aiNVAfhPRLIZLVYr0zfGeC3-NQisM&s=RU5GlQL7-Ty35pO-dx_IZ7KhUXJ1WUGXm4SryNA-tZA&e=


IMPORTANT: Membership in this list is generated by processes internal to the Eclipse Foundation.  To be permanently removed from this list, you must contact emo@xxxxxxxxxxx to request removal.




_______________________________________________
eclipse.org-architecture-council mailing list
eclipse.org-architecture-council@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipse.org-architecture-council

IMPORTANT: Membership in this list is generated by processes internal to the Eclipse Foundation.  To be permanently removed from this list, you must contact emo@xxxxxxxxxxx to request removal.


Back to the top