all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Marco Antoniotti <marco.antoniotti@unimib.it>
To: Eli Zaretskii <eliz@gnu.org>
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 11:42:56 +0100	[thread overview]
Message-ID: <CAG0Nw2=BV_wYdM-A3gsUxwycb6MsnfU=HdYv9Xq9OU8OAHVJoA@mail.gmail.com> (raw)
In-Reply-To: <86v86wtxz7.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1180 bytes --]

Hmmmm.

Let me try.  I don't like to intermix declarations and code, but I can see
how the compiler may "optimize" things.

Yep.  That was it.  You can see the new code in the repo.

Thanks.

MA

On Sat, Feb 10, 2024 at 11:28 AM Eli Zaretskii <eliz@gnu.org> wrote:

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

[-- Attachment #2: Type: text/html, Size: 1868 bytes --]

  reply	other threads:[~2024-02-10 10:42 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
2024-02-10 10:42       ` Marco Antoniotti [this message]
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

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

  git send-email \
    --in-reply-to='CAG0Nw2=BV_wYdM-A3gsUxwycb6MsnfU=HdYv9Xq9OU8OAHVJoA@mail.gmail.com' \
    --to=marco.antoniotti@unimib.it \
    --cc=69008@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.