============================================================================= In Emacs 28 and Emacs 29, desktop-load crashes when there are too many iconified frames in the .emacs.desktop file. The two attached .emacs.desktop files show the smallest test case that I could come up with: - .emacs.desktop.works with 3 non-iconified and 4 iconified frames loads without problem in Emacs 28 + desktop-load of this file crashes in Emacs 29.1 + a .emacs.desktop with 3 non-iconified and 3 iconified frames works in Emacs 29.1 - .emacs.desktop.crashes with 3 non-iconified and 5 iconified frames leads to a crash in Emacs 28 (see attached problem report generated by macOS) - I tried .emacs.desktop with up to 17 non-iconified frames in Emacs 28 without problems - Up to Emacs 27, I've never seen a problem with desktop-load crashing ============================================================================= In GNU Emacs 28.2 (build 1, aarch64-apple-darwin21.1.0, NS appkit-2113.00 Version 12.0.1 (Build 21A559)) of 2022-09-12 built on armbob.lan Windowing system distributor 'Apple', version 10.3.2299 System Description: macOS 13.5.2 Configured using: 'configure --with-ns '--enable-locallisppath=/Library/Application Support/Emacs/${version}/site-lisp:/Library/Application Support/Emacs/site-lisp' --with-modules' Configured features: ACL GMP GNUTLS JSON LIBXML2 MODULES NOTIFY KQUEUE NS PDUMPER THREADS TOOLKIT_SCROLL_BARS ZLIB Important settings: value of $EMACSLOADPATH: /Users/tanzer/.emacs.lib::/Applications/Emacs.app/Contents/Resources/site-lisp: value of $LC_CTYPE: UTF-8 value of $LC_MESSAGES: en_US.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Elisp Minor modes in effect: global-display-fill-column-indicator-mode: t display-fill-column-indicator-mode: t global-auto-revert-mode: t recentf-mode: t msb-mode: t shell-dirtrack-mode: t global-hl-line-mode: t desktop-save-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t auto-fill-function: do-auto-fill transient-mark-mode: t Load-path shadows: /System/Volumes/Data/Swing/work/project/ls-emacs/javascript hides /Users/tanzer/.emacs.lib/javascript /Users/tanzer/.emacs.lib/custom hides /Applications/Emacs-28.2.app/Contents/Resources/lisp/custom /System/Volumes/Data/Swing/work/project/ls-emacs/picture hides /Applications/Emacs-28.2.app/Contents/Resources/lisp/textmodes/picture Features: (shadow emacsbug message rmc puny dired dired-loaddefs rfc822 mml mml-sec epa epg rfc6068 epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils cl-extra help-mode flyspell ispell help-at-pt easy-mmode display-fill-column-indicator autorevert filenotify recentf tree-widget wid-edit javascript-mode jinja-mode sgml-mode facemenu dom swing-kartei-quot swing-kartei-person swing-kartei-firma swing-kartei-bib swing-kartei--summary swing-kartei--entry swing-command whitespace msb python tramp-sh tramp tramp-loaddefs trampver tramp-integration files-x tramp-compat parse-time iso8601 time-date ls-lisp format-spec lse-python tex-mode shell pcomplete cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs derived lse-cal lse-tpu-edit-units imenu lse-window lse-vcs lse-range lse-mode-alist lse-menu lse-mark-stack lse-learn-key lse-language lse-kill lse-keys lse-interactive lse-git server hl-line desktop frameset lse-session lse-frame lse-fill-in--search lse-fill-in--delimiters lse-fill-in-marks lse-fill-in-history lse-hash lse-fill-in-info lse-flat-fill-in lse-fill-in ffap thingatpt url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs cl-loaddefs cl-lib password-cache json subr-x map seq byte-opt gv bytecomp byte-compile cconv url-vars lse-file lse-face lse-editing lse-define lse-deep-fill-in lse-completion lse-tpu-keys compile text-property-search comint ansi-color ring lse-compilation lse-indent lse-comment lse-command lse-byte-compile lse-buffer-list lse-buffer lse-tpu time picture lse-pos-ring lse-list-util lse-basics ls-emacs lse-macosx 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 cl-generic 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 simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads kqueue cocoa ns multi-tty make-network-process emacs) Memory information: ((conses 16 175982 22705) (symbols 48 18405 19) (strings 32 57896 1128) (string-bytes 1 1911663) (vectors 16 31974) (vector-slots 8 405187 13402) (floats 8 113 104) (intervals 56 2435 67) (buffers 992 14))