Subject: Re: bug#60220: 29.0.60; macOS 13.1 crash shortly after starting Emacs

From: Aaron Jensen <[email-masked]>
Date: Thu, 29 Dec 2022 23:24:37 -0500

And here is an init.el that reproduces it. It may take several
restarts, but it reproduces it for me:

(defun load-all ()
  (mapc
   (lambda (package)
     (condition-case nil
         (require package nil t)
       (error nil)))
   '(
     electric
     w32-fns
     locate
     shell
     autoinsert
     novice
     dnd
     mouse-drag
     find-file
     registry
     skeleton
     epg
     plstore
     mouse-copy
     ecomplete
     xt-mouse
     tmm
     abbrev
     term
     cus-edit
     dired-x
     man
     kmacro
     sort
     subr
     tabify
     lpr
     descr-text
     tool-bar
     epa-mail
     nnspool
     nnbabyl
     mml2015
     gnus-draft
     nndiary
     gnus-score
     gnus-int
     nndir
     nngateway
     gnus-registry
     mml1991
     nnweb
     gssapi
     gnus-msg
     gnus-icalendar
     mail-source
     mm-decode
     nnrss
     mm-extern
     gnus-async
     nntp
     nnmbox
     nnvirtual
     gnus-gravatar
     gnus-sum
     nnfolder
     mml
     nnregistry
     mml-sec
     mm-partial
     nnoo
     message
     gnus-delay
     gnus-kill
     mm-archive
     canlock
     gnus-art
     nnheader
     gnus-agent
     gnus
     nnmairix
     gnus-topic
     gnus-rfc1843
     gnus-group
     spam
     gnus-cus
     gnus-bcklg
     mm-util
     gnus-uu
     mm-url
     gnus-search
     gnus-notifications
     spam-wash
     nnmail
     gnus-undo
     score-mode
     spam-stat
     gnus-vm
     nnmaildir
     gnus-cache
     gnus-html
     gnus-salt
     legacy-gnus-agent
     gnus-win
     nneething
     nnimap
     gnus-dbus
     gnus-start
     nnnil
     spam-report
     gnus-util
     gnus-logic
     nndoc
     mm-bodies
     gnus-mh
     nndraft
     mml-smime
     gnus-diary
     mm-view
     nnselect
     gnus-spec
     gnus-ml
     gnus-sieve
     gnus-range
     mm-uu
     smiley
     nnml
     gnus-cite
     gmm-utils
     gnus-picon
     mm-encode
     nnmh
     deuglify
     gnus-eform
     gnus-dup
     gnus-fun
     gnus-bookmark
     smime
     gnus-dired
     gnus-cloud
     gnus-rmail
     gnus-srvr
     nnagent
     gnus-mlspl
     gnus-demon
     battery
     foldout
     echistory
     pcmpl-rpm
     font-core
     sasl-scram-sha256
     sieve
     tramp-loaddefs
     tramp-adb
     tramp-container
     eudc-capf
     tramp-ftp
     browse-url
     eudcb-mab
     tramp
     ntlm
     dbus
     sieve-manage
     tramp-integration
     tramp-rclone
     snmp-mode
     eudc
     nsm
     sasl-cram
     tramp-sh
     sasl-ntlm
     tramp-uu
     eudc-vars
     tramp-fuse
     tramp-cmds
     telnet
     tramp-archive
     newst-backend
     dns
     sasl-digest
     eudcb-bbdb
     webjump
     hmac-md5
     ldap
     newst-treeview
     eudc-export
     eudcb-mailabbrev
     mairix
     newst-plainview
     tramp-cache
     dictionary
     newsticker
     ange-ftp
     trampver
     network-stream
     mailcap
     eudcb-ldap
     tramp-smb
     eww
     sieve-mode
     rcirc
     tramp-compat
     tramp-gvfs
     imap
     newst-reader
     shr
     soap-inspect
     tramp-sshfs
     dig
     sasl
     zeroconf
     secrets
     hmac-def
     shr-color
     puny
     soap-client
     tramp-sudoedit
     pop3
     goto-addr
     rfc2104
     tramp-crypt
     newst-ticker
     gnutls
     eudc-bob
     dictionary-connection
     eudcb-macos-contacts
     socks
     net-utils
     eudcb-ecomplete
     eudc-hotlist
     sasl-scram-rfc
     keymap
     info-look
     strokes
     cal-china
     cal-french
     diary-loaddefs
     cal-julian
     cal-hebrew
     parse-time
     diary-lib
     time-date
     holiday-loaddefs
     cal-html
     cal-bahai
     cal-loaddefs
     timeclock
     cal-iso
     cal-mayan
     holidays
     cal-tex
     icalendar
     cal-islam
     cal-menu
     iso8601
     cal-move
     lunar
     cal-dst
     cal-coptic
     cal-x
     appt
     calendar
     cal-persia
     todo-mode
     solar
     tooltip
     em-glob
     em-script
     esh-cmd
     esh-module
     em-prompt
     eshell
     em-alias
     em-xtra
     em-banner
     esh-mode
     esh-opt
     em-tramp
     em-smart
     esh-proc
     em-basic
     em-dirs
     em-hist
     em-cmpl
     em-pred
     em-unix
     esh-io
     esh-groups
     em-rebind
     esh-var
     em-extpipe
     esh-ext
     em-term
     em-elecslash
     esh-arg
     em-ls
     esh-util
     htmlfontify
     cdl
     x-dnd
     bind-key
     use-package-bind-key
     use-package-ensure
     use-package-core
     use-package-jump
     use-package-delight
     use-package-lint
     use-package
     use-package-diminish
     use-package-ensure-system-package
     ehelp
     autorevert
     sqlite
     sqlite-mode
     delsel
     ;; sup-mouse
     iswitchb
     vi
     vc-mtn
     pgg-gpg
     eieio-compat
     info-edit
     pgg
     vc-arch
     tpu-extras
     rcompile
     nnir
     linum
     mh-compat
     quickurl
     cl
     ws-mode
     bruce
     tpu-edt
     otodo-mode
     uce
     landmark
     starttls
     vt-control
     inversion
     pgg-parse
     html2text
     netrc
     cl-compat
     terminal
     tpu-mapper
     mantemp
     longlines
     rfc2368
     metamail
     gulp
     makesum
     meese
     pgg-pgp
     url-dired
     messcompat
     eudcb-ph
     vt100-led
     autoload
     url-ns
     vip
     ps-def
     autoarg
     tls
     rlogin
     pgg-def
     pgg-pgp5
     sb-image
     thumbs
     cc-compat
     url-about
     yow
     gs
     crisp
     rect
     ebuff-menu
     subdirs
     rot13
     ibuf-ext
     files-x
     xml
     help-mode
     format
     nxml-mode
     rng-loc
     nxml-rap
     rng-xsd
     xmltok
     nxml-parse
     rng-util
     rng-pttrn
     nxml-enc
     rng-nxml
     nxml-maint
     rng-valid
     rng-uri
     rng-dt
     nxml-ns
     rng-parse
     nxml-outln
     rng-match
     nxml-util
     rng-maint
     xsd-regexp
     rng-cmpct
     loaddefs
     loadhist
     reftex-dcr
     reftex-auc
     reftex-loaddefs
     reftex-cite
     paragraphs
     flyspell
     reftex-vars
     underline
     tildify
     reftex-sel
     two-column
     page
     reftex
     texinfmt
     yaml-ts-mode
     texinfo-loaddefs
     reftex-ref
     texinfo
     emacs-authors-mode
     picture
     fill
     conf-mode
     reftex-parse
     less-css-mode
     string-edit
     dns-mode
     bibtex
     ispell
     nroff-mode
     refill
     refbib
     table
     text-mode
     sgml-mode
     texnfo-upd
     reftex-index
     css-mode
     enriched
     emacs-news-mode
     word-wrap-mode
     glyphless-mode
     makeinfo
     remember
     bibtex-style
     toml-ts-mode
     rst
     refer
     pixel-fill
     artist
     reftex-global
     po
     mhtml-mode
     page-ext
     tex-mode
     reftex-toc
     bib-mode
     ansi-osc
     files
     misc
     case-table
     dynamic-setting
     thingatpt
     ox-publish
     org-indent
     ox-org
     org-src
     org-feed
     org-crypt
     ob-maxima
     ob-emacs-lisp
     org-attach-git
     ob-lisp
     org-keys
     ox-ascii
     org-cycle
     ox-md
     ob-lua
     ob-java
     ol-bibtex
     oc-basic
     org-footnote
     ob-screen
     ob-js
     ox-koma-letter
     org-habit
     org-faces
     ob-gnuplot
     ob-lob
     oc-biblatex
     ob-forth
     ob-org
     org-timer
     ob-makefile
     ob-core
     oc-natbib
     ox
     ob-matlab
     ob-sass
     ob-ruby
     ob-R
     org-goto
     org-colview
     org-capture
     org
     ol-irc
     org-loaddefs
     ol-bbdb
     ox-man
     org-macs
     ob-sqlite
     org-list
     ob-awk
     org-clock
     org-plot
     ol-man
     ob-eshell
     ob-perl
     ob-sed
     ol-w3m
     org-archive
     ob-julia
     ob-latex
     org-protocol
     ox-odt
     ol-rmail
     ob-table
     ol-info
     ox-beamer
     org-duration
     org-pcomplete
     ox-latex
     ol-eshell
     org-lint
     ob-clojure
     ob-lilypond
     org-fold
     ob-tangle
     ob-ref
     org-tempo
     ob-ocaml
     org-persist
     org-agenda
     ob-python
     ob-calc
     ob
     org-element
     org-compat
     ob-css
     oc
     org-id
     ob-haskell
     ob-fortran
     org-inlinetask
     org-mouse
     ol-gnus
     oc-bibtex
     ob-scheme
     ob-ditaa
     ob-exp
     org-fold-core
     ol-docview
     ob-plantuml
     ol
     ox-html
     org-table
     ob-octave
     oc-csl
     ob-processing
     org-mobile
     ox-icalendar
     ob-groovy
     ob-eval
     org-macro
     org-datetree
     ol-eww
     ob-sql
     ob-dot
     org-entities
     ob-C
     org-attach
     ob-shell
     ol-mhe
     org-num
     org-version
     org-refile
     ol-doi
     ox-texinfo
     org-ctags
     ob-comint
     rtree
     rfc2047
     reporter
     rmail-spam-filter
     qp
     mail-extr
     rfc2231
     yenc
     mail-prsvr
     mailalias
     rfc6068
     rmailmm
     ietf-drums
     rmail
     ietf-drums-date
     footnote
     rfc822
     rmailout
     ;; rmailkwd
     ;; supercite
     ;; blessmail
     ;; feedmail
     ;; mail-parse
     ;; mailheader
     ;; uudecode
     ;; undigest
     ;; unrmail
     ;; binhex
     mail-utils
     rfc2045
     hashcash
     rmailsort
     emacsbug
     flow-fill
     smtpmail
     mspools
     rmailsum
     rmailmsc
     mailabbrev
     mail-hist
     sendmail
     mailclient
     rmailedit
     startup
     ansi-color
     image-file
     dabbrev
     cua-base
     viper-ex
     viper-macs
     edt-pc
     cua-gmrk
     keypad
     viper-util
     edt
     edt-vt100
     viper-keym
     cua-rect
     edt-mapper
     edt-lk201
     viper-mous
     viper-init
     tab-line
     server
     speedbar
     find-dired
     cus-dep
     jka-cmpr-hook
     format-spec
     scroll-all
     lk201
     tmux
     fbterm
     common-win
     haiku-win
     st
     tty-colors
     x-win
     vt200
     internal
     xterm
     screen
     sun
     wyse50
     ns-win
     linux
     pgtk-win
     pc-win
     bobcat
     AT386
     tvi970
     rxvt
     news
     vt100
     iris-ansi
     cygwin
     konsole
     saveplace
     image-mode
     uniquify
     face-remap
     hilit-chg
     finder
     ibuf-macs))
  (restart-emacs))

(add-hook 'after-init-hook #'load-all)