Bug 94477 - Cannot use eclipse over remote ssh when using -X instead of -Y
Summary: Cannot use eclipse over remote ssh when using -X instead of -Y
Status: CLOSED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.1   Edit
Hardware: PC Linux-GTK
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Bogdan Gheorghe CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
: 104971 116543 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-05-10 14:56 EDT by Billy Biggs CLA
Modified: 2019-02-14 14:35 EST (History)
8 users (show)

See Also:


Attachments
Displaying NULL in Eclipse Market place window (232.96 KB, image/png)
2016-03-21 04:57 EDT, Saravanan Rajendran CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.