From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: server.el test failures (was: Re: bug#9800: Incomplete truncated file buffers from the /proc filesystem) Date: Fri, 24 Feb 2023 22:47:43 +0200 Message-ID: <835ybqn634.fsf@gnu.org> 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> <83wn47o5zm.fsf@gnu.org> <83mt52nc4a.fsf@gnu.org> <437878f6-a55b-3842-27f2-7c990e579cb1@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40911"; mail-complaints-to="usenet@ciao.gmane.io" Cc: eggert@cs.ucla.edu, emacs-devel@gnu.org To: Jim Porter Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Feb 24 21:48:35 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 1pVeza-000ARH-NV for ged-emacs-devel@m.gmane-mx.org; Fri, 24 Feb 2023 21:48:34 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pVeyr-0008B7-G0; Fri, 24 Feb 2023 15:47:49 -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 1pVeyn-0008AW-D7 for emacs-devel@gnu.org; Fri, 24 Feb 2023 15:47:47 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pVeym-0003rW-Dm; Fri, 24 Feb 2023 15:47:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=c0fFR4DUnHfvrfMzm6A0UzFG27WmEYApBipTpg16wuo=; b=lwe6otUjyYLc Wek6tJueaKnx7yWLLIFTkB0h3g8FmWlohtVDEEtzxY4+EWUkQkcM3LDmRT4X9uP7IRsRtiXSVs0tu 8LA/VPyQoQqNHmZS4FEEV02AJZvsI0vHgv6UpE3Gnvd+XK5zxu9D+z8FZhG27eWNX5HnNjNoNRQo7 igTw+Njm1WSthERL7xe50LKGU7ercOFBVbjeWuoHKpmaZt1Q4XRhX5y+Eq9R6APJby4koI/PMb3fS 1fHrmkic9uUrTx5oj+u0T1OCqVqTO6U4Gw8yi/zYR2C7H/I3gtKeelLzCGc3Ada34qGzNKAy0EXdy MTsfZeQrxoZHDpzL1VOEHw==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pVeyl-0005jj-I1; Fri, 24 Feb 2023 15:47:44 -0500 In-Reply-To: <437878f6-a55b-3842-27f2-7c990e579cb1@gmail.com> (message from Jim Porter on Fri, 24 Feb 2023 12:31:23 -0800) 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:303767 Archived-At: > Date: Fri, 24 Feb 2023 12:31:23 -0800 > Cc: eggert@cs.ucla.edu, emacs-devel@gnu.org > From: Jim Porter > > On 2/24/2023 10:37 AM, Eli Zaretskii wrote: > >> Date: Fri, 24 Feb 2023 09:48:02 -0800 > >> Cc: eggert@cs.ucla.edu, emacs-devel@gnu.org > >> From: Jim Porter > >> > >> I think this only occurs when starting the Emacs server in a batch-mode > >> Emacs process and then starting a client via "emacsclient -c". I see the > >> segfault when running any of the tests in test/lisp/server-tests.el that > >> create a frame (e.g. 'server-tests/server-start/stop-prompt-with-client'). > >> > >> This also only seems to occur if the first face that > >> 'face-set-after-frame-default' passes to 'internal-merge-in-global-face' > >> is the default face. > > > > Thanks. Does the patch below give good results? > > Thanks, that fixes it for me. Thanks, installed on the emacs-29 branch.