GNU bug report logs - #69008
29.2; Emacs 29.2 crashes when load-library a .dylib on MacOS Sonoma 14.3.1

Previous Next

Package: emacs;

Reported by: marco.antoniotti <at> unimib.it

Date: Fri, 9 Feb 2024 22:25:01 UTC

Severity: normal

Found in version 29.2

Done: Marco Antoniotti <marco.antoniotti <at> unimib.it>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Marco Antoniotti <marco.antoniotti <at> unimib.it>
Cc: 69008 <at> 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
> From: Marco Antoniotti <marco.antoniotti <at> unimib.it>
> Date: Sat, 10 Feb 2024 10:40:03 +0100
> Cc: 69008 <at> 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.




This bug report was last modified 1 year and 104 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.