From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Newsgroups: gmane.emacs.bugs Subject: bug#66743: 30.0.50; Crash when dumping reftex Date: Thu, 26 Oct 2023 09:03:33 +0200 Message-ID: References: <875y2v592c.fsf@localhost> <83a5s6kgxx.fsf@gnu.org> <87wmvadfkw.fsf@localhost> <83jzraisg0.fsf@gnu.org> 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="22739"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: yantar92@posteo.net, 66743@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 26 09:04:55 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 1qvuQH-0005Z4-Rm for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 26 Oct 2023 09:04:53 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qvuPx-0001tK-8p; Thu, 26 Oct 2023 03:04:33 -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 1qvuPv-0001t9-SJ for bug-gnu-emacs@gnu.org; Thu, 26 Oct 2023 03:04:31 -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 1qvuPv-0000oq-KJ for bug-gnu-emacs@gnu.org; Thu, 26 Oct 2023 03:04:31 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qvuQQ-0000gx-2W for bug-gnu-emacs@gnu.org; Thu, 26 Oct 2023 03:05:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 Oct 2023 07:05:02 +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.16983038542583 (code B ref 66743); Thu, 26 Oct 2023 07:05:02 +0000 Original-Received: (at 66743) by debbugs.gnu.org; 26 Oct 2023 07:04:14 +0000 Original-Received: from localhost ([127.0.0.1]:60494 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvuPd-0000fb-UA for submit@debbugs.gnu.org; Thu, 26 Oct 2023 03:04:14 -0400 Original-Received: from mail-ed1-x52d.google.com ([2a00:1450:4864:20::52d]:44048) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvuPb-0000fK-Gh for 66743@debbugs.gnu.org; Thu, 26 Oct 2023 03:04:12 -0400 Original-Received: by mail-ed1-x52d.google.com with SMTP id 4fb4d7f45d1cf-53de8fc1ad8so793613a12.0 for <66743@debbugs.gnu.org>; Thu, 26 Oct 2023 00:03:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698303814; x=1698908614; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=CgZgbHq5QsHzi7pA7cmnYJOlgaogb2jnTlLQJO2B8jg=; b=fIMkYMysZYgSh10E03J0Wt2zz+0TQla/9GKXWWUh4ey0Yp76aZ2mGAUGC7vWywXEym 6vIC9bZCRD4xeEkiBu8wTpbgze/FfOig7352sFIz+oP9pxa4KpRfkceiinaBNPyTzjsf goOv9xFidFOPfUwr3TFVZqjDd6s95Tk/IFtzfbJeX+ggiuo4UcynPo4SwICI6IpefnvQ fn0QBPfZXOcm3aObrwYp3uB86A2tKRmjMMlqy6yGOo+j62p713JpqvEZBgfgWcpKpWGR qJUlRrnbvt1tk9LyRyIl/vbOt9aqSldG0Oo0JXkEWaMlPAY88URU/Q/9mU8r28JZosxP XJoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698303814; x=1698908614; h=content-transfer-encoding:mime-version:user-agent: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=CgZgbHq5QsHzi7pA7cmnYJOlgaogb2jnTlLQJO2B8jg=; b=D0O9h7YaFPjD1UC8PKAlv2JGYW/0wz4wjGmfAP5K3Re7HKKCc8px2HOAjmfZGzhjj4 wOcG0rSo+K1xyC4rVElQvdZxSlOjnVH4d0KZEeqA11cax/uDS1uucDXja7Kat0k9P0qi ap+NiM0I8pyVEA6YVfT8mCBW57mQCdHEm3UPr4NFvV5tTPrxw6USFfn+3Vzy9f8aiVEO UNz3aCJSXRzuVTo+HmZadWJKsWzzaeRVIuJbrLWjYIQnczjDOB3rwIMJCsyJZUZi/en/ Wmf69aI4+oRem0r5BEWzdgCn5fCA7Mhp+yr14CLZZomzgrClBC7sK8cWHSqP3mx9SS5k l0yg== X-Gm-Message-State: AOJu0Yzo9QAXLgZVzcRRNsWFV4ItNSN22TGjE7lMJiY+GDOhsjKX0jSO 9rIhNE/FTbdk/1wgwrks8tz/jDrV5Etq+w== X-Google-Smtp-Source: AGHT+IEZt8+u+y+mY23uzIOARWlwo1am7QMzOyxgFwMWg7RYgMKOLx/srK1L9ZIztdW0yn8vaKISYA== X-Received: by 2002:a17:907:1c86:b0:9c5:ea33:7bf9 with SMTP id nb6-20020a1709071c8600b009c5ea337bf9mr16562589ejc.51.1698303814311; Thu, 26 Oct 2023 00:03:34 -0700 (PDT) Original-Received: from Pro.fritz.box (p4fe3a163.dip0.t-ipconnect.de. [79.227.161.99]) by smtp.gmail.com with ESMTPSA id y19-20020a170906519300b009adc7733f98sm11195291ejk.97.2023.10.26.00.03.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Oct 2023 00:03:33 -0700 (PDT) In-Reply-To: ("Gerd =?UTF-8?Q?M=C3=B6llmann?="'s message of "Wed, 25 Oct 2023 18:37:24 +0200") 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:273246 Archived-At: Gerd M=C3=B6llmann writes: > Eli Zaretskii writes: > >> Emacs is always dumped with a few buffers, because temacs needs them >> to do the dumping. See this comment text from buffer.c: >> >> Implementation notes: the buffers we carry from temacs are: >> " prin1", "*scratch*", " *Minibuf-0*", "*Messages*", and >> " *code-conversion-work*". They are created by >> init_buffer_once and init_window_once (which are not called >> in the dumped Emacs), and by the first call to coding.c >> routines. > > Thanks. > > So, one idea would be to try and move the creation of these buffers from > the init_*_once functions to the "normal" init functions, and see what > happens. One would also have to take a closer look at coding.c, of course. Actually, this is bug#59029, sort of. 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).