From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Xinyang Chen Newsgroups: gmane.emacs.bugs Subject: bug#62867: segfault in describe_vector Date: Sat, 15 Apr 2023 08:07:07 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000009893fd05f95ecca3" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38974"; mail-complaints-to="usenet@ciao.gmane.io" To: 62867@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 15 20:31:37 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 1pnkgS-000A1H-8e for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 15 Apr 2023 20:31:36 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pnkfw-0003cu-OX; Sat, 15 Apr 2023 14:31: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 1pnkfv-0003c9-D0 for bug-gnu-emacs@gnu.org; Sat, 15 Apr 2023 14:31:03 -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 1pnkfv-0000FL-4m for bug-gnu-emacs@gnu.org; Sat, 15 Apr 2023 14:31:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pnkfv-000171-0o for bug-gnu-emacs@gnu.org; Sat, 15 Apr 2023 14:31:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Xinyang Chen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 15 Apr 2023 18:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 62867 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16815834224137 (code B ref -1); Sat, 15 Apr 2023 18:31:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 15 Apr 2023 18:30:22 +0000 Original-Received: from localhost ([127.0.0.1]:50105 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pnkfF-00014e-TR for submit@debbugs.gnu.org; Sat, 15 Apr 2023 14:30:22 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:33630) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pnegg-00063i-TV for submit@debbugs.gnu.org; Sat, 15 Apr 2023 08:07:27 -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 1pnegg-0003Y9-DV for bug-gnu-emacs@gnu.org; Sat, 15 Apr 2023 08:07:26 -0400 Original-Received: from outgoing-auth-1.mit.edu ([18.9.28.11] helo=outgoing.mit.edu) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pnegc-0004uV-IB for bug-gnu-emacs@gnu.org; Sat, 15 Apr 2023 08:07:24 -0400 Original-Received: from mail-ej1-f50.google.com (mail-ej1-f50.google.com [209.85.218.50]) (authenticated bits=0) (User authenticated as chenxy@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 33FC7IGE018110 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT) for ; Sat, 15 Apr 2023 08:07:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mit.edu; s=outgoing; t=1681560440; bh=n3YSMAdavPKx2xaBKNQqjIjsAtNRwhHa06dZ8QfYaCI=; h=From:Date:Subject:To; b=gTF37wxdWawPtZHFVY0aKQviifB7CXOAnw0Veu7qOIeDMVyBNsAk2sHsLGAnhjqOZ stnZZ36RyUroPiGOkRw0n0UoU3goinVHidNAF7JQM34JDo9+bKADxZIoQltbeIOylp QjijLP8T7mIawsK8ReEv+6dhCjdLR45fW/N9EUqGo5Ygg5GzXX1HDM2NjaW1zzBwrm /0q5Idgkjbaeq845NbrBqp6hsXribzeS0XQHkKmIqJlkfeWNBgaCEls4Se72o9VUkA ZNkIP0BNNH4lkyDNqXO06PPCD9SLJTRzS/uKAAdBrHjnmpDCSpW5rWNzEqE6sutHPy ew3RQLqaOT+Qw== Original-Received: by mail-ej1-f50.google.com with SMTP id a640c23a62f3a-94a342ef3beso393955066b.0 for ; Sat, 15 Apr 2023 05:07:19 -0700 (PDT) X-Gm-Message-State: AAQBX9c+MxF3SPt1+wFUSc5IwZSyJ/8/Zr6bMP1iLF7Uk7m5fcqOUH0v 28teB76r0EWZaS+22enmbLkHzu6Xwavqx+xFNWI= X-Google-Smtp-Source: AKy350YQqQeOGJEPKKFB6+zebg2Qg3daKPI+swSx4nJiZDHwJAG0nSxdMWYBT5Y0GNrBOwStKi/5OpoILPL0K12ysGQ= X-Received: by 2002:a50:bb47:0:b0:505:82c:3ab9 with SMTP id y65-20020a50bb47000000b00505082c3ab9mr4514517ede.3.1681560438344; Sat, 15 Apr 2023 05:07:18 -0700 (PDT) X-Gmail-Original-Message-ID: Received-SPF: pass client-ip=18.9.28.11; envelope-from=chenxy@mit.edu; helo=outgoing.mit.edu X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 15 Apr 2023 14:30:20 -0400 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:260069 Archived-At: --0000000000009893fd05f95ecca3 Content-Type: text/plain; charset="UTF-8" to reproduce: (package-initialize) (require 'evil) (setq testmap (make-sparse-keymap)) (define-key testmap (kbd "SPC") #'test) (evil-define-key 'motion global-map (kbd "SPC") testmap) (evil-mode) (describe-keymap global-map) This appears to be caused by keymap.c line 3313 SYMBOL_NAME (shadowed_by) where shadowed_by don't have to be a symbol (In this case its a keymap) --0000000000009893fd05f95ecca3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
to reproduce:

(package-i= nitialize)
(require 'evil)
(setq testmap (make-sparse-keymap))(define-key testmap (kbd "SPC") #'test)
(evil-define-key = 'motion global-map (kbd "SPC") testmap)
(evil-mode)
(de= scribe-keymap global-map)

This appears to be c= aused by keymap.c line 3313
SYMBOL_NAME (shadowed_by)
whe= re shadowed_by don't have to be a symbol (In this case its a keymap)
--0000000000009893fd05f95ecca3--