X2Go Bug report logs - #1502
macOS X2GoClient keyboard map updates crash specific server applications, spike server CPU usage

version graph

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

Reported by: "Yearke, Thomas" <tyearke@buffalo.edu>

Date: Tue, 3 Nov 2020 00:45:02 UTC

Severity: normal

Found in version 4.1.2.2

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#1502: [X2Go-Dev] Bug#1502: macOS X2GoClient keyboard map updates crash specific server applications, spike server CPU usage
Reply-To: uli42@gmx.de, 1502@bugs.x2go.org
Resent-From: Ulrich Sibiller <ulrich.sibiller@gmail.com>
Resent-To: x2go-dev@lists.x2go.org
Resent-CC: X2Go Developers <x2go-dev@lists.x2go.org>
X-Loop: owner@bugs.x2go.org
Resent-Date: Tue, 03 Nov 2020 06:35:02 +0000
Resent-Message-ID: <handler.1502.B1502.160438503019559@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: followup 1502
X-X2Go-PR-Package: x2goclient
X-X2Go-PR-Keywords: 
References: <F5B32DA7-8962-4080-9BE2-31E40980B913@buffalo.edu> <F5B32DA7-8962-4080-9BE2-31E40980B913@buffalo.edu>
Received: via spool by 1502-submit@bugs.x2go.org id=B1502.160438503019559
          (code B ref 1502); Tue, 03 Nov 2020 06:35:02 +0000
Received: (at 1502) by bugs.x2go.org; 3 Nov 2020 06:30:30 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
	ymir.das-netzwerkteam.de
X-Spam-Level: *
X-Spam-Status: No, score=1.2 required=3.0 tests=BAYES_40,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,FREEMAIL_REPLYTO,
	FREEMAIL_REPLYTO_END_DIGIT,HTML_MESSAGE,SPF_HELO_NONE,URIBL_BLOCKED
	autolearn=no autolearn_force=no version=3.4.2
Received: from mail-yb1-xb32.google.com (mail-yb1-xb32.google.com [IPv6:2607:f8b0:4864:20::b32])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id BD54B5DAF2;
	Tue,  3 Nov 2020 07:30:22 +0100 (CET)
Received: by mail-yb1-xb32.google.com with SMTP id c129so13884239yba.8;
        Mon, 02 Nov 2020 22:30:22 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=mime-version:references:in-reply-to:reply-to:from:date:message-id
         :subject:to:cc;
        bh=QJvANi6cY9wk7broGTItFUf1s7+vatwTntnEh5NWWVw=;
        b=BIWTw0V3L6AJuQq7z8KQl0CRycR8NbtEWsql4zQGa/qRZUzTrlXsSWtv3P+3LofcKL
         +FyIL6RlQ/021R9Yz56W3s8BhCx/63Z9kZZdgaEBhDP/b+XqdgVvNvEMJgbitUd76KdT
         hXcy6fFkD0PDGDDOxSTYz1wx6YURXq5ECYd6fnkNqt++s1eU6ZmFn0V5zgZtGJzt6jtH
         JGCeQ0DjJJJOTVNf92dMDIW/GrATNF5wRNpxA5YZDJEvUGPE4ba5PAbTayRu0V4nfq3K
         pFKukKzc4pIYcxQiV3/SS9DqVadqBcf0UBCg1Nnm3hR9eSgGHur+UL2DFLe2SWbONRIo
         nqKg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:mime-version:references:in-reply-to:reply-to
         :from:date:message-id:subject:to:cc;
        bh=QJvANi6cY9wk7broGTItFUf1s7+vatwTntnEh5NWWVw=;
        b=bnPUGnG5YizjW77ngnbeqL+Hl4efA0yW7KOdly0fQiMWCf8vPWO6/JkNJGt1ipcg6Z
         V6bu8WJKKKbw6JfMWVo+tweXAix6hBa3OnWgxcvI02JDuP7YP6y+k5W3odgNyMo89aJx
         gol+/oOh5f71RlcD32K8aTtxuTBlnqtvksLTa+bWW1mXh6TpWgTzkoPVaoSgb5CpAw8v
         F7uSWoqI2ctgSbk7AKA3XXFSscOnGTXRt2VBhtbmTB4rDEnUg+n+cCGThzbwyCkR1/Jw
         PY0tniTly+k1nrqL/rBSUq3zuDBfZYMAlLLJEzb43OnyPGaAdN0DFSDCcRnzawrUT8QO
         rkKA==
X-Gm-Message-State: AOAM532rcM3WCnhLJxC7EZ6Z0oatEQ0rVvqwMsbn/pu0O5L3XXMmSQwx
	Q6lmQBPrKIUsXtzf58RFMlAGlZCGzvOEkTBLl20=
X-Google-Smtp-Source: ABdhPJythDUOsrlZEYAl/eZPOGBT0xUUSsbTdRb4lmGSue8WjDQwH8J0YVgtXvZs8jAoqyF7wpzNafxwYSZ3dzmd+xk=
X-Received: by 2002:a25:182:: with SMTP id 124mr624830ybb.483.1604385021216;
 Mon, 02 Nov 2020 22:30:21 -0800 (PST)
MIME-Version: 1.0
In-Reply-To: <F5B32DA7-8962-4080-9BE2-31E40980B913@buffalo.edu>
From: Ulrich Sibiller <ulrich.sibiller@gmail.com>
Date: Tue, 3 Nov 2020 07:30:09 +0100
Message-ID: <CANVnVYJvHS+7=wLaT-dOZ5Q5g-ExPnrXp+O+vBtheJzdg=TkDw@mail.gmail.com>
To: "Yearke, Thomas" <tyearke@buffalo.edu>, 1502@bugs.x2go.org
Cc: submit@bugs.x2go.org
Content-Type: multipart/alternative; boundary="00000000000045ca1d05b32dff69"
[Message part 1 (text/plain, inline)]
Thanks for the patch. Keyboard on MacOS is special. As I do not have/know
MacOS I don't know why it was implemented that way.

What happens if you change the MacOS keyboard while a session is running?

Uli

Yearke, Thomas <tyearke@buffalo.edu> schrieb am Di., 3. Nov. 2020, 01:45:

> Package: x2goclient
> Version: 4.1.2.2
> Tag: patch
>
> When the macOS version of X2GoClient is connected to a server, it updates
> the session's keyboard map every 10 seconds. Depending on how other
> programs running on the server respond to keyboard map changes, the
> repeated updates can cause brief CPU usage spikes or (in the case of one of
> our applications) they can cause freezes and crashes.
>
> The attached patch modifies the macOS client to only run the keyboard map
> update once on session startup. Testing done on my devices showed that this
> change resolved the issue without introducing noticeable side effects.
> However, I was not able to find the reason why the keyboard map is being
> updated regularly, so this may (re)introduce a problem I'm not aware of.
>
> Client OS: macOS 10.14.6
> Client Software: X2GoClient 4.1.2.2
> Server OS: CentOS 7.8
> Server Desktop Environment: XFCE 4
> Server x2goserver Version: 4.1.0.3
> Server x2goserver-xsession Version: 4.1.0.3
> Server nxagent Version: 3.5.99.24
>
> Thank you for your consideration!
>
> Tom Yearke
> Software Engineer
> Science and Engineering Node Services
> University at Buffalo
>
>
> _______________________________________________
> x2go-dev mailing list
> x2go-dev@lists.x2go.org
> https://lists.x2go.org/listinfo/x2go-dev
>
[Message part 2 (text/html, inline)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Nov 21 13:51:47 2024; 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.