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#69008: 29.2; Emacs 29.2 crashes when load-library a .dylib on MacOS Sonoma 14.3.1 Date: Sat, 10 Feb 2024 12:28:12 +0200 Message-ID: <86v86wtxz7.fsf@gnu.org> References: <5DE6CEB4-FBDE-4AE3-BAC1-FE3F4A84E521@unimib.it> <86le7svkmp.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8846"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 69008@debbugs.gnu.org To: Marco Antoniotti Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Feb 10 11:29:08 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 1rYkbc-00026D-EN for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 10 Feb 2024 11:29:08 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rYkbJ-0003Tv-FQ; Sat, 10 Feb 2024 05:28:49 -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 1rYkbH-0003TC-89 for bug-gnu-emacs@gnu.org; Sat, 10 Feb 2024 05:28:47 -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 1rYkbG-0003G8-Vh for bug-gnu-emacs@gnu.org; Sat, 10 Feb 2024 05:28:46 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rYkbW-0003GA-6p for bug-gnu-emacs@gnu.org; Sat, 10 Feb 2024 05:29:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 10 Feb 2024 10:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69008 X-GNU-PR-Package: emacs Original-Received: via spool by 69008-submit@debbugs.gnu.org id=B69008.170756092012479 (code B ref 69008); Sat, 10 Feb 2024 10:29:02 +0000 Original-Received: (at 69008) by debbugs.gnu.org; 10 Feb 2024 10:28:40 +0000 Original-Received: from localhost ([127.0.0.1]:58562 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rYkbA-0003FC-80 for submit@debbugs.gnu.org; Sat, 10 Feb 2024 05:28:40 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57058) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rYkb8-0003Eo-8s for 69008@debbugs.gnu.org; Sat, 10 Feb 2024 05:28:39 -0500 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 1rYkam-0003DA-UM; Sat, 10 Feb 2024 05:28:16 -0500 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=4dQSBjHCzgfODeCLWGeEdp46tkOynBgWTMbwelpmo7o=; b=elRfMuFDVkjw 1rVpkRvMPOQjuTadUa4Ro7RPfNTUl3d2NLg663EfwefT7DtzReBwnxsEzAsGrxMKdkO28ABpxg+r5 Vhgx+4JgbxZCPZKPlIPA68SGIr6S0Mjn1epp+fpYXFF5hyKBBNfjjO9ree6pLkE7e/Sk2PA1bhBkB Icd9k+H4faOzh5VF4KSeNGHWcP2QmE/oJv7esx8mqQKiLCyrT44IZaPNBJpDXECkTtWxs3cP9Cl46 8wVkVpA5m/lW8lQt4Ch+X+8TteCsWY8q/EfC6/Dr9vOip4/dqTOpCr6HRapzjlG4FbezpD9upHXjn j5q+0NkVwjbje/oiu3HHig==; In-Reply-To: (message from Marco Antoniotti on Sat, 10 Feb 2024 10:40:03 +0100) 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:279742 Archived-At: > From: Marco Antoniotti > Date: Sat, 10 Feb 2024 10:40:03 +0100 > Cc: 69008@debbugs.gnu.org > > The code of my module is in the Github repo belo (sorry about the licensing, the format, being on Github, > etc). I also attached the MacOS crash report. I hope it helps. Sorry, but I am just running Emacs and I really > do not have the time to dig more into its guts. > > I get the .dylib and move it in the `load-path`. Doing M-x load-library crashes Emacs. > > Maybe I am just doing something very stupid. You tell me. > > https://github.com/marcoxa/platel I think these two lines: emacs_value def_is_be_args[] = {is_be_symbol, is_be_func}; emacs_value def_is_le_args[] = {is_le_symbol, is_le_func}; should be after the is_be/le_* variables have been assigned their values, not before.