Subject: bug#53809: 29.0.50; fatal error: assertion failed: string_immovable_p (bytestr)

From: Gregor Zattler <[email-masked]>
Date: Mon, 07 Feb 2022 15:12:40 +0100

Hi Eli,
* Eli Zaretskii <[email-masked]> [2022-02-07; 15:49]:
>> From: Gregor Zattler <[email-masked]>
>> Cc: [email-masked]
>> Date: Mon, 07 Feb 2022 00:44:16 +0100
>>
>> Thread 1 "emacs-snapshot-" hit Breakpoint 1, terminate_due_to_signal (sig=6, backtrace_limit=2147483647) at emacs.c:408
>> 408     {
>> (gdb) bt full
>> #0  terminate_due_to_signal (sig=6, backtrace_limit=2147483647) at emacs.c:408
>> #1  0x00005555557f5b38 in die (msg=0x5555559ddf05 "string_immovable_p (bytestr)", file=0x5555559ddede "bytecode.c", line=361) at alloc.c:7546
>> #2  0x00005555558948b2 in exec_byte_code (bytestr=XIL(0x55555baaa9f4), vector=XIL(0x55555bad74f5), maxdepth=make_fixnum(3), args_template=0, nargs=0, args=0x0) at bytecode.c:361
>
> In this frame #2, what is 'bytestr'?  Try this:
>
>   (gdb) fr 2
>   (gdb) p bytestr
>   (gdb) xstring

Here is the full output of gdb:

0 (master=) grfz@no:~/src/emacs/src$ gdb -- /usr/local/bin/emacs-snapshot-x --debug-init
GNU gdb (Debian 10.1-1.7) 10.1.90.20210103-git
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/local/bin/emacs-snapshot-x...
/home/grfz/src/emacs/src/--debug-init: No such file or directory.
SIGINT is used by the debugger.
Are you sure you want to change it? (y or n) [answered Y; input not from terminal]
DISPLAY = :0
TERM = screen-256color-bce-s
Breakpoint 1 at 0x1e8e2a: file emacs.c, line 408.
Breakpoint 2 at 0x1ae935: file xterm.c, line 12897.
(gdb) run
Starting program: /usr/local/bin/emacs-snapshot-x
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffeef6a700 (LWP 125926)]
[New Thread 0x7fffee1eb700 (LWP 125927)]
[New Thread 0x7fffed9ea700 (LWP 125928)]
[Detaching after vfork from child process 126203]
[Detaching after vfork from child process 126351]
[Detaching after vfork from child process 126352]
[Detaching after vfork from child process 126353]
[Detaching after vfork from child process 126354]
[Detaching after vfork from child process 126355]
[Detaching after vfork from child process 126356]
[Detaching after vfork from child process 126357]
[Detaching after vfork from child process 126361]
[Detaching after vfork from child process 126362]

bytecode.c:361: Emacs fatal error: assertion failed: string_immovable_p (bytestr)

Thread 1 "emacs-snapshot-" hit Breakpoint 1, terminate_due_to_signal (sig=6, backtrace_limit=2147483647) at emacs.c:408
408     {
(gdb) bt full
#0  terminate_due_to_signal (sig=6, backtrace_limit=2147483647) at emacs.c:408
#1  0x00005555557f5b38 in die (msg=0x5555559ddf05 "string_immovable_p (bytestr)", file=0x5555559ddede "bytecode.c", line=361) at alloc.c:7546
#2  0x00005555558948b2 in exec_byte_code (bytestr=XIL(0x55555cc35654), vector=XIL(0x55555b5dabc5), maxdepth=make_fixnum(3), args_template=0, nargs=0, args=0x0) at bytecode.c:361
        const_length = 93825116894299
        bytestr_length = 93825116894299
        vectorp = 0x55555581451e <get_doc_string+744>
        quitcounter = 0 '\000'
        stack_items = 93825116894299
        sa_avail = 93825116894299
        sa_count = 139642271672833
        alloc = 0x55555cc2b293
        stack_base = 0x1
        top = 0x7fffffffaab0
        stack_lim = 0x2000
        bytestr_data = 0x50000000d <error: Cannot access memory at address 0x50000000d>
        pc = 0x1c07ffffab40 <error: Cannot access memory at address 0x1c07ffffab40>
        count = 93823560589312
        rest = false
        mandatory = -260039072
        nonrest = 67
        pushedargs = 16311
        result = XIL(0x7fffffffaba0)
#3  0x0000555555834d35 in fetch_and_exec_byte_code (fun=XIL(0x55555b5cb7fd), args_template=0, nargs=0, args=0x0) at eval.c:3179
#4  0x00005555558357a0 in funcall_lambda (fun=XIL(0x55555b5cb7fd), nargs=0, arg_vector=0x0) at eval.c:3347
        val = XIL(0x55555583d039)
        syms_left = XIL(0)
        next = XIL(0xfa3b20)
        lexenv = XIL(0)
        count = 66
        i = 0
        optional = false
        rest = false
        previous_rest = false
#5  0x0000555555834eee in apply_lambda (fun=XIL(0x55555b5cb7fd), args=XIL(0), count=65) at eval.c:3204
        arg_vector = 0x7fffffffacc0
        tem = XIL(0x4ffffad30)
        sa_avail = 16384
        sa_count = 66
        numargs = 0
        args_left = XIL(0)
#6  0x0000555555832bd9 in eval_sub (form=XIL(0x55555cbfed93)) at eval.c:2578
        original_fun = XIL(0xfa3b20)
        original_args = XIL(0)
        count = 65
        fun = XIL(0x55555b5cb7fd)
        val = XIL(0)
        funcar = XIL(0x31b0)
        argvals = {XIL(0x7fffffffae00), XIL(0), XIL(0x7fffffffae20), XIL(0x555555829efd), XIL(0), XIL(0x555555ee5e00), XIL(0), XIL(0)}
#7  0x000055555582c20e in Fprogn (body=XIL(0x55555cbfea03)) at eval.c:459
        form = XIL(0x55555cbfed93)
        val = XIL(0)
#8  0x0000555555832575 in eval_sub (form=XIL(0x55555cbfe2d3)) at eval.c:2484
        args_left = XIL(0x55555cbfea23)
        numargs = 3
        original_fun = XIL(0xc840)
        original_args = XIL(0x55555cbfea23)
        count = 64
        fun = XIL(0x555555e5ec25)
        val = XIL(0)
        funcar = XIL(0x7fffffffaef0)
        argvals =
          {XIL(0x1ffffaf40), XIL(0x55555cc050d3), XIL(0x7fffffffaf60), XIL(0x55555615d1c0), XIL(0x7fffffffaf70), XIL(0x55555cc05333), XIL(0x7fffffffaf80), make_fixnum(23456248807383)}
#9  0x000055555582f6a8 in internal_lisp_condition_case (var=XIL(0x15f2810), bodyform=XIL(0x55555cbfe2d3), handlers=XIL(0x55555cc05353)) at eval.c:1439
        oldhandlerlist = 0x555556106ab0
        clausenb = 1
        success_handler = XIL(0)
        clauses = 0x7fffffffaf90
        result = XIL(0)
#10 0x000055555582ef5e in Fcondition_case (args=XIL(0x55555cc05373)) at eval.c:1354
        var = XIL(0x15f2810)
        bodyform = XIL(0x55555cbfe2d3)
        handlers = XIL(0x55555cc05353)
#11 0x0000555555832575 in eval_sub (form=XIL(0x55555cc05383)) at eval.c:2484
        args_left = XIL(0x55555cc05373)
        numargs = 3
        original_fun = XIL(0x49e0)
        original_args = XIL(0x55555cc05373)
        count = 63
        fun = XIL(0x555555e5f3a5)
        val = XIL(0)
        funcar = XIL(0x7fffffffb130)
        argvals = {XIL(0x7fffffffb190), XIL(0), XIL(0x7fffffffb1b0), XIL(0x555555829efd), XIL(0), XIL(0x555555ee5e00), XIL(0), XIL(0)}
#12 0x000055555582c20e in Fprogn (body=XIL(0x55555cc02d43)) at eval.c:459
        form = XIL(0x55555cc05383)
        val = XIL(0)
#13 0x0000555555832575 in eval_sub (form=XIL(0x55555cc05403)) at eval.c:2484
        args_left = XIL(0x55555cc05413)
        numargs = 6
        original_fun = XIL(0xc840)
        original_args = XIL(0x55555cc05413)
        count = 62
        fun = XIL(0x555555e5ec25)
        val = make_fixnum(9)
        funcar = XIL(0x7fffffffb290)
        argvals = {XIL(0x2aaa9a369ce0), XIL(0), XIL(0x7fffffffb2f0), XIL(0x555555829efd), XIL(0x7fffffffb2f0), XIL(0x555555ee5e00), XIL(0), XIL(0)}
#14 0x000055555582c20e in Fprogn (body=XIL(0)) at eval.c:459
        form = XIL(0x55555cc05403)
        val = XIL(0)
#15 0x0000555555835724 in funcall_lambda (fun=XIL(0x55555cc02ed3), nargs=0, arg_vector=0x0) at eval.c:3338
        val = XIL(0x55555cc02ed3)
        syms_left = XIL(0)
        next = XIL(0x555555829efd)
        lexenv = XIL(0x55555b2ae023)
        count = 62
        i = 0
        optional = false
        rest = false
        previous_rest = false
#16 0x0000555555834572 in funcall_general (fun=XIL(0x55555cc02ee3), numargs=0, args=0x7fffffffb470) at eval.c:3054
        funcar = XIL(0x4410)
        original_fun = XIL(0x55555cc02ee3)
#17 0x00005555558346d6 in Ffuncall (nargs=1, args=0x7fffffffb468) at eval.c:3092
        count = 61
        val = XIL(0x55555cc02d83)
#18 0x00007fffefd50509 in F6576616c2d61667465722d6c6f6164_eval_after_load_0 ()
    at /usr/local/stow/emacs-snapshot/libexec/emacs/29.0.50/x86_64-linux-gnu/../../../../bin/../lib/emacs/29.0.50/native-lisp/29.0.50-d7a765d8/preloaded/subr-13adf6a6-b714cda6.eln
#19 0x00005555558329ed in eval_sub (form=XIL(0x55555cc02da3)) at eval.c:2534
        i = 2
        maxargs = 2
        args_left = XIL(0)
        numargs = 2
        original_fun = XIL(0x2aaa9a2dbfd0)
        original_args = XIL(0x55555cc02db3)
        count = 60
        fun = XIL(0x7ffff01c1e45)
        val = XIL(0)
        funcar = XIL(0x7fffffffb560)
        argvals = {XIL(0xc9f7d0), XIL(0x55555cc02ee3), XIL(0x7fffffffb5d0), XIL(0x555556106ab0), XIL(0x7fffffffb5e0), XIL(0x55555cc02e73), XIL(0x7fffffffb5f0), make_fixnum(23456248807383)}
#20 0x000055555582f6a8 in internal_lisp_condition_case (var=XIL(0x15f2810), bodyform=XIL(0x55555cc02da3), handlers=XIL(0x55555cc02e93)) at eval.c:1439
        oldhandlerlist = 0x55555610a400
        clausenb = 1
        success_handler = XIL(0)
        clauses = 0x7fffffffb600
        result = XIL(0)
#21 0x000055555582ef5e in Fcondition_case (args=XIL(0x55555cc02eb3)) at eval.c:1354
        var = XIL(0x15f2810)
        bodyform = XIL(0x55555cc02da3)
        handlers = XIL(0x55555cc02e93)
#22 0x0000555555832575 in eval_sub (form=XIL(0x55555cc02ec3)) at eval.c:2484
        args_left = XIL(0x55555cc02eb3)
        numargs = 3
        original_fun = XIL(0x49e0)
        original_args = XIL(0x55555cc02eb3)
        count = 59
        fun = XIL(0x555555e5f3a5)
        val = XIL(0x5555558343ff)
        funcar = XIL(0x7fffffffb7c0)
        argvals = {XIL(0x55555cc02ec3), XIL(0x3b), XIL(0x7fffffffb840), XIL(0x555555833d25), XIL(0), XIL(0x30), XIL(0x55555cc058f3), XIL(0x2aaa9a622950)}
#23 0x0000555555878c2f in readevalloop_eager_expand_eval (val=XIL(0x55555cc058f3), macroexpand=XIL(0x2aaa9a622950)) at lread.c:2146
#24 0x0000555555878b2c in readevalloop_eager_expand_eval (val=XIL(0x4d185b0), macroexpand=XIL(0x2aaa9a622950)) at lread.c:2143
        li = {
          tortoise = XIL(0x55555cbfd883),
          max = 4,
          n = 0,
          q = 4
        }
        subforms = XIL(0x55555cbfd883)
#25 0x000055555587949e in readevalloop
    (readcharfun=XIL(0x55555b97f785), infile0=0x0, sourcename=XIL(0x55555b2bae74), printflag=false, unibyte=XIL(0), readfun=XIL(0), start=XIL(0), end=XIL(0)) at lread.c:2329
        count1 = 59
        c = 40
        val = XIL(0x55555cbff363)
        count = 54
        b = 0x55555b97f780
        continue_reading_p = true
        lex_bound = XIL(0x30)
        whole_buffer = true
        first_sexp = false
        macroexpand = XIL(0x2aaa9a622950)
#26 0x00005555558797d3 in Feval_buffer (buffer=XIL(0x55555b97f785), printflag=XIL(0), filename=XIL(0x55555b2bae74), unibyte=XIL(0), do_allow_print=XIL(0x30)) at lread.c:2402
        count = 50
        tem = XIL(0)
        buf = XIL(0x55555b97f785)
#27 0x00007fffef692edc in F6c6f61642d776974682d636f64652d636f6e76657273696f6e_load_with_code_conversion_0 ()
    at /usr/local/stow/emacs-snapshot/libexec/emacs/29.0.50/x86_64-linux-gnu/../../../../bin/../lib/emacs/29.0.50/native-lisp/29.0.50-d7a765d8/preloaded/mule-3352613d-1619da2f.eln
#28 0x00005555558349c8 in funcall_subr (subr=0x7ffff0500e70, numargs=4, args=0x7fffffffbca8) at eval.c:3136
        argbuf = {XIL(0), XIL(0), XIL(0x7fffffffbbb0), XIL(0x1155829f51), XIL(0x7ffff0500e75), XIL(0x7fffffffbbc0), XIL(0x55555582a63b), XIL(0x7ffff0500e75)}
        a = 0x7fffffffbca8
        fun = XIL(0x555555829efd)
#29 0x00005555558343ff in funcall_general (fun=XIL(0x7ffff0500e75), numargs=4, args=0x7fffffffbca8) at eval.c:3038
        original_fun = XIL(0x2aaa9a61b040)
#30 0x00005555558346d6 in Ffuncall (nargs=5, args=0x7fffffffbca0) at eval.c:3092
        count = 42
        val = XIL(0)
#31 0x0000555555833e0d in call4 (fn=XIL(0x2aaa9a61b040), arg1=XIL(0x55555b2bae74), arg2=XIL(0x55555b2bae74), arg3=XIL(0), arg4=XIL(0)) at eval.c:2951
#32 0x0000555555876694 in Fload (file=XIL(0x555558c01b54), noerror=XIL(0), nomessage=XIL(0), nosuffix=XIL(0x30), must_suffix=XIL(0)) at lread.c:1477
        val = XIL(0x5555561294c3)
        stream = 0x0
        fd = 13
        fd_index = 37
        count = 37
        found = XIL(0x55555b2bae74)
        efound = XIL(0x5555557a56bb)
        hist_file_name = XIL(0x55555b2bae74)
        newer = false
        compiled = false
        handler = XIL(0x555558c01b54)
        fmode = 0x5555559db5d6 "r"
        version = 0
        no_native = false
        is_module = false
        is_native_elisp = false
        found_eff = XIL(0x55555b2bae74)
        is_elc = false
        input = {
          stream = 0x26,
          lookahead = -42 '\326',
          buf = "?\000\000"
        }
#33 0x000055555583493b in funcall_subr (subr=0x7ffff00de720, numargs=1, args=0x7fffffffc068) at eval.c:3130
        argbuf = {XIL(0), XIL(0), XIL(0x7fffffffbf70), XIL(0x1155829f51), XIL(0x7ffff00de725), XIL(0x7fffffffbf80), XIL(0x55555582a63b), XIL(0x7ffff00de725)}
        a = 0x7fffffffc068
        fun = XIL(0x555555829efd)
#34 0x00005555558343ff in funcall_general (fun=XIL(0x7ffff00de725), numargs=1, args=0x7fffffffc068) at eval.c:3038
        original_fun = XIL(0x2aaa9a1f88f0)
#35 0x00005555558346d6 in Ffuncall (nargs=2, args=0x7fffffffc060) at eval.c:3092
        count = 36
        val = XIL(0x55555b2ae693)
#36 0x00007fffec63d4f5 in F6f72672d626162656c2d6c6f61642d66696c65_org_babel_load_file_0 () at /home/grfz/.config/emacs/eln-cache/29.0.50-d7a765d8/org-81b24351-e3bbe642.eln
#37 0x000055555583495f in funcall_subr (subr=0x555558836680, numargs=1, args=0x7fffffffc238) at eval.c:3132
        argbuf = {XIL(0x55555843a9d4), XIL(0), XIL(0x7fffffffc160), XIL(0x1155829f51), XIL(0x555558836685), XIL(0x7fffffffc170), XIL(0x55555582a63b), XIL(0x555558836685)}
        a = 0x7fffffffc130
        fun = XIL(0x555555829efd)
#38 0x00005555558343ff in funcall_general (fun=XIL(0x555558836685), numargs=1, args=0x7fffffffc238) at eval.c:3038
        original_fun = XIL(0x2aaa9a3aee08)
#39 0x00005555558346d6 in Ffuncall (nargs=2, args=0x7fffffffc230) at eval.c:3092
        count = 35
        val = XIL(0)
#40 0x0000555555833cc3 in call1 (fn=XIL(0x2aaa9a3aee08), arg1=XIL(0x55555843a9d4)) at eval.c:2929
#41 0x000055555584700c in mapcar1 (leni=1, vals=0x0, fn=XIL(0x2aaa9a3aee08), seq=XIL(0x55555842cdc3)) at fns.c:2917
        dummy = XIL(0x7fffffffc2d0)
        i = 0
        tail = XIL(0x55555842cdc3)
#42 0x00005555558474c3 in Fmapc (function=XIL(0x2aaa9a3aee08), sequence=XIL(0x55555842cdc3)) at fns.c:2994
        leni = 1
#43 0x00005555558329ed in eval_sub (form=XIL(0x5555574aada3)) at eval.c:2534
        i = 2
        maxargs = 2
        args_left = XIL(0)
        numargs = 2
        original_fun = XIL(0x2aaa9a078a98)
        original_args = XIL(0x5555574aadd3)
        count = 34
        fun = XIL(0x555555e61b65)
        val = XIL(0x3c5480)
        funcar = XIL(0xc0)
        argvals = {XIL(0x2aaa9a3aee08), XIL(0x55555842cdc3), XIL(0), XIL(0), XIL(0x1f0801c60), XIL(0x555555ee5e00), XIL(0), XIL(0)}
#44 0x000055555582c20e in Fprogn (body=XIL(0)) at eval.c:459
        form = XIL(0x5555574aada3)
        val = XIL(0x3c5480)
#45 0x000055555582e42c in Flet (args=XIL(0x55555759f183)) at eval.c:1045
        temps = 0x7fffffffc450
        tem = XIL(0)
        lexenv = XIL(0x555556129563)
        elt = XIL(0x555556129593)
        count = 33
        argnum = 1
        sa_avail = 16376
        sa_count = 33
        varlist = XIL(0)
        varlist_len = 1
        nvars = 1
#46 0x0000555555832575 in eval_sub (form=XIL(0x55555759f193)) at eval.c:2484
        args_left = XIL(0x55555759f183)
        numargs = 28
        original_fun = XIL(0x9b70)
        original_args = XIL(0x55555759f183)
        count = 32
        fun = XIL(0x555555e5f105)
        val = XIL(0x5555558343ff)
        funcar = XIL(0x7fffffffc580)
        argvals = {XIL(0x55555759f193), XIL(0x20), XIL(0x7fffffffc600), XIL(0x555555833d25), XIL(0), XIL(0x30), XIL(0x555556129583), XIL(0x2aaa9a622950)}
#47 0x0000555555878c2f in readevalloop_eager_expand_eval (val=XIL(0x555556129583), macroexpand=XIL(0x2aaa9a622950)) at lread.c:2146
#48 0x000055555587949e in readevalloop
    (readcharfun=XIL(0x55555612df3d), infile0=0x0, sourcename=XIL(0x5555574a1e84), printflag=false, unibyte=XIL(0), readfun=XIL(0), start=XIL(0), end=XIL(0)) at lread.c:2329
        count1 = 32
        c = 40
        val = XIL(0x555556129583)
        count = 27
        b = 0x55555612df38
        continue_reading_p = true
        lex_bound = XIL(0x30)
        whole_buffer = true
        first_sexp = true
        macroexpand = XIL(0x2aaa9a622950)
#49 0x00005555558797d3 in Feval_buffer (buffer=XIL(0x55555612df3d), printflag=XIL(0), filename=XIL(0x5555574a1e84), unibyte=XIL(0), do_allow_print=XIL(0x30)) at lread.c:2402
        count = 23
        tem = XIL(0)
        buf = XIL(0x55555612df3d)
#50 0x00007fffef692edc in F6c6f61642d776974682d636f64652d636f6e76657273696f6e_load_with_code_conversion_0 ()
    at /usr/local/stow/emacs-snapshot/libexec/emacs/29.0.50/x86_64-linux-gnu/../../../../bin/../lib/emacs/29.0.50/native-lisp/29.0.50-d7a765d8/preloaded/mule-3352613d-1619da2f.eln
#51 0x00005555558349c8 in funcall_subr (subr=0x7ffff0500e70, numargs=4, args=0x7fffffffca08) at eval.c:3136
        argbuf = {XIL(0), XIL(0), XIL(0x7fffffffc910), XIL(0x1155829f51), XIL(0x7ffff0500e75), XIL(0x7fffffffc920), XIL(0x55555582a63b), XIL(0x7ffff0500e75)}
        a = 0x7fffffffca08
        fun = XIL(0x555555829efd)
#52 0x00005555558343ff in funcall_general (fun=XIL(0x7ffff0500e75), numargs=4, args=0x7fffffffca08) at eval.c:3038
        original_fun = XIL(0x2aaa9a61b040)
#53 0x00005555558346d6 in Ffuncall (nargs=5, args=0x7fffffffca00) at eval.c:3092
        count = 15
        val = XIL(0x30)
#54 0x0000555555833e0d in call4 (fn=XIL(0x2aaa9a61b040), arg1=XIL(0x5555574a1e84), arg2=XIL(0x5555574a1e84), arg3=XIL(0x30), arg4=XIL(0x30)) at eval.c:2951
#55 0x0000555555876694 in Fload (file=XIL(0x5555574a1cf4), noerror=XIL(0x2aaa9a14ca98), nomessage=XIL(0x2aaa9a14c988), nosuffix=XIL(0), must_suffix=XIL(0)) at lread.c:1477
        val = XIL(0)
        stream = 0x0
        fd = 10
        fd_index = 10
        count = 10
        found = XIL(0x5555574a1e84)
        efound = XIL(0x5555565712b8)
        hist_file_name = XIL(0x5555574a1e84)
        newer = false
        compiled = false
        handler = XIL(0x55555583471b)
        fmode = 0x5555559db5d6 "r"
        version = 0
        no_native = false
        is_module = false
        is_native_elisp = false
        found_eff = XIL(0x5555574a1e84)
        is_elc = false
        input = {
          stream = 0x555556129403,
          lookahead = 91 '[',
          buf = "\301q\360\377"
        }
#56 0x0000555555834a0d in funcall_subr (subr=0x555555e63a20 <Sload>, numargs=3, args=0x7fffffffcde8) at eval.c:3138
        argbuf = {XIL(0x5555574a1cf4), XIL(0x2aaa9a14ca98), XIL(0x2aaa9a14c988), XIL(0), XIL(0), XIL(0x7fffffffcce0), XIL(0x55555582a63b), XIL(0x555555e63a25)}
        a = 0x7fffffffcca0
        fun = XIL(0x555555829f51)
#57 0x00005555558343ff in funcall_general (fun=XIL(0x555555e63a25), numargs=3, args=0x7fffffffcde8) at eval.c:3038
        original_fun = XIL(0x9f60)
#58 0x00005555558346d6 in Ffuncall (nargs=4, args=0x7fffffffcde0) at eval.c:3092
        count = 9
        val = XIL(0x5555574a1cf4)
#59 0x00007fffef4446c4 in F737461727475702d2d6c6f61642d757365722d696e69742d66696c65_startup__load_user_init_file_0 ()
    at /usr/local/stow/emacs-snapshot/libexec/emacs/29.0.50/x86_64-linux-gnu/../../../../bin/../lib/emacs/29.0.50/native-lisp/29.0.50-d7a765d8/preloaded/startup-bbc6ea72-8e8a6960.eln
#60 0x000055555583498e in funcall_subr (subr=0x7ffff00f5ce8, numargs=3, args=0x7fffffffcfb8) at eval.c:3134
        argbuf = {XIL(0), XIL(0), XIL(0x7fffffffcec0), XIL(0x1155829f51), XIL(0x7ffff00f5ced), XIL(0x7fffffffced0), XIL(0x55555582a63b), XIL(0x7ffff00f5ced)}
        a = 0x7fffffffcfb8
        fun = XIL(0x555555829efd)
#61 0x00005555558343ff in funcall_general (fun=XIL(0x7ffff00f5ced), numargs=3, args=0x7fffffffcfb8) at eval.c:3038
        original_fun = XIL(0x2aaa9a20feb8)
#62 0x00005555558346d6 in Ffuncall (nargs=4, args=0x7fffffffcfb0) at eval.c:3092
        count = 7
        val = XIL(0x55555612de85)
#63 0x00007fffef4464dc in F636f6d6d616e642d6c696e65_command_line_0 ()
    at /usr/local/stow/emacs-snapshot/libexec/emacs/29.0.50/x86_64-linux-gnu/../../../../bin/../lib/emacs/29.0.50/native-lisp/29.0.50-d7a765d8/preloaded/startup-bbc6ea72-8e8a6960.eln
#64 0x0000555555834922 in funcall_subr (subr=0x7ffff0108e78, numargs=0, args=0x7fffffffd180) at eval.c:3128
        argbuf = {XIL(0), XIL(0), XIL(0x7fffffffd0a0), XIL(0x1155829f51), XIL(0x7ffff0108e7d), XIL(0x7fffffffd0b0), XIL(0x55555582a63b), XIL(0x7ffff0108e7d)}
        a = 0x7fffffffd180
        fun = XIL(0x555555829efd)
#65 0x00005555558343ff in funcall_general (fun=XIL(0x7ffff0108e7d), numargs=0, args=0x7fffffffd180) at eval.c:3038
        original_fun = XIL(0x2aaa9a223048)
#66 0x00005555558346d6 in Ffuncall (nargs=1, args=0x7fffffffd178) at eval.c:3092
        count = 6
        val = XIL(0x55555600e645)
#67 0x00007fffef4423e8 in F6e6f726d616c2d746f702d6c6576656c_normal_top_level_0 ()
    at /usr/local/stow/emacs-snapshot/libexec/emacs/29.0.50/x86_64-linux-gnu/../../../../bin/../lib/emacs/29.0.50/native-lisp/29.0.50-d7a765d8/preloaded/startup-bbc6ea72-8e8a6960.eln
#68 0x0000555555832996 in eval_sub (form=XIL(0x7ffff00e87db)) at eval.c:2528
        i = 0
        maxargs = 0
        args_left = XIL(0)
        numargs = 0
        original_fun = XIL(0x2aaa9a2029e8)
        original_args = XIL(0)
        count = 4
        fun = XIL(0x7ffff00e881d)
        val = XIL(0x8f10)
        funcar = XIL(0)
        argvals = {XIL(0x5555560010d0), XIL(0x555555eeed10), XIL(0x55555582a9bc), XIL(0x5555560010d0), XIL(0x7fffffffd2f0), make_fixnum(23456248814038), XIL(0), XIL(0x8f10)}
#69 0x0000555555831dd8 in Feval (form=XIL(0x7ffff00e87db), lexical=XIL(0)) at eval.c:2356
        count = 3
#70 0x0000555555745321 in top_level_2 () at keyboard.c:1146
#71 0x000055555582f842 in internal_condition_case (bfun=0x5555557452fe <top_level_2>, handlers=XIL(0x90), hfun=0x555555744b43 <cmd_error>) at eval.c:1485
        val = XIL(0)
        c = 0x55555610a2d0
#72 0x0000555555745369 in top_level_1 (ignore=XIL(0)) at keyboard.c:1154
#73 0x000055555582ea30 in internal_catch (tag=XIL(0xf030), func=0x555555745323 <top_level_1>, arg=XIL(0)) at eval.c:1216
        val = XIL(0x5555557418a4)
        c = 0x555555f3d600
#74 0x0000555555745250 in command_loop () at keyboard.c:1114
#75 0x0000555555744606 in recursive_edit_1 () at keyboard.c:724
        count = 1
        val = XIL(0x7fffffffd470)
#76 0x0000555555744823 in Frecursive_edit () at keyboard.c:807
        count = 0
        buffer = XIL(0)
#77 0x0000555555740181 in main (argc=1, argv=0x7fffffffd6a8) at emacs.c:2430
        stack_bottom_variable = 0x7ffff5fe03c0
        no_loadup = false
        junk = 0x0
        dname_arg = 0x0
        ch_to_dir = 0x0
        original_pwd = 0x0
        dump_mode = 0x0
        skip_args = 0
        temacs = 0x0
        attempt_load_pdump = true
        rlim = {
          rlim_cur = 10022912,
          rlim_max = 18446744073709551615
        }
        lc_all = 0x7fffffffee23 ""
        sockfd = -1
        module_assertions = false

Lisp Backtrace:
"gnus-alias-init" (0xffffacc0)
"progn" (0xffffaea8)
"condition-case" (0xffffb0f8)
"progn" (0xffffb238)
0x5cc02ee0 Lisp type 3
"eval-after-load" (0xffffb590)
"condition-case" (0xffffb768)
"load-with-code-conversion" (0xffffbca8)
"load-file" (0xffffc068)
"org-babel-load-file" (0xffffc238)
"mapc" (0xffffc3b0)
"let" (0xffffc528)
"load-with-code-conversion" (0xffffca08)
"load" (0xffffcde8)
"startup--load-user-init-file" (0xffffcfb8)
"command-line" (0xffffd180)
"normal-top-level" (0xffffd290)
(gdb) fr 2
#2  0x00005555558948b2 in exec_byte_code (bytestr=XIL(0x55555cc35654), vector=XIL(0x55555b5dabc5), maxdepth=make_fixnum(3), args_template=0, nargs=0, args=0x0) at bytecode.c:361
361       eassert (string_immovable_p (bytestr));
(gdb) p bytestr
$1 = XIL(0x55555cc35654)
(gdb) xstring
$2 = (struct Lisp_String *) 0x55555cc35650
"\300\301\302\"\207"
(gdb)

Thanks for looking into this, Gregor