Subject: Re: bug#57267: 28.1; emacs crashes when loading too many images

From: [email-masked]
Date: Thu, 18 Aug 2022 14:49:10 -0400

------------------------------------------------------------------------------
$ brew install gdb

Codesigning gdb: https://sourceware.org/gdb/wiki/PermissionsDarwin

------------------------------------------------------------------------------
emacs/ $ ./configure --enable-checking='yes,glyphs' --enable-check-lisp-object-type \
    CFLAGS='-O0 -g3'
------------------------------------------------------------------------------

emacs/ $ make bootstrap && make install

------------------------------------------------------------------------------
# First run seems to hang...
(gdb) r
Starting program: /Users/james/Code/emacs/nextstep/Emacs.app/Contents/MacOS/Emacs
[New Thread 0x1d03 of process 27192]
[New Thread 0x2003 of process 27192]

------------------------------------------------------------------------------

# Second run

src/ $ gdb ../nextstep/Emacs.app/Contents/MacOS/Emacs
GNU gdb (GDB) 12.1
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin20.6.0".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ../nextstep/Emacs.app/Contents/MacOS/Emacs...
SIGINT is used by the debugger.
Are you sure you want to change it? (y or n) [answered Y; input not from terminal]
Environment variable "DISPLAY" not defined.
TERM = xterm-256color
Breakpoint 1 at 0x1001c1300: terminate_due_to_signal. (2 locations)
(gdb) r
Starting program: /Users/james/Code/emacs/nextstep/Emacs.app/Contents/MacOS/Emacs
[New Thread 0x1c03 of process 27457]
[New Thread 0x1f03 of process 27457]
[New Thread 0x2003 of process 27457]
warning: unhandled dyld version (17)
[New Thread 0x1c0f of process 27457]
[New Thread 0x2103 of process 27457]
[New Thread 0x2203 of process 27457]
[New Thread 0x2a03 of process 27457]
[New Thread 0x2b03 of process 27457]
[New Thread 0x2c03 of process 27457]
[New Thread 0x5303 of process 27457]
[New Thread 0x5403 of process 27457]
[New Thread 0x1f47 of process 27457]
[New Thread 0x2d03 of process 27457]
[New Thread 0x5103 of process 27457]
[New Thread 0x5447 of process 27457]
[New Thread 0x1c13 of process 27457]
[New Thread 0x1f8b of process 27457]
[New Thread 0x2207 of process 27457]
[New Thread 0x2e07 of process 27457]
[New Thread 0x5107 of process 27457]
[New Thread 0x523b of process 27457]
[New Thread 0x2d07 of process 27457]
[New Thread 0x2e47 of process 27457]
[New Thread 0x510b of process 27457]
[New Thread 0x53fb of process 27457]
[New Thread 0x22d3 of process 27457]
[New Thread 0x547b of process 27457]
[New Thread 0x4d03 of process 27457]
[New Thread 0x4e03 of process 27457]
[New Thread 0x50c3 of process 27457]
[New Thread 0x544b of process 27457]
[New Thread 0x5383 of process 27457]
[New Thread 0x4e07 of process 27457]
[New Thread 0x535b of process 27457]
[New Thread 0x5477 of process 27457]
[New Thread 0x520b of process 27457]
[New Thread 0x1c1f of process 27457]
[New Thread 0x2a07 of process 27457]
[New Thread 0x4dc3 of process 27457]
[New Thread 0x4e0b of process 27457]
[New Thread 0x535f of process 27457]
[New Thread 0x504f of process 27457]

Thread 42 received signal SIGBUS, Bus error.
[Switching to Thread 0x504f of process 27457]
0x000000046b064710 in ?? ()
(gdb) bt full
#0  0x000000046b064710 in ?? ()
No symbol table info available.
#1  0x00007fff31a448da in ?? ()
No symbol table info available.
#2  0x0000000000000000 in ?? ()
No symbol table info available.

Thread 42 received signal SIGBUS, Bus error.
<function called from gdb>
The program being debugged was signaled while in a function called from GDB.
GDB remains in the frame where the signal was received.
To change this behavior use "set unwindonsignal on".
Evaluation of the expression containing the function
(backtrace_top) will be abandoned.
When the function is done executing, GDB will silently stop.
(gdb)

(gdb) xbacktrace
[New Thread 0x4f2b of process 27457]
[New Thread 0x5363 of process 27457]
[New Thread 0x2e4b of process 27457]

Thread 42 received signal SIGBUS, Bus error.
<function called from gdb>
The program being debugged was signaled while in a function called from GDB.
GDB remains in the frame where the signal was received.
To change this behavior use "set unwindonsignal on".
Evaluation of the expression containing the function
(backtrace_top) will be abandoned.
When the function is done executing, GDB will silently stop.
(gdb)

------------------------------------------------------------------------------

In GNU Emacs 29.0.50 (build 1, x86_64-apple-darwin20.6.0, NS appkit-2022.70 Version 11.6.7 (Build 20G630))
 of 2022-08-18 built on jojobook.local
Repository revision: 3e042c80ce708b2d27da8ff62f19a5706f6d7fc6
Repository branch: master
Windowing system distributor 'Apple', version 10.3.2022
System Description:  macOS 11.6.7

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

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

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

Major mode: Lisp Interaction

Minor modes in effect:
  recentf-mode: t
  savehist-mode: t
  elisp-slime-nav-mode: t
  display-line-numbers-mode: t
  company-quickhelp-mode: t
  company-quickhelp-local-mode: t
  yas-global-mode: t
  yas-minor-mode: t
  global-company-mode: t
  company-mode: t
  global-hungry-delete-mode: t
  hungry-delete-mode: t
  smartparens-global-mode: t
  smartparens-mode: t
  vertico-mode: t
  marginalia-mode: t
  pixel-scroll-precision-mode: t
  general-override-mode: t
  override-global-mode: t
  straight-use-package-mode: t
  straight-package-neutering-mode: t
  straight-live-modifications-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  tab-bar-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
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  hs-minor-mode: t

Load-path shadows:
/Users/james/.emacs.d/packages/emacs_29/straight/build/ivy/elpa hides /Users/james/.emacs.d/packages/emacs_29/straight/build/lispy/elpa
/Users/james/.emacs.d/packages/emacs_29/straight/build/so-long/so-long hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/so-long
/Users/james/.emacs.d/packages/emacs_29/straight/build/jsonrpc/jsonrpc hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/jsonrpc
/Users/james/.emacs.d/packages/emacs_29/straight/build/transient/transient hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/transient
/Users/james/.emacs.d/packages/emacs_29/straight/build/xref/xref hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/progmodes/xref
/Users/james/.emacs.d/packages/emacs_29/straight/build/project/project hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/progmodes/project
/Users/james/.emacs.d/packages/emacs_29/straight/build/flymake/flymake hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/progmodes/flymake
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ob-exp hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-exp
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ob-emacs-lisp hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-emacs-lisp
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/oc hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/oc
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ob-css hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-css
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ob-lob hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-lob
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ol-irc hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ol-irc
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ob-forth hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-forth
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/org-macs hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/org-macs
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ob hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ob
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/org-version hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/org-version
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ob-scheme hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-scheme
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ox hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ox
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ob-C hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-C
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/org-capture hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/org-capture
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ob-ref hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-ref
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ob-clojure hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-clojure
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/org-mouse hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/org-mouse
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/org-ctags hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/org-ctags
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/org-entities hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/org-entities
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/org-archive hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/org-archive
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ob-screen hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-screen
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ol-bibtex hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ol-bibtex
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ob-haskell hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-haskell
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/org-loaddefs hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/org-loaddefs
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/org-table hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/org-table
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ol-eww hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ol-eww
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ol-man hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ol-man
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ox-org hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ox-org
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/org-num hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/org-num
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/org-plot hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/org-plot
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ol-rmail hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ol-rmail
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ob-awk hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-awk
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ob-groovy hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-groovy
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ob-octave hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-octave
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/org-faces hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/org-faces
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/oc-biblatex hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/oc-biblatex
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/org-colview hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/org-colview
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ob-R hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-R
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/org-refile hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/org-refile
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/org-timer hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/org-timer
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/org-mobile hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/org-mobile
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ob-fortran hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-fortran
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ob-shell hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-shell
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ob-perl hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-perl
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ob-sqlite hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-sqlite
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/oc-basic hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/oc-basic
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ob-sed hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-sed
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/org-list hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/org-list
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ob-ruby hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-ruby
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ob-eval hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-eval
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/org-habit hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/org-habit
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/org-clock hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/org-clock
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/org-goto hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/org-goto
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ox-html hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ox-html
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/org-src hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/org-src
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ob-lisp hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-lisp
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ol-eshell hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ol-eshell
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ob-ditaa hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-ditaa
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/org-pcomplete hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/org-pcomplete
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/org-lint hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/org-lint
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ox-latex hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ox-latex
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ob-sass hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-sass
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ob-tangle hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-tangle
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ob-calc hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-calc
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ob-java hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-java
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ox-icalendar hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ox-icalendar
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ol-mhe hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ol-mhe
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/org-attach-git hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/org-attach-git
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ox-md hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ox-md
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ox-beamer hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ox-beamer
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/org-element hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/org-element
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/oc-natbib hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/oc-natbib
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/org-protocol hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/org-protocol
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ob-gnuplot hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-gnuplot
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/org-tempo hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/org-tempo
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ob-latex hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-latex
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ol-w3m hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ol-w3m
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/org-id hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/org-id
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ox-man hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ox-man
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ol-doi hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ol-doi
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/org-feed hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/org-feed
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ob-julia hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-julia
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ob-lua hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-lua
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ob-table hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-table
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ob-ocaml hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-ocaml
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/oc-csl hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/oc-csl
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ol-gnus hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ol-gnus
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/org-indent hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/org-indent
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ob-lilypond hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-lilypond
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ob-matlab hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-matlab
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/org-datetree hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/org-datetree
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ol-docview hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ol-docview
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ob-python hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-python
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ob-makefile hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-makefile
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/org-duration hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/org-duration
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/org-agenda hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/org-agenda
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ob-dot hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-dot
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ob-js hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-js
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ox-publish hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ox-publish
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/org-inlinetask hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/org-inlinetask
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ob-org hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-org
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/org-keys hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/org-keys
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ob-core hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-core
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/org-compat hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/org-compat
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ol hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ol
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ox-odt hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ox-odt
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ol-info hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ol-info
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ob-plantuml hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-plantuml
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ob-eshell hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-eshell
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ox-ascii hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ox-ascii
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ox-koma-letter hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ox-koma-letter
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ob-maxima hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-maxima
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/org hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/org
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ol-bbdb hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ol-bbdb
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/org-macro hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/org-macro
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ob-sql hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-sql
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/org-attach hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/org-attach
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ob-processing hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-processing
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ox-texinfo hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ox-texinfo
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/org-crypt hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/org-crypt
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/org-footnote hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/org-footnote
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/org-install hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/org-install
/Users/james/.emacs.d/packages/emacs_29/straight/build/org/ob-comint hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/ob-comint
/Users/james/.emacs.d/packages/emacs_29/straight/build/let-alist/let-alist hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/emacs-lisp/let-alist
/Users/james/.emacs.d/packages/emacs_29/straight/build/map/map hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/emacs-lisp/map
/Users/james/.emacs.d/packages/emacs_29/straight/build/eldoc/eldoc hides /Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/emacs-lisp/eldoc

Features:
(shadow sort mail-extr recentf tree-widget wid-edit emacsbug message
yank-media puny ls-lisp matcha-dired dired dired-loaddefs rfc822 mml
mml-sec epa derived epg rfc6068 epg-config gnus-util
text-property-search mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util mail-prsvr mail-utils vertico-directory savehist company-tng
time-date exec-path-from-shell elisp-slime-nav display-line-numbers
company-quickhelp pos-tip jn-dropbox jn-lang php-mode-autoloads
web-mode-autoloads add-node-modules-path-autoloads tide-autoloads
flycheck-autoloads let-alist-autoloads typescript-mode-autoloads
prettier-js-autoloads rjsx-mode-autoloads xref-js2-autoloads
js2-mode-autoloads dtrt-indent-autoloads clang-format-autoloads
godoctor-autoloads company-go-autoloads go-guru-autoloads
go-mode-autoloads flymake-ktlint-autoloads kotlin-mode-autoloads
alchemist-autoloads pkg-info-autoloads epl-autoloads
elixir-mode-autoloads erlang-autoloads lua-mode-autoloads
cargo-autoloads rust-mode-autoloads csharp-mode-autoloads
haskell-mode-autoloads scala-mode-autoloads groovy-mode-autoloads
jn-lisp elisp-refs-autoloads macrostep-autoloads
elisp-slime-nav-autoloads cider-autoloads sesman-autoloads
queue-autoloads parseedn-autoloads map-autoloads parseclj-autoloads
clojure-mode-autoloads flymake-racket-autoloads geiser-autoloads
sly-autoloads jn-completion yasnippet yasnippet-autoloads
company-quickhelp-autoloads pos-tip-autoloads company-keywords
company-etags company-gtags company-files company-capf company-cmake
company-semantic company-template company-dabbrev-code company-dabbrev
company-yasnippet company-bbdb company company-autoloads jn-evil
evil-org-autoloads evil-numbers-autoloads evil-commentary-autoloads
evil-surround-autoloads evil-visualstar-autoloads evil-matchit-autoloads
evil-collection-autoloads annalist-autoloads warnings calc-macs rect
evil-digraphs evil-vars jn-editing comment-or-uncomment-sexp-autoloads
super-save-autoloads rainbow-mode-autoloads vlf-autoloads
so-long-autoloads expand-region-autoloads hideshow hungry-delete
hungry-delete-autoloads ws-butler-autoloads lispyville-autoloads
evil-autoloads goto-chg-autoloads lispy hydra lv pcase delsel
lispy-inline avy noutline outline icons etags fileloop generator xref
project edebug debug backtrace help-fns radix-tree lispy-tags mode-local
find-func lispy-autoloads zoutline-autoloads hydra-autoloads
lv-autoloads swiper-autoloads ivy-autoloads iedit-autoloads objc-bracket
smartparens-config smartparens-text smartparens-c smartparens thingatpt
dash smartparens-autoloads jn-project fzf-native-make-slab
fzf-native-make-default-slab fzf-native-module fzf-native
fzf-native-autoloads fuz-bin-dyn fuz-bin fuz-bin-autoloads flx-rs-core
flx-rs flx-rs-autoloads fussy flx fussy-autoloads flx-autoloads
dired-sidebar-autoloads dired-subtree-autoloads
dired-hacks-utils-autoloads projectile-autoloads
embark-consult-autoloads embark-autoloads consult-tramp-autoloads
consult-autoloads vertico vertico-autoloads orderless-autoloads
marginalia marginalia-autoloads jn-misc media-thumbnail-autoloads
org-contrib org-contrib-autoloads csv-mode-autoloads shackle-autoloads
sudo-edit-autoloads deadgrep-autoloads spinner-autoloads
protobuf-mode-autoloads cmake-mode-autoloads restclient-autoloads
vimrc-mode-autoloads powershell-autoloads json-mode-autoloads rx
json-snatcher-autoloads yaml-mode-autoloads markdown-mode-autoloads
pass-autoloads f-autoloads password-store-otp-autoloads
password-store-autoloads multi-term-autoloads jn-git vc-defer-autoloads
hg-histedit-autoloads vc-hgcmd-autoloads advice magit-autoloads
magit-section-autoloads git-commit-autoloads with-editor-autoloads
jn-platform reveal-in-osx-finder-autoloads pbcopy-autoloads async
exec-path-from-shell-autoloads jn-defaults pixel-scroll cua-base ring
jn-theme solarized-light-theme solarized solarized-faces color
spacemacs-theme-autoloads solarized-theme-autoloads
doom-themes-autoloads highlight-symbol-autoloads xterm-color-autoloads
rainbow-delimiters-autoloads jn-dependencies vscode-icon
vscode-icon-autoloads eglot-autoloads flymake-autoloads
project-autoloads xref-autoloads eldoc-autoloads jsonrpc-autoloads
flymake-diagnostic-at-point-autoloads help-at-pt cus-load
editorconfig-autoloads vterm-autoloads prjf prjf-autoloads matcha-elisp
matcha-macrostep matcha-me matcha matcha-base matcha-autoloads transient
format-spec edmacro kmacro compat transient-autoloads compat-autoloads
ace-window-autoloads avy-autoloads smart-jump-autoloads
dumb-jump-autoloads popup-autoloads dash-autoloads s-autoloads
async-autoloads diminish diminish-autoloads general general-autoloads
finder-inf jn-core early-init use-package use-package-ensure
use-package-delight use-package-diminish use-package-bind-key bind-key
easy-mmode use-package-core use-package-autoloads bind-key-autoloads
straight-autoloads info cl-extra help-mode straight 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 cconv url-vars cl-loaddefs cl-lib
rmc iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks
lisp-float-type elisp-mode mwheel term/ns-win ns-win ucs-normalize
mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode lisp-mode prog-mode register
page tab-bar menu-bar rfn-eshadow isearch easymenu timer select
scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors
frame minibuffer nadvice seq simple cl-generic indonesian philippine
cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese composite emoji-zwj charscript
charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure
cl-preloaded button loaddefs 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 293004 331596)
 (symbols 48 24305 501)
 (strings 32 70546 59933)
 (string-bytes 1 2911674)
 (vectors 16 38541)
 (vector-slots 8 907403 447843)
 (floats 8 461 1002)
 (intervals 56 3368 255)
 (buffers 992 11))

------------------------------------------------------------------------------

Crash/hang takes a lot longer to reproduce (need to scroll thousands of images) in gdb.

Not sure if I correctly added the debug symbols to the build, doesn't seem like it from the trace.

> On Aug 18, 2022, at 2:30 AM, Eli Zaretskii <[email-masked]> wrote:
> 
>> From: [email-masked]
>> Date: Wed, 17 Aug 2022 20:38:27 -0400
>> 
>> I wrote a small library to add thumbnails to dired here:
>> https://github.com/jojojames/media-thumbnail
>> 
>> When scrolling through images at a fast rate. (I hold down the key to go to the next line for example.),
>> emacs eventually crashes.
> 
> Please compile Emacs with debug information and without optimizations,
> then run it under a debugger, and when it crashes, please post the
> full backtrace from the debugger, including the Lisp backtrace
> (produced by GDB automatically if you source the .gdbinit file that
> comes with Emacs).
> 
> Also, you didn't post the information about your build that is
> normally collected by "M-x report-emacs-bug"; please post that, it's
> important for the analysis of the possible reasons.
> 
> Thanks.