From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#62143: 29.0.60; Emacs crashes when selecting a menu displayed by f10 with keyboard (Apple Silicon, M1 MacBookPro) Date: Mon, 13 Mar 2023 08:19:39 +0800 Message-ID: <87bkkxa4f8.fsf@yahoo.com> References: Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18790"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 62143@debbugs.gnu.org To: Hiroya Ebine Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Mar 13 01:20:25 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 1pbVvN-0004jP-38 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 13 Mar 2023 01:20:25 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pbVv3-000367-Uj; Sun, 12 Mar 2023 20:20:05 -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 1pbVv0-00035e-Um for bug-gnu-emacs@gnu.org; Sun, 12 Mar 2023 20:20: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 1pbVv0-0001pl-M4 for bug-gnu-emacs@gnu.org; Sun, 12 Mar 2023 20:20:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pbVv0-0006z5-59 for bug-gnu-emacs@gnu.org; Sun, 12 Mar 2023 20:20:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 13 Mar 2023 00:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62143 X-GNU-PR-Package: emacs Original-Received: via spool by 62143-submit@debbugs.gnu.org id=B62143.167866679826833 (code B ref 62143); Mon, 13 Mar 2023 00:20:02 +0000 Original-Received: (at 62143) by debbugs.gnu.org; 13 Mar 2023 00:19:58 +0000 Original-Received: from localhost ([127.0.0.1]:33226 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pbVuv-0006yi-SN for submit@debbugs.gnu.org; Sun, 12 Mar 2023 20:19:58 -0400 Original-Received: from sonic317-33.consmr.mail.ne1.yahoo.com ([66.163.184.44]:36975) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pbVut-0006yS-46 for 62143@debbugs.gnu.org; Sun, 12 Mar 2023 20:19:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1678666788; bh=0zXskEkop/yx+J6RvYTR/0/iqCf8ZKAIqjA245JVjeY=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=NPj0Ma/qpx5rJQRq1F0smjZpgP1xae59C9MsLqNf+CfV58S7YsXaWvj1DyyPqMtoNA42wK5ExMgDwonnowBirEZZQzQ+wiHEkOFW7Pe9cAe5+tSxn7DEjB9IcjRRR9sPFjkOwAQyGV99ZNSZS443cYI/9KtUhbDzIcWqR/pOfB3amEZ1AQmfyaIfFUKYklQcMqw2eRP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rUXQ3L0BCKacLilAzLm3HLGq2sKYTsjHeOi6 DVINPDv0VvpLYwF9rU2xhJgaC8yQP2HbMWdEioM66uVBrj.WY9Y3php884LeXPDsg4xPWDZkM7b2 A5RZrP.CdPFm6oKaI_jOkR173zezE28T6FoOCiuSddZJHrAME3asXWs4qEG8NPBUTqRb3qMLZ.LM jhVi_t8xklDnZIbEFSWuEPslBwa4H.Qrdv_NUHJTrZMlxa490CvQm5RLaR7XANbo6EFiOTVqbQxO fetlqO_ooE8zHgqsTS_VJVjrz7m_x9zWYQ4MIl.aGGNDJHs4WcB2bNsv12Bd0va8II8B65kasDfi C1oHiJ7ARPl9sRlCzE06uBxwMU8rJDReYvvDpZpwZXdVj9DGMfUaCzCEuT5uH82LCy.atR2SleIG a5gceUJgqivGNd_QbmlTFBdG8i94.CYXY8zHIsUBlx X-Sonic-MF: X-Sonic-ID: 6beb16fb-f80c-499a-9593-60743e47d381 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.ne1.yahoo.com with HTTP; Mon, 13 Mar 2023 00:19:48 +0000 Original-Received: by hermes--production-sg3-67c57bccff-l44jm (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID a1174c8e139ea300cfbf410b4e4dcdcd; Mon, 13 Mar 2023 00:19:44 +0000 (UTC) In-Reply-To: (Hiroya Ebine's message of "Sun, 12 Mar 2023 16:43:23 +0900") X-Mailer: WebService/1.1.21284 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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:257886 Archived-At: Hiroya Ebine writes: > 1. Start emacs "$ src/emacs -Q" > 2. Press f10 (popup menu appeared) > 3. Press C-n, C-f, Ret (or C-m) in that order > (select "Emacs Tutorial") > > then emacs crashes. > Selecting any menu item with the keyboard crashes emacs as well. > Clicking with the mouse to select a menu item does not cause emacs to crash. > > > ---- report start ---- > > ------------------------------------- > Translated Report (Full Report Below) > ------------------------------------- > > Process: emacs [88836] > Path: /Users/USER/*/emacs > Identifier: emacs > Version: ??? > Code Type: ARM-64 (Native) > Parent Process: bash [76302] > Responsible: Terminal [1079] > User ID: 503 > > Date/Time: 2023-03-12 00:13:32.7562 +0900 > OS Version: macOS 13.2.1 (22D68) > Report Version: 12 > Anonymous UUID: 7EA3C70D-4B77-10DE-5C01-C1C12AD45FEC > > Sleep/Wake UUID: 6D1A8E7F-81AE-46FF-B424-E8AD0CC5AD15 > > Time Awake Since Boot: 160000 seconds > Time Since Wake: 9473 seconds > > System Integrity Protection: enabled > > Crashed Thread: 0 Dispatch queue: com.apple.main-thread > > Exception Type: EXC_BAD_ACCESS (SIGABRT) > Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000003 > Exception Codes: 0x0000000000000001, 0x0000000000000003 > > VM Region Info: 0x3 is not in any region. Bytes before following > region: 105553518919677 > REGION TYPE START - END [ VSIZE] > PRT/MAX SHRMOD REGION DETAIL > UNUSED SPACE AT START > ---> > MALLOC_NANO (reserved) 600018000000-600020000000 [128.0M] > rw-/rwx SM=NUL ...(unallocated) > > Thread 0 Crashed:: Dispatch queue: com.apple.main-thread > 0 libsystem_kernel.dylib 0x19a17a868 __pthread_kill + 8 > 1 libsystem_pthread.dylib 0x19a1b1cec pthread_kill + 288 > 2 libsystem_c.dylib 0x19a0b29cc raise + 32 > 3 emacs 0x1025e2cf8 > terminate_due_to_signal + 204 (emacs.c:464) > 4 emacs 0x1025e350c emacs_abort + > 20 (sysdep.c:2313) > 5 emacs 0x1025a17c8 > ns_term_shutdown + 144 (nsterm.m:5765) > 6 emacs 0x102472d00 > shut_down_emacs + 328 (emacs.c:3016) > 7 emacs 0x1025e2cc0 > terminate_due_to_signal + 148 (emacs.c:447) > 8 emacs 0x102498d94 > handle_fatal_signal + 16 (sysdep.c:1783) > 9 emacs 0x102498e10 > deliver_thread_signal + 124 (sysdep.c:1775) > 10 emacs 0x102496e5c > deliver_fatal_thread_signal + 12 (sysdep.c:1795) > 11 emacs 0x102498e70 > handle_sigsegv + 96 (sysdep.c:1888) > 12 libsystem_platform.dylib 0x19a1e02a4 _sigtramp + 56 > 13 emacs 0x102406c9c > find_and_return_menu_selection + 152 (menu.c:981) What is menu_items at this point? Could you please step to that frame in lldb and type: (lldb) p menu_items