unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Marco Antoniotti <marco.antoniotti@unimib.it>
Cc: 69008@debbugs.gnu.org
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	[thread overview]
Message-ID: <86v86wtxz7.fsf@gnu.org> (raw)
In-Reply-To: <CAG0Nw2===kVK-UirmWShDmTd=784XyJFOb9KWtj285Jo+NQjig@mail.gmail.com> (message from Marco Antoniotti on Sat, 10 Feb 2024 10:40:03 +0100)

> From: Marco Antoniotti <marco.antoniotti@unimib.it>
> 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.





  reply	other threads:[~2024-02-10 10:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-09 22:23 bug#69008: 29.2; Emacs 29.2 crashes when load-library a .dylib on MacOS Sonoma 14.3.1 Marco Antoniotti
2024-02-10  7:33 ` Eli Zaretskii
2024-02-10  9:40   ` Marco Antoniotti
2024-02-10 10:28     ` Eli Zaretskii [this message]
2024-02-10 10:42       ` Marco Antoniotti
2024-02-10 10:58         ` Eli Zaretskii
2024-02-10 11:06           ` Marco Antoniotti

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86v86wtxz7.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=69008@debbugs.gnu.org \
    --cc=marco.antoniotti@unimib.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).