Eclipse crashes when editing Ecore models [message #1804959] |
Wed, 03 April 2019 18:09  |
|
Hello, EMF world,
Is anybody else finding that on Mac platform with the 2018-12 release (I cannot upgrade to 2019-03 for RCPTT reasons) the workbench crashes with a SIGSEGV in native code whenever you try to work with the Ecore Editor?
If I'm lucky, I can maybe edit a couple of properties of a couple of objects before the Properties View goes utterly blank and when I hit Cmd+S in a panic to save then SIGSEGV takes the process down and I lose my work. I can never create a new object in the Ecore editor *and* set a property of it. Maybe I can create two objects without setting any properties.
Other EMF-based editors don't seem to have this disastrous interaction between the editor and the Properties view. For example, I have no problems with the Oomph Setup Editor.
I have to resort to editing Ecore models in a text editor. I don't know where to start debugging.
Grateful for any insight, especially work-arounds that don't involve rolling back to Photon or earlier (I can't) or upgrading to 2019-03 (I can't).
Christian
---
Hardware Overview:
Model Name: MacBook Pro
Model Identifier: MacBookPro13,3
Processor Name: Intel Core i7
Processor Speed: 2.9 GHz
Number of Processors: 1
Total Number of Cores: 4
L2 Cache (per Core): 256 KB
L3 Cache: 8 MB
Memory: 16 GB
Boot ROM Version: 254.0.0.0.0
SMC Version (system): 2.38f7
Software Overview:
MacOS Mojave v 10.14.4
Eclipse Modeling Package 2018-12
|
|
|
|
Re: Eclipse crashes when editing Ecore models [message #1805044 is a reply to message #1805012] |
Thu, 04 April 2019 18:31   |
|
Hi, Ed,
Nice to hear from you. Thanks for your interest; I know you're not a Mac user.
I do recall this happening with the 2018-09 release, and I had hoped maybe it would clear up with 2018-12 but then for some reason I didn't actually do hardly anything with Ecore models in quite some while. But now I feel the pain again.
-------- agh, bitten by the forum's crashing on Emoji again. Will I never learn --------
[Updated on: Thu, 04 April 2019 18:32] Report message to a moderator
|
|
|
Re: Eclipse crashes when editing Ecore models [message #1805045 is a reply to message #1805044] |
Thu, 04 April 2019 18:31   |
|
Hi, Ed,
Nice to hear from you. Thanks for your interest; I know you're not a Mac user.
I do recall this happening with the 2018-09 release, and I had hoped maybe it would clear up with 2018-12 but then for some reason I didn't actually do hardly anything with Ecore models in quite some while. But now I feel the pain again. :-/ I don't think I had this problem before the 2018-09 release and I'm fairly certain I used the Ecore editor in the 2018-06 release. Certainly Photon was okay, but that's quite old now.
Does this help? Sorry to be so vague, but with these frequent releases now it's all a blur and I don't remember what software I've used when. In any case, we can be fairly sure that it's an interaction specific to Eclipse on Mac (the Cocoa implementation of SWT) and as it's a crash in native code, it's almost certainly not an EMF bug but an SWT bug. It's just that the only context in which I see it is the Ecore editor's property sheet. I suppose it's possible that older releases of Eclipse would exhibit this problem if it's actually that SWT is interacting badly with the Cocoa framework only since a specific MacOS update.
cW
|
|
|
|
Re: Eclipse crashes when editing Ecore models [message #1806149 is a reply to message #1805047] |
Fri, 03 May 2019 15:41   |
|
I think I may have new information about this problem (still happening in the 2019-03 release).
It is quite possible that it only happens in editing Ecore models that have documentation annotations. Just today, I was doing alright with the editor until I used the (really nice) menu action to create a new Genmodel annotation to put some documentation on an EReference. This killed my workbench. Trying the same again, killed again. Other Ecore models that I have difficulty editing already have annotations.
Perhaps there's something about the rich property sheet support for annotations that is the root cause?
Christian
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02425 seconds