From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: long-standing GTK bug Date: Mon, 10 May 2021 14:50:45 +0200 Message-ID: <877dk64usa.fsf@gmail.com> References: <83zhbcg6s4.fsf@gnu.org> <87r1wng2ki.fsf@linaro.org> <83o8rrenn1.fsf@gnu.org> <87blnr6uck.fsf@tullinup.koldfront.dk> <87wo5kumkn.fsf_-_@tullinup.koldfront.dk> <86ftc5hc8j.fsf@gmail.com> <87d079io10.fsf@tullinup.koldfront.dk> <87ftbyokll.fsf@tullinup.koldfront.dk> <83a71c71id.fsf@gnu.org> <83sgf356sy.fsf@gnu.org> <87o8dl8mv1.fsf@tullinup.koldfront.dk> <87fsyw42yg.fsf@gmail.com> <87r1igx7pd.fsf@tullinup.koldfront.dk> <87bl9j3q53.fsf@gmail.com> <878s4mq566.fsf@tullinup.koldfront.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4807"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Adam =?utf-8?Q?Sj=C3=B8gren?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon May 10 14:52:12 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lg5OO-00017L-4v for ged-emacs-devel@m.gmane-mx.org; Mon, 10 May 2021 14:52:12 +0200 Original-Received: from localhost ([::1]:58954 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lg5OM-0003oR-VL for ged-emacs-devel@m.gmane-mx.org; Mon, 10 May 2021 08:52:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42480) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lg5NA-00033z-U9 for emacs-devel@gnu.org; Mon, 10 May 2021 08:50:56 -0400 Original-Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]:41722) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lg5N6-0000gc-Ow for emacs-devel@gnu.org; Mon, 10 May 2021 08:50:56 -0400 Original-Received: by mail-wr1-x434.google.com with SMTP id d11so16493339wrw.8 for ; Mon, 10 May 2021 05:50:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:gmane-reply-to-list:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=w+ua0jf9EwolWJ9o1z8UuKtZdFukOCrKMcCPCh+LNeI=; b=gXaC9hDRHFb4dGtj+VHOcGxvD5zhrYYoMFiSX+lKJIP3EPRYK3fk0cvh/bpfp1AoTz CXYSV5Z2tjUfZFZxvXSDKkWwDsBfT3dA9M6IX6dmBrousUa3HutXMbg6sKgv9gZoDvVS DU76eYPutu7VkoGJziXA6LR9MD975rbtjavhw59IPXa6Dd1knMUQXJVP0xBLs2HvCG3n hN6K2RcgGdTmiD0qR+qtP0F49xr+/9ykQi2By91aQoIYpWwitOvOUhq5TR3wPJ3RvzPh QoS1/x3ejo8l0D7FcocDdoU/8LJ6XmGCB0APBzlkW+cLJ/h8dtusI2uh3ICqSs6r5xgt I2Lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=w+ua0jf9EwolWJ9o1z8UuKtZdFukOCrKMcCPCh+LNeI=; b=Uzg1I5Zm/3Ai4KkZbdqR3m6H5WW2oXWHKP256wu/fq4wivbdP/CxPUFvNRk50b6sIM zgPSWGhQLmpTr0QWm521/jeq4AQo8g55R4G6qxCEiu7LEEtDT1jaCMlaSOOg11LOPPfn m0rIUS/cLfA8krRMBVcrhABy+GwuEUKvmJc0zk9sRRBbmMnX+Ic32Hu90UW/EtG8FqMT HQrzqEIa/JNqlhlVWe7oMaa62TmJudRS7IZklOEDHYuIy3x/Gb874kKdTcomUohWgVwB FPccqmS7KcQ+rlwzJhHwcqt6vUnIKdti1jsJA8mltTQYF2EbqgjN0lNkYbXQCXQCfFu8 j43A== X-Gm-Message-State: AOAM531Ilube/KUpuukWn5iuP8cYsqA7qUCx8OgNZ+QrYSHUrYT4+7Ww C7TphONLLHXU6D5HKYMF0xKtxbynluQ= X-Google-Smtp-Source: ABdhPJzwtOeTM1UutN2pAbtQ1R1owQDNaSMKK0EXNEAqGMpjNt6naypwrx2d03d63je9GZ84I8z5hw== X-Received: by 2002:adf:e9c2:: with SMTP id l2mr29789260wrn.323.1620651047689; Mon, 10 May 2021 05:50:47 -0700 (PDT) Original-Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id f4sm24020524wrz.33.2021.05.10.05.50.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 May 2021 05:50:46 -0700 (PDT) Gmane-Reply-To-List: yes In-Reply-To: <878s4mq566.fsf@tullinup.koldfront.dk> ("Adam =?utf-8?Q?Sj?= =?utf-8?Q?=C3=B8gren=22's?= message of "Mon, 10 May 2021 12:00:49 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::434; envelope-from=rpluim@gmail.com; helo=mail-wr1-x434.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:269111 Archived-At: >>>>> On Mon, 10 May 2021 12:00:49 +0200, Adam Sj=C3=B8gren said: Adam> Robert writes: >> That makes things work for me if I C-c the ssh connection, Adam> If you have to C-c the ssh connection, the patch is not doing wha= t it is Adam> supposed to, so either you or I messed up. Adam> Or maybe I'm not explaining what I'm doing expliclitly enough: I = have Adam> only tested "the happy path", i.e. closing the frame on the remote Adam> screen and closing the ssh connection (with "exit" or C-d). The l= atter Adam> hangs without this patch, and C-c'ing it crashes Emacs. Adam> I haven't tested what happens if the connection is cut before the= frame Adam> is closed. (Also relevant, of course, but one step at a time.) I think we=CA=BCre testing different things. I=CA=BCm doing: 1. On A: start emacs, run a server 2. On B: ssh -X A, emacsclient -c 3. On B: kill the ssh process 4. Emacs crashes If in step 3 I C-c the connection, then with your patch Emacs survives. Robert --=20