From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Thiago Melo Newsgroups: gmane.emacs.bugs Subject: bug#63589: [PATCH] 29.0.91; crash after creating graphical frames via emacsclient when compiled with cairo-xcb Date: Mon, 22 May 2023 12:07:36 +0000 Message-ID: References: <871qj9246a.fsf@yahoo.com> <83o7mdrc3y.fsf@gnu.org> <83bkidr37i.fsf@gnu.org> <87wn11yyi4.fsf@yahoo.com> <87edn9ytbo.fsf@yahoo.com> <835y8kr5re.fsf@gnu.org> <87pm6sy5rb.fsf@yahoo.com> <83wn10ppa1.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1079"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Po Lu , 63589@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon May 22 14:09:39 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1q14M6-000Aar-Mh for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 22 May 2023 14:09:38 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q14Lj-0000yy-VQ; Mon, 22 May 2023 08:09:16 -0400 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 1q14Lb-0000xI-99 for bug-gnu-emacs@gnu.org; Mon, 22 May 2023 08:09:08 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q14LW-0003UG-1m for bug-gnu-emacs@gnu.org; Mon, 22 May 2023 08:09:06 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q14LV-0006hF-Sl for bug-gnu-emacs@gnu.org; Mon, 22 May 2023 08:09:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Thiago Melo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 22 May 2023 12:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63589 X-GNU-PR-Package: emacs Original-Received: via spool by 63589-submit@debbugs.gnu.org id=B63589.168475730025685 (code B ref 63589); Mon, 22 May 2023 12:09:01 +0000 Original-Received: (at 63589) by debbugs.gnu.org; 22 May 2023 12:08:20 +0000 Original-Received: from localhost ([127.0.0.1]:33771 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q14Kp-0006gC-TO for submit@debbugs.gnu.org; Mon, 22 May 2023 08:08:20 -0400 Original-Received: from mail-yw1-f181.google.com ([209.85.128.181]:51282) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q14Ko-0006fx-9q for 63589@debbugs.gnu.org; Mon, 22 May 2023 08:08:18 -0400 Original-Received: by mail-yw1-f181.google.com with SMTP id 00721157ae682-561d5a16be0so78120837b3.2 for <63589@debbugs.gnu.org>; Mon, 22 May 2023 05:08:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684757292; x=1687349292; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=zEbHrhReTNEY0Ffs4u7aCDKNnMJjreIWZJACWUIfeaY=; b=GR8+vZtig1XOcW3yaMwO0jQlBdMKszwngqSUSrcjXwKSRU4iwhPMVc37+DfP5QO6GE bXfRuZIAIKUt5EkkOyvHCW0uIbrB9QD3uTtjDlylKPieDU70FStn9gAMmG9MQ/bYOHew hRwak2Skf7IreEQcjI8PulNaFh8sup3WWco0Tvq9oBS5yMNhQBfXVnLi/PaSwrcJpbWA 9hlv1nLYg0IUQrpLhswRnCa8NN+COk/4kljgrXVOH2YQl1T/4qxGQN3FqJomGgdq/OHd Xnhfo1/wZ34lnuHu3/aOf2ukKPYoMTKLr9V9P50TtZIqlRhW+n6FAAoTJZPMZF0ZfKsz DajQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684757292; x=1687349292; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=zEbHrhReTNEY0Ffs4u7aCDKNnMJjreIWZJACWUIfeaY=; b=h+0+/YYBY3xg19XsM2aVQ+raIqa63zgHPDsCOBaLIbm5P3hi0soPnMDOHHs2UHy3ut Ggf0Uw/ZR7stRPq/AA6NH98mjAR/wzPTSJ4bBDrVEhKoI2nuxBT200AvGmjyJJi6H42h hnYOg877F+BXKQTeLd8ocvkXWuaLY7aNh1iyKjrt6KLTFEULDeTXP0wi8zJbDzRf3dOa P9sxUE5Dz9uXj8i5z1pDre3obj0l1PUb26rJpVrO1f6LTZ4zTZJaroFl51fSwieJpPR1 7wCbqnuS4oj03dFOHQLY6WyfSBZ0YU26/drYVtmBwWInn0EM3CbKxNeU+thBlSkxeZHl VADA== X-Gm-Message-State: AC+VfDx/qfGa5ESWGlyLRdPdWS0X3a0bHRVyInDDpbHtEoN/25XU3RoD eL1XUwy3TQGGCNutndAiJIF6x6YtDebTr50TMyA= X-Google-Smtp-Source: ACHHUZ69v8v8TmLFSrShRAFV/VSZTgQmT0Ktztj2R7AB27TW88DvgblelC3RmniwBd1ofVWJVpr/iRszGft19g7nIuY= X-Received: by 2002:a81:a194:0:b0:55a:1497:d8f0 with SMTP id y142-20020a81a194000000b0055a1497d8f0mr9463084ywg.18.1684757292686; Mon, 22 May 2023 05:08:12 -0700 (PDT) In-Reply-To: <83wn10ppa1.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:262147 Archived-At: > > > What is the kind of situations in which these crashes could happen? > > > > Precisely that described in this bug report: when displays are closed > > and reopened within a short time period. > > What kind of user-level situations could cause this? Is invoking > emacsclient soon after deleting the last visible frame the only one? > And what does "short time period" mean, quantitatively? milliseconds? > seconds? minutes? Sorry, in my experience it seems that the time interval between closing the display and opening it again doesn't matter. It seems to be more about the amount of times that the display is closed and then opened (which is often 3 times for me, for whatever reason). I'm testing it here again with Xvfb and an automation script, with a 10 minutes delay after creating a single graphical frame, and another 10 minutes delay after closing it and before creating a new one. I'll report the results soon. Also, this bug seems more likely to happen when emacs is built without a toolkit (which is was I've been testing so far), since the display is always closed after the last graphical frame is closed. Which made me realize, after looking at frame.c, that this bug might as well join the family of Bug#5802, Bug#21509, Bug#23499, and Bug#27816.