From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pip Cet via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#74966: 31.0.50; Crash report (using igc on macOS) Date: Thu, 19 Dec 2024 11:48:36 +0000 Message-ID: <87y10b99nj.fsf@protonmail.com> References: Reply-To: Pip Cet 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="5659"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 74966@debbugs.gnu.org To: Sean Devlin Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 19 12:49:24 2024 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 1tOF1w-0001J9-Gb for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 19 Dec 2024 12:49:24 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tOF1k-000296-1f; Thu, 19 Dec 2024 06:49:12 -0500 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 1tOF1b-00028K-Oo for bug-gnu-emacs@gnu.org; Thu, 19 Dec 2024 06:49:04 -0500 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 1tOF1b-0003g4-C8 for bug-gnu-emacs@gnu.org; Thu, 19 Dec 2024 06:49:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:From:Date:To:Subject; bh=tpiX7gm2Y3K7e7rKxRf0bvt4nq4AweIa+pZf5ahNG9E=; b=iPLAB8mr95TqDvHyZC3w+9iwo+wfmmeDZgv87+FR5ha8Dlu9BKaAx5yyTO+kf49HriTl4CafTRcxzl/GSjNEbKpVoqEYeuw16U8CBUceZLQ3iMr2xquKVapUg2G+sMm8Iqo+4gdpu+R6wvxTtnUq9Vx0lVxUwe5P0hsOe7KnRGItwW440JAdFtybzvpqeJOBWR6YXIX9NP+vn4FLJ7aGJ58Gz7ZSCylvJ6aFRjlzmpT42rGp3Eyln40n8QyCHmrCc5A7W7QzpKuZh2gsGUH0+lbjQh9RqH9Q2pN0ZckjyjkzkUkAq2dGKD3Am0Klc44u3vRvVKx1M64PZf48iybz0g==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tOF1b-0003MZ-3J for bug-gnu-emacs@gnu.org; Thu, 19 Dec 2024 06:49:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Pip Cet Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 19 Dec 2024 11:49:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74966 X-GNU-PR-Package: emacs Original-Received: via spool by 74966-submit@debbugs.gnu.org id=B74966.173460893012894 (code B ref 74966); Thu, 19 Dec 2024 11:49:03 +0000 Original-Received: (at 74966) by debbugs.gnu.org; 19 Dec 2024 11:48:50 +0000 Original-Received: from localhost ([127.0.0.1]:37739 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tOF1O-0003Lt-84 for submit@debbugs.gnu.org; Thu, 19 Dec 2024 06:48:50 -0500 Original-Received: from mail-10628.protonmail.ch ([79.135.106.28]:30161) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tOF1L-0003LU-QF for 74966@debbugs.gnu.org; Thu, 19 Dec 2024 06:48:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1734608920; x=1734868120; bh=tpiX7gm2Y3K7e7rKxRf0bvt4nq4AweIa+pZf5ahNG9E=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=dyuHjXWBf2o0HVCY3wLrNqkr1WH7T73yQK8Mm1tkNz87zommotjYydJymGDFEY/PD VGCYQYHMI/NTPgcG3MCbrK1RGfephQHiuZPjGCmNL6gwrOWnS0A5U7jOFbFai+Kfwa 9bxtHJwewAJKzNUPzCcghCrPD8NtaeV3bw+y8h+UIAMQEiB+yCzq9nb7ATOQ9oVKc+ IqlK4q4FYWOc0lDsIpn+F4gvr0pnzQDTnwONCzXOdoX24RaTLG+GiX/C1Qpg49GJ+j tJ8hunt5osVEAnA8olSG9rP3nbckTNRxWmvc0g0RFqcn+fPrtzLInT/VksXsCa+G66 oozMLQVdf3aYw== In-Reply-To: Feedback-ID: 112775352:user:proton X-Pm-Message-ID: 4bf3b0550c544a134e3563cf4f29125dd39847c0 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:297381 Archived-At: "Sean Devlin" writes: > Hi folks, Hello! > I was using Emacs and encountered a crash. Thanks for reporting it! > I am running on macOS, and I built Emacs from scratch/igc using the > instructions on that branch. > > I didn=E2=80=99t have Emacs running under a debugger, but I do have some = crash > information captured by macOS. (See attached.) I'm not entirely sure this is the actual segfault (the EXC_BAD_ACCESS/SIGABRT combination is a little odd): Exception Type: EXC_BAD_ACCESS (SIGABRT) Exception Codes: KERN_INVALID_ADDRESS at 0x595453206f742068 -> 0x0000= 53206f742068 (possible pointer authentication failure) Exception Codes: 0x0000000000000001, 0x595453206f742068 That's an ASCII string that we treated as a pointer, it seems? 13 apropos-7c1ecbdf-5d074552.eln =09 0x103407010 F6170726f706f732d736166652d646f63756d656e746174696f6e_apropos_safe_document= ation_0 + 208 Is there any way for you to disassemble this function? At first glance, there's nothing unusual about it (it does use the symbol function, which always confuses me when (function x) was intended but #'x was what I got). I'm not quite sure where the apropos-7c1ecbdf-5d074552.eln file lives on macOS, but I think, if you can find, you can run llvm-objdump -d apropos-7c1ecbdf-5d074552.eln (which will produce a lot of output; we're interested in the section belonging to the F6170726f706f732d736166652d646f63756d656e746174696f6e_apropos_safe_document= ation_0 section). As this is reproducible, it's probably not a stack marking problem. > At the time, I was trying to use apropos-documentation. I invoked the > command once, entered a string, and hit RET, and it signaled an error. I > tried to do this again and Emacs crashed. > > I hope this is useful. Please let me know if there=E2=80=99s any other > information I can collect. Definitely useful! Thanks! Pip