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: server.el test failures Date: Tue, 28 Feb 2023 14:05:50 +0100 Message-ID: <87cz5uq6s1.fsf@gmail.com> References: <877h40vb8h.fsf@mail.jurta.org> <4EA4D31B.4050604@cs.ucla.edu> <4EA5E08D.8070903@cs.ucla.edu> <861qmvcglp.fsf@aarsen.me> <98e880a0-d076-cfd9-b39d-50c84fa8975a@gmail.com> <811d85e0-4032-68df-bc0c-1073ff5d1b96@cs.ucla.edu> <5a38c18d-263c-223b-7335-8395a10eb494@gmail.com> <00864fe6-b63a-685f-2d20-4e1fd5a5573e@cs.ucla.edu> <3e7c26d6-215a-6c29-5304-0e32f42b2174@gmail.com> <87zg8z5afj.fsf@gmail.com> <83ttz7giib.fsf@gnu.org> <87r0ub561t.fsf@gmail.com> <83sfergdgf.fsf@gnu.org> <87h6v6qlq7.fsf@gmail.com> <83ilfmgf88.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2228"; mail-complaints-to="usenet@ciao.gmane.io" Cc: jporterbugs@gmail.com, eggert@cs.ucla.edu, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Feb 28 14:07:03 2023 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 1pWzh8-0000LQ-Jx for ged-emacs-devel@m.gmane-mx.org; Tue, 28 Feb 2023 14:07:02 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pWzg7-00037E-3l; Tue, 28 Feb 2023 08:05:59 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pWzg5-00033z-Il for emacs-devel@gnu.org; Tue, 28 Feb 2023 08:05:57 -0500 Original-Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pWzg3-0008Um-3L; Tue, 28 Feb 2023 08:05:57 -0500 Original-Received: by mail-wm1-x32a.google.com with SMTP id m25-20020a7bcb99000000b003e7842b75f2so5811824wmi.3; Tue, 28 Feb 2023 05:05:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=qYvxjosJIzgyBzqaqE68uERin4C3tluFAm+0E8epK40=; b=Od+8CSWAJjBII7FAAcVusUB6R9gIt9CgdBwRYYyEgoQ28b3rfPwTbpH3QEQmahl3wB SvBWM77SofJ3d3P6wWzrh2jc6f62nluA9rt5Uorq8C5DqzT/Cw++wi+xdQlCYpyZytWe 4JpN9Fw+6IFG0f7KQTJjKAFrHazhI5yZ84e7yTy3P47T7pXQRfhdeANdHQfnEyuyXuTz N1oVSPAWDukSdcoIPLzSTM+y2gcznOmKbWb8FFRQGsG70dZ8uR0LOstdJMK0ZAI1QGZy 7znehKcnqS6CaWoNBuAPqgk1XyFMM+bsgoogVtYi12OcqynhhweiikCJUU3ZMvpLqM2x BYuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=qYvxjosJIzgyBzqaqE68uERin4C3tluFAm+0E8epK40=; b=1i2c8JEmPlNsTGNOgGAPuI/EWku5niVZCHxwW4DkwP2noCSnqBBldncMdAAF4QpiRV KjAaQ/lSHK3N0bNL8hO25XW+K/it/EghocimttCVDk4K/zdSBFCvK89ZKy8BQ5r+fVa/ dJDwq+Y4oo5p/Uvik6eiShxLVhYFMCFuP0uTpRQrZYl3okAnvCJsZv2LXNe7RdQyUxux 727xDGD+n3bEHIKd4Ywi0oz4hjE+FxT9lWqhIRY7B55BBFa+PKrZyBLzfhnJzvRpGBvH iFi5oLtJr2882gL2VqHwRHwpEQ/qKD7caRCNHc4E+WiUUwhPGR9XzaBQnMkSrMm3nskF Yc3A== X-Gm-Message-State: AO0yUKXVsU4NfL/YnCV5Faww7/UEOTL9+9B/TXqvr33IS0LbqXhDSOnq QuYPI/0gAABsGQh2aBfxHI3YrX9wZ0w= X-Google-Smtp-Source: AK7set+RaU+drN7VSxV7I337HbPzWY0cekn87+iXSyrai7/YpFr98cCPdos9CgybRygAxmkyyc8Xww== X-Received: by 2002:a05:600c:3d8f:b0:3e2:d3:b2b6 with SMTP id bi15-20020a05600c3d8f00b003e200d3b2b6mr2225330wmb.14.1677589552244; Tue, 28 Feb 2023 05:05:52 -0800 (PST) Original-Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id o6-20020a05600c510600b003e20a6fd604sm13465757wms.4.2023.02.28.05.05.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Feb 2023 05:05:51 -0800 (PST) In-Reply-To: <83ilfmgf88.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 28 Feb 2023 14:13:27 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::32a; envelope-from=rpluim@gmail.com; helo=mail-wm1-x32a.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.29 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:303852 Archived-At: >>>>> On Tue, 28 Feb 2023 14:13:27 +0200, Eli Zaretskii said: >> #4 0x00005555556a629b in x_term_init >> (display_name=display_name@entry=XIL(0x5555560152d4), xrm_option=xrm_option@entry=0x0, resource_name=0x555556010260 "emacs") at xterm.c:30964 >> #5 0x00005555556a96c7 in Fx_open_connection (display=XIL(0x5555560152d4), xrm_string=, must_succeed=XIL(0)) at xfns.c:7548 Eli> Why does make-frame create a GUI X frame in a batch session? (I've Eli> seen that in your previous backtrace, but thought it was because you Eli> ran that test in an interactive session.) Is that because emacsclient Eli> and/or server insist on that, or because some snafu inside make-frame, Eli> or something else? Can you figure that out? I looked at the code, Eli> but didn't see anything obvious. DISPLAY is set. The following set environment DISPLAY= in gdb makes the test succeed. The test does 'emacsclient -c', changing that to 'emacsclient -c -nw' also makes the test succeed Eli> I don't think we should create GUI frames in batch, since the SIGIO Eli> handler is not set, and we generally aren't prepared for receiving Eli> it. We should create a TTY frame instead, or maybe no frame at all. I think the former would be better. Jim, since you wrote this test, what do you think? Robert --