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.bugs Subject: bug#66743: 30.0.50; Crash when dumping reftex Date: Thu, 26 Oct 2023 12:44:13 +0300 Message-ID: <83edhhhg5u.fsf@gnu.org> References: <875y2v592c.fsf@localhost> <83a5s6kgxx.fsf@gnu.org> <87wmvadfkw.fsf@localhost> <83jzraisg0.fsf@gnu.org> <87a5s5d8pr.fsf@localhost> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4030"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gerd.moellmann@gmail.com, 66743@debbugs.gnu.org To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 26 11:44:48 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 1qvwv1-0000nB-QN for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 26 Oct 2023 11:44:47 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qvwuw-0004xr-AD; Thu, 26 Oct 2023 05:44:42 -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 1qvwup-0004sb-5P for bug-gnu-emacs@gnu.org; Thu, 26 Oct 2023 05:44:37 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qvwul-0006fh-Ko for bug-gnu-emacs@gnu.org; Thu, 26 Oct 2023 05:44:33 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qvwvF-0004xb-Rh for bug-gnu-emacs@gnu.org; Thu, 26 Oct 2023 05:45:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 Oct 2023 09:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66743 X-GNU-PR-Package: emacs Original-Received: via spool by 66743-submit@debbugs.gnu.org id=B66743.169831348419032 (code B ref 66743); Thu, 26 Oct 2023 09:45:01 +0000 Original-Received: (at 66743) by debbugs.gnu.org; 26 Oct 2023 09:44:44 +0000 Original-Received: from localhost ([127.0.0.1]:60624 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvwuy-0004wt-1U for submit@debbugs.gnu.org; Thu, 26 Oct 2023 05:44:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58442) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvwuw-0004wd-0T for 66743@debbugs.gnu.org; Thu, 26 Oct 2023 05:44:42 -0400 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 1qvwuL-0006ZL-Jw; Thu, 26 Oct 2023 05:44:05 -0400 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=iLIGrn1laCwFtiXfT2sPC/dj2wvs+wlylQHGr1TEkt8=; b=HGar5zQNVv8x UysclxNUZhdcV8zDVSRobvG3Xa7xxRrlFX8ThIuNF+GSVN8sTDlZcZT7ULX996lqtsBKgadDA/PXv XRMg+jsVgaA2u2GHYUahahcfpiFzFx3SHsdIx50HRK8F47KuaxFbxH4cxNZRji/NF8vG92ooXLSCx tAwqlrjct+y6WK6SBFjMylabAnpVVnd7qqHKAmwC1qyo0zZHLU+lIXyCphPO4VrO2YMh9h/HHR6dH oBeCNiX9QQxPhaSTvuZIyycD3Xla6hnnaLQGxBzsxoHOpCZ7ybEDGXzvwExN1vznrqx8F7KLwWTDK w2sH2IjuOeJpUl/xflbd+w==; In-Reply-To: <87a5s5d8pr.fsf@localhost> (message from Ihor Radchenko on Thu, 26 Oct 2023 09:38:40 +0000) 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:273261 Archived-At: > From: Ihor Radchenko > Cc: Eli Zaretskii , 66743@debbugs.gnu.org > Date: Thu, 26 Oct 2023 09:38:40 +0000 > > > TLDR is that the code to dump itrees is there, somewhere in git, but has > > an infinite recursion bug. So, I guess it should first be tried to > > revive that code and fix it (tests should also exist, IIUC). > > While I agree that dumping buffer overlays would be nice to have, I > think I found a simple workaround for the specific issue I reported. > We may simply make sure that the overlays do not belong to any buffer - > it is good enough for the purposes of reftex library, where the overlay > objects are created once and then modified by side effect for actual > use. > > See the attached patch. Thanks. FWIW, I'd prefer that we find less kludgey solutions to these problems.