Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 94477

Summary: Cannot use eclipse over remote ssh when using -X instead of -Y
Product: [Eclipse Project] Platform Reporter: Billy Biggs <billy.biggs>
Component: SWTAssignee: Bogdan Gheorghe <gheorghe>
Status: CLOSED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: akurtakov, billy.biggs, cocoakevin, ericwill, oyvind.harboe, saravanan184, Silenio_Quarti, vishnu.naikawadi
Version: 3.1Keywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Linux-GTK   
Whiteboard:
Attachments:
Description Flags
Displaying NULL in Eclipse Market place window none

Description Billy Biggs CLA 2005-05-10 14:56:17 EDT
I20050510-0010

When using eclipse with OpenSSH_3.9p1, OpenSSL 0.9.7a Feb 19 2003 on Fedora Core
3 and using -X instead of -Y, eclipse crashes when it tries to get the mouse
pointer relative to the root window.  Using DeviceData.debug = true I got the
following trace.  Commenting out the call to gdk_window_get_pointer works around
the issue for me.

org.eclipse.swt.SWTError: Unspecified error
        at org.eclipse.swt.graphics.Device.XErrorProc(Device.java:783)
        at org.eclipse.swt.internal.gtk.OS._gdk_window_get_pointer(Native Method)
        at org.eclipse.swt.internal.gtk.OS.gdk_window_get_pointer(OS.java:2940)
        at
org.eclipse.swt.widgets.Control.gtk_motion_notify_event(Control.java:2028)
        at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1354)
        at org.eclipse.swt.widgets.Display.windowProc(Display.java:3331)
        at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)
Comment 1 Billy Biggs CLA 2005-07-25 09:18:02 EDT
*** Bug 104971 has been marked as a duplicate of this bug. ***
Comment 2 Oyvind Harboe CLA 2005-07-28 03:33:10 EDT
Here are my observations:

- Running Debian Linux box
- Connecting from a Windows machine w/CygWin SSH and running Xming X server
- Switched to Java 5.0
- Now using ssh -Y

With the combination of these two changes on two different machines(both running
Debian), I've not been able to reproduce the
livelock(https://bugs.eclipse.org/bugs/show_bug.cgi?id=104971)
Comment 3 Billy Biggs CLA 2005-11-15 21:36:12 EST
*** Bug 116543 has been marked as a duplicate of this bug. ***
Comment 4 Saravanan Rajendran CLA 2016-03-21 04:57:01 EDT
Created attachment 260434 [details]
Displaying NULL in Eclipse Market place window
Comment 5 Alexander Kurtakov CLA 2018-07-13 05:18:46 EDT
(In reply to Saravanan Rajendran from comment #4)
> Created attachment 260434 [details]
> Displaying NULL in Eclipse Market place window

I can't see how is this relevant to the bug.
Comment 6 Eric Williams CLA 2019-02-14 14:35:55 EST
The stack trace reported with the original issue no longer exists as we don't use such methodologies anymore. I am going to close this ticket, please repoen it if the issue persists on GTK3.22/24 and SWT 4.10.