Subject: bug#70914: 29.3; Crashes often on Windows

From: Simen Endsjø <[email-masked]>
Date: Wed, 22 May 2024 18:54:06 +0200

> You can now remove the added condition and the call to emacs_abort
> from the code.  Please run for a while and see if there are any other
> crashes like that one, which yield a zero code address.

Yes, I'll use this version for a while and see if things get better.

> Thanks.  Too much is involved here, but my money is on consult: I see
> in its code several places where it matches file names in a way that
> can only work on Posix systems (i.e., assuming absolute file names
> begin with a slash, not with a drive letter).  Since
> consult-recent-file is in the Lisp backtrace, it's a definite
> possibility.

I can reproduce it calling just find-file too:

    #0  0x00007fffed1bd313 in KERNELBASE!DebugBreak () from
C:\WINDOWS\System32\KernelBase.dll
    #1  0x00007ff6675c8f46 in emacs_abort () at w32fns.c:11136
    #2  0x00007ff6675fa08e in parse_root (name=0x1cc0f570 "//",
pPath=0xbf75a0) at w32.c:2561
    #3  0x00007ff6675fbdf7 in get_volume_info (name=0x1cc0f570 "//",
pPath=0xbf75a0) at w32.c:3483
    #4  0x00007ff6675fbf06 in is_fat_volume (name=0x1cc0f570 "//",
pPath=0xbf75a0) at w32.c:3513
    #5  0x00007ff6675fbf9c in map_w32_filename (name=0x1cc0f570 "//",
pPath=0x0) at w32.c:3538
    #6  0x00007ff6675fd149 in faccessat (dirfd=-3041965,
path=0x1cc0f570 "//", mode=8, flags=4) at w32.c:4134
    #7  0x00007ff667445ec1 in file_access_p (file=0x1cc0f570 "//",
amode=0) at fileio.c:162
    #8  0x00007ff66744bc91 in check_file_access (file=XIL(0xa33bb64),
operation=XIL(0x6ab0), amode=0) at fileio.c:2893
    #9  0x00007ff66744bcde in Ffile_exists_p (filename=XIL(0xa33bba4))
at fileio.c:2905
    #10 0x00007ff6674d8335 in eval_sub (form=XIL(0x8f42673)) at eval.c:2502
    #11 0x00007ff6674d0ef3 in For (args=XIL(0)) at eval.c:349
    #12 0x00007ff6674d7f63 in eval_sub (form=XIL(0x8f42573)) at eval.c:2453
    #13 0x00007ff6674d1087 in Fif (args=XIL(0x8f426a3)) at eval.c:388
    #14 0x00007ff6674d7f63 in eval_sub (form=XIL(0x8f42563)) at eval.c:2453
    #15 0x00007ff6674d13cd in Fprogn (body=XIL(0)) at eval.c:436
    #16 0x00007ff6674dabfe in funcall_lambda (fun=XIL(0xa827f33),
nargs=1, arg_vector=0x0) at eval.c:3237
    #17 0x00007ff6674d9a11 in funcall_general (fun=XIL(0xa827f43),
numargs=1, args=0x4985aa8) at eval.c:2961
    #18 0x00007ff66753faf1 in exec_byte_code (fun=XIL(0xa0263b5),
args_template=514, nargs=2, args=0x4985ab0) at bytecode.c:811
    #19 0x00007ff6674da24a in fetch_and_exec_byte_code
(fun=XIL(0x96205a5), args_template=0, nargs=0, args=0x0) at
eval.c:3085
    #20 0x00007ff6674dac89 in funcall_lambda (fun=XIL(0x96205a5),
nargs=0, arg_vector=0x0) at eval.c:3246
    #21 0x00007ff6674d98ef in funcall_general (fun=XIL(0x96205a5),
numargs=0, args=0xbf8a48) at eval.c:2949
    #22 0x00007ff6674d9c22 in Ffuncall (nargs=1, args=0xbf8a40) at eval.c:2999
    #23 0x00007ff6674d8e1d in funcall_nil (nargs=1, args=0xbf8a40) at
eval.c:2681
    #24 0x00007ff6674d939c in run_hook_with_args (nargs=1,
args=0xbf8a40, funcall=0x7ff6674d8dfd <funcall_nil>) at eval.c:2858
    #25 0x00007ff6674d8eab in Frun_hook_with_args (nargs=1,
args=0xbf8a40) at eval.c:2723
    #26 0x00007ff6674d943b in run_hook (hook=XIL(0xffff80099f8c6d90))
at eval.c:2871
    #27 0x00007ff6674d8e65 in Frun_hooks (nargs=4, args=0xbf8c18) at eval.c:2705
    #28 0x00007ff6674da0c6 in funcall_subr (subr=0x7ff667bd2e80
<Srun_hooks>, numargs=4, args=0xbf8c18) at eval.c:3063
    #29 0x00007ff6674d98a3 in funcall_general
(fun=XIL(0x7ff667bd2e85), numargs=4, args=0xbf8c18) at eval.c:2945
    #30 0x00007ff6674d9c22 in Ffuncall (nargs=5, args=0xbf8c10) at eval.c:2999
    #31 0x00007ff6674d8de2 in Fapply (nargs=2, args=0x4985758) at eval.c:2670
    #32 0x00007ff6674da0c6 in funcall_subr (subr=0x7ff667bd2e40
<Sapply>, numargs=2, args=0x4985758) at eval.c:3063
    #33 0x00007ff66753fac8 in exec_byte_code (fun=XIL(0x3d47cf5),
args_template=128, nargs=1, args=0x49856f8) at bytecode.c:809
    #34 0x00007ff6674da24a in fetch_and_exec_byte_code
(fun=XIL(0x3da5f45), args_template=256, nargs=0, args=0x4985580) at
eval.c:3085
    #35 0x00007ff6674da6de in funcall_lambda (fun=XIL(0x3da5f45),
nargs=0, arg_vector=0x4985580) at eval.c:3157
    #36 0x00007ff6674d98ef in funcall_general (fun=XIL(0x3da5f45),
numargs=0, args=0x4985580) at eval.c:2949
    #37 0x00007ff6674d9c22 in Ffuncall (nargs=1, args=0x4985578) at eval.c:2999
    --Type <RET> for more, q to quit, c to continue without paging--c
    #38 0x00007ff6674d89b2 in Fapply (nargs=2, args=0x4985578) at eval.c:2623
    #39 0x00007ff6674da0c6 in funcall_subr (subr=0x7ff667bd2e40
<Sapply>, numargs=2, args=0x4985578) at eval.c:3063
    #40 0x00007ff66753fac8 in exec_byte_code (fun=XIL(0x60cebd5),
args_template=128, nargs=0, args=0xbf9c48) at bytecode.c:809
    #41 0x00007ff6674da24a in fetch_and_exec_byte_code
(fun=XIL(0x60cebd5), args_template=128, nargs=0, args=0xbf9c48) at
eval.c:3085
    #42 0x00007ff6674da6de in funcall_lambda (fun=XIL(0x60cebd5),
nargs=0, arg_vector=0xbf9c48) at eval.c:3157
    #43 0x00007ff6674d98ef in funcall_general (fun=XIL(0x60cebd5),
numargs=0, args=0xbf9c48) at eval.c:2949
    #44 0x00007ff6674d9c22 in Ffuncall (nargs=1, args=0xbf9c40) at eval.c:2999
    #45 0x00007ff6674d89b2 in Fapply (nargs=2, args=0xbf9c40) at eval.c:2623
    #46 0x00007ff6674d81b1 in eval_sub (form=XIL(0x7e4ab83)) at eval.c:2474
    #47 0x00007ff6674d13cd in Fprogn (body=XIL(0)) at eval.c:436
    #48 0x00007ff6674d7f63 in eval_sub (form=XIL(0x53127c3)) at eval.c:2453
    #49 0x00007ff6674d44ce in Funwind_protect (args=XIL(0x5312713)) at
eval.c:1301
    #50 0x00007ff6674d7f63 in eval_sub (form=XIL(0x5312703)) at eval.c:2453
    #51 0x00007ff6674d13cd in Fprogn (body=XIL(0)) at eval.c:436
    #52 0x00007ff6674d3ab5 in Flet (args=XIL(0x53126e3)) at eval.c:1026
    #53 0x00007ff6674d7f63 in eval_sub (form=XIL(0x53126d3)) at eval.c:2453
    #54 0x00007ff6674d882c in eval_sub (form=XIL(0x7e4ab73)) at eval.c:2588
    #55 0x00007ff6674d10f8 in Fif (args=XIL(0x7e4ab63)) at eval.c:391
    #56 0x00007ff6674d7f63 in eval_sub (form=XIL(0x7e4ab53)) at eval.c:2453
    #57 0x00007ff6674d13cd in Fprogn (body=XIL(0)) at eval.c:436
    #58 0x00007ff6674dabfe in funcall_lambda (fun=XIL(0x7e530f3),
nargs=1, arg_vector=0x0) at eval.c:3237
    #59 0x00007ff6674d9a11 in funcall_general (fun=XIL(0x7e53103),
numargs=1, args=0x4985538) at eval.c:2961
    #60 0x00007ff6674d9c22 in Ffuncall (nargs=2, args=0x4985530) at eval.c:2999
    #61 0x00007ff6674d89b2 in Fapply (nargs=3, args=0x4985530) at eval.c:2623
    #62 0x00007ff6674da0c6 in funcall_subr (subr=0x7ff667bd2e40
<Sapply>, numargs=3, args=0x4985530) at eval.c:3063
    #63 0x00007ff66753fac8 in exec_byte_code (fun=XIL(0x7e43005),
args_template=128, nargs=0, args=0x49854f8) at bytecode.c:809
    #64 0x00007ff6674da24a in fetch_and_exec_byte_code
(fun=XIL(0x7e43005), args_template=128, nargs=0, args=0x49854f8) at
eval.c:3085
    #65 0x00007ff6674da6de in funcall_lambda (fun=XIL(0x7e43005),
nargs=0, arg_vector=0x49854f8) at eval.c:3157
    #66 0x00007ff6674d98ef in funcall_general (fun=XIL(0x7e43005),
numargs=0, args=0x49854f8) at eval.c:2949
    #67 0x00007ff6674d9c22 in Ffuncall (nargs=1, args=0x49854f0) at eval.c:2999
    #68 0x00007ff6674d89b2 in Fapply (nargs=2, args=0x49854f0) at eval.c:2623
    #69 0x00007ff6674da0c6 in funcall_subr (subr=0x7ff667bd2e40
<Sapply>, numargs=2, args=0x49854f0) at eval.c:3063
    #70 0x00007ff66753fac8 in exec_byte_code (fun=XIL(0x3d9c45d),
args_template=513, nargs=1, args=0x49855f0) at bytecode.c:809
    #71 0x00007ff6674da24a in fetch_and_exec_byte_code
(fun=XIL(0x1dea90f5), args_template=385, nargs=1, args=0x49854a8) at
eval.c:3085
    #72 0x00007ff6674da6de in funcall_lambda (fun=XIL(0x1dea90f5),
nargs=1, arg_vector=0x49854a8) at eval.c:3157
    #73 0x00007ff6674d98ef in funcall_general (fun=XIL(0x1dea90f5),
numargs=1, args=0x49854a8) at eval.c:2949
    #74 0x00007ff6674d9c22 in Ffuncall (nargs=2, args=0x49854a0) at eval.c:2999
    #75 0x00007ff6674d89b2 in Fapply (nargs=3, args=0x49854a0) at eval.c:2623
    #76 0x00007ff6674da0c6 in funcall_subr (subr=0x7ff667bd2e40
<Sapply>, numargs=3, args=0x49854a0) at eval.c:3063
    #77 0x00007ff66753fac8 in exec_byte_code (fun=XIL(0x1debd4b5),
args_template=128, nargs=0, args=0x4985458) at bytecode.c:809
    #78 0x00007ff6674da24a in fetch_and_exec_byte_code
(fun=XIL(0x3d92065), args_template=1280, nargs=2, args=0xbfbee8) at
eval.c:3085
    #79 0x00007ff6674da6de in funcall_lambda (fun=XIL(0x3d92065),
nargs=2, arg_vector=0xbfbee8) at eval.c:3157
    #80 0x00007ff6674d98ef in funcall_general (fun=XIL(0x3d92065),
numargs=2, args=0xbfbee8) at eval.c:2949
    #81 0x00007ff6674d9c22 in Ffuncall (nargs=3, args=0xbfbee0) at eval.c:2999
    #82 0x00007ff6674d8de2 in Fapply (nargs=2, args=0xbfbfc0) at eval.c:2670
    #83 0x00007ff6674d81b1 in eval_sub (form=XIL(0x7bb1973)) at eval.c:2474
    #84 0x00007ff6674d13cd in Fprogn (body=XIL(0)) at eval.c:436
    #85 0x00007ff6674d7f63 in eval_sub (form=XIL(0x7bb1133)) at eval.c:2453
    #86 0x00007ff6674d44ce in Funwind_protect (args=XIL(0x7bb1193)) at
eval.c:1301
    #87 0x00007ff6674d7f63 in eval_sub (form=XIL(0x7bb11a3)) at eval.c:2453
    #88 0x00007ff6674d13cd in Fprogn (body=XIL(0)) at eval.c:436
    #89 0x00007ff6674d3568 in FletX (args=XIL(0x7bb11c3)) at eval.c:958
    #90 0x00007ff6674d7f63 in eval_sub (form=XIL(0x7bb11d3)) at eval.c:2453
    #91 0x00007ff6674d13cd in Fprogn (body=XIL(0)) at eval.c:436
    #92 0x00007ff6674dabfe in funcall_lambda (fun=XIL(0x7bb0c53),
nargs=3, arg_vector=0x0) at eval.c:3237
    #93 0x00007ff6674d9a11 in funcall_general (fun=XIL(0x7bb0c63),
numargs=3, args=0xbfc828) at eval.c:2961
    #94 0x00007ff6674d9c22 in Ffuncall (nargs=4, args=0xbfc820) at eval.c:2999
    #95 0x00007ff6674d8de2 in Fapply (nargs=3, args=0x49853a0) at eval.c:2670
    #96 0x00007ff6674da0c6 in funcall_subr (subr=0x7ff667bd2e40
<Sapply>, numargs=3, args=0x49853a0) at eval.c:3063
    #97 0x00007ff66753fac8 in exec_byte_code (fun=XIL(0x7baaab5),
args_template=128, nargs=2, args=0xbfcfe8) at bytecode.c:809
    #98 0x00007ff6674da24a in fetch_and_exec_byte_code
(fun=XIL(0x7baaab5), args_template=128, nargs=2, args=0xbfcfe8) at
eval.c:3085
    #99 0x00007ff6674da6de in funcall_lambda (fun=XIL(0x7baaab5),
nargs=2, arg_vector=0xbfcfe8) at eval.c:3157
    #100 0x00007ff6674d98ef in funcall_general (fun=XIL(0x7baaab5),
numargs=2, args=0xbfcfe8) at eval.c:2949
    #101 0x00007ff6674d9c22 in Ffuncall (nargs=3, args=0xbfcfe0) at eval.c:2999
    #102 0x00007ff6674d8de2 in Fapply (nargs=2, args=0x4985360) at eval.c:2670
    #103 0x00007ff6674da0c6 in funcall_subr (subr=0x7ff667bd2e40
<Sapply>, numargs=2, args=0x4985360) at eval.c:3063
    #104 0x00007ff66753fac8 in exec_byte_code (fun=XIL(0x7baab15),
args_template=128, nargs=2, args=0xbfd7a8) at bytecode.c:809
    #105 0x00007ff6674da24a in fetch_and_exec_byte_code
(fun=XIL(0x7baab15), args_template=128, nargs=2, args=0xbfd7a8) at
eval.c:3085
    #106 0x00007ff6674da6de in funcall_lambda (fun=XIL(0x7baab15),
nargs=2, arg_vector=0xbfd7a8) at eval.c:3157
    #107 0x00007ff6674d98ef in funcall_general (fun=XIL(0x7baab15),
numargs=2, args=0xbfd7a8) at eval.c:2949
    #108 0x00007ff6674d9c22 in Ffuncall (nargs=3, args=0xbfd7a0) at eval.c:2999
    #109 0x00007ff6674d8de2 in Fapply (nargs=2, args=0x4985320) at eval.c:2670
    #110 0x00007ff6674da0c6 in funcall_subr (subr=0x7ff667bd2e40
<Sapply>, numargs=2, args=0x4985320) at eval.c:3063
    #111 0x00007ff66753fac8 in exec_byte_code (fun=XIL(0x7baab75),
args_template=128, nargs=2, args=0x49852d8) at bytecode.c:809
    #112 0x00007ff6674da24a in fetch_and_exec_byte_code
(fun=XIL(0x3d5a0e5), args_template=513, nargs=1, args=0xbfdeb0) at
eval.c:3085
    #113 0x00007ff6674da6de in funcall_lambda (fun=XIL(0x3d5a0e5),
nargs=1, arg_vector=0xbfdeb0) at eval.c:3157
    #114 0x00007ff6674da3cb in apply_lambda (fun=XIL(0x3d5a0e5),
args=XIL(0x1d9a3633), count=...) at eval.c:3107
    #115 0x00007ff6674d8529 in eval_sub (form=XIL(0x1d9a3623)) at eval.c:2549
    #116 0x00007ff6674d78f3 in Feval (form=XIL(0x1d9a3623),
lexical=XIL(0x30)) at eval.c:2365
    #117 0x00007ff6674d9e7b in funcall_subr (subr=0x7ff667bd2e00
<Seval>, numargs=2, args=0x4985168) at eval.c:3040
    #118 0x00007ff66753fac8 in exec_byte_code (fun=XIL(0x3dd19ed),
args_template=514, nargs=2, args=0x49853d0) at bytecode.c:809
    #119 0x00007ff6674da24a in fetch_and_exec_byte_code
(fun=XIL(0x41749ed), args_template=1025, nargs=4, args=0xbfe9a0) at
eval.c:3085
    #120 0x00007ff6674da6de in funcall_lambda (fun=XIL(0x41749ed),
nargs=4, arg_vector=0xbfe9a0) at eval.c:3157
    #121 0x00007ff6674d98ef in funcall_general (fun=XIL(0x41749ed),
numargs=4, args=0xbfe9a0) at eval.c:2949
    #122 0x00007ff6674d9c22 in Ffuncall (nargs=5, args=0xbfe998) at eval.c:2999
    #123 0x00007ff6674cba35 in Ffuncall_interactively (nargs=5,
args=0xbfe998) at callint.c:250
    #124 0x00007ff6674da0c6 in funcall_subr (subr=0x7ff667bd2580
<Sfuncall_interactively>, numargs=5, args=0xbfe998) at eval.c:3063
    #125 0x00007ff6674d98a3 in funcall_general
(fun=XIL(0x7ff667bd2585), numargs=5, args=0xbfe998) at eval.c:2945
    #126 0x00007ff6674d9c22 in Ffuncall (nargs=6, args=0xbfe990) at eval.c:2999
    #127 0x00007ff6674d8de2 in Fapply (nargs=3, args=0xbfead0) at eval.c:2670
    #128 0x00007ff6674cbf05 in Fcall_interactively
(function=XIL(0xffff80099c45ddf8), record_flag=XIL(0),
keys=XIL(0x4492345)) at callint.c:342
    #129 0x00007ff6674d9eae in funcall_subr (subr=0x7ff667bd25c0
<Scall_interactively>, numargs=3, args=0x49850a0) at eval.c:3042
    #130 0x00007ff66753fac8 in exec_byte_code (fun=XIL(0x3e0c4d5),
args_template=1025, nargs=1, args=0xbff410) at bytecode.c:809
    #131 0x00007ff6674da24a in fetch_and_exec_byte_code
(fun=XIL(0x3e0c4d5), args_template=1025, nargs=1, args=0xbff408) at
eval.c:3085
    #132 0x00007ff6674da6de in funcall_lambda (fun=XIL(0x3e0c4d5),
nargs=1, arg_vector=0xbff408) at eval.c:3157
    #133 0x00007ff6674d98ef in funcall_general (fun=XIL(0x3e0c4d5),
numargs=1, args=0xbff408) at eval.c:2949
    #134 0x00007ff6674d9c22 in Ffuncall (nargs=2, args=0xbff400) at eval.c:2999
    #135 0x00007ff6673e1956 in call1 (fn=XIL(0x4590),
arg1=XIL(0xffff80099c45ddf8)) at lisp.h:3248
    #136 0x00007ff6673e5605 in command_loop_1 () at keyboard.c:1503
    #137 0x00007ff6674d4fc2 in internal_condition_case
(bfun=0x7ff6673e4c50 <command_loop_1>, handlers=XIL(0x90),
hfun=0x7ff6673e3e80 <cmd_error>)
        at eval.c:1474
    #138 0x00007ff6673e479e in command_loop_2 (handlers=XIL(0x90)) at
keyboard.c:1133
    #139 0x00007ff6674d40ff in internal_catch (tag=XIL(0x103b0),
func=0x7ff6673e4772 <command_loop_2>, arg=XIL(0x90)) at eval.c:1197
    #140 0x00007ff6673e46db in command_loop () at keyboard.c:1111
    #141 0x0000000000000000 in ?? ()

    Lisp Backtrace:
    "file-exists-p" (0xbf7db0)
    "or" (0xbf7fc0)
    "if" (0xbf8170)
    0xa827f40 Lisp type 3
    "org-activate-links--overlays" (0x4985a20)
    "org-activate-links" (0x4985998)
    "font-lock-fontify-keywords-region" (0x49858f8)
    "font-lock-default-fontify-region" (0x4985888)
    "font-lock-fontify-region" (0x4985830)
    "font-lock-default-fontify-buffer" (0x49857e8)
    "font-lock-fontify-buffer" (0x4985798)
    "org-fancy-priorities-mode" (0xbf8a48)
    "run-hooks" (0xbf8c18)
    "apply" (0x4985758)
    "run-mode-hooks" (0x49856f8)
    "org-mode" (0x49856b8)
    "set-auto-mode-0" (0x4985668)
    "set-auto-mode--apply-alist" (0x49855e8)
    0x3da5f40 PVEC_COMPILED
    "apply" (0x4985578)
    0x60cebd0 PVEC_COMPILED
    "apply" (0xbf9c40)
    "progn" (0xbf9ea0)
    "unwind-protect" (0xbfa040)
    "let" (0xbfa2d0)
    "evil-save-state" (0xbfa430)
    "if" (0xbfa5e0)
    "+evil--persist-state-a" (0x4985538)
    "apply" (0x4985530)
    0x7e43000 PVEC_COMPILED
    "apply" (0x49854f0)
    "so-long--set-auto-mode" (0x49854a8)
    "apply" (0x49854a0)
    "set-auto-mode" (0x4985458)
    "normal-mode" (0x4985408)
    0x3d92060 PVEC_COMPILED
    "apply" (0xbfbfc0)
    "progn" (0xbfc220)
    "unwind-protect" (0xbfc3c0)
    "let*" (0xbfc600)
    "doom--shut-up-autosave-a" (0xbfc828)
    "apply" (0x49853a0)
    0x7baaab0 PVEC_COMPILED
    "apply" (0x4985360)
    0x7baab10 PVEC_COMPILED
    "apply" (0x4985320)
    "after-find-file" (0x49852d8)
    "find-file-noselect-1" (0x4985240)
    "find-file-noselect" (0x49851b0)
    "find-file" (0xbfdeb0)
    "eval" (0x4985168)
    "eval-expression" (0xbfe9a0)
    "funcall-interactively" (0xbfe998)
    "call-interactively" (0x49850a0)
    "command-execute" (0xbff408)

On Wed, May 22, 2024 at 4:03 PM Eli Zaretskii <[email-masked]> wrote:
>
> > From: Simen Endsjø <[email-masked]>
> > Date: Wed, 22 May 2024 15:14:33 +0200
> > Cc: Hannes Domani <[email-masked]>, [email-masked], [email-masked]
> >
> > Lisp Backtrace:
> > "file-exists-p" (0xbf7ec0)
> > "or" (0xbf80d0)
> > "if" (0xbf8280)
> > 0xd337f40 Lisp type 3
> > "org-activate-links--overlays" (0x4a15a80)
> > "org-activate-links" (0x4a159f8)
> > "font-lock-fontify-keywords-region" (0x4a15958)
> > "font-lock-default-fontify-region" (0x4a158e8)
> > "font-lock-fontify-region" (0x4a15890)
> > "font-lock-default-fontify-buffer" (0x4a15848)
> > "font-lock-fontify-buffer" (0x4a157f8)
> > "org-fancy-priorities-mode" (0xbf8b58)
> > "run-hooks" (0xbf8d28)
> > "apply" (0x4a157b8)
> > "run-mode-hooks" (0x4a15758)
> > "org-mode" (0x4a15718)
> > "set-auto-mode-0" (0x4a156c8)
> > "set-auto-mode--apply-alist" (0x4a15648)
> > 0x3f35f40 PVEC_COMPILED
> > "apply" (0x4a155d8)
> > 0x615ebd0 PVEC_COMPILED
> > "apply" (0xbf9d50)
> > "progn" (0xbf9fb0)
> > "unwind-protect" (0xbfa150)
> > "let" (0xbfa3e0)
> > "evil-save-state" (0xbfa540)
> > "if" (0xbfa6f0)
> > "+evil--persist-state-a" (0x4a15598)
> > "apply" (0x4a15590)
> > 0xa983000 PVEC_COMPILED
> > "apply" (0x4a15550)
> > "so-long--set-auto-mode" (0x4a15508)
> > "apply" (0x4a15500)
> > "set-auto-mode" (0x4a154b8)
> > "normal-mode" (0x4a15468)
> > 0x3f22060 PVEC_COMPILED
> > "apply" (0xbfc0d0)
> > "progn" (0xbfc330)
> > "unwind-protect" (0xbfc4d0)
> > "let*" (0xbfc710)
> > "doom--shut-up-autosave-a" (0xbfc938)
> > "apply" (0x4a15400)
> > 0xa6eaab0 PVEC_COMPILED
> > "apply" (0x4a153c0)
> > 0xa6eab10 PVEC_COMPILED
> > "apply" (0x4a15380)
> > "after-find-file" (0x4a15338)
> > "find-file-noselect-1" (0x4a152a0)
> > "find-file-noselect" (0x4a15210)
> > "find-file" (0x4a15168)
> > 0x1d009250 PVEC_COMPILED
> > "apply" (0x4a15130)
> > "consult-recent-file" (0xbfeae0)
> > "funcall-interactively" (0xbfead8)
> > "call-interactively" (0x4a150a0)
> > "command-execute" (0xbff408)
>
> Thanks.  Too much is involved here, but my money is on consult: I see
> in its code several places where it matches file names in a way that
> can only work on Posix systems (i.e., assuming absolute file names
> begin with a slash, not with a drive letter).  Since
> consult-recent-file is in the Lisp backtrace, it's a definite
> possibility.
>
> Another possibility is that some of your customizations includes such
> a file name.
>
> Anyway, now at least that crash shouldn't happen anymore.
>
> You can now remove the added condition and the call to emacs_abort
> from the code.  Please run for a while and see if there are any other
> crashes like that one, which yield a zero code address.