Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » GEF is BROKEN on Eclipse3.6 M5 on Mac Carbon - Please Confirm!
GEF is BROKEN on Eclipse3.6 M5 on Mac Carbon - Please Confirm! [message #511246] Sun, 31 January 2010 15:18 Go to next message
h1055071 is currently offline h1055071Friend
Messages: 335
Registered: July 2009
Senior Member
Apologies for the dramatic post title, but I need people's attention to
confirm this.

Basically, GEF crashes Eclipse completely on Eclipse 3.6 M5 Mac Carbon
if you select a tool on a GEF palette in a GEF Editor. I can reproduce
this 100%.

Please try this and confirm!

Platform
--------
Snow Leopard 10.6.21.6
Java 1.6.0_17
Eclipse 3.6 M5 Carbon
GEF SDK 3.6.0.v20090724-1517-7G7R-A5WN_YQLcNUaZdfgLUZZWKM


Steps to reproduce
------------------

1. Download eclipse-SDK-3.6M5-macosx-carbon.tar.gz, unzip it and launch it.
2. From the "Install New Software..." wizard install the GEF SDK
(Graphical Editing Framework GEF SDK
3.6.0.v20090724-1517-7G7R-A5WN_YQLcNUaZdfgLUZZWKM) from the Helios
update site. (You will need to uncheck "Group items by category" in the
wizard in order to see it in the list).
3. Re-start Eclipse.
4. From File->New->Project create a General Project (this will act as
container for the project created in step 5).
5. From File->New->Example create a "Shapes" project.
6. Create a new "Eclipse Application" Run configuration to run Eclipse
SDK as a new instance. Add "-d32" to the VM arguments to get it to run
on Snow Leopard in 32 bit mode.
7. Launch this Run configuration to launch a new instance of Eclipse SDK
that will contain the Shapes example plug-in.
8. From within this launched instance of Eclipse from File->New->Project
create a General Project (this will act as container for the project
created in step 9).
9. From File->New->Example create a "Shapes Diagram" from the Examples
list (NOT a GEF Plugins Shapes Project).
10. The GEF editor for the Shapes diagram will now appear. Open the
palette and add some shapes to the diagram.
11. Save the diagram.
12. Close this launched instance of Eclipse (the one with the diagram in
it).
13. Now launch the Run configuraion one more time as you did in stage 7.
The diagram you created before should still be open. If not, open it.
14. Click on an object tool in the palette in the Shapes editor. Eclipse
will now Crash with the following written to the console:

Sun Jan 31 19:46:40 iMac java[13952] <Error>: kCGErrorInvalidConnection:
CGSGetCurrentCursorLocation: Invalid connection
Sun Jan 31 19:46:40 iMac java[13952] <Error>: kCGErrorFailure: Set a
breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
Sun Jan 31 19:46:40 iMac java[13952] <Error>: kCGErrorInvalidConnection:
CGSNewWindowWithOpaqueShape: Invalid connection
2010-01-31 19:46:40.113 java[13952:a07] *** __NSAutoreleaseNoPool():
Object 0x114ee30 of class NSException autoreleased with no pool in place
- just leaking
2010-01-31 19:46:40.115 java[13952:a07] *** __NSAutoreleaseNoPool():
Object 0x11034e0 of class NSCFString autoreleased with no pool in place
- just leaking
2010-01-31 19:46:40.115 java[13952:a07] *** __NSAutoreleaseNoPool():
Object 0x2239e00 of class NSCFString autoreleased with no pool in place
- just leaking
2010-01-31 19:46:40.115 java[13952:a07] *** __NSAutoreleaseNoPool():
Object 0x114fa10 of class NSConcreteMutableData autoreleased with no
pool in place - just leaking
2010-01-31 19:46:40.116 java[13952:a07] *** Terminating app due to
uncaught exception 'NSInternalInconsistencyException', reason: 'Error
(1002) creating CGSWindow'
*** Call stack at first throw:
(
0 CoreFoundation 0x924e140a __raiseError + 410
1 libobjc.A.dylib 0x95396509 objc_exception_throw + 56
2 CoreFoundation 0x924e1138 +[NSException raise:format:arguments:] + 136
3 CoreFoundation 0x924e10aa +[NSException raise:format:] + 58
4 AppKit 0x97a7bd02 _NSCreateWindowWithOpaqueShape2 + 519
5 AppKit 0x97a00c36 -[NSWindow _commonAwake] + 1624
6 AppKit 0x979fd8fa -[NSWindow
_commonInitFrame:styleMask:backing:defer:] + 1524
7 AppKit 0x979fc549 -[NSWindow
_initContent:styleMask:backing:defer:contentView:] + 1568
8 AppKit 0x979fbf23 -[NSWindow
initWithContentRect:styleMask:backing:defer:] + 71
9 AppKit 0x9807cf5a -[NSWindow init] + 103
10 libswt-cocoa-carbon-3631.jnilib 0x3251a2c3
Java_org_eclipse_swt_internal_cocoa_Cocoa_objc_1msgSend__II + 31
11 ??? 0x0300b839 0x0 + 50378809
)
Re: GEF is BROKEN on Eclipse3.6 M5 on Mac Carbon - Please Confirm! [message #511338 is a reply to message #511246] Mon, 01 February 2010 05:44 Go to previous messageGo to next message
h1055071 is currently offline h1055071Friend
Messages: 335
Registered: July 2009
Senior Member
On 31/01/2010 20:04, Phillipus wrote:
> Apologies for the dramatic post title, but I need people's attention to
> confirm this.
>
> Basically, GEF crashes Eclipse completely on Eclipse 3.6 M5 Mac Carbon
> if you select a tool on a GEF palette in a GEF Editor. I can reproduce
> this 100%.
>
> Please try this and confirm!
>
> Platform
> --------
> Snow Leopard 10.6.21.6
> Java 1.6.0_17
> Eclipse 3.6 M5 Carbon
> GEF SDK 3.6.0.v20090724-1517-7G7R-A5WN_YQLcNUaZdfgLUZZWKM
>
>
> Steps to reproduce
> ------------------
>
> 1. Download eclipse-SDK-3.6M5-macosx-carbon.tar.gz, unzip it and launch it.
> 2. From the "Install New Software..." wizard install the GEF SDK
> (Graphical Editing Framework GEF SDK
> 3.6.0.v20090724-1517-7G7R-A5WN_YQLcNUaZdfgLUZZWKM) from the Helios
> update site. (You will need to uncheck "Group items by category" in the
> wizard in order to see it in the list).
> 3. Re-start Eclipse.
> 4. From File->New->Project create a General Project (this will act as
> container for the project created in step 5).
> 5. From File->New->Example create a "Shapes" project.
> 6. Create a new "Eclipse Application" Run configuration to run Eclipse
> SDK as a new instance. Add "-d32" to the VM arguments to get it to run
> on Snow Leopard in 32 bit mode.
> 7. Launch this Run configuration to launch a new instance of Eclipse SDK
> that will contain the Shapes example plug-in.
> 8. From within this launched instance of Eclipse from File->New->Project
> create a General Project (this will act as container for the project
> created in step 9).
> 9. From File->New->Example create a "Shapes Diagram" from the Examples
> list (NOT a GEF Plugins Shapes Project).
> 10. The GEF editor for the Shapes diagram will now appear. Open the
> palette and add some shapes to the diagram.
> 11. Save the diagram.
> 12. Close this launched instance of Eclipse (the one with the diagram in
> it).
> 13. Now launch the Run configuraion one more time as you did in stage 7.
> The diagram you created before should still be open. If not, open it.
> 14. Click on an object tool in the palette in the Shapes editor. Eclipse
> will now Crash with the following written to the console:
>
> Sun Jan 31 19:46:40 iMac java[13952] <Error>: kCGErrorInvalidConnection:
> CGSGetCurrentCursorLocation: Invalid connection
> Sun Jan 31 19:46:40 iMac java[13952] <Error>: kCGErrorFailure: Set a
> breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
> Sun Jan 31 19:46:40 iMac java[13952] <Error>: kCGErrorInvalidConnection:
> CGSNewWindowWithOpaqueShape: Invalid connection
> 2010-01-31 19:46:40.113 java[13952:a07] *** __NSAutoreleaseNoPool():
> Object 0x114ee30 of class NSException autoreleased with no pool in place
> - just leaking
> 2010-01-31 19:46:40.115 java[13952:a07] *** __NSAutoreleaseNoPool():
> Object 0x11034e0 of class NSCFString autoreleased with no pool in place
> - just leaking
> 2010-01-31 19:46:40.115 java[13952:a07] *** __NSAutoreleaseNoPool():
> Object 0x2239e00 of class NSCFString autoreleased with no pool in place
> - just leaking
> 2010-01-31 19:46:40.115 java[13952:a07] *** __NSAutoreleaseNoPool():
> Object 0x114fa10 of class NSConcreteMutableData autoreleased with no
> pool in place - just leaking
> 2010-01-31 19:46:40.116 java[13952:a07] *** Terminating app due to
> uncaught exception 'NSInternalInconsistencyException', reason: 'Error
> (1002) creating CGSWindow'
> *** Call stack at first throw:
> (
> 0 CoreFoundation 0x924e140a __raiseError + 410
> 1 libobjc.A.dylib 0x95396509 objc_exception_throw + 56
> 2 CoreFoundation 0x924e1138 +[NSException raise:format:arguments:] + 136
> 3 CoreFoundation 0x924e10aa +[NSException raise:format:] + 58
> 4 AppKit 0x97a7bd02 _NSCreateWindowWithOpaqueShape2 + 519
> 5 AppKit 0x97a00c36 -[NSWindow _commonAwake] + 1624
> 6 AppKit 0x979fd8fa -[NSWindow
> _commonInitFrame:styleMask:backing:defer:] + 1524
> 7 AppKit 0x979fc549 -[NSWindow
> _initContent:styleMask:backing:defer:contentView:] + 1568
> 8 AppKit 0x979fbf23 -[NSWindow
> initWithContentRect:styleMask:backing:defer:] + 71
> 9 AppKit 0x9807cf5a -[NSWindow init] + 103
> 10 libswt-cocoa-carbon-3631.jnilib 0x3251a2c3
> Java_org_eclipse_swt_internal_cocoa_Cocoa_objc_1msgSend__II + 31
> 11 ??? 0x0300b839 0x0 + 50378809
> )
>
>

I files it as a bug - https://bugs.eclipse.org/bugs/show_bug.cgi?id=301400

Note - stage 4 in the steps to reproduce is unnecessary.
Re: GEF is BROKEN on Eclipse3.6 M5 on Mac Carbon - Please Confirm! [message #511920 is a reply to message #511338] Wed, 03 February 2010 12:34 Go to previous message
h1055071 is currently offline h1055071Friend
Messages: 335
Registered: July 2009
Senior Member
On 01/02/2010 10:34, Phillipus wrote:
> On 31/01/2010 20:04, Phillipus wrote:
>> Apologies for the dramatic post title, but I need people's attention to
>> confirm this.
>>
>> Basically, GEF crashes Eclipse completely on Eclipse 3.6 M5 Mac Carbon
>> if you select a tool on a GEF palette in a GEF Editor. I can reproduce
>> this 100%.
>>
>> Please try this and confirm!
>>
>> Platform
>> --------
>> Snow Leopard 10.6.21.6
>> Java 1.6.0_17
>> Eclipse 3.6 M5 Carbon
>> GEF SDK 3.6.0.v20090724-1517-7G7R-A5WN_YQLcNUaZdfgLUZZWKM
>>
>>
>> Steps to reproduce
>> ------------------
>>
>> 1. Download eclipse-SDK-3.6M5-macosx-carbon.tar.gz, unzip it and
>> launch it.
>> 2. From the "Install New Software..." wizard install the GEF SDK
>> (Graphical Editing Framework GEF SDK
>> 3.6.0.v20090724-1517-7G7R-A5WN_YQLcNUaZdfgLUZZWKM) from the Helios
>> update site. (You will need to uncheck "Group items by category" in the
>> wizard in order to see it in the list).
>> 3. Re-start Eclipse.
>> 4. From File->New->Project create a General Project (this will act as
>> container for the project created in step 5).
>> 5. From File->New->Example create a "Shapes" project.
>> 6. Create a new "Eclipse Application" Run configuration to run Eclipse
>> SDK as a new instance. Add "-d32" to the VM arguments to get it to run
>> on Snow Leopard in 32 bit mode.
>> 7. Launch this Run configuration to launch a new instance of Eclipse SDK
>> that will contain the Shapes example plug-in.
>> 8. From within this launched instance of Eclipse from File->New->Project
>> create a General Project (this will act as container for the project
>> created in step 9).
>> 9. From File->New->Example create a "Shapes Diagram" from the Examples
>> list (NOT a GEF Plugins Shapes Project).
>> 10. The GEF editor for the Shapes diagram will now appear. Open the
>> palette and add some shapes to the diagram.
>> 11. Save the diagram.
>> 12. Close this launched instance of Eclipse (the one with the diagram in
>> it).
>> 13. Now launch the Run configuraion one more time as you did in stage 7.
>> The diagram you created before should still be open. If not, open it.
>> 14. Click on an object tool in the palette in the Shapes editor. Eclipse
>> will now Crash with the following written to the console:
>>
>> Sun Jan 31 19:46:40 iMac java[13952] <Error>: kCGErrorInvalidConnection:
>> CGSGetCurrentCursorLocation: Invalid connection
>> Sun Jan 31 19:46:40 iMac java[13952] <Error>: kCGErrorFailure: Set a
>> breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
>> Sun Jan 31 19:46:40 iMac java[13952] <Error>: kCGErrorInvalidConnection:
>> CGSNewWindowWithOpaqueShape: Invalid connection
>> 2010-01-31 19:46:40.113 java[13952:a07] *** __NSAutoreleaseNoPool():
>> Object 0x114ee30 of class NSException autoreleased with no pool in place
>> - just leaking
>> 2010-01-31 19:46:40.115 java[13952:a07] *** __NSAutoreleaseNoPool():
>> Object 0x11034e0 of class NSCFString autoreleased with no pool in place
>> - just leaking
>> 2010-01-31 19:46:40.115 java[13952:a07] *** __NSAutoreleaseNoPool():
>> Object 0x2239e00 of class NSCFString autoreleased with no pool in place
>> - just leaking
>> 2010-01-31 19:46:40.115 java[13952:a07] *** __NSAutoreleaseNoPool():
>> Object 0x114fa10 of class NSConcreteMutableData autoreleased with no
>> pool in place - just leaking
>> 2010-01-31 19:46:40.116 java[13952:a07] *** Terminating app due to
>> uncaught exception 'NSInternalInconsistencyException', reason: 'Error
>> (1002) creating CGSWindow'
>> *** Call stack at first throw:
>> (
>> 0 CoreFoundation 0x924e140a __raiseError + 410
>> 1 libobjc.A.dylib 0x95396509 objc_exception_throw + 56
>> 2 CoreFoundation 0x924e1138 +[NSException raise:format:arguments:] + 136
>> 3 CoreFoundation 0x924e10aa +[NSException raise:format:] + 58
>> 4 AppKit 0x97a7bd02 _NSCreateWindowWithOpaqueShape2 + 519
>> 5 AppKit 0x97a00c36 -[NSWindow _commonAwake] + 1624
>> 6 AppKit 0x979fd8fa -[NSWindow
>> _commonInitFrame:styleMask:backing:defer:] + 1524
>> 7 AppKit 0x979fc549 -[NSWindow
>> _initContent:styleMask:backing:defer:contentView:] + 1568
>> 8 AppKit 0x979fbf23 -[NSWindow
>> initWithContentRect:styleMask:backing:defer:] + 71
>> 9 AppKit 0x9807cf5a -[NSWindow init] + 103
>> 10 libswt-cocoa-carbon-3631.jnilib 0x3251a2c3
>> Java_org_eclipse_swt_internal_cocoa_Cocoa_objc_1msgSend__II + 31
>> 11 ??? 0x0300b839 0x0 + 50378809
>> )
>>
>>
>
> I files it as a bug - https://bugs.eclipse.org/bugs/show_bug.cgi?id=301400
>
> Note - stage 4 in the steps to reproduce is unnecessary.
>
>

Thanks to Chris Russo for figuring out where the real problem lies - in
SWT Cursor.

See bug - https://bugs.eclipse.org/bugs/show_bug.cgi?id=301684
Previous Topic:Using Zest for CompoundDirectedGraphLayout
Next Topic:cannot be type cast problem with setSelection() for Graphical view
Goto Forum:
  


Current Time: Fri Apr 26 14:15:38 GMT 2024

Powered by FUDForum. Page generated in 0.02849 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top