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#64450: 30.0.50; char-table-subtype aborts emacs Date: Sat, 08 Jul 2023 11:16:30 +0300 Message-ID: <83sf9yddi9.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25142"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 64450-done@debbugs.gnu.org To: Arthur Miller Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 08 10:17:29 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 1qI38D-0006JT-O1 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 08 Jul 2023 10:17:29 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qI37o-0005y9-0b; Sat, 08 Jul 2023 04:17:04 -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 1qI37m-0005xh-NU for bug-gnu-emacs@gnu.org; Sat, 08 Jul 2023 04:17:02 -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 1qI37m-0001dE-FV for bug-gnu-emacs@gnu.org; Sat, 08 Jul 2023 04:17:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qI37m-0007KO-0T for bug-gnu-emacs@gnu.org; Sat, 08 Jul 2023 04:17:02 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 08 Jul 2023 08:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 64450 X-GNU-PR-Package: emacs Mail-Followup-To: 64450@debbugs.gnu.org, eliz@gnu.org, arthur.miller@live.com Original-Received: via spool by 64450-done@debbugs.gnu.org id=D64450.168880419728123 (code D ref 64450); Sat, 08 Jul 2023 08:17:01 +0000 Original-Received: (at 64450-done) by debbugs.gnu.org; 8 Jul 2023 08:16:37 +0000 Original-Received: from localhost ([127.0.0.1]:44252 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qI37N-0007JV-2h for submit@debbugs.gnu.org; Sat, 08 Jul 2023 04:16:37 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:50574) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qI37H-0007JE-P0 for 64450-done@debbugs.gnu.org; Sat, 08 Jul 2023 04:16:35 -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 1qI37C-0001V3-8D; Sat, 08 Jul 2023 04:16:26 -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=ZAnd99uWoVogTwqU2M1/9gAKlaZz+hc/8cypY/zIbKs=; b=B180A5Kmmjb8 jt/d/P58XDM4lBMy5FqIziv4tRjN978VfiCsvS30yMIk0ODGk88+Xhs07KIDOosWCwTmuYumC2OrE zmUxhakXM/U0rk+QAoU3O4gp4MeDniizkEeH/MP5ZXWv+7inZZ6gfxSxZG2dZ1RY+dIcJnfknnL0t McCtOQWrbNVLwZ5dDt0z70EBq9g9ShEw2XTIyFiIB90bdKO8PqQbNhak/B66sBhs/y9m1Tl+1sl7O m3XIsgqDX8+wLTIsfFYgMv7vl5F6SU1UUA9cBy2xvEnZQYKJ31dscaGtHcihz+/vX/D/5kAjI/U5Z gqsW90AQnmJ0Mt4/2l7zdg==; 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 1qI37B-0003Gn-Od; Sat, 08 Jul 2023 04:16:26 -0400 In-Reply-To: (message from Arthur Miller on Tue, 04 Jul 2023 00:47:56 +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:264759 Archived-At: > From: Arthur Miller > Date: Tue, 04 Jul 2023 00:47:56 +0200 > > > > > (insert (pp Info-mode-map)) > > > > (keymap > > #^[nil nil keymap > > #^^[3 0 nil nil nil nil nil nil nil nil nil Info-next-reference nil nil nil Info-follow-nearest-node nil nil nil nil nil nil nil nil nil nil nil nil nil > > > > I have removed rest of printed code for the brewity for the mail, but if you > > eval above and place the cursor somewhere after the "keymap", or before the char > > table, and then try to read the subtype with: > > > > (char-table-subtype (read (current-buffer))) > > > > Then Emacs dumps core in version 26 up to current master. Emacs 25 actually ends > > up in debugger instead of crashing: > > (It is not a crash, it's abort.) > > Please report a bug with all these details. > > AFAICT, this happens because the debugger now uses cl-print to display > objects in the backtrace, and cl-print calls type-of, which aborts if > presented with a sub-char-table: > > /* "Impossible" cases. */ > case PVEC_MISC_PTR: > case PVEC_OTHER: > case PVEC_SUB_CHAR_TABLE: > case PVEC_FREE: ; > } > emacs_abort (); Fixed on the master branch by a patch proposed by Stefan Monnier on emacs-devel. See https://lists.gnu.org/archive/html/emacs-devel/2023-07/msg00121.html.