From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sean Devlin Newsgroups: gmane.emacs.bugs Subject: bug#74966: 31.0.50; Crash report (using igc on macOS) Date: Thu, 19 Dec 2024 20:57:12 +0900 Message-ID: References: Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.300.87.4.3\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_C3CA35FE-FE58-4C8C-BA67-F5029F346445" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8686"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 74966@debbugs.gnu.org, Pip Cet To: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 19 12:59:36 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 1tOFBn-00024y-W7 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 19 Dec 2024 12:59:36 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tOFBY-0003A9-Ke; Thu, 19 Dec 2024 06:59:20 -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 1tOFBH-00039B-5U for bug-gnu-emacs@gnu.org; Thu, 19 Dec 2024 06:59:03 -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 1tOFBG-0004sG-3l for bug-gnu-emacs@gnu.org; Thu, 19 Dec 2024 06:59:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:Date:Mime-Version:From:To:Subject; bh=j2BVxNAU0xBd/VQ/EVkiTd1dpoW/lQwUb0WBVqNuqv8=; b=sdKoF2T5k3N3k4p8XEwOjwHyCqCh3PVTnBeQ2zrP+fMY9x1nPXrWfkO7cOv13jqI/P2uKkXyLjr06uaFru6JYoeLkKxOY/h7L5ks0oBRsE28xSIYMH7PV73tgS0h5wE6hr27jlPtCxiz4bwj/C6xzjrjEkjuTJzTzMn370dQzBaR/YGcd3ZvT1uY/UHuJdWUUHs06h9KiniVrVytuB53Mutty0nfn8TDKXoM4CJhBy6fIFFKxT1xN7K4BfZfdKG5OUvbnqF0B4zpM7AGSe6Nhf6H019L2uPa6rgrnPORK0zXvbdV00LTD/MfyzLtfmpdxlDZFdfVBt9p1Q7GeABF5Q==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tOFBF-0003q7-U0 for bug-gnu-emacs@gnu.org; Thu, 19 Dec 2024 06:59:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Sean Devlin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 19 Dec 2024 11:59:01 +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.173460951514715 (code B ref 74966); Thu, 19 Dec 2024 11:59:01 +0000 Original-Received: (at 74966) by debbugs.gnu.org; 19 Dec 2024 11:58:35 +0000 Original-Received: from localhost ([127.0.0.1]:37762 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tOFAo-0003pH-Ew for submit@debbugs.gnu.org; Thu, 19 Dec 2024 06:58:34 -0500 Original-Received: from mail-pl1-f175.google.com ([209.85.214.175]:59603) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tOFAm-0003ow-69 for 74966@debbugs.gnu.org; Thu, 19 Dec 2024 06:58:32 -0500 Original-Received: by mail-pl1-f175.google.com with SMTP id d9443c01a7336-21675fd60feso7753115ad.2 for <74966@debbugs.gnu.org>; Thu, 19 Dec 2024 03:58:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toadstyle-org.20230601.gappssmtp.com; s=20230601; t=1734609446; x=1735214246; darn=debbugs.gnu.org; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=j2BVxNAU0xBd/VQ/EVkiTd1dpoW/lQwUb0WBVqNuqv8=; b=aLxc0IKfML5oRiNzM7otvJGy7vTzaPANm+jsfXnvWPfVPBSlfcFaaioFimC9T/iy21 pBhvh/2pMwXWwitsAfchjIQfNI/ZGjm/uGR/wSZ7dHqDWA6VPyJTr7E85iBtPhBTz1dr 4C8Ktkgci6E47u5++O0vlicuMTdSfDaIuLzhUYK3SwmycWRvvUsFvSv9aJbyd0C20dYF thbkR3wJ7dXM7w/xsnKEIR4v/bPkuKohICmnejCNCGfF++nxm7w5rLlxuphG1NguQpBo 1L0PHYB1kHl9zUZUskhvdLXMu1HOUh+H9Kf/NwWcSRrt2oF6pPPFI1MsCNVZzOYFR5pC xN4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734609446; x=1735214246; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=j2BVxNAU0xBd/VQ/EVkiTd1dpoW/lQwUb0WBVqNuqv8=; b=NkGH+Afe8LAvQEjDym2MIz0Mg0Pf9WarSxxY9GnZANgqpsKbQGW/x7X+1WMViwVuWi iW9lhr95HZeLJOjfScwLtZx4N+owkgH2c1fjZ/gZv5gR0pjI8BEobdCDJygQ53XCP3nl w/kaRmIepC8pbf5guO9M1IA3sNuA8aCo/TooJdoBwqui/pHeVpog7ooZqsaSXPhT0Bfr 2xemTArdInd4ieePVotbj366ajt2Rsmb+LX8kaPsRFEZDc53wTxSCL9Hoy7nV696BX5y CMZHYkrL9xiSPanwQFJEXmZw9U0LYXBIMTlKDCEf10ITfRguZaKh7uLgFdJtg9yHueXM mVyg== X-Gm-Message-State: AOJu0YxzPyth99iCjkq/miE6C+Zxjhe7XbWz+2EK/GDcpILeFlssr/8W 1QhSYawsjAc/nDgwB19w6Qp6jOR/ytr1uKbeqk6HycTh2DVmJCvpIVrgYtEzraw= X-Gm-Gg: ASbGncvdx+91d+e8ByLh1AoCtUPefUdAsAnHK2jwc+r1c69Y34tiXiEpGrEFNazfZ/z k/DNEK9K7gzGUPW0C1aPeSFXfAJTU8nwHlmsStQn3GPJAF2FYsp95H+90Po8wigMW5cboO2qsTM /PIyzFIsiJrt0qGOkkGxBZn1w+KOB5SoJO/go9eagg9UzFg7QhJ9PKNI/zypm862SiqqWS2Oug5 SX9/8CzZePBy8uZ550jHYmeKcombaHa3DgejrYPrDlwjCWPny/05VwBg/nE0s23ml37PsNDMcts wizPc/js7DVa03xdUrxBGx6akA== X-Google-Smtp-Source: AGHT+IFuA22jBd0s1hZ8QYHTQzVjPO290jm5OuLPZ9wWVzOXDW3cu2rnpADwOila7nPiFRNT7BJR4w== X-Received: by 2002:a17:903:22c8:b0:216:45b9:439b with SMTP id d9443c01a7336-218d726cb99mr83702085ad.50.1734609446376; Thu, 19 Dec 2024 03:57:26 -0800 (PST) Original-Received: from smtpclient.apple (M111109070011.v4.enabler.ne.jp. [111.109.70.11]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-842b8e87deasm1010337a12.45.2024.12.19.03.57.24 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Dec 2024 03:57:26 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.3826.300.87.4.3) 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:297385 Archived-At: --Apple-Mail=_C3CA35FE-FE58-4C8C-BA67-F5029F346445 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi folks, > On Dec 19, 2024, at 7:25=E2=80=AFPM, Gerd M=C3=B6llmann = wrote: >=20 > Sean Devlin > writes: >=20 >> Hi folks, >>=20 >> I was using Emacs and encountered a crash. >>=20 >> I am running on macOS, and I built Emacs from scratch/igc using the >> instructions on that branch. >>=20 >> I didn=E2=80=99t have Emacs running under a debugger, but I do have = some crash >> information captured by macOS. (See attached.) >>=20 >> 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. >>=20 >> I hope this is useful. Please let me know if there=E2=80=99s any = other >> information I can collect. >>=20 >> Thanks! >>=20 > .c:1811) >> 11 Emacs 0x100d222a4 = handle_sigsegv + 64 (sysdep.c:1949) >> 12 libsystem_platform.dylib 0x19435ee04 _sigtramp + = 56 >> 13 apropos-7c1ecbdf-5d074552.eln 0x103407010 = F6170726f706f732d736166652d646f63756d656e746174696f6e_apropos_safe_documen= tation_0 + 208 >> 14 Emacs 0x100dd0a4c = exec_byte_code + 2648 (bytecode.c:828) >> 15 Emacs 0x100d82488 Ffuncall + = 456 (eval.c:3099) >> 16 apropos-7c1ecbdf-5d074552.eln 0x103405968 = F6170726f706f732d2d6d61702d7072656c6f616465642d61746f6d73_apropos__map_pre= loaded_atoms_0 + 696 >=20 > Looks to me like apropos-safe-documentation, native compiled, has a > problem here and gets an EXC_BAD_ACCESS. But that's all I can see. = It's > not even clear to me if this is GC-related or not. Just as a data point, I tried recompiling Emacs from scratch with that = same commit hash with both --with-mps=3Dyes and --with-mps=3Dno. I can = reproduce the crash only with the --with-mps=3Dyes setting, i.e. only = when igc is enabled. >=20 > Can you reproduce this? If yes, can you give me a recipe? >=20 > Pip, should I perhaps merge with current master? I think there have = been > fixes to the native compiler on master, not sure though. --Apple-Mail=_C3CA35FE-FE58-4C8C-BA67-F5029F346445 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Hi folks,

On Dec 19, 2024, at 7:25=E2=80=AFPM, Gerd M=C3=B6llmann= <gerd.moellmann@gmail.com> wrote:

Sean Devlin <spd@toadstyle.org> = writes:

Hi folks,

I was using Emacs and = encountered a crash.

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.)

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.

Thanks!

.c:1811)
11  Emacs =             &n= bsp;                  = ; 0x100d222a4 handle_sigsegv + 64 (sysdep.c:1949)
12 =  libsystem_platform.dylib             = ; 0x19435ee04 _sigtramp + 56
13 =  apropos-7c1ecbdf-5d074552.eln        = ; 0x103407010 = F6170726f706f732d736166652d646f63756d656e746174696f6e_apropos_safe_documen= tation_0 + 208
14  Emacs =             &n= bsp;                  = ; 0x100dd0a4c exec_byte_code + 2648 (bytecode.c:828)
15 =  Emacs =             &n= bsp;                  = ; 0x100d82488 Ffuncall + 456 (eval.c:3099)
16 =  apropos-7c1ecbdf-5d074552.eln        = ; 0x103405968 = F6170726f706f732d2d6d61702d7072656c6f616465642d61746f6d73_apropos__map_pre= loaded_atoms_0 + 696

Looks = to me like apropos-safe-documentation, native compiled, has a
problem here and gets an EXC_BAD_ACCESS. = But that's all I can see. It's
not = even clear to me if this is GC-related or not.

Just as a data point, I = tried recompiling Emacs from scratch with that same commit hash with = both --with-mps=3Dyes and --with-mps=3Dno. I can reproduce the = crash only with the --with-mps=3Dyes setting, i.e. only when igc is = enabled.


Can you = reproduce this? If yes, can you give me a recipe?

Pip, should I perhaps merge with current = master? I think there have been
fixes = to the native compiler on master, not sure = though.

= --Apple-Mail=_C3CA35FE-FE58-4C8C-BA67-F5029F346445--