X2Go Bug report logs - #516
X2go successfully connects to server, but no window is shown

version graph

Package: nxagent; Maintainer for nxagent is X2Go Developers <x2go-dev@lists.x2go.org>; Source for nxagent is src:nx-libs.

Reported by: sebastien chabrolles <s.chabrolles@fr.ibm.com>

Date: Sat, 14 Jun 2014 20:25:03 UTC

Severity: normal

Tags: pending

Found in version

Fixed in version

Done: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>

Bug is archived. No further changes may be made.

Full log

🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#516: [X2Go-Dev] Bug#516: [PATCH 1/5] Create Windows on Big Endian 64bit systems
Reply-To: Mihai Moldovan <ionic@ionic.de>, 516@bugs.x2go.org
Resent-From: Mihai Moldovan <ionic@ionic.de>
Resent-To: x2go-dev@lists.x2go.org
Resent-CC: X2Go Developers <x2go-dev@lists.x2go.org>
X-Loop: owner@bugs.x2go.org
Resent-Date: Sat, 21 Jun 2014 03:20:01 +0000
Resent-Message-ID: <handler.516.B516.14033205445314@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: followup 516
X-X2Go-PR-Package: x2goserver
Received: via spool by 516-submit@bugs.x2go.org id=B516.14033205445314
          (code B ref 516); Sat, 21 Jun 2014 03:20:01 +0000
Received: (at 516) by bugs.x2go.org; 21 Jun 2014 03:15:44 +0000
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID
	autolearn=ham version=3.3.2
Received: from Root24.de (powered.by.root24.eu [])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id D7FC05DB3E
	for <516@bugs.x2go.org>; Sat, 21 Jun 2014 05:15:43 +0200 (CEST)
Received: from nopileos.local (home.ionic.de [])
	by Root24.de (Postfix) with ESMTPSA id 2B0843B005CF;
	Sat, 21 Jun 2014 05:15:43 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ionic.de; s=default;
	t=1403320543; bh=LzHHXlPeQ3Vo3Ui/BW+aNoZGAKvZ0n5q/El7qiURK1Y=;
Message-ID: <53A4F8DF.30404@ionic.de>
Date: Sat, 21 Jun 2014 05:15:43 +0200
From: Mihai Moldovan <ionic@ionic.de>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
MIME-Version: 1.0
To: 516@bugs.x2go.org, Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
References: <OF70D11DD0.EF25FFDA-ONC1257CF7.006F3027-C1257CF7.006FFC35@fr.ibm.com> <53A4F5FE.4000206@ionic.de>
In-Reply-To: <53A4F5FE.4000206@ionic.de>
X-Enigmail-Version: 1.6
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="------------ms050909080704070505000606"
[Message part 1 (text/plain, inline)]
An endiannes issue was setting incorrect event masks when creating X11 windows.

This time, a smaller integer has been casted to a bigger one and passed to some
function actually setting its value.

This meant, that garbage from stack was attached to the smaller integer value,
putting unknown memory into the lower bytes of the bigger integer.

Fix this by creating a big, initialized temporary variable, let the function do
its magic on that one and pass the value back to the smaller variable -- and
cross your fingers the smaller variable can hold it without overrunning. (The
last bit is a design issue we can't really fix and has been around even before
this patch.)

[nxagent_Window.c-ppc64-create-windows.patch (text/plain, attachment)]
[smime.p7s (application/pkcs7-signature, attachment)]

Send a report that this bug log contains spam.

X2Go Developers <owner@bugs.x2go.org>. Last modified: Sun Sep 20 08:21:57 2020; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.