Subject: 28.1; Unable to open large file

From: Juan José García Ripoll<[email-masked]>
Date: Mon, 11 Jul 2022 19:09:49 +0200

I am trying to load a file with
(find-file-literally "~/OneDrive/Mail/archive/Archives-2017.mbox")
either as lisp code or using key commands. Any alternative leads to a
lisp error with the following backtrace
Debugger entered--Lisp error: (wrong-type-argument arrayp nil)
  file-truename(nil)
  find-file-noselect-1(#<buffer Archives-2017.mbox<juanj/OneDrive/Mail/archive>> "~/OneDrive/Mail/archive/Archives-2017.mbox" nil t "~/OneDrive/Mail/archive/Archives-2017.mbox" (281474976939729 250058804))
  find-file-noselect("~/OneDrive/Mail/archive/Archives-2017.mbox" nil t)
  find-file-literally("~/OneDrive/Mail/archive/Archives-2017.mbox")
  eval-expression((find-file-literally "~/OneDrive/Mail/archive/Archives-2017.mbox") nil nil 127)
  funcall-interactively(eval-expression (find-file-literally "~/OneDrive/Mail/archive/Archives-2017.mbox") nil nil 127)
  command-execute(eval-expression)
All this was done from a bare emacs (using -Q)

In GNU Emacs 28.1 (build 2, x86_64-w64-mingw32)
 of 2022-04-21 built on AVALON
Windowing system distributor 'Microsoft Corp.', version 10.0.22000
System Description: Microsoft Windows 10 Pro for Workstations (v10.0.2009.22000.778)

Configured using:
 'configure --with-modules --without-dbus --with-native-compilation
 --without-compress-install CFLAGS=-O2'

Configured features:
ACL GIF GMP GNUTLS HARFBUZZ JPEG JSON LCMS2 LIBXML2 MODULES NATIVE_COMP
NOTIFY W32NOTIFY PDUMPER PNG RSVG SOUND THREADS TIFF TOOLKIT_SCROLL_BARS
XPM ZLIB

(NATIVE_COMP present but libgccjit not available)

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

Major mode: Summary

Minor modes in effect:
  shell-dirtrack-mode: t
  savehist-mode: t
  save-place-mode: t
  which-key-mode: t
  marginalia-mode: t
  vertico-mode: t
  gcmh-mode: t
  override-global-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  temp-buffer-resize-mode: t
  buffer-read-only: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t

Load-path shadows:
~/OneDrive/Library/Emacs/src/biblio.el/biblio hides c:/Users/juanj/OneDrive/Library/Emacs/elpa-28/biblio-0.2/biblio
~/OneDrive/Library/Emacs/src/biblio.el/biblio-pkg hides c:/Users/juanj/OneDrive/Library/Emacs/elpa-28/biblio-0.2/biblio-pkg
~/OneDrive/Library/Emacs/src/biblio.el/biblio-hal hides c:/Users/juanj/OneDrive/Library/Emacs/elpa-28/biblio-0.2/biblio-hal
~/OneDrive/Library/Emacs/src/biblio.el/biblio-download hides c:/Users/juanj/OneDrive/Library/Emacs/elpa-28/biblio-0.2/biblio-download
~/OneDrive/Library/Emacs/src/biblio.el/biblio-doi hides c:/Users/juanj/OneDrive/Library/Emacs/elpa-28/biblio-0.2/biblio-doi
~/OneDrive/Library/Emacs/src/biblio.el/biblio-dissemin hides c:/Users/juanj/OneDrive/Library/Emacs/elpa-28/biblio-0.2/biblio-dissemin
~/OneDrive/Library/Emacs/src/biblio.el/biblio-dblp hides c:/Users/juanj/OneDrive/Library/Emacs/elpa-28/biblio-0.2/biblio-dblp
~/OneDrive/Library/Emacs/src/biblio.el/biblio-crossref hides c:/Users/juanj/OneDrive/Library/Emacs/elpa-28/biblio-0.2/biblio-crossref
~/OneDrive/Library/Emacs/src/biblio.el/biblio-arxiv hides c:/Users/juanj/OneDrive/Library/Emacs/elpa-28/biblio-0.2/biblio-arxiv
~/OneDrive/Library/Emacs/src/biblio.el/biblio-core hides c:/Users/juanj/OneDrive/Library/Emacs/elpa-28/biblio-core-0.2/biblio-core
~/OneDrive/Library/Emacs/src/ebib/org-ebib hides c:/Users/juanj/OneDrive/Library/Emacs/elpa-28/ebib-2.34/org-ebib
~/OneDrive/Library/Emacs/src/ebib/ebib hides c:/Users/juanj/OneDrive/Library/Emacs/elpa-28/ebib-2.34/ebib
~/OneDrive/Library/Emacs/src/ebib/ebib-utils hides c:/Users/juanj/OneDrive/Library/Emacs/elpa-28/ebib-2.34/ebib-utils
~/OneDrive/Library/Emacs/src/ebib/ebib-reading-list hides c:/Users/juanj/OneDrive/Library/Emacs/elpa-28/ebib-2.34/ebib-reading-list
~/OneDrive/Library/Emacs/src/ebib/ebib-notes hides c:/Users/juanj/OneDrive/Library/Emacs/elpa-28/ebib-2.34/ebib-notes
~/OneDrive/Library/Emacs/src/ebib/ebib-keywords hides c:/Users/juanj/OneDrive/Library/Emacs/elpa-28/ebib-2.34/ebib-keywords
~/OneDrive/Library/Emacs/src/ebib/ebib-filters hides c:/Users/juanj/OneDrive/Library/Emacs/elpa-28/ebib-2.34/ebib-filters
~/OneDrive/Library/Emacs/src/ebib/ebib-db hides c:/Users/juanj/OneDrive/Library/Emacs/elpa-28/ebib-2.34/ebib-db
~/OneDrive/Library/Emacs/src/ebib/ebib-biblio hides c:/Users/juanj/OneDrive/Library/Emacs/elpa-28/ebib-2.34/ebib-biblio

Features:
(shadow emacsbug misearch multi-isearch pcmpl-unix shell pcomplete
comint ring help-fns radix-tree cl-print nnfolder jka-compr smtpmail
flyspell ispell vc-git diff-mode vc-dispatcher mailalias sendmail
bbdb-mua bbdb-com crm bbdb bbdb-site timezone face-remap flow-fill sort
smiley ansi-color gnus-cite mm-archive mail-extr gnus-bcklg gnus-async
qp gnus-ml gnus-topic gnus-demon utf-7 nndraft nnmh pp url-cache
gnus-oauth2 google-oauth oauth2 url-http url-auth url-gw plstore gnutls
network-stream nsm nnml nnnil gnus-agent gnus-srvr gnus-score score-mode
nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig
nntp gnus-cache gnus-sum shr kinsoku svg dom gnus-group gnus-undo
gnus-start gnus-dbus dbus xml gnus-cloud nnimap nnmail mail-source utf7
netrc nnoo parse-time iso8601 gnus-spec gnus-int gnus-range message rmc
puny dired dired-loaddefs rfc822 mml mml-sec mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader gnus-win
gnus nnheader gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums
text-property-search mail-utils mm-util mail-prsvr wid-edit mule-util
time-date savehist saveplace debug backtrace find-func which-key
marginalia vertico epa-file epa derived epg rfc6068 epg-config advice
doom-themes-org doom-spacegrey-theme doom-themes doom-themes-common
edmacro kmacro gcmh diminish cl-extra help-mode use-package
use-package-ensure use-package-delight use-package-diminish
use-package-bind-key bind-key easy-mmode use-package-core finder-inf
tex-site info package browse-url url url-proxy url-privacy url-expand
url-methods url-history url-cookie url-domsuf url-util mailcap
url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs
eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv
bytecomp byte-compile cconv cl-loaddefs cl-lib iso-transl tooltip eldoc
paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode
mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars
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 w32notify w32 lcms2 multi-tty
make-network-process native-compile emacs)

Memory information:
((conses 16 628432 254574)
 (symbols 48 27192 58)
 (strings 32 152697 41177)
 (string-bytes 1 4616721)
 (vectors 16 66699)
 (vector-slots 8 1855300 504688)
 (floats 8 443 2122)
 (intervals 56 4078 2388)
 (buffers 992 50))