From miguel.dilaj@gmail.com Mon Dec 21 20:56:55 2015 Received: (at 645) by bugs.x2go.org; 21 Dec 2015 19:56:55 +0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on ymir.das-netzwerkteam.de X-Spam-Level: ** X-Spam-Status: No, score=2.6 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,MISSING_SUBJECT,T_DKIM_INVALID,URIBL_BLOCKED autolearn=no version=3.3.2 Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 08F555DA52 for <645@bugs.x2go.org>; Mon, 21 Dec 2015 20:56:55 +0100 (CET) Received: by mail-wm0-f50.google.com with SMTP id p187so82053536wmp.0 for <645@bugs.x2go.org>; Mon, 21 Dec 2015 11:56:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=to:from:message-id:date:user-agent:mime-version:content-type; bh=VEENFJpsMWflvMWZJvHF/tfZMO9AxcvHV9NouTMQbT8=; b=DY8PrlFIhoKqW0/0DOQSa/O6SMt+tm6Slgd7nA3lLdiHIOCbNMqMNO0cSh1fAzB+LP yBBC1Ly+SxrfikNdxShGKLhhaiE5F9GpZ4bC+O4XRKfmdycTC3Ij27fvZKRlHBn/U+tr 0W+AFPIDVf8aFwJO75rcKlcEzv+RUfM0UvSdE9PqQlZ44SDoqnCxqte11ejtX1TeCnsC Xul3v8BK2D9EqkQGQByeFuhxzQ8m+0Xiwhmv+zUg2fW6NDROh3OhTtqEz+WiSvIsFZ8h anMQ5Ov8hUA8MtGsQGtwUB+uKRZW+I1VrAzevY+KjjyK5EPQzZvlLuPXD8XQR79B83mp CGbQ== X-Received: by 10.194.90.243 with SMTP id bz19mr23361439wjb.128.1450727814458; Mon, 21 Dec 2015 11:56:54 -0800 (PST) Received: from [192.168.7.105] ([181.164.173.51]) by smtp.googlemail.com with ESMTPSA id f11sm21555091wmd.7.2015.12.21.11.56.50 for <645@bugs.x2go.org> (version=TLSv1/SSLv3 cipher=OTHER); Mon, 21 Dec 2015 11:56:52 -0800 (PST) To: 645@bugs.x2go.org From: Miguel Dilaj Message-ID: <56785A64.9090401@gmail.com> Date: Mon, 21 Dec 2015 17:00:36 -0300 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="------------090408020101000006010806" This is a multi-part message in MIME format. --------------090408020101000006010806 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hi all, If you are using JDK8, and running the offending program using strace causes entries like this one: java.lang.ClassCastException: sun.awt.image.BufImgSurfaceData cannot be cast to sun.java2d.xr.XRSurfaceData Then it's not an X2Go bug, it's a Java bug. See http://bugs.java.com/bugdatabase/view_bug.do?bug_id=7172749 Many Java programs are affected when run over X2Go. The only workaround I've found is downgrading to JDK7, where the bug is not present. Presumably Oracle will solve it in JDK9, but I don't have the time to extensively test it. Hope that helps! Kind regards, Miguel --------------090408020101000006010806 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit Hi all,

If you are using JDK8, and running the offending program using strace causes entries like this one:

     java.lang.ClassCastException: sun.awt.image.BufImgSurfaceData cannot be cast to sun.java2d.xr.XRSurfaceData

Then it's not an X2Go bug, it's a Java bug. See http://bugs.java.com/bugdatabase/view_bug.do?bug_id=7172749

Many Java programs are affected when run over X2Go.
The only workaround I've found is downgrading to JDK7, where the bug is not present.
Presumably Oracle will solve it in JDK9, but I don't have the time to extensively test it.
Hope that helps!
Kind regards,

Miguel

--------------090408020101000006010806--