unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#66098: Crash in itree.c on macOS with incomplete backtrace
@ 2023-09-19  8:47 Stefan Kangas
  2023-09-19  9:23 ` Robert Pluim
                   ` (2 more replies)
  0 siblings, 3 replies; 22+ messages in thread
From: Stefan Kangas @ 2023-09-19  8:47 UTC (permalink / raw)
  To: 66098

After rebuilding from master yesterday, I've started seeing frequent
crashes (several times a day) on macOS.  Thus, I re-built with all the
debug flags to investigate, and was able to get Emacs to crash almost
immediately after start, with the command `M-x notmuch'.

I'm not able to get much of a backtrace (see below).  Could it be that
the stack got corrupted somehow?  I've left the gdb session of the
crashed process open in case anyone has any ideas.  Is valgrind the best
tool for digging further, or are there any other tricks I can try?

Note the messages "Backtrace stopped: frame did not save the PC" and
"Cannot access memory at address 0x1e00000500000039".

(gdb) bt
#0  0x00000001003fb62c in itree_validate (tree=0x6000002720e0,
node=0x1e00000500000001) at itree.c:416
#1  0x00000001003fb6bd in itree_node_end (tree=0x6000002720e0,
node=0x1e00000500000001) at itree.c:462
#2  0x00000001001aded4 in terminate_due_to_signal (sig=298035829,
backtrace_limit=1) at emacs.c:447
#3  0x0000000111c3aa70 in ?? ()
#4  0x0000000111c3aa75 in ?? ()
#5  0x00007ff7bfef5210 in ?? ()
#6  0x00000001001a540d in OVERLAY_END (ov=XIL(0x111c3aa75)) at ./buffer.h:1428
Backtrace stopped: frame did not save the PC
[New Thread 0x1c37 of process 20794]

Lisp Backtrace:
"redisplay_internal (C function)" (0x0)
(gdb) bt full
#0  0x00000001003fb62c in itree_validate (tree=0x6000002720e0,
node=0x1e00000500000001) at itree.c:416
No locals.
#1  0x00000001003fb6bd in itree_node_end (tree=0x6000002720e0,
node=0x1e00000500000001) at itree.c:462
No locals.
#2  0x00000001001aded4 in terminate_due_to_signal (sig=298035829,
backtrace_limit=1) at emacs.c:447
No locals.
#3  0x0000000111c3aa70 in ?? ()
No symbol table info available.
#4  0x0000000111c3aa75 in ?? ()
No symbol table info available.
#5  0x00007ff7bfef5210 in ?? ()
No symbol table info available.
#6  0x00000001001a540d in OVERLAY_END (ov=XIL(0x111c3aa75)) at ./buffer.h:1428
No locals.
Backtrace stopped: frame did not save the PC

Lisp Backtrace:
"redisplay_internal (C function)" (0x0)
(gdb) xbacktrace
[New Thread 0x1c5b of process 20794]
[New Thread 0x1e27 of process 20794]
"redisplay_internal (C function)" (0x0)
(gdb) p tree->otick
$1 = 1
(gdb) p node->otick
Cannot access memory at address 0x1e00000500000039
(gdb) maintenance info sections
Exec file: `/Users/skangas/wip/emacs/src/emacs', file type mach-o-x86-64.
 [0]      0x100003280->0x1004ad680 at 0x00003280: .text ALLOC LOAD
CODE HAS_CONTENTS
 [1]      0x1004ad680->0x1004ae96a at 0x004ad680: __TEXT.__stubs ALLOC
LOAD READONLY CODE HAS_CONTENTS
 [2]      0x1004ae96c->0x1004b0902 at 0x004ae96c: __TEXT.__stub_helper
ALLOC LOAD READONLY CODE HAS_CONTENTS
 [3]      0x1004b0910->0x1004c6c5f at 0x004b0910: .const ALLOC LOAD
READONLY DATA HAS_CONTENTS
 [4]      0x1004c6c5f->0x10051d801 at 0x004c6c5f: .cstring ALLOC LOAD
READONLY DATA HAS_CONTENTS
 [5]      0x10051d804->0x10051d820 at 0x0051d804:
__TEXT.__gcc_except_tab ALLOC LOAD READONLY CODE HAS_CONTENTS
 [6]      0x10051d820->0x100521807 at 0x0051d820:
__TEXT.__objc_methname ALLOC LOAD READONLY CODE HAS_CONTENTS
 [7]      0x100521807->0x100521905 at 0x00521807:
__TEXT.__objc_classname ALLOC LOAD READONLY CODE HAS_CONTENTS
 [8]      0x100521905->0x100523e3f at 0x00521905:
__TEXT.__objc_methtype ALLOC LOAD READONLY CODE HAS_CONTENTS
 [9]      0x100523e40->0x100523ffc at 0x00523e40: __TEXT.__unwind_info
ALLOC LOAD READONLY CODE HAS_CONTENTS
 [10]     0x100524000->0x100524380 at 0x00524000: __DATA_CONST.__got
ALLOC LOAD DATA HAS_CONTENTS
 [11]     0x100524380->0x10052d4a8 at 0x00524380: __DATA_CONST.__const
ALLOC LOAD DATA HAS_CONTENTS
 [12]     0x10052d4a8->0x10052dee8 at 0x0052d4a8:
__DATA_CONST.__cfstring ALLOC LOAD DATA HAS_CONTENTS
 [13]     0x10052dee8->0x10052df50 at 0x0052dee8:
__DATA_CONST.__objc_classlist ALLOC LOAD DATA HAS_CONTENTS
 [14]     0x10052df50->0x10052df60 at 0x0052df50:
__DATA_CONST.__objc_catlist ALLOC LOAD DATA HAS_CONTENTS
 [15]     0x10052df60->0x10052df88 at 0x0052df60:
__DATA_CONST.__objc_protolist ALLOC LOAD DATA HAS_CONTENTS
 [16]     0x10052df88->0x10052df90 at 0x0052df88:
__DATA_CONST.__objc_imageinfo ALLOC LOAD DATA HAS_CONTENTS
 [17]     0x100530000->0x100531938 at 0x00530000:
__DATA.__la_symbol_ptr ALLOC LOAD DATA HAS_CONTENTS
 [18]     0x100531938->0x100535958 at 0x00531938: __DATA.__objc_const
ALLOC LOAD DATA HAS_CONTENTS
 [19]     0x100535958->0x100536ce0 at 0x00535958:
__DATA.__objc_selrefs ALLOC LOAD DATA HAS_CONTENTS
 [20]     0x100536ce0->0x100536f20 at 0x00536ce0:
__DATA.__objc_classrefs ALLOC LOAD DATA HAS_CONTENTS
 [21]     0x100536f20->0x100536f78 at 0x00536f20:
__DATA.__objc_superrefs ALLOC LOAD DATA HAS_CONTENTS
 [22]     0x100536f78->0x1005371b0 at 0x00536f78: __DATA.__objc_ivar
ALLOC LOAD DATA HAS_CONTENTS
 [23]     0x1005371b0->0x1005375c0 at 0x005371b0: __DATA.__objc_data
ALLOC LOAD DATA HAS_CONTENTS
 [24]     0x1005375c0->0x10054acd0 at 0x005375c0: __DATA.subrs ALLOC
LOAD DATA HAS_CONTENTS
 [25]     0x10054acd0->0x100aed21c at 0x0054acd0: .data ALLOC LOAD
DATA HAS_CONTENTS
 [26]     0x100aed220->0x100b32b74 at 0x00000000: .bss ALLOC
 [27]     0x100b32b80->0x100b9ba78 at 0x00000000: __DATA.__common ALLOC
(gdb)


In GNU Emacs 30.0.50 (build 3, x86_64-apple-darwin21.6.0, NS
 appkit-2113.60 Version 12.6.9 (Build 21G726)) of 2023-09-18 built on
 MY-MacBook-Pro
Repository revision: 861f9cb78370e2b78f852e5ccde9b63c94486ca8
Repository branch: master
Windowing system distributor 'Apple', version 10.3.2113
System Description:  macOS 12.6.9

Configured using:
 'configure --enable-checking=yes,glyphs --enable-check-lisp-object-type
 'CFLAGS=-O0 -g3''

Configured features:
ACL GIF GMP GNUTLS JPEG JSON LCMS2 LIBXML2 MODULES NOTIFY KQUEUE NS
PDUMPER PNG SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP
XIM ZLIB

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

Major mode: Message

Minor modes in effect:
  midnight-mode: t
  yas-global-mode: t
  yas-minor-mode: t
  openwith-mode: t
  recentf-mode: t
  flyspell-mode: t
  global-company-mode: t
  company-mode: t
  global-git-commit-mode: t
  magit-auto-revert-mode: t
  marginalia-mode: t
  repeat-mode: t
  pyvenv-mode: t
  org-super-agenda-mode: t
  ivy-mode: t
  dired-async-mode: t
  mml-mode: t
  auto-insert-mode: t
  server-mode: t
  winum-mode: t
  winner-mode: t
  which-key-mode: t
  engine-mode: t
  beacon-mode: t
  override-global-mode: t
  global-hl-line-mode: t
  savehist-mode: t
  save-place-mode: t
  display-time-mode: t
  auto-image-file-mode: t
  ns-auto-titlebar-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  context-menu-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  minibuffer-regexp-mode: t
  column-number-mode: t
  line-number-mode: t
  auto-fill-function: yas--auto-fill
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  auto-save-visited-mode: t
  abbrev-mode: t

Load-path shadows:
/Users/skangas/.emacs.d/elpa/elsa-20230621.1005/Elsafile hides
/Users/skangas/.emacs.d/elpa/trinary-20230301.2044/Elsafile
/Users/skangas/.emacs.d/elpa/transient-20230812.2142/transient hides
/Users/skangas/wip/emacs/lisp/transient
/Users/skangas/.emacs.d/elpa/ef-themes-1.3.0/theme-loaddefs hides
/Users/skangas/wip/emacs/lisp/theme-loaddefs

Features:
(shadow sort emacsbug tramp-cmds mail-extr tabify easy-kill executable
time-stamp ffap tramp trampver tramp-integration tramp-message
tramp-compat parse-time iso8601 tramp-loaddefs diary-lib diary-loaddefs
midnight yasnippet-snippets yasnippet paredit openwith orderless recentf
tree-widget log-view vc bug-reference macrostep-c cmacexp macrostep
flyspell ispell rainbow-delimiters elide-head ws-butler cc-mode cc-fonts
cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs
company-oddmuse company-keywords company-etags etags fileloop
company-gtags company-dabbrev-code company-dabbrev company-files
company-capf company-cmake company-xcode company-clang company-semantic
company-eclim company-template company-bbdb company face-remap
magit-bookmark magit-submodule magit-blame magit-stash magit-reflog
magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote
magit-commit magit-sequence magit-notes magit-worktree magit-tag
magit-merge magit-branch magit-reset magit-files magit-refs magit-status
magit magit-repos magit-apply magit-wip magit-log which-func imenu
magit-diff smerge-mode diff git-commit log-edit pcvs-util add-log
magit-core magit-autorevert autorevert filenotify magit-margin
magit-transient magit-process with-editor magit-mode transient magit-git
magit-base magit-section cursor-sensor crm marginalia compat repeat
pixel-scroll cua-base sk-misc pcase sk-idom-article-length sk-lisp
init-python pyvenv init-lang-perl init-lang-elisp init-lang-cpp
init-lang-c init-coding-common init-org-mode org-super-agenda ts ht
org-habit org-agenda ol-man org-tempo tempo org-protocol ob-restclient
restclient ob-shell shell init-mail init-mentor init-ivy counsel xref
project compile swiper ivy delsel ivy-faces ivy-overlay colir color flx
init-hydra init-elfeed elfeed-org s org-element org-persist xdg org-id
org-refile org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro
org-src ob-comint org-pcomplete org-list org-footnote org-faces
org-entities noutline outline ob-emacs-lisp ob-core ob-eval org-cycle
org-table ol org-fold org-fold-core org-keys oc org-loaddefs find-func
org-version org-compat org-macs elfeed-show elfeed-search vc-git
diff-mode vc-dispatcher bookmark message sendmail yank-media dired-async
dired-aux async dired dired-loaddefs rfc822 mml mml-sec epa derived epg
rfc6068 epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse
rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev
mail-utils gmm-utils mailheader shr text-property-search pixel-fill
kinsoku puny svg dom elfeed-csv elfeed elfeed-curl elfeed-log elfeed-db
elfeed-lib time-date thingatpt avl-tree url-queue url-file xml-query xml
hydra lv init-auto-insert-mode skeleton autoinsert init-keybindings
init-emacs-server server init-compat init-general winum dash winner
which-key ibuf-macs eshell esh-cmd generator esh-ext esh-opt esh-proc
esh-io esh-arg pcomplete comint ansi-osc ring esh-module esh-groups
esh-util files-x engine-mode format-spec rx cus-edit pp cus-load icons
wid-edit two-column finder-inf beacon edmacro kmacro
use-package-bind-key bind-key easy-mmode use-package-diminish
sv-kalender advice lunar solar cal-dst holidays holiday-loaddefs
cal-menu calendar cal-loaddefs hl-line savehist saveplace time
image-file image-converter ansi-color init-portability ns-auto-titlebar
exec-path-from-shell modus-operandi-theme modus-themes diminish cl-extra
help-mode use-package-ensure use-package-core 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 info
ag-autoloads aggressive-indent-autoloads auto-virtualenv-autoloads
avy-autoloads beacon-autoloads blacken-autoloads boxquote-autoloads
browse-kill-ring-autoloads company-autoloads counsel-autoloads
debbugs-autoloads default-text-scale-autoloads diff-hl-autoloads
diminish-autoloads dired-collapse-autoloads dired-hacks-utils-autoloads
dired-single-autoloads diredfl-autoloads discover-my-major-autoloads
docker-compose-mode-autoloads dockerfile-mode-autoloads
doom-themes-autoloads easy-kill-autoloads ef-themes-autoloads
el-search-autoloads elfeed-org-autoloads elfeed-autoloads elsa-autoloads
async-autoloads ansi-autoloads embark-autoloads engine-mode-autoloads
exec-path-from-shell-autoloads flx-autoloads flymake-easy-autoloads
flymake-ruff-autoloads geiser-autoloads haskell-mode-autoloads
hydra-autoloads idle-highlight-mode-autoloads iedit-autoloads
inf-ruby-autoloads ioccur-autoloads know-your-http-well-autoloads
lgr-autoloads lsp-mode-autoloads f-autoloads lv-autoloads
macrostep-autoloads magit-autoloads git-commit-autoloads makey-autoloads
marginalia-autoloads markdown-mode-autoloads multiple-cursors-autoloads
nameless-autoloads nov-autoloads esxml-autoloads kv-autoloads
ns-auto-titlebar-autoloads nyan-mode-autoloads ob-restclient-autoloads
openwith-autoloads orderless-autoloads org-journal-autoloads
org-modern-autoloads org-roam-autoloads magit-section-autoloads
emacsql-autoloads org-super-agenda-autoloads ht-autoloads
package-lint-autoloads paredit-autoloads php-mode-autoloads
pip-requirements-autoloads python-docstring-autoloads pyvenv-autoloads
rainbow-delimiters-autoloads restclient-autoloads ripgrep-autoloads
smartscan-autoloads spinner-autoloads sql-indent-autoloads
stream-autoloads swiper-autoloads ivy-autoloads toml-mode-autoloads
transient-autoloads trinary-autoloads ts-autoloads s-autoloads
undo-tree-autoloads queue-autoloads visual-fill-column-autoloads
web-mode-autoloads wgrep-autoloads which-key-autoloads winum-autoloads
dash-autoloads with-editor-autoloads compat-autoloads
writegood-mode-autoloads ws-butler-autoloads xml-rpc-autoloads
xr-autoloads yaml-mode-autoloads yasnippet-snippets-autoloads
yasnippet-autoloads 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 touch-screen
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 lcms2 multi-tty make-network-process emacs)

Memory information:
((conses 16 666326 475097) (symbols 48 43608 59) (strings 32 201523 17492)
 (string-bytes 1 5944970) (vectors 16 73529) (vector-slots 8 981609 158728)
 (floats 8 882 6143) (intervals 56 10864 472) (buffers 992 19))





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

* bug#66098: Crash in itree.c on macOS with incomplete backtrace
  2023-09-19  8:47 bug#66098: Crash in itree.c on macOS with incomplete backtrace Stefan Kangas
@ 2023-09-19  9:23 ` Robert Pluim
  2023-09-19 10:09   ` Robert Pluim
  2023-09-22 10:58   ` Stefan Kangas
  2023-09-19 11:24 ` Eli Zaretskii
  2023-09-19 11:42 ` Gerd Möllmann
  2 siblings, 2 replies; 22+ messages in thread
From: Robert Pluim @ 2023-09-19  9:23 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: 66098

>>>>> On Tue, 19 Sep 2023 01:47:41 -0700, Stefan Kangas <stefankangas@gmail.com> said:

    Stefan> After rebuilding from master yesterday, I've started seeing frequent
    Stefan> crashes (several times a day) on macOS.  Thus, I re-built with all the
    Stefan> debug flags to investigate, and was able to get Emacs to crash almost
    Stefan> immediately after start, with the command `M-x notmuch'.

    Stefan> I'm not able to get much of a backtrace (see below).  Could it be that
    Stefan> the stack got corrupted somehow?  I've left the gdb session of the
    Stefan> crashed process open in case anyone has any ideas.  Is valgrind the best
    Stefan> tool for digging further, or are there any other tricks I can try?

Does valgrind run on macOS these days? Iʼd start by adding
'-fsanitize=address' to your CFLAGS.

(and I find lldb gives a better debugging experience than gdb on
macOS)

Robert
-- 





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

* bug#66098: Crash in itree.c on macOS with incomplete backtrace
  2023-09-19  9:23 ` Robert Pluim
@ 2023-09-19 10:09   ` Robert Pluim
  2023-09-20  8:08     ` Paul Eggert
  2023-09-22 10:58   ` Stefan Kangas
  1 sibling, 1 reply; 22+ messages in thread
From: Robert Pluim @ 2023-09-19 10:09 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: 66098, Paul Eggert

>>>>> On Tue, 19 Sep 2023 11:23:36 +0200, Robert Pluim <rpluim@gmail.com> said:

>>>>> On Tue, 19 Sep 2023 01:47:41 -0700, Stefan Kangas <stefankangas@gmail.com> said:
    Stefan> After rebuilding from master yesterday, I've started seeing frequent
    Stefan> crashes (several times a day) on macOS.  Thus, I re-built with all the
    Stefan> debug flags to investigate, and was able to get Emacs to crash almost
    Stefan> immediately after start, with the command `M-x notmuch'.

    Stefan> I'm not able to get much of a backtrace (see below).  Could it be that
    Stefan> the stack got corrupted somehow?  I've left the gdb session of the
    Stefan> crashed process open in case anyone has any ideas.  Is valgrind the best
    Stefan> tool for digging further, or are there any other tricks I can try?

    Robert> Does valgrind run on macOS these days? Iʼd start by adding
    Robert> '-fsanitize=address' to your CFLAGS.

Which I just tried, and it gave me

==22145==ERROR: AddressSanitizer: stack-buffer-underflow on address 0x00016dcc4540 at pc 0x000105924ee0 bp 0x00016dcc4090 sp 0x00016dcc3850
READ of size 8 at 0x00016dcc4540 thread T0
    #0 0x105924edc in __asan_memcpy+0x1a4 (libclang_rt.asan_osx_dynamic.dylib:arm64e+0x40edc) (BuildId: f0a7ac5c49bc3abc851181b6f92b308a32000000200000000100000000000b00)
    #1 0x1022d388c in vadd_to_log xdisp.c:11821
    #2 0x1022d32b4 in add_to_log xdisp.c:11798

Which I fixed like this:

diff --git a/src/xdisp.c b/src/xdisp.c
index 2944f3964e8..f1980c4f20c 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -11808,7 +11808,7 @@ vadd_to_log (char const *format, va_list ap)
   eassert (nargs <= ARRAYELTS (args));
   AUTO_STRING (args0, format);
   args[0] = args0;
-  for (ptrdiff_t i = 1; i <= nargs; i++)
+  for (ptrdiff_t i = 1; i < nargs; i++)
     args[i] = va_arg (ap, Lisp_Object);
   Lisp_Object msg = Qnil;
   msg = Fformat_message (nargs, args);

Given that this code has been like this since 2015, please sanity
check the patch whilst I up my caffeine levels :-)

Robert
-- 





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

* bug#66098: Crash in itree.c on macOS with incomplete backtrace
  2023-09-19  8:47 bug#66098: Crash in itree.c on macOS with incomplete backtrace Stefan Kangas
  2023-09-19  9:23 ` Robert Pluim
@ 2023-09-19 11:24 ` Eli Zaretskii
  2023-09-22 10:51   ` Stefan Kangas
  2023-09-19 11:42 ` Gerd Möllmann
  2 siblings, 1 reply; 22+ messages in thread
From: Eli Zaretskii @ 2023-09-19 11:24 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: 66098

> From: Stefan Kangas <stefankangas@gmail.com>
> Date: Tue, 19 Sep 2023 01:47:41 -0700
> 
> After rebuilding from master yesterday, I've started seeing frequent
> crashes (several times a day) on macOS.

When was your previous build done, and with what HEAD commit?

> Thus, I re-built with all the debug flags to investigate, and was
> able to get Emacs to crash almost immediately after start, with the
> command `M-x notmuch'.

I don't have this command in Emacs.  Any easier recipes?





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

* bug#66098: Crash in itree.c on macOS with incomplete backtrace
  2023-09-19  8:47 bug#66098: Crash in itree.c on macOS with incomplete backtrace Stefan Kangas
  2023-09-19  9:23 ` Robert Pluim
  2023-09-19 11:24 ` Eli Zaretskii
@ 2023-09-19 11:42 ` Gerd Möllmann
  2023-09-19 12:21   ` Gerd Möllmann
  2 siblings, 1 reply; 22+ messages in thread
From: Gerd Möllmann @ 2023-09-19 11:42 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: 66098

Stefan Kangas <stefankangas@gmail.com> writes:

> In GNU Emacs 30.0.50 (build 3, x86_64-apple-darwin21.6.0, NS
>  appkit-2113.60 Version 12.6.9 (Build 21G726)) of 2023-09-18 built on
>  MY-MacBook-Pro
> Repository revision: 861f9cb78370e2b78f852e5ccde9b63c94486ca8

git branch --contains 861f9cb78370e2b78f852e5ccde9b63c94486ca8

shows no branch? 






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

* bug#66098: Crash in itree.c on macOS with incomplete backtrace
  2023-09-19 11:42 ` Gerd Möllmann
@ 2023-09-19 12:21   ` Gerd Möllmann
  0 siblings, 0 replies; 22+ messages in thread
From: Gerd Möllmann @ 2023-09-19 12:21 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: 66098

Gerd Möllmann <gerd.moellmann@gmail.com> writes:

> Stefan Kangas <stefankangas@gmail.com> writes:
>
>> In GNU Emacs 30.0.50 (build 3, x86_64-apple-darwin21.6.0, NS
>>  appkit-2113.60 Version 12.6.9 (Build 21G726)) of 2023-09-18 built on
>>  MY-MacBook-Pro
>> Repository revision: 861f9cb78370e2b78f852e5ccde9b63c94486ca8
>
> git branch --contains 861f9cb78370e2b78f852e5ccde9b63c94486ca8
>
> shows no branch? 

Hm, now it's there.





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

* bug#66098: Crash in itree.c on macOS with incomplete backtrace
  2023-09-19 10:09   ` Robert Pluim
@ 2023-09-20  8:08     ` Paul Eggert
  2023-09-20  8:22       ` Robert Pluim
  0 siblings, 1 reply; 22+ messages in thread
From: Paul Eggert @ 2023-09-20  8:08 UTC (permalink / raw)
  To: Robert Pluim; +Cc: 66098, Stefan Kangas

On 2023-09-19 03:09, Robert Pluim wrote:
> -  for (ptrdiff_t i = 1; i <= nargs; i++)
> +  for (ptrdiff_t i = 1; i < nargs; i++)

Thanks for reporting that fix. I installed it on Savannah master. I 
don't know whether this has anything to do with the original bug#66098, 
though.





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

* bug#66098: Crash in itree.c on macOS with incomplete backtrace
  2023-09-20  8:08     ` Paul Eggert
@ 2023-09-20  8:22       ` Robert Pluim
  0 siblings, 0 replies; 22+ messages in thread
From: Robert Pluim @ 2023-09-20  8:22 UTC (permalink / raw)
  To: Paul Eggert; +Cc: 66098, Stefan Kangas

>>>>> On Wed, 20 Sep 2023 01:08:20 -0700, Paul Eggert <eggert@cs.ucla.edu> said:

    Paul> On 2023-09-19 03:09, Robert Pluim wrote:
    >> -  for (ptrdiff_t i = 1; i <= nargs; i++)
    >> +  for (ptrdiff_t i = 1; i < nargs; i++)

    Paul> Thanks for reporting that fix. I installed it on Savannah master. I
    Paul> don't know whether this has anything to do with the original
    Paul> bug#66098, though.

I doubt it. I do wonder why asan on macOS found it, but asan on
GNU/Linux didnʼt (I tried with GCC-12)

Robert
-- 





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

* bug#66098: Crash in itree.c on macOS with incomplete backtrace
  2023-09-19 11:24 ` Eli Zaretskii
@ 2023-09-22 10:51   ` Stefan Kangas
  2023-09-22 12:36     ` Eli Zaretskii
  0 siblings, 1 reply; 22+ messages in thread
From: Stefan Kangas @ 2023-09-22 10:51 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 66098

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Stefan Kangas <stefankangas@gmail.com>
>> Date: Tue, 19 Sep 2023 01:47:41 -0700
>>
>> After rebuilding from master yesterday, I've started seeing frequent
>> crashes (several times a day) on macOS.
>
> When was your previous build done, and with what HEAD commit?

I think I lost that information when I rebuilt, unless we save it
automatically somewhere.  But it would have been something from the 1-2
weeks before they day when I reported this.

> I don't have this command in Emacs.  Any easier recipes?

Not yet, sorry.  I'm trying to find one.





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

* bug#66098: Crash in itree.c on macOS with incomplete backtrace
  2023-09-19  9:23 ` Robert Pluim
  2023-09-19 10:09   ` Robert Pluim
@ 2023-09-22 10:58   ` Stefan Kangas
  2023-09-22 12:07     ` Robert Pluim
  1 sibling, 1 reply; 22+ messages in thread
From: Stefan Kangas @ 2023-09-22 10:58 UTC (permalink / raw)
  To: Robert Pluim; +Cc: 66098

Robert Pluim <rpluim@gmail.com> writes:

> Does valgrind run on macOS these days?

It seems like it doesn't, but there is a patched version that some users
have reported works for them:

    https://github.com/LouisBrunner/valgrind-macos

I didn't try it, as it feels iffy to install stuff from random GitHub
repositories, and I don't have a macOS VM to play with.

> Iʼd start by adding '-fsanitize=address' to your CFLAGS.

I tried that, and the crash disappeared.  Nothing has come up so far,
not even the bug that you found.

However, I had to install a new version of llvm to get asan support, and
it seems the new build is using my old clang but CPPFLAGS and LDFLAGS is
pointing to the new version.  Perhaps that has something to do with it,
so I'll try rebuilding without that next.

This is the new build:

Configured using:
 'configure 'CFLAGS=-O0 -g3 -fsanitize=address'
 CPPFLAGS=-I/usr/local/opt/llvm/include
 LDFLAGS=-L/usr/local/opt/llvm/lib'

The old one had:

Configured using:
 'configure --enable-checking=yes,glyphs --enable-check-lisp-object-type
 'CFLAGS=-O0 -g3''





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

* bug#66098: Crash in itree.c on macOS with incomplete backtrace
  2023-09-22 10:58   ` Stefan Kangas
@ 2023-09-22 12:07     ` Robert Pluim
  2023-09-23 13:02       ` Stefan Kangas
  0 siblings, 1 reply; 22+ messages in thread
From: Robert Pluim @ 2023-09-22 12:07 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: 66098

>>>>> On Fri, 22 Sep 2023 03:58:13 -0700, Stefan Kangas <stefankangas@gmail.com> said:

    >> Iʼd start by adding '-fsanitize=address' to your CFLAGS.

    Stefan> I tried that, and the crash disappeared.  Nothing has come up so far,
    Stefan> not even the bug that you found.

Paul installed a fix on master.

    Stefan> However, I had to install a new version of llvm to get asan support, and
    Stefan> it seems the new build is using my old clang but CPPFLAGS and LDFLAGS is
    Stefan> pointing to the new version.  Perhaps that has something to do with it,
    Stefan> so I'll try rebuilding without that next.

If you installed using homebrew, then the new clang wonʼt be in $PATH,
since clang is a system binary, so you need to either adjust your
$PATH or pass CC=/path/to/clang to configure.

Robert
-- 





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

* bug#66098: Crash in itree.c on macOS with incomplete backtrace
  2023-09-22 10:51   ` Stefan Kangas
@ 2023-09-22 12:36     ` Eli Zaretskii
  2023-09-22 12:46       ` Robert Pluim
  0 siblings, 1 reply; 22+ messages in thread
From: Eli Zaretskii @ 2023-09-22 12:36 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: 66098

> From: Stefan Kangas <stefankangas@gmail.com>
> Date: Fri, 22 Sep 2023 03:51:33 -0700
> Cc: 66098@debbugs.gnu.org
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> >> From: Stefan Kangas <stefankangas@gmail.com>
> >> Date: Tue, 19 Sep 2023 01:47:41 -0700
> >>
> >> After rebuilding from master yesterday, I've started seeing frequent
> >> crashes (several times a day) on macOS.
> >
> > When was your previous build done, and with what HEAD commit?
> 
> I think I lost that information when I rebuilt, unless we save it
> automatically somewhere.

Does "git reflog" help?





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

* bug#66098: Crash in itree.c on macOS with incomplete backtrace
  2023-09-22 12:36     ` Eli Zaretskii
@ 2023-09-22 12:46       ` Robert Pluim
  2023-09-23 11:56         ` Stefan Kangas
  0 siblings, 1 reply; 22+ messages in thread
From: Robert Pluim @ 2023-09-22 12:46 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 66098, Stefan Kangas

>>>>> On Fri, 22 Sep 2023 15:36:22 +0300, Eli Zaretskii <eliz@gnu.org> said:

    >> From: Stefan Kangas <stefankangas@gmail.com>
    >> Date: Fri, 22 Sep 2023 03:51:33 -0700
    >> Cc: 66098@debbugs.gnu.org
    >> 
    >> Eli Zaretskii <eliz@gnu.org> writes:
    >> 
    >> >> From: Stefan Kangas <stefankangas@gmail.com>
    >> >> Date: Tue, 19 Sep 2023 01:47:41 -0700
    >> >>
    >> >> After rebuilding from master yesterday, I've started seeing frequent
    >> >> crashes (several times a day) on macOS.
    >> >
    >> > When was your previous build done, and with what HEAD commit?
    >> 
    >> I think I lost that information when I rebuilt, unless we save it
    >> automatically somewhere.

    Eli> Does "git reflog" help?

This is why we have the numbered emacs builds in 'src/', no? Of
course that wonʼt help if you clean before building.

Robert
-- 





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

* bug#66098: Crash in itree.c on macOS with incomplete backtrace
  2023-09-22 12:46       ` Robert Pluim
@ 2023-09-23 11:56         ` Stefan Kangas
  2023-09-23 12:42           ` Eli Zaretskii
  0 siblings, 1 reply; 22+ messages in thread
From: Stefan Kangas @ 2023-09-23 11:56 UTC (permalink / raw)
  To: Robert Pluim, Eli Zaretskii; +Cc: 66098

Robert Pluim <rpluim@gmail.com> writes:

>     Eli> Does "git reflog" help?
>
> This is why we have the numbered emacs builds in 'src/', no? Of
> course that wonʼt help if you clean before building.

My workflow is that I pull and rebuild many times a day, in the same
repository as I run the Emacs I use daily from.  When I start or restart
Emacs, that version is just whatever happens to have been built last.

So I unfortunately don't think git reflog or numbered builds will help
with finding this information in my case.





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

* bug#66098: Crash in itree.c on macOS with incomplete backtrace
  2023-09-23 11:56         ` Stefan Kangas
@ 2023-09-23 12:42           ` Eli Zaretskii
  2023-09-24 10:55             ` Stefan Kangas
  0 siblings, 1 reply; 22+ messages in thread
From: Eli Zaretskii @ 2023-09-23 12:42 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: 66098, rpluim

> From: Stefan Kangas <stefankangas@gmail.com>
> Date: Sat, 23 Sep 2023 04:56:56 -0700
> Cc: 66098@debbugs.gnu.org
> 
> Robert Pluim <rpluim@gmail.com> writes:
> 
> >     Eli> Does "git reflog" help?
> >
> > This is why we have the numbered emacs builds in 'src/', no? Of
> > course that wonʼt help if you clean before building.
> 
> My workflow is that I pull and rebuild many times a day, in the same
> repository as I run the Emacs I use daily from.  When I start or restart
> Emacs, that version is just whatever happens to have been built last.
> 
> So I unfortunately don't think git reflog or numbered builds will help
> with finding this information in my case.

The numbered builds will help if you don't bootstrap each time (which
removes all the previous binaries).  If you still have the numbered
builds from past rebuild procedures, you can "bisect" the problem by
finding the latest numbered build which doesn't crash, then look at
its recorded Git SHA of the commit it was produced from.  Knowing that
commit will help identify the potential culprit much easier.





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

* bug#66098: Crash in itree.c on macOS with incomplete backtrace
  2023-09-22 12:07     ` Robert Pluim
@ 2023-09-23 13:02       ` Stefan Kangas
  2023-09-25  8:36         ` Robert Pluim
  0 siblings, 1 reply; 22+ messages in thread
From: Stefan Kangas @ 2023-09-23 13:02 UTC (permalink / raw)
  To: Robert Pluim; +Cc: 66098

Robert Pluim <rpluim@gmail.com> writes:

>>>>>> On Fri, 22 Sep 2023 03:58:13 -0700, Stefan Kangas <stefankangas@gmail.com> said:
>
>     >> Iʼd start by adding '-fsanitize=address' to your CFLAGS.
>
>     Stefan> I tried that, and the crash disappeared.  Nothing has come up so far,
>     Stefan> not even the bug that you found.
>
> Paul installed a fix on master.

I've been running the same commit as before, before that fix.  Sorry for
not being more clear.

I was thinking that maybe asan is disabled or something, but I can see
the asan threads in gdb, and I get asan messages when building.  So I'm
not sure how you could find the issue and I don't.





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

* bug#66098: Crash in itree.c on macOS with incomplete backtrace
  2023-09-23 12:42           ` Eli Zaretskii
@ 2023-09-24 10:55             ` Stefan Kangas
  2023-09-24 12:10               ` Eli Zaretskii
  0 siblings, 1 reply; 22+ messages in thread
From: Stefan Kangas @ 2023-09-24 10:55 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 66098, rpluim, Andrea Corallo

Eli Zaretskii <eliz@gnu.org> writes:

> The numbered builds will help if you don't bootstrap each time (which
> removes all the previous binaries).  If you still have the numbered
> builds from past rebuild procedures, you can "bisect" the problem by
> finding the latest numbered build which doesn't crash, then look at
> its recorded Git SHA of the commit it was produced from.  Knowing that
> commit will help identify the potential culprit much easier.

When I rebuilt --with-native-compilation on current master, I was able
to reproduce the crash again.  The best recipe I have found so far, is
to basically run `M-x notmuch' and then reply to some emails.  The most
recent crash happened while I was merely typing in a message-mode
buffer, nothing more than that.

Building with native compilation is a recent change on my macOS machine,
which I haven't used very actively up until recently.  I therefore
suspect that this crash has something to do with that, rather than some
recent change on master.  Sorry for not realizing this earlier.

Find below the Apple crash log, which says something about trampoline
and native_elisp_load.  Unfortunately, the below crash happened in an
optimized build.

I'm currently running with asan and native compilation to see if I can
get more details that way.  I'll also see if I can catch this in GDB or
LLDB.

I'm not sure if it matters, but I'm building Emacs with clang 14.0.0.

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

Process:               emacs-30.0.50.1 [32619]
Path:                  /Users/USER/*/emacs
Identifier:            emacs-30.0.50.1
Version:               ???
Code Type:             X86-64 (Native)
Parent Process:        bash [25201]
Responsible:           iTerm2 [1444]
User ID:               501

Date/Time:             2023-09-24 11:53:45.0592 +0200
OS Version:            macOS 12.6.9 (21G726)
Report Version:        12

Time Awake Since Boot: 400000 seconds
Time Since Wake:       15993 seconds

System Integrity Protection: enabled

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

Exception Type:        EXC_BAD_ACCESS (SIGABRT)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000001ec8
Exception Codes:       0x0000000000000001, 0x0000000000001ec8
Exception Note:        EXC_CORPSE_NOTIFY

VM Region Info: 0x1ec8 is not in any region.  Bytes before following
region: 4344987960
      REGION TYPE                    START - END         [ VSIZE]
PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->
      __TEXT                      102fb6000-103282000    [ 2864K]
r-x/r-x SM=COW  .../USER/*/emacs

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	    0x7ff80c252ffe __pthread_kill + 10
1   libsystem_pthread.dylib       	    0x7ff80c2891ff pthread_kill + 263
2   libsystem_c.dylib             	    0x7ff80c1972d8 raise + 26
3   emacs                         	       0x10323ae09
terminate_due_to_signal + 169
4   emacs                         	       0x10323b79b emacs_abort + 15
5   emacs                         	       0x1031f94d2 ns_term_shutdown + 162
6   emacs                         	       0x1030a03c8 shut_down_emacs + 376
7   emacs                         	       0x10323add7
terminate_due_to_signal + 119
8   emacs                         	       0x1030c966e handle_fatal_signal + 14
9   emacs                         	       0x1030c96f1
deliver_thread_signal + 129
10  emacs                         	       0x1030c7999
deliver_fatal_thread_signal + 9
11  emacs                         	       0x1030c9739 handle_sigsegv + 57
12  libsystem_platform.dylib      	    0x7ff80c29edfd _sigtramp + 29
13  ???                           	               0x0 ???
14  emacs                         	       0x10319a8ca Fnative_elisp_load + 362
15  emacs                         	       0x10313eb4a Ffuncall + 458
16  comp-7672a6ed-231f6e5c.eln    	       0x10e8c702a
F636f6d702d7472616d706f6c696e652d736561726368_comp_trampoline_search_0
+ 442
17  ???                           	    0x7fb2d9463cb3 ???
18  ???                           	    0x7fb2d9463cb3 ???
19  ???                           	    0x7fb2d9463cb3 ???
20  ???                           	    0x7fb2d9463cb3 ???
21  ???                           	    0x7fb2d9463cb3 ???
22  ???                           	    0x7fb2d9463cb3 ???
23  ???                           	    0x7fb2d9463cb3 ???
24  ???                           	    0x7fb2d9463cb3 ???
25  ???                           	    0x7fb2d9463cb3 ???
26  ???                           	    0x7fb2d9463cb3 ???
27  ???                           	    0x7fb2d9463cb3 ???
28  ???                           	    0x7fb2d9463cb3 ???
29  ???                           	    0x7fb2d9463cb3 ???
30  ???                           	    0x7fb2d9463cb3 ???
31  ???                           	    0x7fb2d9463cb3 ???
32  ???                           	    0x7fb2d9463cb3 ???
33  ???                           	    0x7fb2d9463cb3 ???
34  ???                           	    0x7fb2d9463cb3 ???
35  ???                           	    0x7fb2d9463cb3 ???
36  ???                           	    0x7fb2d9463cb3 ???
37  ???                           	    0x7fb2d9463cb3 ???
38  ???                           	    0x7fb2d9463cb3 ???
39  ???                           	    0x7fb2d9463cb3 ???
40  ???                           	    0x7fb2d9463cb3 ???
41  ???                           	    0x7fb2d9463cb3 ???
42  ???                           	    0x7fb2d9463cb3 ???
43  ???                           	    0x7fb2d9463cb3 ???
44  ???                           	    0x7fb2d9463cb3 ???
45  ???                           	    0x7fb2d9463cb3 ???
46  ???                           	    0x7fb2d9463cb3 ???
47  ???                           	    0x7fb2d9463cb3 ???
48  ???                           	    0x7fb2d9463cb3 ???
49  ???                           	    0x7fb2d9463cb3 ???
50  ???                           	    0x7fb2d9463cb3 ???
51  ???                           	    0x7fb2d9463cb3 ???
52  ???                           	    0x7fb2d9463cb3 ???
53  ???                           	    0x7fb2d9463cb3 ???
54  ???                           	    0x7fb2d9463cb3 ???
55  ???                           	    0x7fb2d9463cb3 ???
56  ???                           	    0x7fb2d9463cb3 ???
57  ???                           	    0x7fb2d9463cb3 ???
58  ???                           	    0x7fb2d9463cb3 ???
59  ???                           	    0x7fb2d9463cb3 ???
60  ???                           	    0x7fb2d9463cb3 ???
61  ???                           	    0x7fb2d9463cb3 ???
62  ???                           	    0x7fb2d9463cb3 ???
63  ???                           	    0x7fb2d9463cb3 ???
64  ???                           	    0x7fb2d9463cb3 ???
65  ???                           	    0x7fb2d9463cb3 ???
66  ???                           	    0x7fb2d9463cb3 ???
67  ???                           	    0x7fb2d9463cb3 ???
68  ???                           	    0x7fb2d9463cb3 ???
69  ???                           	    0x7fb2d9463cb3 ???
70  ???                           	    0x7fb2d9463cb3 ???
71  ???                           	    0x7fb2d9463cb3 ???
72  ???                           	    0x7fb2d9463cb3 ???
73  ???                           	    0x7fb2d9463cb3 ???
74  ???                           	    0x7fb2d9463cb3 ???
75  ???                           	    0x7fb2d9463cb3 ???
76  ???                           	    0x7fb2d9463cb3 ???
77  ???                           	    0x7fb2d9463cb3 ???
78  ???                           	    0x7fb2d9463cb3 ???
79  ???                           	    0x7fb2d9463cb3 ???
80  ???                           	    0x7fb2d9463cb3 ???
81  ???                           	    0x7fb2d9463cb3 ???
82  ???                           	    0x7fb2d9463cb3 ???
83  ???                           	    0x7fb2d9463cb3 ???
84  ???                           	    0x7fb2d9463cb3 ???
85  ???                           	    0x7fb2d9463cb3 ???
86  ???                           	    0x7fb2d9463cb3 ???
87  ???                           	    0x7fb2d9463cb3 ???
88  ???                           	    0x7fb2d9463cb3 ???
89  ???                           	    0x7fb2d9463cb3 ???
90  ???                           	    0x7fb2d9463cb3 ???
91  ???                           	    0x7fb2d9463cb3 ???
92  ???                           	    0x7fb2d9463cb3 ???
93  ???                           	    0x7fb2d9463cb3 ???
94  ???                           	    0x7fb2d9463cb3 ???
95  ???                           	    0x7fb2d9463cb3 ???
96  ???                           	    0x7fb2d9463cb3 ???
97  ???                           	    0x7fb2d9463cb3 ???
98  ???                           	    0x7fb2d9463cb3 ???
99  ???                           	    0x7fb2d9463cb3 ???
100 ???                           	    0x7fb2d9463cb3 ???
101 ???                           	    0x7fb2d9463cb3 ???
102 ???                           	    0x7fb2d9463cb3 ???
103 ???                           	    0x7fb2d9463cb3 ???
104 ???                           	    0x7fb2d9463cb3 ???
105 ???                           	    0x7fb2d9463cb3 ???
106 ???                           	    0x7fb2d9463cb3 ???
107 ???                           	    0x7fb2d9463cb3 ???
108 ???                           	    0x7fb2d9463cb3 ???
109 ???                           	    0x7fb2d9463cb3 ???
110 ???                           	    0x7fb2d9463cb3 ???
111 ???                           	    0x7fb2d9463cb3 ???
112 ???                           	    0x7fb2d9463cb3 ???
113 ???                           	    0x7fb2d9463cb3 ???
114 ???                           	    0x7fb2d9463cb3 ???
115 ???                           	    0x7fb2d9463cb3 ???
116 ???                           	    0x7fb2d9463cb3 ???
117 ???                           	    0x7fb2d9463cb3 ???
118 ???                           	    0x7fb2d9463cb3 ???
119 ???                           	    0x7fb2d9463cb3 ???
120 ???                           	    0x7fb2d9463cb3 ???
121 ???                           	    0x7fb2d9463cb3 ???
122 ???                           	    0x7fb2d9463cb3 ???
123 ???                           	    0x7fb2d9463cb3 ???
124 ???                           	    0x7fb2d9463cb3 ???
125 ???                           	    0x7fb2d9463cb3 ???
126 ???                           	    0x7fb2d9463cb3 ???
127 ???                           	    0x7fb2d9463cb3 ???
128 ???                           	    0x7fb2d9463cb3 ???
129 ???                           	    0x7fb2d9463cb3 ???
130 ???                           	    0x7fb2d9463cb3 ???
131 ???                           	    0x7fb2d9463cb3 ???
132 ???                           	    0x7fb2d9463cb3 ???
133 ???                           	    0x7fb2d9463cb3 ???
134 ???                           	    0x7fb2d9463cb3 ???
135 ???                           	    0x7fb2d9463cb3 ???
136 ???                           	    0x7fb2d9463cb3 ???
137 ???                           	    0x7fb2d9463cb3 ???
138 ???                           	    0x7fb2d9463cb3 ???
139 ???                           	    0x7fb2d9463cb3 ???
140 ???                           	    0x7fb2d9463cb3 ???
141 ???                           	    0x7fb2d9463cb3 ???
142 ???                           	    0x7fb2d9463cb3 ???
143 ???                           	    0x7fb2d9463cb3 ???
144 ???                           	    0x7fb2d9463cb3 ???
145 ???                           	    0x7fb2d9463cb3 ???
146 ???                           	    0x7fb2d9463cb3 ???
147 ???                           	    0x7fb2d9463cb3 ???
148 ???                           	    0x7fb2d9463cb3 ???
149 ???                           	    0x7fb2d9463cb3 ???
150 ???                           	    0x7fb2d9463cb3 ???
151 ???                           	    0x7fb2d9463cb3 ???
152 ???                           	    0x7fb2d9463cb3 ???
153 ???                           	    0x7fb2d9463cb3 ???
154 ???                           	    0x7fb2d9463cb3 ???
155 ???                           	    0x7fb2d9463cb3 ???
156 ???                           	    0x7fb2d9463cb3 ???
157 ???                           	    0x7fb2d9463cb3 ???
158 ???                           	    0x7fb2d9463cb3 ???
159 ???                           	    0x7fb2d9463cb3 ???
160 ???                           	    0x7fb2d9463cb3 ???
161 ???                           	    0x7fb2d9463cb3 ???
162 ???                           	    0x7fb2d9463cb3 ???
163 ???                           	    0x7fb2d9463cb3 ???
164 ???                           	    0x7fb2d9463cb3 ???
165 ???                           	    0x7fb2d9463cb3 ???
166 ???                           	    0x7fb2d9463cb3 ???
167 ???                           	    0x7fb2d9463cb3 ???
168 ???                           	    0x7fb2d9463cb3 ???
169 ???                           	    0x7fb2d9463cb3 ???
170 ???                           	    0x7fb2d9463cb3 ???
171 ???                           	    0x7fb2d9463cb3 ???
172 ???                           	    0x7fb2d9463cb3 ???
173 ???                           	    0x7fb2d9463cb3 ???
174 ???                           	    0x7fb2d9463cb3 ???
175 ???                           	    0x7fb2d9463cb3 ???
176 ???                           	    0x7fb2d9463cb3 ???
177 ???                           	    0x7fb2d9463cb3 ???
178 ???                           	    0x7fb2d9463cb3 ???
179 ???                           	    0x7fb2d9463cb3 ???
180 ???                           	    0x7fb2d9463cb3 ???
181 ???                           	    0x7fb2d9463cb3 ???
182 ???                           	    0x7fb2d9463cb3 ???
183 ???                           	    0x7fb2d9463cb3 ???
184 ???                           	    0x7fb2d9463cb3 ???
185 ???                           	    0x7fb2d9463cb3 ???
186 ???                           	    0x7fb2d9463cb3 ???
187 ???                           	    0x7fb2d9463cb3 ???
188 ???                           	    0x7fb2d9463cb3 ???
189 ???                           	    0x7fb2d9463cb3 ???
190 ???                           	    0x7fb2d9463cb3 ???
191 ???                           	    0x7fb2d9463cb3 ???
192 ???                           	    0x7fb2d9463cb3 ???
193 ???                           	    0x7fb2d9463cb3 ???
194 ???                           	    0x7fb2d9463cb3 ???
195 ???                           	    0x7fb2d9463cb3 ???
196 ???                           	    0x7fb2d9463cb3 ???
197 ???                           	    0x7fb2d9463cb3 ???
198 ???                           	    0x7fb2d9463cb3 ???
199 ???                           	    0x7fb2d9463cb3 ???
200 ???                           	    0x7fb2d9463cb3 ???
201 ???                           	    0x7fb2d9463cb3 ???
202 ???                           	    0x7fb2d9463cb3 ???
203 ???                           	    0x7fb2d9463cb3 ???
204 ???                           	    0x7fb2d9463cb3 ???
205 ???                           	    0x7fb2d9463cb3 ???
206 ???                           	    0x7fb2d9463cb3 ???
207 ???                           	    0x7fb2d9463cb3 ???
208 ???                           	    0x7fb2d9463cb3 ???
209 ???                           	    0x7fb2d9463cb3 ???
210 ???                           	    0x7fb2d9463cb3 ???
211 ???                           	    0x7fb2d9463cb3 ???
212 ???                           	    0x7fb2d9463cb3 ???
213 ???                           	    0x7fb2d9463cb3 ???
214 ???                           	    0x7fb2d9463cb3 ???
215 ???                           	    0x7fb2d9463cb3 ???
216 ???                           	    0x7fb2d9463cb3 ???
217 ???                           	    0x7fb2d9463cb3 ???
218 ???                           	    0x7fb2d9463cb3 ???
219 ???                           	    0x7fb2d9463cb3 ???
220 ???                           	    0x7fb2d9463cb3 ???
221 ???                           	    0x7fb2d9463cb3 ???
222 ???                           	    0x7fb2d9463cb3 ???
223 ???                           	    0x7fb2d9463cb3 ???
224 ???                           	    0x7fb2d9463cb3 ???
225 ???                           	    0x7fb2d9463cb3 ???
226 ???                           	    0x7fb2d9463cb3 ???
227 ???                           	    0x7fb2d9463cb3 ???
228 ???                           	    0x7fb2d9463cb3 ???
229 ???                           	    0x7fb2d9463cb3 ???
230 ???                           	    0x7fb2d9463cb3 ???
231 ???                           	    0x7fb2d9463cb3 ???
232 ???                           	    0x7fb2d9463cb3 ???
233 ???                           	    0x7fb2d9463cb3 ???
234 ???                           	    0x7fb2d9463cb3 ???
235 ???                           	    0x7fb2d9463cb3 ???
236 ???                           	    0x7fb2d9463cb3 ???
237 ???                           	    0x7fb2d9463cb3 ???
238 ???                           	    0x7fb2d9463cb3 ???
239 ???                           	    0x7fb2d9463cb3 ???
240 ???                           	    0x7fb2d9463cb3 ???
241 ???                           	    0x7fb2d9463cb3 ???
242 ???                           	    0x7fb2d9463cb3 ???
243 ???                           	    0x7fb2d9463cb3 ???
244 ???                           	    0x7fb2d9463cb3 ???
245 ???                           	    0x7fb2d9463cb3 ???
246 ???                           	    0x7fb2d9463cb3 ???
247 ???                           	    0x7fb2d9463cb3 ???
248 ???                           	    0x7fb2d9463cb3 ???
249 ???                           	    0x7fb2d9463cb3 ???
250 ???                           	    0x7fb2d9463cb3 ???
251 ???                           	    0x7fb2d9463cb3 ???
252 ???                           	    0x7fb2d9463cb3 ???
253 ???                           	    0x7fb2d9463cb3 ???
254 ???                           	    0x7fb2d9463cb3 ???
255 ???                           	    0x7fb2d9463cb3 ???
256 ???                           	    0x7fb2d9463cb3 ???
257 ???                           	    0x7fb2d9463cb3 ???
258 ???                           	    0x7fb2d9463cb3 ???
259 ???                           	    0x7fb2d9463cb3 ???
260 ???                           	    0x7fb2d9463cb3 ???
261 ???                           	    0x7fb2d9463cb3 ???
262 ???                           	    0x7fb2d9463cb3 ???
263 ???                           	    0x7fb2d9463cb3 ???
264 ???                           	    0x7fb2d9463cb3 ???
265 ???                           	    0x7fb2d9463cb3 ???
266 ???                           	    0x7fb2d9463cb3 ???
267 ???                           	    0x7fb2d9463cb3 ???
268 ???                           	    0x7fb2d9463cb3 ???
269 ???                           	    0x7fb2d9463cb3 ???
270 ???                           	    0x7fb2d9463cb3 ???
271 ???                           	    0x7fb2d9463cb3 ???
272 ???                           	    0x7fb2d9463cb3 ???
273 ???                           	    0x7fb2d9463cb3 ???
274 ???                           	    0x7fb2d9463cb3 ???
275 ???                           	    0x7fb2d9463cb3 ???
276 ???                           	    0x7fb2d9463cb3 ???
277 ???                           	    0x7fb2d9463cb3 ???
278 ???                           	    0x7fb2d9463cb3 ???
279 ???                           	    0x7fb2d9463cb3 ???
280 ???                           	    0x7fb2d9463cb3 ???
281 ???                           	    0x7fb2d9463cb3 ???
282 ???                           	    0x7fb2d9463cb3 ???
283 ???                           	    0x7fb2d9463cb3 ???
284 ???                           	    0x7fb2d9463cb3 ???
285 ???                           	    0x7fb2d9463cb3 ???
286 ???                           	    0x7fb2d9463cb3 ???
287 ???                           	    0x7fb2d9463cb3 ???
288 ???                           	    0x7fb2d9463cb3 ???
289 ???                           	    0x7fb2d9463cb3 ???
290 ???                           	    0x7fb2d9463cb3 ???
291 ???                           	    0x7fb2d9463cb3 ???
292 ???                           	    0x7fb2d9463cb3 ???
293 ???                           	    0x7fb2d9463cb3 ???
294 ???                           	    0x7fb2d9463cb3 ???
295 ???                           	    0x7fb2d9463cb3 ???
296 ???                           	    0x7fb2d9463cb3 ???
297 ???                           	    0x7fb2d9463cb3 ???
298 ???                           	    0x7fb2d9463cb3 ???
299 ???                           	    0x7fb2d9463cb3 ???
300 ???                           	    0x7fb2d9463cb3 ???
301 ???                           	    0x7fb2d9463cb3 ???
302 ???                           	    0x7fb2d9463cb3 ???
303 ???                           	    0x7fb2d9463cb3 ???
304 ???                           	    0x7fb2d9463cb3 ???
305 ???                           	    0x7fb2d9463cb3 ???
306 ???                           	    0x7fb2d9463cb3 ???
307 ???                           	    0x7fb2d9463cb3 ???
308 ???                           	    0x7fb2d9463cb3 ???
309 ???                           	    0x7fb2d9463cb3 ???
310 ???                           	    0x7fb2d9463cb3 ???
311 ???                           	    0x7fb2d9463cb3 ???
312 ???                           	    0x7fb2d9463cb3 ???
313 ???                           	    0x7fb2d9463cb3 ???
314 ???                           	    0x7fb2d9463cb3 ???
315 ???                           	    0x7fb2d9463cb3 ???
316 ???                           	    0x7fb2d9463cb3 ???
317 ???                           	    0x7fb2d9463cb3 ???
318 ???                           	    0x7fb2d9463cb3 ???
319 ???                           	    0x7fb2d9463cb3 ???
320 ???                           	    0x7fb2d9463cb3 ???
321 ???                           	    0x7fb2d9463cb3 ???
322 ???                           	    0x7fb2d9463cb3 ???
323 ???                           	    0x7fb2d9463cb3 ???
324 ???                           	    0x7fb2d9463cb3 ???
325 ???                           	    0x7fb2d9463cb3 ???
326 ???                           	    0x7fb2d9463cb3 ???
327 ???                           	    0x7fb2d9463cb3 ???
328 ???                           	    0x7fb2d9463cb3 ???
329 ???                           	    0x7fb2d9463cb3 ???
330 ???                           	    0x7fb2d9463cb3 ???
331 ???                           	    0x7fb2d9463cb3 ???
332 ???                           	    0x7fb2d9463cb3 ???
333 ???                           	    0x7fb2d9463cb3 ???
334 ???                           	    0x7fb2d9463cb3 ???
335 ???                           	    0x7fb2d9463cb3 ???
336 ???                           	    0x7fb2d9463cb3 ???
337 ???                           	    0x7fb2d9463cb3 ???
338 ???                           	    0x7fb2d9463cb3 ???
339 ???                           	    0x7fb2d9463cb3 ???
340 ???                           	    0x7fb2d9463cb3 ???
341 ???                           	    0x7fb2d9463cb3 ???
342 ???                           	    0x7fb2d9463cb3 ???
343 ???                           	    0x7fb2d9463cb3 ???
344 ???                           	    0x7fb2d9463cb3 ???
345 ???                           	    0x7fb2d9463cb3 ???
346 ???                           	    0x7fb2d9463cb3 ???
347 ???                           	    0x7fb2d9463cb3 ???
348 ???                           	    0x7fb2d9463cb3 ???
349 ???                           	    0x7fb2d9463cb3 ???
350 ???                           	    0x7fb2d9463cb3 ???
351 ???                           	    0x7fb2d9463cb3 ???
352 ???                           	    0x7fb2d9463cb3 ???
353 ???                           	    0x7fb2d9463cb3 ???
354 ???                           	    0x7fb2d9463cb3 ???
355 ???                           	    0x7fb2d9463cb3 ???
356 ???                           	    0x7fb2d9463cb3 ???
357 ???                           	    0x7fb2d9463cb3 ???
358 ???                           	    0x7fb2d9463cb3 ???
359 ???                           	    0x7fb2d9463cb3 ???
360 ???                           	    0x7fb2d9463cb3 ???
361 ???                           	    0x7fb2d9463cb3 ???
362 ???                           	    0x7fb2d9463cb3 ???
363 ???                           	    0x7fb2d9463cb3 ???
364 ???                           	    0x7fb2d9463cb3 ???
365 ???                           	    0x7fb2d9463cb3 ???
366 ???                           	    0x7fb2d9463cb3 ???
367 ???                           	    0x7fb2d9463cb3 ???
368 ???                           	    0x7fb2d9463cb3 ???
369 ???                           	    0x7fb2d9463cb3 ???
370 ???                           	    0x7fb2d9463cb3 ???
371 ???                           	    0x7fb2d9463cb3 ???
372 ???                           	    0x7fb2d9463cb3 ???
373 ???                           	    0x7fb2d9463cb3 ???
374 ???                           	    0x7fb2d9463cb3 ???
375 ???                           	    0x7fb2d9463cb3 ???
376 ???                           	    0x7fb2d9463cb3 ???
377 ???                           	    0x7fb2d9463cb3 ???
378 ???                           	    0x7fb2d9463cb3 ???
379 ???                           	    0x7fb2d9463cb3 ???
380 ???                           	    0x7fb2d9463cb3 ???
381 ???                           	    0x7fb2d9463cb3 ???
382 ???                           	    0x7fb2d9463cb3 ???
383 ???                           	    0x7fb2d9463cb3 ???
384 ???                           	    0x7fb2d9463cb3 ???
385 ???                           	    0x7fb2d9463cb3 ???
386 ???                           	    0x7fb2d9463cb3 ???
387 ???                           	    0x7fb2d9463cb3 ???
388 ???                           	    0x7fb2d9463cb3 ???
389 ???                           	    0x7fb2d9463cb3 ???
390 ???                           	    0x7fb2d9463cb3 ???
391 ???                           	    0x7fb2d9463cb3 ???
392 ???                           	    0x7fb2d9463cb3 ???
393 ???                           	    0x7fb2d9463cb3 ???
394 ???                           	    0x7fb2d9463cb3 ???
395 ???                           	    0x7fb2d9463cb3 ???
396 ???                           	    0x7fb2d9463cb3 ???
397 ???                           	    0x7fb2d9463cb3 ???
398 ???                           	    0x7fb2d9463cb3 ???
399 ???                           	    0x7fb2d9463cb3 ???
400 ???                           	    0x7fb2d9463cb3 ???
401 ???                           	    0x7fb2d9463cb3 ???
402 ???                           	    0x7fb2d9463cb3 ???
403 ???                           	    0x7fb2d9463cb3 ???
404 ???                           	    0x7fb2d9463cb3 ???
405 ???                           	    0x7fb2d9463cb3 ???
406 ???                           	    0x7fb2d9463cb3 ???
407 ???                           	    0x7fb2d9463cb3 ???
408 ???                           	    0x7fb2d9463cb3 ???
409 ???                           	    0x7fb2d9463cb3 ???
410 ???                           	    0x7fb2d9463cb3 ???
411 ???                           	    0x7fb2d9463cb3 ???
412 ???                           	    0x7fb2d9463cb3 ???
413 ???                           	    0x7fb2d9463cb3 ???
414 ???                           	    0x7fb2d9463cb3 ???
415 ???                           	    0x7fb2d9463cb3 ???
416 ???                           	    0x7fb2d9463cb3 ???
417 ???                           	    0x7fb2d9463cb3 ???
418 ???                           	    0x7fb2d9463cb3 ???
419 ???                           	    0x7fb2d9463cb3 ???
420 ???                           	    0x7fb2d9463cb3 ???
421 ???                           	    0x7fb2d9463cb3 ???
422 ???                           	    0x7fb2d9463cb3 ???
423 ???                           	    0x7fb2d9463cb3 ???
424 ???                           	    0x7fb2d9463cb3 ???
425 ???                           	    0x7fb2d9463cb3 ???
426 ???                           	    0x7fb2d9463cb3 ???
427 ???                           	    0x7fb2d9463cb3 ???
428 ???                           	    0x7fb2d9463cb3 ???
429 ???                           	    0x7fb2d9463cb3 ???
430 ???                           	    0x7fb2d9463cb3 ???
431 ???                           	    0x7fb2d9463cb3 ???
432 ???                           	    0x7fb2d9463cb3 ???
433 ???                           	    0x7fb2d9463cb3 ???
434 ???                           	    0x7fb2d9463cb3 ???
435 ???                           	    0x7fb2d9463cb3 ???
436 ???                           	    0x7fb2d9463cb3 ???
437 ???                           	    0x7fb2d9463cb3 ???
438 ???                           	    0x7fb2d9463cb3 ???
439 ???                           	    0x7fb2d9463cb3 ???
440 ???                           	    0x7fb2d9463cb3 ???
441 ???                           	    0x7fb2d9463cb3 ???
442 ???                           	    0x7fb2d9463cb3 ???
443 ???                           	    0x7fb2d9463cb3 ???
444 ???                           	    0x7fb2d9463cb3 ???
445 ???                           	    0x7fb2d9463cb3 ???
446 ???                           	    0x7fb2d9463cb3 ???
447 ???                           	    0x7fb2d9463cb3 ???
448 ???                           	    0x7fb2d9463cb3 ???
449 ???                           	    0x7fb2d9463cb3 ???
450 ???                           	    0x7fb2d9463cb3 ???
451 ???                           	    0x7fb2d9463cb3 ???
452 ???                           	    0x7fb2d9463cb3 ???
453 ???                           	    0x7fb2d9463cb3 ???
454 ???                           	    0x7fb2d9463cb3 ???
455 ???                           	    0x7fb2d9463cb3 ???
456 ???                           	    0x7fb2d9463cb3 ???
457 ???                           	    0x7fb2d9463cb3 ???
458 ???                           	    0x7fb2d9463cb3 ???
459 ???                           	    0x7fb2d9463cb3 ???
460 ???                           	    0x7fb2d9463cb3 ???
461 ???                           	    0x7fb2d9463cb3 ???
462 ???                           	    0x7fb2d9463cb3 ???
463 ???                           	    0x7fb2d9463cb3 ???
464 ???                           	    0x7fb2d9463cb3 ???
465 ???                           	    0x7fb2d9463cb3 ???
466 ???                           	    0x7fb2d9463cb3 ???
467 ???                           	    0x7fb2d9463cb3 ???
468 ???                           	    0x7fb2d9463cb3 ???
469 ???                           	    0x7fb2d9463cb3 ???
470 ???                           	    0x7fb2d9463cb3 ???
471 ???                           	    0x7fb2d9463cb3 ???
472 ???                           	    0x7fb2d9463cb3 ???
473 ???                           	    0x7fb2d9463cb3 ???
474 ???                           	    0x7fb2d9463cb3 ???
475 ???                           	    0x7fb2d9463cb3 ???
476 ???                           	    0x7fb2d9463cb3 ???
477 ???                           	    0x7fb2d9463cb3 ???
478 ???                           	    0x7fb2d9463cb3 ???
479 ???                           	    0x7fb2d9463cb3 ???
480 ???                           	    0x7fb2d9463cb3 ???
481 ???                           	    0x7fb2d9463cb3 ???
482 ???                           	    0x7fb2d9463cb3 ???
483 ???                           	    0x7fb2d9463cb3 ???
484 ???                           	    0x7fb2d9463cb3 ???
485 ???                           	    0x7fb2d9463cb3 ???
486 ???                           	    0x7fb2d9463cb3 ???
487 ???                           	    0x7fb2d9463cb3 ???
488 ???                           	    0x7fb2d9463cb3 ???
489 ???                           	    0x7fb2d9463cb3 ???
490 ???                           	    0x7fb2d9463cb3 ???
491 ???                           	    0x7fb2d9463cb3 ???
492 ???                           	    0x7fb2d9463cb3 ???
493 ???                           	    0x7fb2d9463cb3 ???
494 ???                           	    0x7fb2d9463cb3 ???
495 ???                           	    0x7fb2d9463cb3 ???
496 ???                           	    0x7fb2d9463cb3 ???
497 ???                           	    0x7fb2d9463cb3 ???
498 ???                           	    0x7fb2d9463cb3 ???
499 ???                           	    0x7fb2d9463cb3 ???
500 ???                           	    0x7fb2d9463cb3 ???
501 ???                           	    0x7fb2d9463cb3 ???
502 ???                           	    0x7fb2d9463cb3 ???
503 ???                           	    0x7fb2d9463cb3 ???
504 ???                           	    0x7fb2d9463cb3 ???
505 ???                           	    0x7fb2d9463cb3 ???
506 ???                           	    0x7fb2d9463cb3 ???
507 ???                           	    0x7fb2d9463cb3 ???
508 ???                           	    0x7fb2d9463cb3 ???
509 ???                           	    0x7fb2d9463cb3 ???
510 ???                           	    0x7fb2d9463cb3 ???
511 ???                           	    0x7fb2d9463cb3 ???

Thread 1:
0   libsystem_kernel.dylib        	    0x7ff80c251456 __pselect + 10
1   libsystem_kernel.dylib        	    0x7ff80c251373 pselect$DARWIN_EXTSN + 42
2   emacs                         	       0x1031fa837 -[EmacsApp
fd_handler:] + 263
3   Foundation                    	    0x7ff80d1a5984 __NSThread__start__ + 1009
4   libsystem_pthread.dylib       	    0x7ff80c2894e1 _pthread_start + 125
5   libsystem_pthread.dylib       	    0x7ff80c284f6b thread_start + 15

Thread 2:: com.apple.NSEventThread
0   libsystem_kernel.dylib        	    0x7ff80c24c96a mach_msg_trap + 10
1   libsystem_kernel.dylib        	    0x7ff80c24ccd8 mach_msg + 56
2   CoreFoundation                	    0x7ff80c35034d
__CFRunLoopServiceMachPort + 319
3   CoreFoundation                	    0x7ff80c34e9d8 __CFRunLoopRun + 1276
4   CoreFoundation                	    0x7ff80c34de1c CFRunLoopRunSpecific + 562
5   AppKit                        	    0x7ff80eef698e _NSEventThread + 132
6   libsystem_pthread.dylib       	    0x7ff80c2894e1 _pthread_start + 125
7   libsystem_pthread.dylib       	    0x7ff80c284f6b thread_start + 15

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


Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x00000001107d6600  rcx:
0x000000010378ce28  rdx: 0x0000000000000000
  rdi: 0x0000000000000103  rsi: 0x0000000000000006  rbp:
0x000000010378ce50  rsp: 0x000000010378ce28
   r8: 0x0000000000000b60   r9: 0x0000000000000020  r10:
0x00000001107d6600  r11: 0x0000000000000246
  r12: 0x0000000000000103  r13: 0x000000000000000b  r14:
0x0000000000000006  r15: 0x0000000000000016
  rip: 0x00007ff80c252ffe  rfl: 0x0000000000000246  cr2: 0x0000000113bc7002

Logical CPU:     0
Error Code:      0x02000148
Trap Number:     133

Thread 0 instruction stream:
  89 04 24 48 89 4c 24 08-48 89 6c 24 10 48 89 54  ..$H.L$.H.l$.H.T
  24 18 48 89 e6 bf 04 00-00 00 ff 93 48 1c 00 00  $.H.........H...
  48 83 c4 28 5b 5d c3 48-83 ec 10 48 89 fa 48 8d  H..([].H...H..H.
  05 a6 02 00 00 4c 8b 48-20 48 8d 0d 5b 02 00 00  .....L.H H..[...
  4c 8b 41 10 48 8b 48 08-48 8b 70 18 48 8b 78 10  L.A.H.H.H.p.H.x.
  48 8d 05 bc 02 00 00 48-8b 00 52 ba 06 00 00 00  H......H..R.....
 [ff]90 c8 1e 00 00 48 83-c4 18 c3 14 00 00 00 00  ......H.........	<==
  00 00 00 01 7a 52 00 01-78 10 01 10 0c 07 08 90  ....zR..x.......
  01 00 00 44 00 00 00 1c-00 00 00 42 ff ff ff ff  ...D.......B....
  ff ff ff 5a 00 00 00 00-00 00 00 00 04 01 00 00  ...Z............
  00 0e 10 86 02 04 01 00-00 00 0e 18 83 03 04 04  ................
  00 00 00 0e 40 04 51 00-00 00 0e 18 04 01 00 00  ....@.Q.........

Binary Images:
    0x7ff80c24b000 -     0x7ff80c282fff libsystem_kernel.dylib (*)
<5e9789af-5bca-3e41-a07a-c2dcc3180ea3>
/usr/lib/system/libsystem_kernel.dylib
    0x7ff80c283000 -     0x7ff80c28efff libsystem_pthread.dylib (*)
<e5d44afd-2577-3cee-8711-9d8d426229e0>
/usr/lib/system/libsystem_pthread.dylib
    0x7ff80c153000 -     0x7ff80c1dbfff libsystem_c.dylib (*)
<e42e9d7a-03b4-340b-b61e-dcd45fd4acc0>
/usr/lib/system/libsystem_c.dylib
       0x102fb6000 -        0x103281fff emacs (*)
<17fdbe3f-044a-3c04-a6f9-3a3f39753065> /Users/USER/*/emacs
    0x7ff80c29b000 -     0x7ff80c2a4fff libsystem_platform.dylib (*)
<a8a33774-6d44-35e9-ad2a-bad9e4d5192a>
/usr/lib/system/libsystem_platform.dylib
               0x0 - 0xffffffffffffffff ??? (*)
<00000000-0000-0000-0000-000000000000> ???
       0x10e865000 -        0x10e8e8fff comp-7672a6ed-231f6e5c.eln (*)
<4e960752-6eaf-36c4-85b0-9840e87c866c>
/Users/USER/*/comp-7672a6ed-231f6e5c.eln
    0x7ff80d14d000 -     0x7ff80d509fff com.apple.Foundation (6.9)
<e62db949-fe2d-3637-a40a-c1411a467e05>
/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
    0x7ff80c2d0000 -     0x7ff80c7d2fff com.apple.CoreFoundation (6.9)
<9b3c3dc0-9b20-3e96-ad7b-322bb8f34a05>
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x7ff80ed4a000 -     0x7ff80fbd9fff com.apple.AppKit (6.9)
<129c4dce-5711-37dd-839d-434ccbdb9cea>
/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: 5
    thread_create: 0
    thread_set_state: 960

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

                                VIRTUAL   REGION
REGION TYPE                        SIZE    COUNT (non-coalesced)
===========                     =======  =======
Accelerate framework               384K        3
Activity Tracing                   256K        1
CG backing stores                 2160K        4
CG image                           364K       10
ColorSync                          212K       24
CoreAnimation                      364K        7
CoreGraphics                         4K        1
CoreUI image data                 1016K        7
Foundation                          16K        1
Image IO                            80K        5
Kernel Alloc Once                    8K        1
MALLOC                           437.1M      187
MALLOC guard page                   32K        7
MALLOC_NANO (reserved)           256.0M        1         reserved VM
address space (unallocated)
ObjC additional data                15K        1
STACK GUARD                         12K        3
Stack                             9752K        4
Stack (reserved)                  1596K        1         reserved VM
address space (unallocated)
Stack Guard                       54.4M        1
VM_ALLOCATE                        304K       11
__CTF                               756        1
__DATA                            51.7M      988
__DATA_CONST                      22.9M      542
__DATA_DIRTY                       768K      118
__FONT_DATA                          4K        1
__LINKEDIT                       668.8M      529
__TEXT                           333.2M      893
__UNICODE                          592K        1
dyld private memory               1024K        1
mapped file                      924.5M       73
shared memory                      784K       18
===========                     =======  =======
TOTAL                              2.7G     3445
TOTAL, minus reserved VM space     2.5G     3445



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

{"app_name":"emacs-30.0.50.1","timestamp":"2023-09-24 11:53:53.00
+0200","app_version":"","slice_uuid":"17fdbe3f-044a-3c04-a6f9-3a3f39753065","build_version":"","platform":1,"share_with_app_devs":0,"is_first_party":1,"bug_type":"309","os_version":"macOS
12.6.9 (21G726)","incident_id":"71A2F779-A9F4-4E61-A174-F757FD62CDDC","name":"emacs-30.0.50.1"}
{
  "uptime" : 400000,
  "procLaunch" : "2023-09-24 10:31:09.8646 +0200",
  "procRole" : "Foreground",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "MacBookPro12,1",
  "procStartAbsTime" : 403466821796850,
  "coalitionID" : 744,
  "osVersion" : {
    "train" : "macOS 12.6.9",
    "build" : "21G726",
    "releaseType" : "User"
  },
  "captureTime" : "2023-09-24 11:53:45.0592 +0200",
  "bug_type" : "309",
  "pid" : 32619,
  "procExitAbsTime" : 408421973829781,
  "cpuType" : "X86-64",
  "procName" : "emacs-30.0.50.1",
  "procPath" : "\/Users\/USER\/*\/emacs",
  "parentProc" : "bash",
  "parentPid" : 25201,
  "coalitionName" : "com.googlecode.iterm2",
  "responsiblePid" : 1444,
  "responsibleProc" : "iTerm2",
  "wakeTime" : 15993,
  "sip" : "enabled",
  "vmRegionInfo" : "0x1ec8 is not in any region.  Bytes before
following region: 4344987960\n      REGION TYPE
START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n
UNUSED SPACE AT START\n--->  \n      __TEXT
102fb6000-103282000    [ 2864K] r-x\/r-x SM=COW  ...\/USER\/*\/emacs",
  "isCorpse" : 1,
  "exception" : {"codes":"0x0000000000000001,
0x0000000000001ec8","rawCodes":[1,7880],"type":"EXC_BAD_ACCESS","signal":"SIGABRT","subtype":"KERN_INVALID_ADDRESS
at 0x0000000000001ec8"},
  "vmregioninfo" : "0x1ec8 is not in any region.  Bytes before
following region: 4344987960\n      REGION TYPE
START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n
UNUSED SPACE AT START\n--->  \n      __TEXT
102fb6000-103282000    [ 2864K] r-x\/r-x SM=COW  ...\/USER\/*\/emacs",
  "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":960,"task_for_pid":5},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
  "faultingThread" : 0,
  "threads" : [{"triggered":true,"id":14920310,"instructionState":{"instructionStream":{"bytes":[137,4,36,72,137,76,36,8,72,137,108,36,16,72,137,84,36,24,72,137,230,191,4,0,0,0,255,147,72,28,0,0,72,131,196,40,91,93,195,72,131,236,16,72,137,250,72,141,5,166,2,0,0,76,139,72,32,72,141,13,91,2,0,0,76,139,65,16,72,139,72,8,72,139,112,24,72,139,120,16,72,141,5,188,2,0,0,72,139,0,82,186,6,0,0,0,255,144,200,30,0,0,72,131,196,24,195,20,0,0,0,0,0,0,0,1,122,82,0,1,120,16,1,16,12,7,8,144,1,0,0,68,0,0,0,28,0,0,0,66,255,255,255,255,255,255,255,90,0,0,0,0,0,0,0,0,4,1,0,0,0,14,16,134,2,4,1,0,0,0,14,24,131,3,4,4,0,0,0,14,64,4,81,0,0,0,14,24,4,1,0,0],"offset":96}},"threadState":{"r13":{"value":11},"rax":{"value":0},"rflags":{"value":582},"cpu":{"value":0},"r14":{"value":6},"rsi":{"value":6},"r8":{"value":2912},"cr2":{"value":4626083842},"rdx":{"value":0},"r10":{"value":4571620864,"symbolLocation":0,"symbol":"_main_thread"},"r9":{"value":32},"r15":{"value":22},"rbx":{"value":4571620864,"symbolLocation":0,"symbol":"_main_thread"},"trap":{"value":133},"err":{"value":33554760},"r11":{"value":582},"rip":{"value":140703332380670,"matchesCrashFrame":1},"rbp":{"value":4353216080,"symbolLocation":63296,"symbol":"sigsegv_stack"},"rsp":{"value":4353216040},"r12":{"value":259},"rcx":{"value":4353216040,"symbolLocation":63256,"symbol":"sigsegv_stack"},"flavor":"x86_THREAD_STATE","rdi":{"value":259}},"queue":"com.apple.main-thread","frames":[{"imageOffset":32766,"symbol":"__pthread_kill","symbolLocation":10,"imageIndex":0},{"imageOffset":25087,"symbol":"pthread_kill","symbolLocation":263,"imageIndex":1},{"imageOffset":279256,"symbol":"raise","symbolLocation":26,"imageIndex":2},{"imageOffset":2641417,"symbol":"terminate_due_to_signal","symbolLocation":169,"imageIndex":3},{"imageOffset":2643867,"symbol":"emacs_abort","symbolLocation":15,"imageIndex":3},{"imageOffset":2372818,"symbol":"ns_term_shutdown","symbolLocation":162,"imageIndex":3},{"imageOffset":959432,"symbol":"shut_down_emacs","symbolLocation":376,"imageIndex":3},{"imageOffset":2641367,"symbol":"terminate_due_to_signal","symbolLocation":119,"imageIndex":3},{"imageOffset":1128046,"symbol":"handle_fatal_signal","symbolLocation":14,"imageIndex":3},{"imageOffset":1128177,"symbol":"deliver_thread_signal","symbolLocation":129,"imageIndex":3},{"imageOffset":1120665,"symbol":"deliver_fatal_thread_signal","symbolLocation":9,"imageIndex":3},{"imageOffset":1128249,"symbol":"handle_sigsegv","symbolLocation":57,"imageIndex":3},{"imageOffset":15869,"symbol":"_sigtramp","symbolLocation":29,"imageIndex":4},{"imageOffset":0,"imageIndex":5},{"imageOffset":1984714,"symbol":"Fnative_elisp_load","symbolLocation":362,"imageIndex":3},{"imageOffset":1608522,"symbol":"Ffuncall","symbolLocation":458,"imageIndex":3},{"imageOffset":401450,"symbol":"F636f6d702d7472616d706f6c696e652d736561726368_comp_trampoline_search_0","symbolLocation":442,"imageIndex":6},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5},{"imageOffset":140406126165171,"imageIndex":5}]},{"id":14920319,"frames":[{"imageOffset":25686,"symbol":"__pselect","symbolLocation":10,"imageIndex":0},{"imageOffset":25459,"symbol":"pselect$DARWIN_EXTSN","symbolLocation":42,"imageIndex":0},{"imageOffset":2377783,"symbol":"-[EmacsApp
fd_handler:]","symbolLocation":263,"imageIndex":3},{"imageOffset":362884,"symbol":"__NSThread__start__","symbolLocation":1009,"imageIndex":7},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":14920327,"name":"com.apple.NSEventThread","frames":[{"imageOffset":6506,"symbol":"mach_msg_trap","symbolLocation":10,"imageIndex":0},{"imageOffset":7384,"symbol":"mach_msg","symbolLocation":56,"imageIndex":0},{"imageOffset":525133,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":319,"imageIndex":8},{"imageOffset":518616,"symbol":"__CFRunLoopRun","symbolLocation":1276,"imageIndex":8},{"imageOffset":515612,"symbol":"CFRunLoopRunSpecific","symbolLocation":562,"imageIndex":8},{"imageOffset":1755534,"symbol":"_NSEventThread","symbolLocation":132,"imageIndex":9},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":15031050,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703332347904,
    "size" : 229376,
    "uuid" : "5e9789af-5bca-3e41-a07a-c2dcc3180ea3",
    "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
    "name" : "libsystem_kernel.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703332577280,
    "size" : 49152,
    "uuid" : "e5d44afd-2577-3cee-8711-9d8d426229e0",
    "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
    "name" : "libsystem_pthread.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703331332096,
    "size" : 561152,
    "uuid" : "e42e9d7a-03b4-340b-b61e-dcd45fd4acc0",
    "path" : "\/usr\/lib\/system\/libsystem_c.dylib",
    "name" : "libsystem_c.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4344995840,
    "size" : 2932736,
    "uuid" : "17fdbe3f-044a-3c04-a6f9-3a3f39753065",
    "path" : "\/Users\/USER\/*\/emacs",
    "name" : "emacs"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703332675584,
    "size" : 40960,
    "uuid" : "a8a33774-6d44-35e9-ad2a-bad9e4d5192a",
    "path" : "\/usr\/lib\/system\/libsystem_platform.dylib",
    "name" : "libsystem_platform.dylib"
  },
  {
    "size" : 0,
    "source" : "A",
    "base" : 0,
    "uuid" : "00000000-0000-0000-0000-000000000000"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4538650624,
    "size" : 540672,
    "uuid" : "4e960752-6eaf-36c4-85b0-9840e87c866c",
    "path" : "\/Users\/USER\/*\/comp-7672a6ed-231f6e5c.eln",
    "name" : "comp-7672a6ed-231f6e5c.eln"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703348084736,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.Foundation",
    "size" : 3919872,
    "uuid" : "e62db949-fe2d-3637-a40a-c1411a467e05",
    "path" : "\/System\/Library\/Frameworks\/Foundation.framework\/Versions\/C\/Foundation",
    "name" : "Foundation",
    "CFBundleVersion" : "1866"
  },
  {
    "source" : "P",
    "arch" : "x86_64h",
    "base" : 140703332892672,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.CoreFoundation",
    "size" : 5255168,
    "uuid" : "9b3c3dc0-9b20-3e96-ad7b-322bb8f34a05",
    "path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation",
    "name" : "CoreFoundation",
    "CFBundleVersion" : "1866"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703377432576,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.AppKit",
    "size" : 15269888,
    "uuid" : "129c4dce-5711-37dd-839d-434ccbdb9cea",
    "path" : "\/System\/Library\/Frameworks\/AppKit.framework\/Versions\/C\/AppKit",
    "name" : "AppKit",
    "CFBundleVersion" : "2113.60.148"
  }
],
  "sharedCache" : {
  "base" : 140703329320960,
  "size" : 19331678208,
  "uuid" : "5d2f24fe-d513-3051-bd48-8308a5596a2f"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=1.0G
resident=0K(0%) swapped_out_or_unallocated=1.0G(100%)\nWritable
regions: Total=713.4M written=0K(0%) resident=0K(0%)
swapped_out=0K(0%) unallocated=713.4M(100%)\n\n
        VIRTUAL   REGION \nREGION TYPE                        SIZE
COUNT (non-coalesced) \n===========                     =======
======= \nAccelerate framework               384K        3 \nActivity
Tracing                   256K        1 \nCG backing stores
     2160K        4 \nCG image                           364K       10
\nColorSync                          212K       24 \nCoreAnimation
                 364K        7 \nCoreGraphics
4K        1 \nCoreUI image data                 1016K        7
\nFoundation                          16K        1 \nImage IO
                  80K        5 \nKernel Alloc Once
8K        1 \nMALLOC                           437.1M      187
\nMALLOC guard page                   32K        7 \nMALLOC_NANO
(reserved)           256.0M        1         reserved VM address space
(unallocated)\nObjC additional data                15K        1
\nSTACK GUARD                         12K        3 \nStack
                9752K        4 \nStack (reserved)
1596K        1         reserved VM address space (unallocated)\nStack
Guard                       54.4M        1 \nVM_ALLOCATE
         304K       11 \n__CTF                               756
 1 \n__DATA                            51.7M      988 \n__DATA_CONST
                   22.9M      542 \n__DATA_DIRTY
768K      118 \n__FONT_DATA                          4K        1
\n__LINKEDIT                       668.8M      529 \n__TEXT
               333.2M      893 \n__UNICODE
592K        1 \ndyld private memory               1024K        1
\nmapped file                      924.5M       73 \nshared memory
                 784K       18 \n===========
=======  ======= \nTOTAL                              2.7G     3445
\nTOTAL, minus reserved VM space     2.5G     3445 \n",
  "legacyInfo" : {
  "threadTriggered" : {
    "queue" : "com.apple.main-thread"
  }
},
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "6112dda2fc54bc3389840642",
      "factorPackIds" : {
        "SIRI_DICTATION_ASSETS" : "620aec83b02b354d3afd2f50"
      },
      "deploymentId" : 240000145
    },
    {
      "rolloutId" : "63582c5f8a53461413999550",
      "factorPackIds" : {

      },
      "deploymentId" : 240000002
    }
  ],
  "experiments" : [
    {
      "treatmentId" : "6dd670af-0633-45e4-ae5f-122ae4df02be",
      "experimentId" : "64406ba83deb637ac8a04419",
      "deploymentId" : 900000017
    }
  ]
}
}

Model: MacBookPro12,1, BootROM 481.0.0.0.0, 2 processors, Dual-Core
Intel Core i5, 2,7 GHz, 8 GB, SMC 2.28f7
Graphics: Intel Iris Graphics 6100, Intel Iris Graphics 6100, Built-In
Display: Color LCD, 2560 x 1600 Retina, Main, MirrorOff, Online
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1867 MHz, 0x80CE,
0x4B3445364533303445452D45474346000000
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1867 MHz, 0x80CE,
0x4B3445364533303445452D45474346000000
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x133), Broadcom
BCM43xx 1.0 (7.77.111.1 AirPortDriverBrcmNIC-1710.4)
AirPort:
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
Serial ATA Device: APPLE SSD SM0256G, 251 GB
USB Device: USB30Bus
USB Device: Bluetooth USB Host Controller
Thunderbolt Bus: MacBook Pro, Apple Inc., 27.1





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

* bug#66098: Crash in itree.c on macOS with incomplete backtrace
  2023-09-24 10:55             ` Stefan Kangas
@ 2023-09-24 12:10               ` Eli Zaretskii
  2023-09-24 12:25                 ` Stefan Kangas
  0 siblings, 1 reply; 22+ messages in thread
From: Eli Zaretskii @ 2023-09-24 12:10 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: 66098, rpluim, acorallo

> From: Stefan Kangas <stefankangas@gmail.com>
> Date: Sun, 24 Sep 2023 03:55:17 -0700
> Cc: rpluim@gmail.com, 66098@debbugs.gnu.org, Andrea Corallo <acorallo@gnu.org>
> 
> Find below the Apple crash log, which says something about trampoline
> and native_elisp_load.  Unfortunately, the below crash happened in an
> optimized build.

Looks like infinite recursion of some sorts?  The function at
0x7fb2d9463cb3 calls itself again and again.

Are you saying that the problem doesn't happen without
native-compilation?





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

* bug#66098: Crash in itree.c on macOS with incomplete backtrace
  2023-09-24 12:10               ` Eli Zaretskii
@ 2023-09-24 12:25                 ` Stefan Kangas
  2023-09-24 21:01                   ` Stefan Kangas
  0 siblings, 1 reply; 22+ messages in thread
From: Stefan Kangas @ 2023-09-24 12:25 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 66098, rpluim, acorallo

Eli Zaretskii <eliz@gnu.org> writes:

> Looks like infinite recursion of some sorts?  The function at
> 0x7fb2d9463cb3 calls itself again and again.

Yes, it looks like it.

> Are you saying that the problem doesn't happen without
> native-compilation?

I thought that for a second, but that can't be right since I did see a
crash also without it, in the original bug report:

Configured using:
 'configure --enable-checking=yes,glyphs --enable-check-lisp-object-type
 'CFLAGS=-O0 -g3''

Assuming that was the same crash, of course.

I'm still trying various configurations to find out more, but it's slow
going since I can't seem to find a way to reproduce it consistently.
I'm now running this build:

Configured using:
 'configure 'CFLAGS=-O0 -g3 -fsanitize=address'
 --with-native-compilation CPPFLAGS=-I/usr/local/opt/llvm/include
 LDFLAGS=-L/usr/local/opt/llvm/lib'

Since I did not see this a few weeks ago, perhaps it's time to bite the
bullet and bisect.





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

* bug#66098: Crash in itree.c on macOS with incomplete backtrace
  2023-09-24 12:25                 ` Stefan Kangas
@ 2023-09-24 21:01                   ` Stefan Kangas
  2023-09-25  3:38                     ` Gerd Möllmann
  0 siblings, 1 reply; 22+ messages in thread
From: Stefan Kangas @ 2023-09-24 21:01 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 66098, rpluim, acorallo

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

Stefan Kangas <stefankangas@gmail.com> writes:

> I'm still trying various configurations to find out more, but it's slow
> going since I can't seem to find a way to reproduce it consistently.
> I'm now running this build:
>
> Configured using:
>  'configure 'CFLAGS=-O0 -g3 -fsanitize=address'
>  --with-native-compilation CPPFLAGS=-I/usr/local/opt/llvm/include
>  LDFLAGS=-L/usr/local/opt/llvm/lib'

I was now able to reproduce the crash again.  This time I was typing
C-M-x (`eval-defun') in an elisp-mode buffer when it crashed, for a form
which AFAICT basically sets some variables and nothing more.  Here is
the form, for the sake of completion:

    (use-package magit
      :bind (("C-c g" . magit-dispatch))
      :custom
      (magit-diff-refine-hunk 'all)
      (magit-repository-directories '(("~/wip/emacs/" . 0)))
      :config
      (with-eval-after-load 'magit-extras
        (setq magit-pop-revision-stack-format
              (pcase-let ((`(,pt ,_eob ,index-regexp)
                           (default-value 'magit-pop-revision-stack-format)))
                `(,pt "[%N: %h]: %ci\n  %s\n
https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=%H"
                      ,index-regexp)))))

Unfortunately, ASan didn't catch anything useful.  The terminal output
is only this:

    Fatal error 11: Segmentation fault
    Abort trap: 6

The Apple crash log looks rather similar to the old one, but the line
numbers for some of the calls are a bit different.  I've attached it
here just in case anyone else is able to glean something useful from it.

[-- Attachment #2: Type: text/plain, Size: 357 bytes --]


> Since I did not see this a few weeks ago, perhaps it's time to bite the
> bullet and bisect.

I'll start bisecting, but since the crash is so infrequent and
unpredictable, I'm not sure what criteria I should use for marking a
commit "good".  Use Emacs normally for 72 hours, and if it doesn't
crash, then it's probably okay?  That might take me a while.

[-- Attachment #3: crash.txt.gz --]
[-- Type: application/octet-stream, Size: 8852 bytes --]

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

* bug#66098: Crash in itree.c on macOS with incomplete backtrace
  2023-09-24 21:01                   ` Stefan Kangas
@ 2023-09-25  3:38                     ` Gerd Möllmann
  0 siblings, 0 replies; 22+ messages in thread
From: Gerd Möllmann @ 2023-09-25  3:38 UTC (permalink / raw)
  To: 66098; +Cc: rpluim, acorallo

On 23-09-24 23:01 , Stefan Kangas wrote:
> The Apple crash log looks rather similar to the old one, but the line
> numbers for some of the calls are a bit different.  I've attached it
> here just in case anyone else is able to glean something useful from it.

I'd run Emacs under lldb/gdb, the crash reports are not very helpful.






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

* bug#66098: Crash in itree.c on macOS with incomplete backtrace
  2023-09-23 13:02       ` Stefan Kangas
@ 2023-09-25  8:36         ` Robert Pluim
  0 siblings, 0 replies; 22+ messages in thread
From: Robert Pluim @ 2023-09-25  8:36 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: 66098

>>>>> On Sat, 23 Sep 2023 06:02:05 -0700, Stefan Kangas <stefankangas@gmail.com> said:

    Stefan> Robert Pluim <rpluim@gmail.com> writes:
    >>>>>>> On Fri, 22 Sep 2023 03:58:13 -0700, Stefan Kangas <stefankangas@gmail.com> said:
    >> 
    >> >> Iʼd start by adding '-fsanitize=address' to your CFLAGS.
    >> 
    Stefan> I tried that, and the crash disappeared.  Nothing has come up so far,
    Stefan> not even the bug that you found.
    >> 
    >> Paul installed a fix on master.

    Stefan> I've been running the same commit as before, before that fix.  Sorry for
    Stefan> not being more clear.

    Stefan> I was thinking that maybe asan is disabled or something, but I can see
    Stefan> the asan threads in gdb, and I get asan messages when building.  So I'm
    Stefan> not sure how you could find the issue and I don't.

I could find it with clang on macOS (Arm), but not with gcc or clang
on Gnu/Linux (Intel), so maybe asan is just better on Arm :-)

Robert
-- 





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

end of thread, other threads:[~2023-09-25  8:36 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-19  8:47 bug#66098: Crash in itree.c on macOS with incomplete backtrace Stefan Kangas
2023-09-19  9:23 ` Robert Pluim
2023-09-19 10:09   ` Robert Pluim
2023-09-20  8:08     ` Paul Eggert
2023-09-20  8:22       ` Robert Pluim
2023-09-22 10:58   ` Stefan Kangas
2023-09-22 12:07     ` Robert Pluim
2023-09-23 13:02       ` Stefan Kangas
2023-09-25  8:36         ` Robert Pluim
2023-09-19 11:24 ` Eli Zaretskii
2023-09-22 10:51   ` Stefan Kangas
2023-09-22 12:36     ` Eli Zaretskii
2023-09-22 12:46       ` Robert Pluim
2023-09-23 11:56         ` Stefan Kangas
2023-09-23 12:42           ` Eli Zaretskii
2023-09-24 10:55             ` Stefan Kangas
2023-09-24 12:10               ` Eli Zaretskii
2023-09-24 12:25                 ` Stefan Kangas
2023-09-24 21:01                   ` Stefan Kangas
2023-09-25  3:38                     ` Gerd Möllmann
2023-09-19 11:42 ` Gerd Möllmann
2023-09-19 12:21   ` Gerd Möllmann

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