unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#69008: 29.2; Emacs 29.2 crashes when load-library a .dylib on MacOS Sonoma 14.3.1
@ 2024-02-09 22:23 Marco Antoniotti
  2024-02-10  7:33 ` Eli Zaretskii
  0 siblings, 1 reply; 7+ messages in thread
From: Marco Antoniotti @ 2024-02-09 22:23 UTC (permalink / raw)
  To: 69008




I just tried M-x load-library on a .dylib I created to test the
module/extension writing facility.  The library is very simple and
follows the example in the documentation.

Sorry, EMacs just crashed and I don't know what other info to send you.


In GNU Emacs 29.2 (build 1, x86_64-apple-darwin18.7.0, NS appkit-1671.60
Version 10.14.6 (Build 18G9323)) of 2024-01-18 built on
builder10-14.lan
Windowing system distributor 'Apple', version 10.3.2487
System Description:  macOS 14.3.1

Configured using:
'configure --with-ns '--enable-locallisppath=/Library/Application
Support/Emacs/${version}/site-lisp:/Library/Application
Support/Emacs/site-lisp' --with-modules 'CFLAGS=-DFD_SETSIZE=10000
-DDARWIN_UNLIMITED_SELECT' --with-x-toolkit=no'

Configured features:
ACL GLIB GMP GNUTLS JPEG JSON LIBXML2 MODULES NOTIFY KQUEUE NS PDUMPER
PNG RSVG SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER ZLIB

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Fundamental

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  blink-cursor-mode: t
  buffer-read-only: t
  column-number-mode: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
/Users/marcoxa/.emacs.d/elpa/jsonrpc-1.0.24/jsonrpc hides /Applications/Emacs.app/Contents/Resources/lisp/jsonrpc
/Users/marcoxa/.emacs.d/elpa/use-package-20230426.2324/use-package-jump hides /Applications/Emacs.app/Contents/Resources/lisp/use-package/use-package-jump
/Users/marcoxa/.emacs.d/elpa/use-package-20230426.2324/use-package-ensure hides /Applications/Emacs.app/Contents/Resources/lisp/use-package/use-package-ensure
/Users/marcoxa/.emacs.d/elpa/use-package-20230426.2324/use-package-core hides /Applications/Emacs.app/Contents/Resources/lisp/use-package/use-package-core
/Users/marcoxa/.emacs.d/elpa/use-package-20230426.2324/use-package-delight hides /Applications/Emacs.app/Contents/Resources/lisp/use-package/use-package-delight
/Users/marcoxa/.emacs.d/elpa/use-package-20230426.2324/use-package-diminish hides /Applications/Emacs.app/Contents/Resources/lisp/use-package/use-package-diminish
/Users/marcoxa/.emacs.d/elpa/use-package-20230426.2324/use-package hides /Applications/Emacs.app/Contents/Resources/lisp/use-package/use-package
/Users/marcoxa/.emacs.d/elpa/use-package-20230426.2324/use-package-bind-key hides /Applications/Emacs.app/Contents/Resources/lisp/use-package/use-package-bind-key
/Users/marcoxa/.emacs.d/elpa/bind-key-20230203.2004/bind-key hides /Applications/Emacs.app/Contents/Resources/lisp/use-package/bind-key
/Users/marcoxa/.emacs.d/elpa/use-package-20230426.2324/use-package-lint hides /Applications/Emacs.app/Contents/Resources/lisp/use-package/use-package-lint
/Users/marcoxa/.emacs.d/elpa/project-0.10.0/project hides /Applications/Emacs.app/Contents/Resources/lisp/progmodes/project
/Users/marcoxa/.emacs.d/elpa/eglot-1.17/eglot hides /Applications/Emacs.app/Contents/Resources/lisp/progmodes/eglot
/Users/marcoxa/.emacs.d/elpa/eldoc-1.15.0/eldoc hides /Applications/Emacs.app/Contents/Resources/lisp/emacs-lisp/eldoc

Features:
(shadow sort mail-extr emacsbug message yank-media puny dired
dired-loaddefs rfc822 mml mml-sec epa epg rfc6068 epg-config gnus-util
text-property-search mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util mail-prsvr mail-utils time-date wheatgrass-theme iron-main
pl1-mode hlasm-mode jcl-poly-mode use-package-ensure use-package-core
polymode poly-lock polymode-base polymode-weave polymode-export
polymode-compat advice polymode-methods polymode-core format-spec
polymode-classes eieio-custom eieio-base color jcl-mode iron-main-mode
easy-mmode iron-main-epf derived iron-main-hercules-cmds
iron-main-jcl-templates cl-extra help-mode iron-main-utils
iron-main-session iron-main-ruler-function iron-main-widgets
iron-main-vars wid-edit desktop frameset ruler-mode sgml-mode facemenu
dom erlang-start fortress-mode scala-mode-auto finder-inf
ada-mode-autoloads ada-ref-man-autoloads auctex-autoloads tex-site
auto-complete-autoloads cmake-font-lock-autoloads cmake-ide-autoloads
cmake-mode-autoloads cmake-project-autoloads csv-mode-autoloads
eglot-autoloads eldoc-autoloads ess-autoloads evil-autoloads
flycheck-autoloads gnat-compiler-autoloads haskell-mode-autoloads
inspector-autoloads jsonrpc-autoloads julia-mode-autoloads
julia-repl-autoloads julia-vterm-autoloads levenshtein-autoloads
markdown-mode-autoloads mimetypes-autoloads popup-autoloads
project-autoloads rust-mode-autoloads slime-repl-ansi-color-autoloads
slime-autoloads macrostep-autoloads slime-theme-autoloads
sml-basis-autoloads mode-icons-autoloads toml-autoloads
toml-mode-autoloads treemacs-all-the-icons-autoloads
all-the-icons-autoloads treemacs-tab-bar-autoloads treemacs-autoloads
cfrs-autoloads posframe-autoloads ht-autoloads hydra-autoloads
lv-autoloads pfuture-autoloads ace-window-autoloads avy-autoloads
dash-autoloads tuareg-autoloads rx caml-autoloads
uniquify-files-autoloads vterm-autoloads info wisi-autoloads package
browse-url url url-proxy url-privacy url-expand url-methods url-history
url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers
url-parse auth-source cl-seq eieio eieio-core cl-macs password-cache
json subr-x map byte-opt gv bytecomp byte-compile url-vars cl-loaddefs
cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify
ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/ns-win ns-win
ucs-normalize mule-util term/common-win tool-bar dnd fontset image
regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu
timer select scroll-bar mouse jit-lock font-lock syntax font-core
term/tty-colors frame minibuffer nadvice seq simple cl-generic
indonesian philippine cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
composite emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
theme-loaddefs faces cus-face macroexp files window text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads kqueue cocoa ns multi-tty
make-network-process emacs)

Memory information:
((conses 16 139728 8535)
(symbols 48 12516 0)
(strings 32 43083 1960)
(string-bytes 1 1318196)
(vectors 16 21916)
(vector-slots 8 303874 7285)
(floats 8 134 13)
(intervals 56 460 0)
(buffers 984 12))





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#69008: 29.2; Emacs 29.2 crashes when load-library a .dylib on MacOS Sonoma 14.3.1
  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
  0 siblings, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2024-02-10  7:33 UTC (permalink / raw)
  To: marco.antoniotti; +Cc: 69008

> From: Marco Antoniotti <marco.antoniotti@unimib.it>
> Date: Fri, 9 Feb 2024 23:23:18 +0100
> 
> I just tried M-x load-library on a .dylib I created to test the
> module/extension writing facility.  The library is very simple and
> follows the example in the documentation.
> 
> Sorry, EMacs just crashed and I don't know what other info to send you.

The crash backtrace information is one kind of data we could find
useful.  The source code of your module is another.

Thanks.





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#69008: 29.2; Emacs 29.2 crashes when load-library a .dylib on MacOS Sonoma 14.3.1
  2024-02-10  7:33 ` Eli Zaretskii
@ 2024-02-10  9:40   ` Marco Antoniotti
  2024-02-10 10:28     ` Eli Zaretskii
  0 siblings, 1 reply; 7+ messages in thread
From: Marco Antoniotti @ 2024-02-10  9:40 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 69008


[-- Attachment #1.1: Type: text/plain, Size: 1120 bytes --]

Hi,

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

Thank you for your work.

All the best

Marco



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

> > From: Marco Antoniotti <marco.antoniotti@unimib.it>
> > Date: Fri, 9 Feb 2024 23:23:18 +0100
> >
> > I just tried M-x load-library on a .dylib I created to test the
> > module/extension writing facility.  The library is very simple and
> > follows the example in the documentation.
> >
> > Sorry, EMacs just crashed and I don't know what other info to send you.
>
> The crash backtrace information is one kind of data we could find
> useful.  The source code of your module is another.
>
> Thanks.
>

[-- Attachment #1.2: Type: text/html, Size: 1789 bytes --]

[-- Attachment #2: crash-report.txt --]
[-- Type: text/plain, Size: 34861 bytes --]

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               Emacs-x86_64-10_14 [14212]
Path:                  /Applications/Emacs.app/Contents/MacOS/Emacs-x86_64-10_14
Identifier:            Emacs-x86_64-10_14
Version:               ???
Code Type:             X86-64 (Native)
Parent Process:        bash [5609]
Responsible:           Terminal [5587]
User ID:               502

Date/Time:             2024-02-09 23:28:34.7671 +0100
OS Version:            macOS 14.3.1 (23D60)
Report Version:        12
Bridge OS Version:     8.3 (21P3049)
Anonymous UUID:        46ADEDF3-1A46-1711-C247-6CCB5265EC2C


Time Awake Since Boot: 34000 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGABRT)
Exception Codes:       UNKNOWN_0xD at 0x0000000000000000
Exception Codes:       0x000000000000000d, 0x0000000000000000

Termination Reason:    Namespace SIGNAL, Code 6 Abort trap: 6
Terminating Process:   Emacs-x86_64-10_14 [14212]

VM Region Info: 0 is not in any region.  Bytes before following region: 4396806144
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->  
      __TEXT                      10611f000-106389000    [ 2472K] r-x/r-x SM=COW  ...-x86_64-10_14

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	    0x7ff8012e67a2 __pthread_kill + 10
1   libsystem_pthread.dylib       	    0x7ff80131ef30 pthread_kill + 262
2   libsystem_c.dylib             	    0x7ff8011ffea8 raise + 24
3   ???                           	       0x106346bdb terminate_due_to_signal + 187
4   ???                           	       0x106346fac emacs_abort + 19
5   ???                           	       0x106308053 ns_term_shutdown + 179
6   ???                           	       0x1061e29b5 shut_down_emacs + 357
7   ???                           	       0x106346ba9 terminate_due_to_signal + 137
8   ???                           	       0x106207c2e handle_fatal_signal + 14
9   ???                           	       0x106207cb1 deliver_thread_signal + 129
10  ???                           	       0x106205e99 deliver_fatal_thread_signal + 9
11  ???                           	       0x106207d27 handle_sigsegv + 103
12  libsystem_platform.dylib      	    0x7ff80134d37d _sigtramp + 29
13  ???                           	               0x0 ???
14  ???                           	       0x1062a85fc module_funcall + 380
15  platel_emacs_module.dylib     	       0x116a51d56 emacs_module_init + 310
16  ???                           	       0x1062a6e70 Fmodule_load + 272
17  ???                           	       0x10629c8cd Fload + 2285
18  ???                           	       0x106276072 funcall_subr + 322
19  ???                           	       0x1062b31d8 exec_byte_code + 2408
20  ???                           	       0x106278886 fetch_and_exec_byte_code + 70
21  ???                           	       0x106276203 funcall_lambda + 195
22  ???                           	       0x106275ee1 funcall_general + 369
23  ???                           	       0x106273131 Ffuncall + 177
24  ???                           	       0x10626e0ea Ffuncall_interactively + 42
25  ???                           	       0x106275fe7 funcall_subr + 183
26  ???                           	       0x106275ef9 funcall_general + 393
27  ???                           	       0x106273131 Ffuncall + 177
28  ???                           	       0x1062755f7 Fapply + 119
29  ???                           	       0x10626e46c Fcall_interactively + 844
30  ???                           	       0x106276033 funcall_subr + 259
31  ???                           	       0x1062b31d8 exec_byte_code + 2408
32  ???                           	       0x106278886 fetch_and_exec_byte_code + 70
33  ???                           	       0x106276203 funcall_lambda + 195
34  ???                           	       0x106275ee1 funcall_general + 369
35  ???                           	       0x106273131 Ffuncall + 177
36  ???                           	       0x10626e0ea Ffuncall_interactively + 42
37  ???                           	       0x106275fe7 funcall_subr + 183
38  ???                           	       0x106275ef9 funcall_general + 393
39  ???                           	       0x106273131 Ffuncall + 177
40  ???                           	       0x1062757e1 Fapply + 609
41  ???                           	       0x10626e46c Fcall_interactively + 844
42  ???                           	       0x106276033 funcall_subr + 259
43  ???                           	       0x1062b31d8 exec_byte_code + 2408
44  ???                           	       0x106278886 fetch_and_exec_byte_code + 70
45  ???                           	       0x106276203 funcall_lambda + 195
46  ???                           	       0x106275ee1 funcall_general + 369
47  ???                           	       0x106273131 Ffuncall + 177
48  ???                           	       0x1061e96fc call1 + 44
49  ???                           	       0x1061e6c47 command_loop_1 + 1511
50  ???                           	       0x106273bd2 internal_condition_case + 82
51  ???                           	       0x1061e663e command_loop_2 + 46
52  ???                           	       0x1062735cb internal_catch + 75
53  ???                           	       0x1061e5d75 command_loop + 261
54  ???                           	       0x1061e5bd8 recursive_edit_1 + 216
55  ???                           	       0x1061e5fd0 Frecursive_edit + 208
56  ???                           	       0x1061e3b9d main + 4461
57  dyld                          	    0x7ff800f94386 start + 1942

Thread 1:: gmain
0   libsystem_kernel.dylib        	    0x7ff8012e891e __select + 10
1   ???                           	       0x107582040 g_poll + 448
2   ???                           	       0x1075718a1 g_main_context_iterate + 465
3   ???                           	       0x1075719c8 g_main_context_iteration + 104
4   ???                           	       0x107573b21 glib_worker_main + 33
5   ???                           	       0x10759ed02 g_thread_proxy + 66
6   libsystem_pthread.dylib       	    0x7ff80131f202 _pthread_start + 99
7   libsystem_pthread.dylib       	    0x7ff80131abab thread_start + 15

Thread 2:
0   libsystem_pthread.dylib       	    0x7ff80131ab88 start_wqthread + 0

Thread 3:
0   libsystem_pthread.dylib       	    0x7ff80131ab88 start_wqthread + 0

Thread 4:
0   libsystem_kernel.dylib        	    0x7ff8012e483a __pselect + 10
1   libsystem_kernel.dylib        	    0x7ff8012e472f pselect$DARWIN_EXTSN + 42
2   ???                           	       0x1063093ec -[EmacsApp fd_handler:] + 188
3   Foundation                    	    0x7ff80238d71c __NSThread__start__ + 1013
4   libsystem_pthread.dylib       	    0x7ff80131f202 _pthread_start + 99
5   libsystem_pthread.dylib       	    0x7ff80131abab thread_start + 15

Thread 5:: com.apple.NSEventThread
0   libsystem_kernel.dylib        	    0x7ff8012dfa2e mach_msg2_trap + 10
1   libsystem_kernel.dylib        	    0x7ff8012ede3a mach_msg2_internal + 84
2   libsystem_kernel.dylib        	    0x7ff8012e6b62 mach_msg_overwrite + 653
3   libsystem_kernel.dylib        	    0x7ff8012dfd1f mach_msg + 19
4   CoreFoundation                	    0x7ff8013fb135 __CFRunLoopServiceMachPort + 143
5   CoreFoundation                	    0x7ff8013f9ba5 __CFRunLoopRun + 1371
6   CoreFoundation                	    0x7ff8013f9082 CFRunLoopRunSpecific + 557
7   AppKit                        	    0x7ff804b66aac _NSEventThread + 122
8   libsystem_pthread.dylib       	    0x7ff80131f202 _pthread_start + 99
9   libsystem_pthread.dylib       	    0x7ff80131abab thread_start + 15

Thread 6:
0   libsystem_pthread.dylib       	    0x7ff80131ab88 start_wqthread + 0


Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000000000000006  rcx: 0x00000001068ef768  rdx: 0x0000000000000000
  rdi: 0x0000000000000103  rsi: 0x0000000000000006  rbp: 0x00000001068ef790  rsp: 0x00000001068ef768
   r8: 0x021dfff84495b081   r9: 0x00000000b40db19c  r10: 0x00007ff8449467c0  r11: 0x0000000000000246
  r12: 0x0000000000000103  r13: 0x0000000000000000  r14: 0x00007ff8449467c0  r15: 0x0000000000000016
  rip: 0x00007ff8012e67a2  rfl: 0x0000000000000246  cr2: 0x0000000000000000
  
Logical CPU:     0
Error Code:      0x02000148 
Trap Number:     133

Thread 0 instruction stream:
  0a 75 ea 48 8b 43 10 48-8b 78 08 48 8d 57 08 31  .u.H.C.H.x.H.W.1
  c0 b9 05 00 00 00 4c 39-ea 74 ce 48 8d 57 10 4c  ......L9.t.H.W.L
  39 ea 74 c5 48 83 c7 18-4c 89 ee 4c 89 fa e8 e6  9.t.H...L..L....
  05 00 00 0f b6 c8 34 01-8d 0c 89 0f b6 d0 49 01  ......4.......I.
  d6 eb a6 45 31 f6 b9 02-00 00 00 83 f9 02 75 10  ...E1.........u.
  48 8d 75 c8 4c 89 ef e8-3d 06 00 00 84 c0 74 28  H.u.L...=.....t(
 [49]8b 45 00 48 8b 0d 36-1c 0e 00 48 8b 09 48 3b  I.E.H..6...H..H;	<==
  4d d0 75 0f 48 83 c4 18-5b 41 5c 41 5d 41 5e 41  M.u.H...[A\A]A^A
  5f 5d c3 e8 69 0e 0a 00-48 8b 75 c8 48 8d 3d 6c  _]..i...H.u.H.=l
  ea 0c 00 4c 89 f2 31 c0-e8 ab 05 0a 00 66 2e 0f  ...L..1......f..
  1f 84 00 00 00 00 00 66-90 55 48 89 e5 41 56 53  .......f.UH..AVS
  4c 8b 77 20 48 8b 7f 28-48 83 ff fe 75 0c bf 5f  L.w H..(H...u.._

Binary Images:
       0x116a4e000 -        0x116a51fff platel_emacs_module.dylib (*) <6acf68c9-6db0-37c4-aae3-95051ba1c743> /Users/USER/*/platel_emacs_module.dylib
       0x106eda000 -        0x106ee9fff libobjc-trampolines.dylib (*) <06997eb3-387c-3024-b943-376aa535a09c> /usr/lib/libobjc-trampolines.dylib
    0x7ff8012de000 -     0x7ff801318ff7 libsystem_kernel.dylib (*) <3e22fb41-20e3-3568-a00b-d8e901e333bf> /usr/lib/system/libsystem_kernel.dylib
    0x7ff801319000 -     0x7ff801324fff libsystem_pthread.dylib (*) <0f6c8ecc-a9bd-39c6-9f41-a8b9159201eb> /usr/lib/system/libsystem_pthread.dylib
    0x7ff8011be000 -     0x7ff801245fff libsystem_c.dylib (*) <6f840a77-9f88-3da8-83ac-98e4892282d0> /usr/lib/system/libsystem_c.dylib
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
    0x7ff80134a000 -     0x7ff801353fff libsystem_platform.dylib (*) <20d7a65a-313d-3aa7-b0d4-a39261e1b00a> /usr/lib/system/libsystem_platform.dylib
    0x7ff800f8e000 -     0x7ff80102a3ff dyld (*) <01ae3ae3-f6ca-34d1-a2f8-462ede5fa818> /usr/lib/dyld
    0x7ff802338000 -     0x7ff802f6fff3 com.apple.Foundation (6.9) <6589cc92-b39e-392c-808b-b20538f9312f> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
    0x7ff80137f000 -     0x7ff801819fec com.apple.CoreFoundation (6.9) <d9705b29-47af-343b-ba26-5cda3166731e> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x7ff8049cb000 -     0x7ff805de9ff6 com.apple.AppKit (6.9) <660b78d6-113f-3abd-8969-a6cb84fff752> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=548.7M resident=0K(0%) swapped_out_or_unallocated=548.7M(100%)
Writable regions: Total=644.2M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=644.2M(100%)

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Accelerate framework               128K        1 
Activity Tracing                   256K        1 
CG image                          1708K       12 
ColorSync                          252K       34 
CoreAnimation                     2148K       84 
CoreGraphics                        12K        2 
CoreImage                          112K        8 
CoreUI image data                 1304K       10 
Foundation                          16K        1 
Kernel Alloc Once                    8K        1 
MALLOC                           625.7M       69 
MALLOC guard page                   32K        8 
MALLOC_LARGE (reserved)             64K        1         reserved VM address space (unallocated)
STACK GUARD                         24K        6 
Stack                             11.0M        7 
Stack (reserved)                  1596K        1         reserved VM address space (unallocated)
Stack Guard                       54.4M        1 
VM_ALLOCATE                       1528K       11 
__CTF                               824        1 
__DATA                            28.3M      448 
__DATA_CONST                      19.1M      230 
__DATA_DIRTY                       813K      114 
__FONT_DATA                        2352        1 
__LINKEDIT                       192.0M       54 
__OBJC_RO                         71.1M        1 
__OBJC_RW                         2172K        2 
__TEXT                           356.7M      457 
dyld private memory                260K        2 
mapped file                      206.4M       40 
shared memory                     1300K       18 
===========                     =======  ======= 
TOTAL                              1.5G     1626 
TOTAL, minus reserved VM space     1.5G     1626 



-----------
Full Report
-----------

{"app_name":"Emacs-x86_64-10_14","timestamp":"2024-02-09 23:28:35.00 +0100","app_version":"","slice_uuid":"00000000-0000-0000-0000-000000000000","build_version":"","platform":1,"share_with_app_devs":1,"is_first_party":1,"bug_type":"309","os_version":"macOS 14.3.1 (23D60)","roots_installed":0,"incident_id":"6ACC0CC8-82EE-4CC2-8544-A93E1F50AE09","name":"Emacs-x86_64-10_14"}
{
  "uptime" : 34000,
  "procRole" : "Foreground",
  "version" : 2,
  "userID" : 502,
  "deployVersion" : 210,
  "modelCode" : "MacBookPro16,2",
  "coalitionID" : 8432,
  "osVersion" : {
    "train" : "macOS 14.3.1",
    "build" : "23D60",
    "releaseType" : "User"
  },
  "captureTime" : "2024-02-09 23:28:34.7671 +0100",
  "codeSigningMonitor" : 0,
  "incident" : "6ACC0CC8-82EE-4CC2-8544-A93E1F50AE09",
  "pid" : 14212,
  "cpuType" : "X86-64",
  "roots_installed" : 0,
  "bug_type" : "309",
  "procLaunch" : "2024-02-09 23:28:04.8787 +0100",
  "procStartAbsTime" : 34043698520460,
  "procExitAbsTime" : 34073585080366,
  "procName" : "Emacs-x86_64-10_14",
  "procPath" : "\/Applications\/Emacs.app\/Contents\/MacOS\/Emacs-x86_64-10_14",
  "parentProc" : "bash",
  "parentPid" : 5609,
  "coalitionName" : "com.apple.Terminal",
  "crashReporterKey" : "46ADEDF3-1A46-1711-C247-6CCB5265EC2C",
  "responsiblePid" : 5587,
  "responsibleProc" : "Terminal",
  "codeSigningID" : "Emacs-x86_64-10_14",
  "codeSigningTeamID" : "5BRAQAFB8B",
  "codeSigningFlags" : 570491649,
  "codeSigningValidationCategory" : 6,
  "codeSigningTrustLevel" : 4294967295,
  "bridgeVersion" : {"build":"21P3049","train":"8.3"},
  "sip" : "enabled",
  "vmRegionInfo" : "0 is not in any region.  Bytes before following region: 4396806144\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      UNUSED SPACE AT START\n--->  \n      __TEXT                      10611f000-106389000    [ 2472K] r-x\/r-x SM=COW  ...-x86_64-10_14",
  "exception" : {"codes":"0x000000000000000d, 0x0000000000000000","rawCodes":[13,0],"type":"EXC_BAD_ACCESS","signal":"SIGABRT","subtype":"UNKNOWN_0xD at 0x0000000000000000"},
  "termination" : {"flags":0,"code":6,"namespace":"SIGNAL","indicator":"Abort trap: 6","byProc":"Emacs-x86_64-10_14","byPid":14212},
  "vmregioninfo" : "0 is not in any region.  Bytes before following region: 4396806144\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      UNUSED SPACE AT START\n--->  \n      __TEXT                      10611f000-106389000    [ 2472K] r-x\/r-x SM=COW  ...-x86_64-10_14",
  "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
  "faultingThread" : 0,
  "threads" : [{"triggered":true,"id":492543,"instructionState":{"instructionStream":{"bytes":[10,117,234,72,139,67,16,72,139,120,8,72,141,87,8,49,192,185,5,0,0,0,76,57,234,116,206,72,141,87,16,76,57,234,116,197,72,131,199,24,76,137,238,76,137,250,232,230,5,0,0,15,182,200,52,1,141,12,137,15,182,208,73,1,214,235,166,69,49,246,185,2,0,0,0,131,249,2,117,16,72,141,117,200,76,137,239,232,61,6,0,0,132,192,116,40,73,139,69,0,72,139,13,54,28,14,0,72,139,9,72,59,77,208,117,15,72,131,196,24,91,65,92,65,93,65,94,65,95,93,195,232,105,14,10,0,72,139,117,200,72,141,61,108,234,12,0,76,137,242,49,192,232,171,5,10,0,102,46,15,31,132,0,0,0,0,0,102,144,85,72,137,229,65,86,83,76,139,119,32,72,139,127,40,72,131,255,254,117,12,191,95],"offset":96}},"threadState":{"r13":{"value":0},"rax":{"value":0},"rflags":{"value":582},"cpu":{"value":0},"r14":{"value":140704279193536,"symbolLocation":0,"symbol":"_main_thread"},"rsi":{"value":6},"r8":{"value":152559404168097921},"cr2":{"value":0},"rdx":{"value":0},"r10":{"value":140704279193536,"symbolLocation":0,"symbol":"_main_thread"},"r9":{"value":3020796316},"r15":{"value":22},"rbx":{"value":6},"trap":{"value":133},"err":{"value":33554760},"r11":{"value":582},"rip":{"value":140703148435362,"matchesCrashFrame":1},"rbp":{"value":4405000080,"symbolLocation":61664,"symbol":"sigsegv_stack"},"rsp":{"value":4405000040},"r12":{"value":259},"rcx":{"value":4405000040,"symbolLocation":61624,"symbol":"sigsegv_stack"},"flavor":"x86_THREAD_STATE","rdi":{"value":259}},"queue":"com.apple.main-thread","frames":[{"imageOffset":34722,"symbol":"__pthread_kill","symbolLocation":10,"imageIndex":2},{"imageOffset":24368,"symbol":"pthread_kill","symbolLocation":262,"imageIndex":3},{"imageOffset":269992,"symbol":"raise","symbolLocation":24,"imageIndex":4},{"imageOffset":4399066075,"symbol":"terminate_due_to_signal","symbolLocation":187,"imageIndex":5},{"imageOffset":4399067052,"symbol":"emacs_abort","symbolLocation":19,"imageIndex":5},{"imageOffset":4398809171,"symbol":"ns_term_shutdown","symbolLocation":179,"imageIndex":5},{"imageOffset":4397607349,"symbol":"shut_down_emacs","symbolLocation":357,"imageIndex":5},{"imageOffset":4399066025,"symbol":"terminate_due_to_signal","symbolLocation":137,"imageIndex":5},{"imageOffset":4397759534,"symbol":"handle_fatal_signal","symbolLocation":14,"imageIndex":5},{"imageOffset":4397759665,"symbol":"deliver_thread_signal","symbolLocation":129,"imageIndex":5},{"imageOffset":4397751961,"symbol":"deliver_fatal_thread_signal","symbolLocation":9,"imageIndex":5},{"imageOffset":4397759783,"symbol":"handle_sigsegv","symbolLocation":103,"imageIndex":5},{"imageOffset":13181,"symbol":"_sigtramp","symbolLocation":29,"imageIndex":6},{"imageOffset":0,"imageIndex":5},{"imageOffset":4398417404,"symbol":"module_funcall","symbolLocation":380,"imageIndex":5},{"imageOffset":15702,"symbol":"emacs_module_init","symbolLocation":310,"imageIndex":0},{"imageOffset":4398411376,"symbol":"Fmodule_load","symbolLocation":272,"imageIndex":5},{"imageOffset":4398368973,"symbol":"Fload","symbolLocation":2285,"imageIndex":5},{"imageOffset":4398211186,"symbol":"funcall_subr","symbolLocation":322,"imageIndex":5},{"imageOffset":4398461400,"symbol":"exec_byte_code","symbolLocation":2408,"imageIndex":5},{"imageOffset":4398221446,"symbol":"fetch_and_exec_byte_code","symbolLocation":70,"imageIndex":5},{"imageOffset":4398211587,"symbol":"funcall_lambda","symbolLocation":195,"imageIndex":5},{"imageOffset":4398210785,"symbol":"funcall_general","symbolLocation":369,"imageIndex":5},{"imageOffset":4398199089,"symbol":"Ffuncall","symbolLocation":177,"imageIndex":5},{"imageOffset":4398178538,"symbol":"Ffuncall_interactively","symbolLocation":42,"imageIndex":5},{"imageOffset":4398211047,"symbol":"funcall_subr","symbolLocation":183,"imageIndex":5},{"imageOffset":4398210809,"symbol":"funcall_general","symbolLocation":393,"imageIndex":5},{"imageOffset":4398199089,"symbol":"Ffuncall","symbolLocation":177,"imageIndex":5},{"imageOffset":4398208503,"symbol":"Fapply","symbolLocation":119,"imageIndex":5},{"imageOffset":4398179436,"symbol":"Fcall_interactively","symbolLocation":844,"imageIndex":5},{"imageOffset":4398211123,"symbol":"funcall_subr","symbolLocation":259,"imageIndex":5},{"imageOffset":4398461400,"symbol":"exec_byte_code","symbolLocation":2408,"imageIndex":5},{"imageOffset":4398221446,"symbol":"fetch_and_exec_byte_code","symbolLocation":70,"imageIndex":5},{"imageOffset":4398211587,"symbol":"funcall_lambda","symbolLocation":195,"imageIndex":5},{"imageOffset":4398210785,"symbol":"funcall_general","symbolLocation":369,"imageIndex":5},{"imageOffset":4398199089,"symbol":"Ffuncall","symbolLocation":177,"imageIndex":5},{"imageOffset":4398178538,"symbol":"Ffuncall_interactively","symbolLocation":42,"imageIndex":5},{"imageOffset":4398211047,"symbol":"funcall_subr","symbolLocation":183,"imageIndex":5},{"imageOffset":4398210809,"symbol":"funcall_general","symbolLocation":393,"imageIndex":5},{"imageOffset":4398199089,"symbol":"Ffuncall","symbolLocation":177,"imageIndex":5},{"imageOffset":4398208993,"symbol":"Fapply","symbolLocation":609,"imageIndex":5},{"imageOffset":4398179436,"symbol":"Fcall_interactively","symbolLocation":844,"imageIndex":5},{"imageOffset":4398211123,"symbol":"funcall_subr","symbolLocation":259,"imageIndex":5},{"imageOffset":4398461400,"symbol":"exec_byte_code","symbolLocation":2408,"imageIndex":5},{"imageOffset":4398221446,"symbol":"fetch_and_exec_byte_code","symbolLocation":70,"imageIndex":5},{"imageOffset":4398211587,"symbol":"funcall_lambda","symbolLocation":195,"imageIndex":5},{"imageOffset":4398210785,"symbol":"funcall_general","symbolLocation":369,"imageIndex":5},{"imageOffset":4398199089,"symbol":"Ffuncall","symbolLocation":177,"imageIndex":5},{"imageOffset":4397635324,"symbol":"call1","symbolLocation":44,"imageIndex":5},{"imageOffset":4397624391,"symbol":"command_loop_1","symbolLocation":1511,"imageIndex":5},{"imageOffset":4398201810,"symbol":"internal_condition_case","symbolLocation":82,"imageIndex":5},{"imageOffset":4397622846,"symbol":"command_loop_2","symbolLocation":46,"imageIndex":5},{"imageOffset":4398200267,"symbol":"internal_catch","symbolLocation":75,"imageIndex":5},{"imageOffset":4397620597,"symbol":"command_loop","symbolLocation":261,"imageIndex":5},{"imageOffset":4397620184,"symbol":"recursive_edit_1","symbolLocation":216,"imageIndex":5},{"imageOffset":4397621200,"symbol":"Frecursive_edit","symbolLocation":208,"imageIndex":5},{"imageOffset":4397611933,"symbol":"main","symbolLocation":4461,"imageIndex":5},{"imageOffset":25478,"symbol":"start","symbolLocation":1942,"imageIndex":7}]},{"id":492545,"name":"gmain","threadState":{"r13":{"value":105553181314736},"rax":{"value":4},"rflags":{"value":643},"cpu":{"value":0},"r14":{"value":105553181314744},"rsi":{"value":123145463856720},"r8":{"value":0},"cr2":{"value":0},"rdx":{"value":123145463856592},"r10":{"value":123145463856464},"r9":{"value":18446744069414584320},"r15":{"value":1},"rbx":{"value":105553181314736},"trap":{"value":133},"err":{"value":33554525},"r11":{"value":643},"rip":{"value":140703148443934},"rbp":{"value":123145463856880},"rsp":{"value":123145463856440},"r12":{"value":1},"rcx":{"value":123145463856440},"flavor":"x86_THREAD_STATE","rdi":{"value":5}},"frames":[{"imageOffset":43294,"symbol":"__select","symbolLocation":10,"imageIndex":2},{"imageOffset":4418183232,"symbol":"g_poll","symbolLocation":448,"imageIndex":5},{"imageOffset":4418115745,"symbol":"g_main_context_iterate","symbolLocation":465,"imageIndex":5},{"imageOffset":4418116040,"symbol":"g_main_context_iteration","symbolLocation":104,"imageIndex":5},{"imageOffset":4418124577,"symbol":"glib_worker_main","symbolLocation":33,"imageIndex":5},{"imageOffset":4418301186,"symbol":"g_thread_proxy","symbolLocation":66,"imageIndex":5},{"imageOffset":25090,"symbol":"_pthread_start","symbolLocation":99,"imageIndex":3},{"imageOffset":7083,"symbol":"thread_start","symbolLocation":15,"imageIndex":3}]},{"id":492560,"frames":[{"imageOffset":7048,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":3}],"threadState":{"r13":{"value":0},"rax":{"value":33554800},"rflags":{"value":512},"cpu":{"value":0},"r14":{"value":1},"rsi":{"value":19975},"r8":{"value":409604},"cr2":{"value":0},"rdx":{"value":123145464942592},"r10":{"value":0},"r9":{"value":18446744073709551615},"r15":{"value":123145465465720},"rbx":{"value":123145465466880},"trap":{"value":133},"err":{"value":33554800},"r11":{"value":582},"rip":{"value":140703148649352},"rbp":{"value":0},"rsp":{"value":123145465466880},"r12":{"value":5193733},"rcx":{"value":0},"flavor":"x86_THREAD_STATE","rdi":{"value":123145465466880}}},{"id":492561,"frames":[{"imageOffset":7048,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":3}],"threadState":{"r13":{"value":0},"rax":{"value":33554800},"rflags":{"value":512},"cpu":{"value":0},"r14":{"value":1},"rsi":{"value":35587},"r8":{"value":409604},"cr2":{"value":0},"rdx":{"value":123145465479168},"r10":{"value":0},"r9":{"value":18446744073709551615},"r15":{"value":123145466002296},"rbx":{"value":123145466003456},"trap":{"value":133},"err":{"value":33554800},"r11":{"value":582},"rip":{"value":140703148649352},"rbp":{"value":0},"rsp":{"value":123145466003456},"r12":{"value":5193733},"rcx":{"value":0},"flavor":"x86_THREAD_STATE","rdi":{"value":123145466003456}}},{"id":492562,"frames":[{"imageOffset":26682,"symbol":"__pselect","symbolLocation":10,"imageIndex":2},{"imageOffset":26415,"symbol":"pselect$DARWIN_EXTSN","symbolLocation":42,"imageIndex":2},{"imageOffset":4398814188,"symbol":"-[EmacsApp fd_handler:]","symbolLocation":188,"imageIndex":5},{"imageOffset":349980,"symbol":"__NSThread__start__","symbolLocation":1013,"imageIndex":8},{"imageOffset":25090,"symbol":"_pthread_start","symbolLocation":99,"imageIndex":3},{"imageOffset":7083,"symbol":"thread_start","symbolLocation":15,"imageIndex":3}],"threadState":{"r13":{"value":0},"rax":{"value":4},"rflags":{"value":519},"cpu":{"value":0},"r14":{"value":0},"rsi":{"value":123145466535504},"r8":{"value":0},"cr2":{"value":0},"rdx":{"value":0},"r10":{"value":0},"r9":{"value":0},"r15":{"value":123145466535504},"rbx":{"value":123145466535504},"trap":{"value":133},"err":{"value":33554826},"r11":{"value":518},"rip":{"value":140703148427322},"rbp":{"value":123145466535488},"rsp":{"value":123145466535400},"r12":{"value":7},"rcx":{"value":123145466535400},"flavor":"x86_THREAD_STATE","rdi":{"value":7}}},{"id":492572,"name":"com.apple.NSEventThread","threadState":{"r13":{"value":21592279046},"rax":{"value":268451845},"rflags":{"value":518},"cpu":{"value":0},"r14":{"value":2},"rsi":{"value":21592279046},"r8":{"value":0},"cr2":{"value":0},"rdx":{"value":8589934592},"r10":{"value":180332791857152},"r9":{"value":180332791857152},"r15":{"value":180332791857152},"rbx":{"value":123145467072608},"trap":{"value":133},"err":{"value":16777263},"r11":{"value":518},"rip":{"value":140703148407342},"rbp":{"value":123145467072448},"rsp":{"value":123145467072344},"r12":{"value":4294967295},"rcx":{"value":123145467072344},"flavor":"x86_THREAD_STATE","rdi":{"value":123145467072608}},"frames":[{"imageOffset":6702,"symbol":"mach_msg2_trap","symbolLocation":10,"imageIndex":2},{"imageOffset":65082,"symbol":"mach_msg2_internal","symbolLocation":84,"imageIndex":2},{"imageOffset":35682,"symbol":"mach_msg_overwrite","symbolLocation":653,"imageIndex":2},{"imageOffset":7455,"symbol":"mach_msg","symbolLocation":19,"imageIndex":2},{"imageOffset":508213,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":143,"imageIndex":9},{"imageOffset":502693,"symbol":"__CFRunLoopRun","symbolLocation":1371,"imageIndex":9},{"imageOffset":499842,"symbol":"CFRunLoopRunSpecific","symbolLocation":557,"imageIndex":9},{"imageOffset":1686188,"symbol":"_NSEventThread","symbolLocation":122,"imageIndex":10},{"imageOffset":25090,"symbol":"_pthread_start","symbolLocation":99,"imageIndex":3},{"imageOffset":7083,"symbol":"thread_start","symbolLocation":15,"imageIndex":3}]},{"id":492584,"frames":[{"imageOffset":7048,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":3}],"threadState":{"r13":{"value":0},"rax":{"value":33554800},"rflags":{"value":512},"cpu":{"value":0},"r14":{"value":1},"rsi":{"value":57859},"r8":{"value":409604},"cr2":{"value":0},"rdx":{"value":123145467625472},"r10":{"value":0},"r9":{"value":18446744073709551615},"r15":{"value":123145468148600},"rbx":{"value":123145468149760},"trap":{"value":133},"err":{"value":33554800},"r11":{"value":582},"rip":{"value":140703148649352},"rbp":{"value":0},"rsp":{"value":123145468149760},"r12":{"value":5193733},"rcx":{"value":0},"flavor":"x86_THREAD_STATE","rdi":{"value":123145468149760}}}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4674871296,
    "size" : 16384,
    "uuid" : "6acf68c9-6db0-37c4-aae3-95051ba1c743",
    "path" : "\/Users\/USER\/*\/platel_emacs_module.dylib",
    "name" : "platel_emacs_module.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64h",
    "base" : 4411203584,
    "size" : 65536,
    "uuid" : "06997eb3-387c-3024-b943-376aa535a09c",
    "path" : "\/usr\/lib\/libobjc-trampolines.dylib",
    "name" : "libobjc-trampolines.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703148400640,
    "size" : 241656,
    "uuid" : "3e22fb41-20e3-3568-a00b-d8e901e333bf",
    "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
    "name" : "libsystem_kernel.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703148642304,
    "size" : 49152,
    "uuid" : "0f6c8ecc-a9bd-39c6-9f41-a8b9159201eb",
    "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
    "name" : "libsystem_pthread.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703147220992,
    "size" : 557056,
    "uuid" : "6f840a77-9f88-3da8-83ac-98e4892282d0",
    "path" : "\/usr\/lib\/system\/libsystem_c.dylib",
    "name" : "libsystem_c.dylib"
  },
  {
    "size" : 0,
    "source" : "A",
    "base" : 0,
    "uuid" : "00000000-0000-0000-0000-000000000000"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703148843008,
    "size" : 40960,
    "uuid" : "20d7a65a-313d-3aa7-b0d4-a39261e1b00a",
    "path" : "\/usr\/lib\/system\/libsystem_platform.dylib",
    "name" : "libsystem_platform.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703144927232,
    "size" : 640000,
    "uuid" : "01ae3ae3-f6ca-34d1-a2f8-462ede5fa818",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703165546496,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.Foundation",
    "size" : 12812276,
    "uuid" : "6589cc92-b39e-392c-808b-b20538f9312f",
    "path" : "\/System\/Library\/Frameworks\/Foundation.framework\/Versions\/C\/Foundation",
    "name" : "Foundation",
    "CFBundleVersion" : "2303"
  },
  {
    "source" : "P",
    "arch" : "x86_64h",
    "base" : 140703149060096,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.CoreFoundation",
    "size" : 4829165,
    "uuid" : "d9705b29-47af-343b-ba26-5cda3166731e",
    "path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation",
    "name" : "CoreFoundation",
    "CFBundleVersion" : "2303"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703205994496,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.AppKit",
    "size" : 21098487,
    "uuid" : "660b78d6-113f-3abd-8969-a6cb84fff752",
    "path" : "\/System\/Library\/Frameworks\/AppKit.framework\/Versions\/C\/AppKit",
    "name" : "AppKit",
    "CFBundleVersion" : "2487.40.107"
  }
],
  "sharedCache" : {
  "base" : 140703144230912,
  "size" : 25769803776,
  "uuid" : "812473cc-f3ee-3c27-a996-84e3ebdc0dc8"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=548.7M resident=0K(0%) swapped_out_or_unallocated=548.7M(100%)\nWritable regions: Total=644.2M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=644.2M(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nAccelerate framework               128K        1 \nActivity Tracing                   256K        1 \nCG image                          1708K       12 \nColorSync                          252K       34 \nCoreAnimation                     2148K       84 \nCoreGraphics                        12K        2 \nCoreImage                          112K        8 \nCoreUI image data                 1304K       10 \nFoundation                          16K        1 \nKernel Alloc Once                    8K        1 \nMALLOC                           625.7M       69 \nMALLOC guard page                   32K        8 \nMALLOC_LARGE (reserved)             64K        1         reserved VM address space (unallocated)\nSTACK GUARD                         24K        6 \nStack                             11.0M        7 \nStack (reserved)                  1596K        1         reserved VM address space (unallocated)\nStack Guard                       54.4M        1 \nVM_ALLOCATE                       1528K       11 \n__CTF                               824        1 \n__DATA                            28.3M      448 \n__DATA_CONST                      19.1M      230 \n__DATA_DIRTY                       813K      114 \n__FONT_DATA                        2352        1 \n__LINKEDIT                       192.0M       54 \n__OBJC_RO                         71.1M        1 \n__OBJC_RW                         2172K        2 \n__TEXT                           356.7M      457 \ndyld private memory                260K        2 \nmapped file                      206.4M       40 \nshared memory                     1300K       18 \n===========                     =======  ======= \nTOTAL                              1.5G     1626 \nTOTAL, minus reserved VM space     1.5G     1626 \n",
  "legacyInfo" : {
  "threadTriggered" : {
    "queue" : "com.apple.main-thread"
  }
},
  "logWritingSignature" : "e42b72c0a53610ec36a965be69bdddf4fb888796",
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "6297d96be2c9387df974efa4",
      "factorPackIds" : {

      },
      "deploymentId" : 240000014
    },
    {
      "rolloutId" : "6246d6a916a70b047e454124",
      "factorPackIds" : {

      },
      "deploymentId" : 240000010
    }
  ],
  "experiments" : [

  ]
}
}


^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#69008: 29.2; Emacs 29.2 crashes when load-library a .dylib on MacOS Sonoma 14.3.1
  2024-02-10  9:40   ` Marco Antoniotti
@ 2024-02-10 10:28     ` Eli Zaretskii
  2024-02-10 10:42       ` Marco Antoniotti
  0 siblings, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2024-02-10 10:28 UTC (permalink / raw)
  To: Marco Antoniotti; +Cc: 69008

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





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#69008: 29.2; Emacs 29.2 crashes when load-library a .dylib on MacOS Sonoma 14.3.1
  2024-02-10 10:28     ` Eli Zaretskii
@ 2024-02-10 10:42       ` Marco Antoniotti
  2024-02-10 10:58         ` Eli Zaretskii
  0 siblings, 1 reply; 7+ messages in thread
From: Marco Antoniotti @ 2024-02-10 10:42 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 69008

[-- 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 --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#69008: 29.2; Emacs 29.2 crashes when load-library a .dylib on MacOS Sonoma 14.3.1
  2024-02-10 10:42       ` Marco Antoniotti
@ 2024-02-10 10:58         ` Eli Zaretskii
  2024-02-10 11:06           ` Marco Antoniotti
  0 siblings, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2024-02-10 10:58 UTC (permalink / raw)
  To: Marco Antoniotti; +Cc: 69008-done

> From: Marco Antoniotti <marco.antoniotti@unimib.it>
> Date: Sat, 10 Feb 2024 11:42:56 +0100
> Cc: 69008@debbugs.gnu.org
> 
> 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.

OK, thanks.  I'm therefore closing the bug.





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#69008: 29.2; Emacs 29.2 crashes when load-library a .dylib on MacOS Sonoma 14.3.1
  2024-02-10 10:58         ` Eli Zaretskii
@ 2024-02-10 11:06           ` Marco Antoniotti
  0 siblings, 0 replies; 7+ messages in thread
From: Marco Antoniotti @ 2024-02-10 11:06 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 69008-done

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

Thank you!

Yep.  Close the bug.

MA


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

> > From: Marco Antoniotti <marco.antoniotti@unimib.it>
> > Date: Sat, 10 Feb 2024 11:42:56 +0100
> > Cc: 69008@debbugs.gnu.org
> >
> > 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.
>
> OK, thanks.  I'm therefore closing the bug.
>

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-02-10 11:06 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2024-02-10 10:58         ` Eli Zaretskii
2024-02-10 11:06           ` Marco Antoniotti

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