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#53809: 29.0.50; fatal error: assertion failed: string_immovable_p (bytestr) Date: Sun, 06 Feb 2022 09:38:51 +0200 Message-ID: <83zgn4zbp0.fsf@gnu.org> References: <87fsox2aje.fsf@no.workgroup> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35131"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 53809@debbugs.gnu.org To: Gregor Zattler Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 06 08:45:24 2022 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 1nGcEe-000903-06 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 06 Feb 2022 08:45:24 +0100 Original-Received: from localhost ([::1]:38184 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nGcEY-0000I5-Rd for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 06 Feb 2022 02:45:18 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:59100) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGc9T-0007Pg-Fs for bug-gnu-emacs@gnu.org; Sun, 06 Feb 2022 02:40:06 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42387) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nGc9S-0005NC-3j for bug-gnu-emacs@gnu.org; Sun, 06 Feb 2022 02:40:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nGc9R-000674-VV for bug-gnu-emacs@gnu.org; Sun, 06 Feb 2022 02:40:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 06 Feb 2022 07:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53809 X-GNU-PR-Package: emacs Original-Received: via spool by 53809-submit@debbugs.gnu.org id=B53809.164413315723440 (code B ref 53809); Sun, 06 Feb 2022 07:40:01 +0000 Original-Received: (at 53809) by debbugs.gnu.org; 6 Feb 2022 07:39:17 +0000 Original-Received: from localhost ([127.0.0.1]:36284 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGc8j-000660-0S for submit@debbugs.gnu.org; Sun, 06 Feb 2022 02:39:17 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:52278) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGc8h-00065j-1N for 53809@debbugs.gnu.org; Sun, 06 Feb 2022 02:39:15 -0500 Original-Received: from [2001:470:142:3::e] (port=52492 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGc8b-0005Hc-Ke; Sun, 06 Feb 2022 02:39:09 -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=Xrpzcy19v/yY/sxtz3nSDAOSQfDNP7eEqlrltn/UFss=; b=IaynpAmufNf5 LqV6nZwVYetBKkY4+5qQ5Bfo1gxZ3lnOzgm2hwokAUqZ5To9OXEiB/CRL5inhRfDSxQSsPOec6FzO sInTprBzemLaIaJBda91nwKSwIdRo2OCYWKtWj/7+JtMJ/ceuCS/XxM7g/IOCs2EyLSGeIEKNrvoN NqIuoxBiCorO+Q/WZtQPCx/5kaIiojnaYuN+Ece+W1XrOES8s+/6E3Z6rq4jbzAVWlEGzrP3/o+KP v3cEoLIBfviqLKFSNTkwmuGUx/+hS1Lu53UZXOfdiTqjewXv8MsaXKShZ9BH7QkbxWQO9BJ/c+58Z qTk3C3F41gpvYeap9JWrcA==; Original-Received: from [87.69.77.57] (port=4968 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 1nGc8a-0000sq-G7; Sun, 06 Feb 2022 02:39:09 -0500 In-Reply-To: <87fsox2aje.fsf@no.workgroup> (message from Gregor Zattler on Sat, 05 Feb 2022 23:50:13 +0100) 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" Xref: news.gmane.io gmane.emacs.bugs:226138 Archived-At: > From: Gregor Zattler > Date: Sat, 05 Feb 2022 23:50:13 +0100 > > I just did a > > ~/src/emacs/src$ rm -rf * ; git checkout -f ; git pull > > and did (therefore a full bootstrap) make. Did you install Emacs after rebuilding it, or did you invoke it from the build directory? Also, I think your setup is incorrect: > --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/28.0/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/28.0/site-lisp:/usr/share/emacs/site-lisp This seems to mean you are installing Emacs 29, but telling it to use Lisp files from Emacs 28? > I'm sorry, I was not able to isolate a minimal configuration > which exhibits this problem. I did a gdb bt full and > xbacktrace, though (see below). This gdb output is all > gibberish to me but at the very end there I saw > "SPECPDL_BACKTRACE". Therefore I experimented with a > (setq max-specpdl-size 500000) in early-init.el, but this > did not help. Your GDB is mis-configured wrt how it uses Python: > #1 0x00005555555ae6ef in die (msg=msg@entry=0x5555558b70a7 "string_immovable_p (bytestr)", file=file@entry=0x5555558b7080 "bytecode.c", line=line@entry=361) at alloc.c:7546 > #2 0x00005555555b8df0 in exec_byte_codePython Exception value has been optimized out: > Python Exception value has been optimized out: > Python Exception value has been optimized out: > (bytestr=, vector=, maxdepth=, args_template=0, nargs=0, args=) at bytecode.c:361 Those Python exceptions mean that the backtrace lacks important information, and the reason is some problem with your GDB installation and your Python installation (perhaps GDB was built with a different version of Python than the one actually installed?). For this reason, it is very hard (read: impossible) to use your backtrace for trying to diagnose the problem. And since the backtrace is the only data you can present that tells us what happened, it is hard to make any progress here. So please fix your GDB installation and produce a valid backtrace, then post it here. Bonus points for rebuilding Emacs without optimizations, which would make the backtrace more accurate and descriptive. Thanks.