Subject: bug#48019: 28.0.50; Error signaled by documentation function

From: Lars Ingebrigtsen <[email-masked]>
Date: Wed, 28 Apr 2021 01:59:23 +0200

Lars Ingebrigtsen <[email-masked]> writes:

> Could it be when compiling regenerates the etc/DOC file, perhaps?

Yup.  Running under gdb with a breakpoint I get:

#2  0x00005555557a7cbe in xsignal
    (error_symbol=XIL(0xfd50), data=XIL(0x555556f7eca3)) at lisp.h:4136
#3  0x00005555557ab6ac in xsignal2
    (error_symbol=XIL(0xfd50), arg1=XIL(0x9990), arg2=XIL(0x30)) at eval.c:1941
#4  0x000055555578bfbd in wrong_type_argument
    (predicate=XIL(0x9990), value=XIL(0x30)) at data.c:143
#5  0x00005555557b3c49 in CHECK_LIST_END (x=XIL(0x30), y=XIL(0x30))
    at lisp.h:2933
#6  0x00005555557b8a58 in Fmemq (elt=XIL(0x2aaa9be2fb48), list=XIL(0x30))
    at fns.c:1690
#7  0x0000555555796f02 in Fsnarf_documentation (filename=XIL(0x7ffff1e5e7dc))
    at doc.c:639
#8  0x0000555555796161 in reread_doc_file (file=XIL(0)) at doc.c:297
#9  0x0000555555796635 in Fdocumentation
    (function=XIL(0x2aaa9bd99738), raw=XIL(0)) at doc.c:403
#10 0x00005555557acdff in eval_sub (form=XIL(0x555556f7eeb3)) at eval.c:2520
#11 0x00005555557ac4ff in Feval (form=XIL(0x555556f7eeb3), lexical=XIL(0x30))
    at eval.c:2346
#12 0x00005555557ae7fc in funcall_subr

So...

                  if ((!NILP (Fboundp (sym))
                      || !NILP (Fmemq (sym, delayed_init)))

which is from

  Lisp_Object delayed_init =
    find_symbol_value (intern ("custom-delayed-init-variables"));

which is...  t?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no