bug#42113: 28.0.50; Segmentation fault in json-parse-file

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

bug#42113: 28.0.50; Segmentation fault in json-parse-file

Erik Hetzner
1. Start emacs -Q
2. Evaluate the following
(require 'dom)

(with-current-buffer (url-retrieve-synchronously "https://www.seriouseats.com/recipes/2020/06/florentine-omelette-spinach-and-cheese.html")
        (let* ((dom (libxml-parse-html-region (point-min) (point-max)))
               (scripts (dom-by-tag dom 'script))
               (json-lds-raw (dom-elements scripts 'type "^application/ld\\+json$"))
               (json-lds (mapcar #'json-parse-string json-lds-raw)))))

Result: segmentation fault.

gdb bt full is as follows:

#0  terminate_due_to_signal (sig=6, backtrace_limit=2147483647) at emacs.c:379
#1  0x00005555557d3ad3 in die (msg=0x555555911dfd "STRINGP (a)", file=0x555555911d88 "lisp.h", line=1537) at alloc.c:7379
#2  0x000055555566c79d in XSTRING (a=XIL(0x555556622783)) at lisp.h:1537
#3  0x000055555566c875 in SCHARS (string=XIL(0x555556622783)) at lisp.h:1609
        nchars = 122230788892196955
#4  0x000055555569063d in encode_string_utf_8
    (string=XIL(0x555556622783), buffer=XIL(0), nocopy=false, handle_8_bit=XIL(0x30), handle_over_uni=XIL(0x30)) at coding.c:9688
        nchars = 93824995993411
        nbytes = 46912241330736
        num_8_bit = 140737488335024
        num_over_4 = 0
        num_over_5 = 0
        outbytes = 93825001671616
        p = 0x9812100000190b <error: Cannot access memory at address 0x9812100000190b>
        pend = 0x800000040 <error: Cannot access memory at address 0x800000040>
        src = 0x5555558ea6ef <make_lisp_symbol+61> "H9E\350t\030\272\006\004"
        dst = 0x7fffffffb090 "\260\260\377\377\377\177"
        replace_8_bit = 0x0
        replace_over_uni = 0x555555e54bc0 <lispsym> "\230\001"
        replace_8_bit_len = 21845
        replace_over_uni_len = 1450794709
        val = make_fixnum(12)
#5  0x00005555558eb36d in json_encode (string=XIL(0x555556622783)) at json.c:231
#6  0x00005555558ed26c in Fjson_parse_string (nargs=1, args=0x7fffffffb368) at json.c:978
        count = 32
        string = XIL(0x555556622783)
        encoded = XIL(0x7fffffffb250)
        conf = {
          object_type = (unknown: 1441090496),
          array_type = (json_array_list | unknown: 21844),
          null_object = XIL(0),
          false_object = XIL(0x7fffffffaf30)
        }
        error = {
          line = -20208,
          column = 32767,
          position = 1434215370,
          source = "UU\000\000@\261\377\377\377\177\000\000\335{|UUU\000\000P\270\345U\020\022\230\000\000\340B\361\260x\r \200\261\377\377\377\177\000\000\v\376}UUU\000\000\300K\345U\340\342\065\000\370C\345UUU\000\000\070\343\337\361\377\177\000\000\000\000\000",
          text = "\000\000\000\000\020\362\332\361\377\177\000\000J<\001\000\000\000\000\000I<\001\000\000\000\000\000\070\343\337\361\270x\r(\260\261\377\377\377\177\000\000f\377}UUU\000\000\360K\345U\020\022\230\000\264\251\257VUU\000\000w'\001\000\000\000\000\000\020D\345UUU\000\000\235\004\000\000\000\000\000\000@\000\000\000\b\000\000\000\002\000\000\000\000\000\000\000\000\340B\361\002\035\004\000 \262\377\377\377\177\000\000\335\000\000\000\000\000\000\000\203rbVUU\000\000\370C\345UUU\000\000h\317\334\361\377\177\000\000\000\000\000"
        }
        object = 0x0
#7  0x000055555580cdf5 in funcall_subr (subr=0x555555de1dc0 <Sjson_parse_string>, numargs=1, args=0x7fffffffb368) at eval.c:2848
#8  0x000055555580c9cb in Ffuncall (nargs=2, args=0x7fffffffb360) at eval.c:2795
        fun = XIL(0x555555de1dc5)
        original_fun = XIL(0x8760)
        funcar = XIL(0)
        numargs = 1
        val = XIL(0x60)
        count = 31
#9  0x000055555580c1db in call1 (fn=XIL(0x8760), arg1=XIL(0x555556622783)) at eval.c:2655
#10 0x000055555581d8f4 in mapcar1 (leni=1, vals=0x7fffffffb430, fn=XIL(0x8760), seq=XIL(0x555556627283)) at fns.c:2651
        dummy = XIL(0x555556627283)
        i = 0
        tail = XIL(0x555556627283)
#11 0x000055555581dcb5 in Fmapcar (function=XIL(0x8760), sequence=XIL(0x555556627283)) at fns.c:2707
        sa_avail = 16376
        sa_count = 31
        leni = 1
        args = 0x7fffffffb430
        nmapped = 93825001181893
        ret = make_fixnum(23456248762297)
#12 0x000055555580b15b in eval_sub (form=XIL(0x55555677bd83)) at eval.c:2277
        i = 2
        maxargs = 2
        args_left = XIL(0)
        numargs = 2
        original_fun = XIL(0x2aaa9b608c98)
        original_args = XIL(0x55555677bd53)
        count = 30
        fun = XIL(0x555555ddd2c5)
        val = XIL(0x555555e54bc0)
        funcar = XIL(0)
        argvals = {XIL(0x8760), XIL(0x555556627283), XIL(0), XIL(0), XIL(0x60), XIL(0), XIL(0x555555e54bc0), XIL(0)}
#13 0x00005555558071e8 in FletX (args=XIL(0x55555677bd13)) at eval.c:895
        var = XIL(0xb82a0)
        val = XIL(0x555556627283)
        elt = XIL(0x55555677bd93)
        lexenv = XIL(0)
        count = 27
        varlist = XIL(0)
#14 0x000055555580ad4c in eval_sub (form=XIL(0x55555677bf33)) at eval.c:2227
        args_left = XIL(0x55555677bd13)
        numargs = 1
        original_fun = XIL(0x8dc0)
        original_args = XIL(0x55555677bd13)
        count = 26
        fun = XIL(0x555555ddb785)
        val = XIL(0x5555569f0c35)
        funcar = XIL(0)
        argvals =
          {XIL(0x5555569f0c35), XIL(0), XIL(0x7fffffffb6a0), make_fixnum(23456248761903), XIL(0), XIL(0x8700000001), make_fixnum(0), make_fixnum(0)}
#15 0x00005555558057fc in Fprogn (body=XIL(0)) at eval.c:462
        form = XIL(0x55555677bf33)
        val = XIL(0x5555569f0c35)
#16 0x00005555557f5764 in Fsave_current_buffer (args=XIL(0x55555677bcb3)) at editfns.c:857
        count = 25
#17 0x000055555580ad4c in eval_sub (form=XIL(0x55555677bca3)) at eval.c:2227
        args_left = XIL(0x55555677bcb3)
        numargs = 2
        original_fun = XIL(0x2aaa9b6e0360)
        original_args = XIL(0x55555677bcb3)
        count = 24
        fun = XIL(0x555555dda445)
        val = make_fixnum(23456248762297)
        funcar = make_fixnum(23456248770694)
        argvals =
          {XIL(0x55555677bca3), XIL(0x555555dde700), XIL(0x2aaa9b990980), XIL(0x7ffff17e5575), XIL(0x18), make_fixnum(0), make_fixnum(23456248762217), XIL(0x2aaa9b6e0360)}
#18 0x000055555584aa31 in readevalloop_eager_expand_eval (val=XIL(0x55555677bca3), macroexpand=XIL(0x2aaa9b990980)) at lread.c:1912
#19 0x000055555584b271 in readevalloop
    (readcharfun=XIL(0x5555569816c5), infile0=0x0, sourcename=XIL(0x55555691a9c4), printflag=false, unibyte=XIL(0), readfun=XIL(0), start=XIL(0), end=XIL(0)) at lread.c:2094
        count1 = 24
        c = 40
        val = XIL(0x55555677bf73)
        count = 20
        b = 0x5555569816c0
        continue_reading_p = true
        lex_bound = XIL(0)
        whole_buffer = true
        first_sexp = false
        macroexpand = XIL(0x2aaa9b990980)
#20 0x000055555584b59c in Feval_buffer (buffer=XIL(0), printflag=XIL(0), filename=XIL(0x55555691a9c4), unibyte=XIL(0), do_allow_print=XIL(0))
    at lread.c:2167
        count = 16
        tem = XIL(0xcd80)
        buf = XIL(0x5555569816c5)
#21 0x000055555580cfc7 in funcall_subr (subr=0x555555dde680 <Seval_buffer>, numargs=0, args=0x7fffffffbca0) at eval.c:2880
        internal_argbuf = {XIL(0), XIL(0), XIL(0), XIL(0), XIL(0), make_fixnum(17538485786), XIL(0x555555dde685), XIL(0x7fffffffbad0)}
        internal_args = 0x7fffffffba80
#22 0x000055555580c9cb in Ffuncall (nargs=1, args=0x7fffffffbc98) at eval.c:2795
        fun = XIL(0x555555dde685)
        original_fun = XIL(0x2aaa9b613878)
        funcar = XIL(0x55555572eaa5)
        numargs = 0
        val = XIL(0x1f143e340)
        count = 15
#23 0x0000555555800e1b in Ffuncall_interactively (nargs=1, args=0x7fffffffbc98) at callint.c:254
        speccount = 14
#24 0x000055555580cdf5 in funcall_subr (subr=0x555555ddb2c0 <Sfuncall_interactively>, numargs=1, args=0x7fffffffbc98) at eval.c:2848
#25 0x000055555580c9cb in Ffuncall (nargs=2, args=0x7fffffffbc90) at eval.c:2795
        fun = XIL(0x555555ddb2c5)
        original_fun = XIL(0x6e10)
        funcar = XIL(0x55555580ea33)
        numargs = 1
        val = XIL(0x7fffffffbc80)
        count = 13
#26 0x0000555555803488 in Fcall_interactively (function=XIL(0x2aaa9b613878), record_flag=XIL(0xb760), keys=XIL(0x5555562b9b65)) at callint.c:783
        speccount = 12
        arg_from_tty = false
        key_count = 13
        record_then_fail = false
        save_this_command = XIL(0x2aaa9b613878)
        save_this_original_command = XIL(0x2aaa9b791e88)
        save_real_this_command = XIL(0x2aaa9b613878)
        save_last_command = XIL(0x2aaa9b6e3088)
        prefix_arg = XIL(0)
        enable = XIL(0)
        up_event = XIL(0)
        form = XIL(0x555556625203)
        specs = XIL(0x7ffff14433dc)
        sa_avail = 16335
        sa_count = 12
        string_len = 0
        string = 0x7fffffffbcd0 ""
        string_end = 0x7fffffffbcd0 ""
        next_event = 13
        nargs = 2
        args = 0x7fffffffbc90
        visargs = 0x7fffffffbca0
        varies = 0x7fffffffbcb0 ""
        tem = 0x7fffffffbcd0 ""
        val = XIL(0x555555812e24)
#27 0x000055555580cf4e in funcall_subr (subr=0x555555ddb300 <Scall_interactively>, numargs=3, args=0x7fffffffc0a0) at eval.c:2873
        internal_argbuf =
          {XIL(0x7fffffffbfb0), XIL(0x1000000000), XIL(0x555555ddb300), XIL(0x7fffffffbfb8), make_fixnum(23456248762217), make_fixnum(17538485786), XIL(0x555555ddb305), XIL(0x7fffffffbfd0)}
        internal_args = 0x7fffffffc0a0
#28 0x000055555580c9cb in Ffuncall (nargs=4, args=0x7fffffffc098) at eval.c:2795
        fun = XIL(0x555555ddb305)
        original_fun = XIL(0x2aaa9b66f2a8)
        funcar = XIL(0x555555e54bc0)
        numargs = 3
        val = XIL(0)
        count = 11
#29 0x0000555555864e43 in exec_byte_code
    (bytestr=XIL(0x7ffff1595f9c), vector=XIL(0x7ffff1595b2d), maxdepth=make_fixnum(13), args_template=make_fixnum(1025), nargs=2, args=0x7fffffffc638)
    at bytecode.c:635
        op = 3
        type = (CATCHER_ALL | unknown: 1434335160)
        targets =
          {0x555555867d91 <exec_byte_code+15463>, 0x555555867db6
<exec_byte_code+15500>, 0x555555867db8 <exec_byte_code+15502>,
0x555555867dba <exec_byte_code+15504>, 0x555555867dbc
<exec_byte_code+15506>, 0x555555867dbc <exec_byte_code+15506>,
0x555555867e21 <exec_byte_code+15607>, 0x555555867e95
<exec_byte_code+15723>, 0x5555558646ef <exec_byte_code+1477>,
0x5555558646f1 <exec_byte_code+1479>, 0x5555558646f3
<exec_byte_code+1481>, 0x5555558646f5 <exec_byte_code+1483>,
0x5555558646f7 <exec_byte_code+1485>, 0x5555558646f7
<exec_byte_code+1485>, 0x5555558646fd <exec_byte_code+1491>,
0x5555558646be <exec_byte_code+1428>, 0x555555864b2e
<exec_byte_code+2564>, 0x555555864b30 <exec_byte_code+2566>,
0x555555864b32 <exec_byte_code+2568>, 0x555555864b34
<exec_byte_code+2570>, 0x555555864b36 <exec_byte_code+2572>,
0x555555864b36 <exec_byte_code+2572>, 0x555555864b6b
<exec_byte_code+2625>, 0x555555864b3c <exec_byte_code+2578>,
0x555555864d60 <exec_byte_code+3126>, 0x555555864d62
<exec_byte_code+3128>, 0x555555864d64 <exec_byte_code+3130>,
0x555555864d66 <exec_byte_code+3132>, 0x555555864d68
<exec_byte_code+3134>, 0x555555864d68 <exec_byte_code+3134>,
0x555555864d1a <exec_byte_code+3056>, 0x555555864d31
<exec_byte_code+3079>, 0x555555864e10 <exec_byte_code+3302>,
0x555555864e12 <exec_byte_code+3304>, 0x555555864e14
<exec_byte_code+3306>, 0x555555864e16 <exec_byte_code+3308>,
0x555555864e18 <exec_byte_code+3310>, 0x555555864e18
<exec_byte_code+3310>, 0x555555864dca <exec_byte_code+3232>,
0x555555864de1 <exec_byte_code+3255>, 0x555555864ec5
<exec_byte_code+3483>, 0x555555864ec7 <exec_byte_code+3485>,
0x555555864ec9 <exec_byte_code+3487>, 0x555555864ecb
<exec_byte_code+3489>, 0x555555864ecd <exec_byte_code+3491>,
0x555555864ecd <exec_byte_code+3491>, 0x555555864e7f
<exec_byte_code+3413>, 0x555555864e96 <exec_byte_code+3436>,
0x555555865725 <exec_byte_code+5627>, 0x55555586560b
<exec_byte_code+5345>, 0x555555865602 <exec_byte_code+5336>,
0x555555867d91 <exec_byte_code+15463>, 0x555555867d91
<exec_byte_code+15463>, 0x555555867d91 <exec_byte_code+15463>,
0x555555867d91 <exec_byte_code+15463>, 0x555555867d91
<exec_byte_code+15463>, 0x555555865956 <exec_byte_code+6188>,
0x555555865a87 <exec_byte_code+6493>, 0x555555865af1
<exec_byte_code+6599>, 0x555555865b5e <exec_byte_code+6708>,
0x555555865bca <exec_byte_code+6816>, 0x55555586497a
<exec_byte_code+2128>, 0x555555864a02 <exec_byte_code+2264>,
0x555555865c50 <exec_byte_code+6950>, 0x5555558648b7
<exec_byte_code+1933>, 0x555555864a6a <exec_byte_code+2368>,
0x555555865cc5 <exec_byte_code+7067>, 0x555555865d2d
<exec_byte_code+7171>, 0x555555865d75 <exec_byte_code+7243>,
0x555555865ddd <exec_byte_code+7347>, 0x555555865e40
<exec_byte_code+7446>, 0x555555865f2b <exec_byte_code+7681>,
0x555555865f73 <exec_byte_code+7753>, 0x555555865fdb
<exec_byte_code+7857>, 0x555555866060 <exec_byte_code+7990>,
0x5555558660a8 <exec_byte_code+8062>, 0x5555558660f0
<exec_byte_code+8134>, 0x555555866158 <exec_byte_code+8238>,
0x5555558661c0 <exec_byte_code+8342>, 0x555555866228
<exec_byte_code+8446>, 0x5555558662ad <exec_byte_code+8579>,
0x5555558662ff <exec_byte_code+8661>, 0x555555866351
<exec_byte_code+8743>, 0x555555866420 <exec_byte_code+8950>,
0x555555866521 <exec_byte_code+9207>, 0x555555866622
<exec_byte_code+9464>, 0x55555586668f <exec_byte_code+9573>,
0x5555558666fc <exec_byte_code+9682>, 0x555555866769
<exec_byte_code+9791>, 0x5555558667d6 <exec_byte_code+9900>,
0x555555866843 <exec_byte_code+10009>, 0x555555866895
<exec_byte_code+10091>, 0x55555586699a <exec_byte_code+10352>,
0x5555558669ec <exec_byte_code+10434>, 0x555555866a3e
<exec_byte_code+10516>, 0x555555866a90 <exec_byte_code+10598>,
0x555555866b9c <exec_byte_code+10866>, 0x555555865482
<exec_byte_code+4952>, 0x555555866bfa <exec_byte_code+10960>,
0x555555866c42 <exec_byte_code+11032>, 0x555555866d0c
<exec_byte_code+11234>, 0x555555866d75 <exec_byte_code+11339>,
0x555555866dd3 <exec_byte_code+11433>, 0x555555866e1b
<exec_byte_code+11505>, 0x555555866e61 <exec_byte_code+11575>,
0x555555866ea7 <exec_byte_code+11645>, 0x555555866ef5
<exec_byte_code+11723>, 0x555555867d91 <exec_byte_code+15463>,
0x555555866f4d <exec_byte_code+11811>, 0x555555866f93
<exec_byte_code+11881>, 0x555555866fd9 <exec_byte_code+11951>,
0x55555586701f <exec_byte_code+12021>, 0x555555867065
<exec_byte_code+12091>, 0x5555558670ab <exec_byte_code+12161>,
0x555555865482 <exec_byte_code+4952>, 0x555555867d91
<exec_byte_code+15463>, 0x5555558670f3 <exec_byte_code+12233>,
0x555555867148 <exec_byte_code+12318>, 0x555555867190
<exec_byte_code+12390>, 0x5555558671d8 <exec_byte_code+12462>,
0x555555867240 <exec_byte_code+12566>, 0x5555558672a8
<exec_byte_code+12670>, 0x5555558672f0 <exec_byte_code+12742>,
0x55555586739e <exec_byte_code+12916>, 0x555555867406
<exec_byte_code+13020>, 0x55555586746e <exec_byte_code+13124>,
0x5555558674d6 <exec_byte_code+13228>, 0x55555586751c
<exec_byte_code+13298>, 0x555555867d91 <exec_byte_code+15463>,
0x5555558653c8 <exec_byte_code+4766>, 0x555555864f77
<exec_byte_code+3661>, 0x555555864825 <exec_byte_code+1787>,
0x555555865023 <exec_byte_code+3833>, 0x5555558650a7
<exec_byte_code+3965>, 0x555555865128 <exec_byte_code+4094>,
0x55555586537c <exec_byte_code+4690>, 0x555555865391
<exec_byte_code+4711>, 0x555555864cc7 <exec_byte_code+2973>,
0x55555586544b <exec_byte_code+4897>, 0x5555558654b9
<exec_byte_code+5007>, 0x555555865547 <exec_byte_code+5149>,
0x555555865590 <exec_byte_code+5222>, 0x555555865771
<exec_byte_code+5703>, 0x5555558657ee <exec_byte_code+5828>,
0x555555865873 <exec_byte_code+5961>, 0x5555558658d3
<exec_byte_code+6057>, 0x555555864f29 <exec_byte_code+3583>,
0x555555867564 <exec_byte_code+13370>, 0x5555558675e9
<exec_byte_code+13503>, 0x555555867631 <exec_byte_code+13575>,
0x555555867679 <exec_byte_code+13647>, 0x5555558676c1
<exec_byte_code+13719>, 0x555555867709 <exec_byte_code+13791>,
0x555555867771 <exec_byte_code+13895>, 0x5555558677d9
<exec_byte_code+13999>, 0x555555867841 <exec_byte_code+14103>,
0x5555558678a9 <exec_byte_code+14207>, 0x5555558679ef
<exec_byte_code+14533>, 0x555555867a57 <exec_byte_code+14637>,
0x555555867abf <exec_byte_code+14741>, 0x555555867b07
<exec_byte_code+14813>, 0x555555867b6f <exec_byte_code+14917>,
0x555555867bd7 <exec_byte_code+15021>, 0x555555867c1f
<exec_byte_code+15093>, 0x555555867c67 <exec_byte_code+15165>,
0x555555866ae2 <exec_byte_code+10680>, 0x555555866b34
<exec_byte_code+10762>, 0x555555867cb9 <exec_byte_code+15247>,
0x555555867d25 <exec_byte_code+15355>, 0x555555867d91
<exec_byte_code+15463>, 0x5555558651a9 <exec_byte_code+4223>,
0x5555558651c6 <exec_byte_code+4252>, 0x555555865235
<exec_byte_code+4363>, 0x5555558652a4 <exec_byte_code+4474>,
0x555555865310 <exec_byte_code+4582>, 0x555555865eae
<exec_byte_code+7556>, 0x5555558663a3 <exec_byte_code+8825>,
0x555555866c8f <exec_byte_code+11109>, 0x555555867f28
<exec_byte_code+15870>, 0x555555867f9d <exec_byte_code+15987>,
0x555555867d91 <exec_byte_code+15463>, 0x555555867d91
<exec_byte_code+15463>, 0x555555868033 <exec_byte_code+16137>,
0x5555558680ba <exec_byte_code+16272>, 0x555555867d91
<exec_byte_code+15463>, 0x555555867d91 <exec_byte_code+15463>,
0x555555867d91 <exec_byte_code+15463>, 0x555555867d91
<exec_byte_code+15463>, 0x555555867d91 <exec_byte_code+15463>,
0x555555867d91 <exec_byte_code+15463>, 0x555555867d91
<exec_byte_code+15463>, 0x555555867d91 <exec_byte_code+15463>,
0x555555868217 <exec_byte_code+16621> <repeats 64 times>}
        const_length = 24
        bytestr_length = 144
        vectorp = 0x7ffff1595b30
        quitcounter = 1 '\001'
        stack_items = 14
        sa_avail = 16128
        sa_count = 11
        alloc = 0x7fffffffc060
        item_bytes = 112
        stack_base = 0x7fffffffc060
        top = 0x7fffffffc098
        stack_lim = 0x7fffffffc0d0
        bytestr_data = 0x7fffffffc0d0 "\304\020\211?\205\023"
        pc = 0x7fffffffc136 "\006\006\071\203\215"
        count = 11
        result = XIL(0x7fffffffc390)
#30 0x000055555580d183 in fetch_and_exec_byte_code (fun=XIL(0x7ffff1595afd), syms_left=make_fixnum(1025), nargs=2, args=0x7fffffffc628) at eval.c:2917
#31 0x000055555580d609 in funcall_lambda (fun=XIL(0x7ffff1595afd), nargs=2, arg_vector=0x7fffffffc628) at eval.c:2998
        val = XIL(0x7ffff1595af8)
        syms_left = make_fixnum(1025)
        next = XIL(0x7fffffffc560)
        lexenv = XIL(0)
        count = 11
        i = 140737488340352
        optional = false
        rest = false
#32 0x000055555580ca0f in Ffuncall (nargs=3, args=0x7fffffffc620) at eval.c:2797
        fun = XIL(0x7ffff1595afd)
        original_fun = XIL(0x4320)
        funcar = XIL(0x55555580ea33)
        numargs = 2
        val = XIL(0x7fffffffc5e0)
        count = 10
#33 0x0000555555864e43 in exec_byte_code
    (bytestr=XIL(0x7ffff15e7a94), vector=XIL(0x7ffff15e764d), maxdepth=make_fixnum(15), args_template=make_fixnum(769), nargs=3, args=0x7fffffffcd78)
    at bytecode.c:635
        op = 2
        type = (unknown: 4048265040)
        targets =
          {0x555555867d91 <exec_byte_code+15463>, 0x555555867db6
<exec_byte_code+15500>, 0x555555867db8 <exec_byte_code+15502>,
0x555555867dba <exec_byte_code+15504>, 0x555555867dbc
<exec_byte_code+15506>, 0x555555867dbc <exec_byte_code+15506>,
0x555555867e21 <exec_byte_code+15607>, 0x555555867e95
<exec_byte_code+15723>, 0x5555558646ef <exec_byte_code+1477>,
0x5555558646f1 <exec_byte_code+1479>, 0x5555558646f3
<exec_byte_code+1481>, 0x5555558646f5 <exec_byte_code+1483>,
0x5555558646f7 <exec_byte_code+1485>, 0x5555558646f7
<exec_byte_code+1485>, 0x5555558646fd <exec_byte_code+1491>,
0x5555558646be <exec_byte_code+1428>, 0x555555864b2e
<exec_byte_code+2564>, 0x555555864b30 <exec_byte_code+2566>,
0x555555864b32 <exec_byte_code+2568>, 0x555555864b34
<exec_byte_code+2570>, 0x555555864b36 <exec_byte_code+2572>,
0x555555864b36 <exec_byte_code+2572>, 0x555555864b6b
<exec_byte_code+2625>, 0x555555864b3c <exec_byte_code+2578>,
0x555555864d60 <exec_byte_code+3126>, 0x555555864d62
<exec_byte_code+3128>, 0x555555864d64 <exec_byte_code+3130>,
0x555555864d66 <exec_byte_code+3132>, 0x555555864d68
<exec_byte_code+3134>, 0x555555864d68 <exec_byte_code+3134>,
0x555555864d1a <exec_byte_code+3056>, 0x555555864d31
<exec_byte_code+3079>, 0x555555864e10 <exec_byte_code+3302>,
0x555555864e12 <exec_byte_code+3304>, 0x555555864e14
<exec_byte_code+3306>, 0x555555864e16 <exec_byte_code+3308>,
0x555555864e18 <exec_byte_code+3310>, 0x555555864e18
<exec_byte_code+3310>, 0x555555864dca <exec_byte_code+3232>,
0x555555864de1 <exec_byte_code+3255>, 0x555555864ec5
<exec_byte_code+3483>, 0x555555864ec7 <exec_byte_code+3485>,
0x555555864ec9 <exec_byte_code+3487>, 0x555555864ecb
<exec_byte_code+3489>, 0x555555864ecd <exec_byte_code+3491>,
0x555555864ecd <exec_byte_code+3491>, 0x555555864e7f
<exec_byte_code+3413>, 0x555555864e96 <exec_byte_code+3436>,
0x555555865725 <exec_byte_code+5627>, 0x55555586560b
<exec_byte_code+5345>, 0x555555865602 <exec_byte_code+5336>,
0x555555867d91 <exec_byte_code+15463>, 0x555555867d91
<exec_byte_code+15463>, 0x555555867d91 <exec_byte_code+15463>,
0x555555867d91 <exec_byte_code+15463>, 0x555555867d91
<exec_byte_code+15463>, 0x555555865956 <exec_byte_code+6188>,
0x555555865a87 <exec_byte_code+6493>, 0x555555865af1
<exec_byte_code+6599>, 0x555555865b5e <exec_byte_code+6708>,
0x555555865bca <exec_byte_code+6816>, 0x55555586497a
<exec_byte_code+2128>, 0x555555864a02 <exec_byte_code+2264>,
0x555555865c50 <exec_byte_code+6950>, 0x5555558648b7
<exec_byte_code+1933>, 0x555555864a6a <exec_byte_code+2368>,
0x555555865cc5 <exec_byte_code+7067>, 0x555555865d2d
<exec_byte_code+7171>, 0x555555865d75 <exec_byte_code+7243>,
0x555555865ddd <exec_byte_code+7347>, 0x555555865e40
<exec_byte_code+7446>, 0x555555865f2b <exec_byte_code+7681>,
0x555555865f73 <exec_byte_code+7753>, 0x555555865fdb
<exec_byte_code+7857>, 0x555555866060 <exec_byte_code+7990>,
0x5555558660a8 <exec_byte_code+8062>, 0x5555558660f0
<exec_byte_code+8134>, 0x555555866158 <exec_byte_code+8238>,
0x5555558661c0 <exec_byte_code+8342>, 0x555555866228
<exec_byte_code+8446>, 0x5555558662ad <exec_byte_code+8579>,
0x5555558662ff <exec_byte_code+8661>, 0x555555866351
<exec_byte_code+8743>, 0x555555866420 <exec_byte_code+8950>,
0x555555866521 <exec_byte_code+9207>, 0x555555866622
<exec_byte_code+9464>, 0x55555586668f <exec_byte_code+9573>,
0x5555558666fc <exec_byte_code+9682>, 0x555555866769
<exec_byte_code+9791>, 0x5555558667d6 <exec_byte_code+9900>,
0x555555866843 <exec_byte_code+10009>, 0x555555866895
<exec_byte_code+10091>, 0x55555586699a <exec_byte_code+10352>,
0x5555558669ec <exec_byte_code+10434>, 0x555555866a3e
<exec_byte_code+10516>, 0x555555866a90 <exec_byte_code+10598>,
0x555555866b9c <exec_byte_code+10866>, 0x555555865482
<exec_byte_code+4952>, 0x555555866bfa <exec_byte_code+10960>,
0x555555866c42 <exec_byte_code+11032>, 0x555555866d0c
<exec_byte_code+11234>, 0x555555866d75 <exec_byte_code+11339>,
0x555555866dd3 <exec_byte_code+11433>, 0x555555866e1b
<exec_byte_code+11505>, 0x555555866e61 <exec_byte_code+11575>,
0x555555866ea7 <exec_byte_code+11645>, 0x555555866ef5
<exec_byte_code+11723>, 0x555555867d91 <exec_byte_code+15463>,
0x555555866f4d <exec_byte_code+11811>, 0x555555866f93
<exec_byte_code+11881>, 0x555555866fd9 <exec_byte_code+11951>,
0x55555586701f <exec_byte_code+12021>, 0x555555867065
<exec_byte_code+12091>, 0x5555558670ab <exec_byte_code+12161>,
0x555555865482 <exec_byte_code+4952>, 0x555555867d91
<exec_byte_code+15463>, 0x5555558670f3 <exec_byte_code+12233>,
0x555555867148 <exec_byte_code+12318>, 0x555555867190
<exec_byte_code+12390>, 0x5555558671d8 <exec_byte_code+12462>,
0x555555867240 <exec_byte_code+12566>, 0x5555558672a8
<exec_byte_code+12670>, 0x5555558672f0 <exec_byte_code+12742>,
0x55555586739e <exec_byte_code+12916>, 0x555555867406
<exec_byte_code+13020>, 0x55555586746e <exec_byte_code+13124>,
0x5555558674d6 <exec_byte_code+13228>, 0x55555586751c
<exec_byte_code+13298>, 0x555555867d91 <exec_byte_code+15463>,
0x5555558653c8 <exec_byte_code+4766>, 0x555555864f77
<exec_byte_code+3661>, 0x555555864825 <exec_byte_code+1787>,
0x555555865023 <exec_byte_code+3833>, 0x5555558650a7
<exec_byte_code+3965>, 0x555555865128 <exec_byte_code+4094>,
0x55555586537c <exec_byte_code+4690>, 0x555555865391
<exec_byte_code+4711>, 0x555555864cc7 <exec_byte_code+2973>,
0x55555586544b <exec_byte_code+4897>, 0x5555558654b9
<exec_byte_code+5007>, 0x555555865547 <exec_byte_code+5149>,
0x555555865590 <exec_byte_code+5222>, 0x555555865771
<exec_byte_code+5703>, 0x5555558657ee <exec_byte_code+5828>,
0x555555865873 <exec_byte_code+5961>, 0x5555558658d3
<exec_byte_code+6057>, 0x555555864f29 <exec_byte_code+3583>,
0x555555867564 <exec_byte_code+13370>, 0x5555558675e9
<exec_byte_code+13503>, 0x555555867631 <exec_byte_code+13575>,
0x555555867679 <exec_byte_code+13647>, 0x5555558676c1
<exec_byte_code+13719>, 0x555555867709 <exec_byte_code+13791>,
0x555555867771 <exec_byte_code+13895>, 0x5555558677d9
<exec_byte_code+13999>, 0x555555867841 <exec_byte_code+14103>,
0x5555558678a9 <exec_byte_code+14207>, 0x5555558679ef
<exec_byte_code+14533>, 0x555555867a57 <exec_byte_code+14637>,
0x555555867abf <exec_byte_code+14741>, 0x555555867b07
<exec_byte_code+14813>, 0x555555867b6f <exec_byte_code+14917>,
0x555555867bd7 <exec_byte_code+15021>, 0x555555867c1f
<exec_byte_code+15093>, 0x555555867c67 <exec_byte_code+15165>,
0x555555866ae2 <exec_byte_code+10680>, 0x555555866b34
<exec_byte_code+10762>, 0x555555867cb9 <exec_byte_code+15247>,
0x555555867d25 <exec_byte_code+15355>, 0x555555867d91
<exec_byte_code+15463>, 0x5555558651a9 <exec_byte_code+4223>,
0x5555558651c6 <exec_byte_code+4252>, 0x555555865235
<exec_byte_code+4363>, 0x5555558652a4 <exec_byte_code+4474>,
0x555555865310 <exec_byte_code+4582>, 0x555555865eae
<exec_byte_code+7556>, 0x5555558663a3 <exec_byte_code+8825>,
0x555555866c8f <exec_byte_code+11109>, 0x555555867f28
<exec_byte_code+15870>, 0x555555867f9d <exec_byte_code+15987>,
0x555555867d91 <exec_byte_code+15463>, 0x555555867d91
<exec_byte_code+15463>, 0x555555868033 <exec_byte_code+16137>,
0x5555558680ba <exec_byte_code+16272>, 0x555555867d91
<exec_byte_code+15463>, 0x555555867d91 <exec_byte_code+15463>,
0x555555867d91 <exec_byte_code+15463>, 0x555555867d91
<exec_byte_code+15463>, 0x555555867d91 <exec_byte_code+15463>,
0x555555867d91 <exec_byte_code+15463>, 0x555555867d91
<exec_byte_code+15463>, 0x555555867d91 <exec_byte_code+15463>,
0x555555868217 <exec_byte_code+16621> <repeats 64 times>}
        const_length = 50
        bytestr_length = 295
        vectorp = 0x7ffff15e7650
        quitcounter = 1 '\001'
        stack_items = 16
        sa_avail = 15961
        sa_count = 9
        alloc = 0x7fffffffc5f0
        item_bytes = 128
        stack_base = 0x7fffffffc5f0
        top = 0x7fffffffc620
        stack_lim = 0x7fffffffc670
        bytestr_data = 0x7fffffffc670 "\001\204\020"
        pc = 0x7fffffffc6b6 "\210)\n\205q"
        count = 9
        result = XIL(0x7fffffffc9c0)
#34 0x000055555580d183 in fetch_and_exec_byte_code (fun=XIL(0x7ffff15e6a9d), syms_left=make_fixnum(769), nargs=3, args=0x7fffffffcd60) at eval.c:2917
#35 0x000055555580d609 in funcall_lambda (fun=XIL(0x7ffff15e6a9d), nargs=3, arg_vector=0x7fffffffcd60) at eval.c:2998
        val = XIL(0x7ffff15e6a98)
        syms_left = make_fixnum(769)
        next = XIL(0x7fffffffcb90)
        lexenv = XIL(0)
        count = 9
        i = 140737488341936
        optional = false
        rest = false
#36 0x000055555580ca0f in Ffuncall (nargs=4, args=0x7fffffffcd58) at eval.c:2797
        fun = XIL(0x7ffff15e6a9d)
        original_fun = XIL(0x2aaa9b791e88)
        funcar = XIL(0x55555572eaa5)
        numargs = 3
        val = XIL(0xffffc800)
        count = 8
#37 0x0000555555800e1b in Ffuncall_interactively (nargs=4, args=0x7fffffffcd58) at callint.c:254
        speccount = 7
#38 0x000055555580cdf5 in funcall_subr (subr=0x555555ddb2c0 <Sfuncall_interactively>, numargs=4, args=0x7fffffffcd58) at eval.c:2848
#39 0x000055555580c9cb in Ffuncall (nargs=5, args=0x7fffffffcd50) at eval.c:2795
        fun = XIL(0x555555ddb2c5)
        original_fun = XIL(0x6e10)
        funcar = XIL(0x555555e54bc0)
        numargs = 4
        val = XIL(0)
        count = 6
#40 0x000055555580bae7 in Fapply (nargs=3, args=0x7fffffffce70) at eval.c:2425
        i = 5
        funcall_nargs = 5
        funcall_args = 0x7fffffffcd50
        spread_arg = XIL(0)
        fun = XIL(0x555555ddb2c5)
        sa_avail = 16344
        sa_count = 6
        numargs = 4
        retval = XIL(0x6e10)
#41 0x000055555580127e in Fcall_interactively (function=XIL(0x2aaa9b791e88), record_flag=XIL(0), keys=XIL(0x5555562cf7b5)) at callint.c:342
        funval = XIL(0x7ffff15e6a9d)
        events = 11
        input = XIL(0x7ffff15e6ad3)
        speccount = 6
        arg_from_tty = false
        key_count = 1
        record_then_fail = false
        save_this_command = XIL(0x2aaa9b791e88)
        save_this_original_command = XIL(0x2aaa9b791e88)
        save_real_this_command = XIL(0x2aaa9b791e88)
        save_last_command = XIL(0x2aaa9b6e3088)
        prefix_arg = XIL(0)
        enable = XIL(0)
        up_event = XIL(0)
        form = XIL(0x55555677b853)
        specs = XIL(0x5555561ea263)
        sa_avail = 0
        sa_count = 140737488343008
        string_len = 140737242254680
        string = 0x555555e54bc0 <lispsym> "\230\001"
        string_end = 0x9557e12cd <error: Cannot access memory at address 0x9557e12cd>
        next_event = 140737242884765
        nargs = 140737488343104
        args = 0x555555e54bc0 <lispsym>
        visargs = 0x7ffff154cd58
        varies = 0x0
        tem = 0x0
        val = make_fixnum(23456248729070)
#42 0x000055555580cf4e in funcall_subr (subr=0x555555ddb300 <Scall_interactively>, numargs=3, args=0x7fffffffd1d0) at eval.c:2873
        internal_argbuf =
          {XIL(0x7fffffffd0e0), XIL(0x1000000000), XIL(0x555555ddb300), XIL(0x7fffffffd0e8), make_fixnum(23456248762217), make_fixnum(17538485786), XIL(0x555555ddb305), XIL(0x7fffffffd100)}
        internal_args = 0x7fffffffd1d0
#43 0x000055555580c9cb in Ffuncall (nargs=4, args=0x7fffffffd1c8) at eval.c:2795
        fun = XIL(0x555555ddb305)
        original_fun = XIL(0x2aaa9b66f2a8)
        funcar = XIL(0x555555e54bc0)
        numargs = 3
        val = XIL(0)
        count = 5
#44 0x0000555555864e43 in exec_byte_code
    (bytestr=XIL(0x7ffff1595f9c), vector=XIL(0x7ffff1595b2d), maxdepth=make_fixnum(13), args_template=make_fixnum(1025), nargs=1, args=0x7fffffffd740)
    at bytecode.c:635
        op = 3
        type = (CONDITION_CASE | unknown: 16)
        targets =
          {0x555555867d91 <exec_byte_code+15463>, 0x555555867db6
<exec_byte_code+15500>, 0x555555867db8 <exec_byte_code+15502>,
0x555555867dba <exec_byte_code+15504>, 0x555555867dbc
<exec_byte_code+15506>, 0x555555867dbc <exec_byte_code+15506>,
0x555555867e21 <exec_byte_code+15607>, 0x555555867e95
<exec_byte_code+15723>, 0x5555558646ef <exec_byte_code+1477>,
0x5555558646f1 <exec_byte_code+1479>, 0x5555558646f3
<exec_byte_code+1481>, 0x5555558646f5 <exec_byte_code+1483>,
0x5555558646f7 <exec_byte_code+1485>, 0x5555558646f7
<exec_byte_code+1485>, 0x5555558646fd <exec_byte_code+1491>,
0x5555558646be <exec_byte_code+1428>, 0x555555864b2e
<exec_byte_code+2564>, 0x555555864b30 <exec_byte_code+2566>,
0x555555864b32 <exec_byte_code+2568>, 0x555555864b34
<exec_byte_code+2570>, 0x555555864b36 <exec_byte_code+2572>,
0x555555864b36 <exec_byte_code+2572>, 0x555555864b6b
<exec_byte_code+2625>, 0x555555864b3c <exec_byte_code+2578>,
0x555555864d60 <exec_byte_code+3126>, 0x555555864d62
<exec_byte_code+3128>, 0x555555864d64 <exec_byte_code+3130>,
0x555555864d66 <exec_byte_code+3132>, 0x555555864d68
<exec_byte_code+3134>, 0x555555864d68 <exec_byte_code+3134>,
0x555555864d1a <exec_byte_code+3056>, 0x555555864d31
<exec_byte_code+3079>, 0x555555864e10 <exec_byte_code+3302>,
0x555555864e12 <exec_byte_code+3304>, 0x555555864e14
<exec_byte_code+3306>, 0x555555864e16 <exec_byte_code+3308>,
0x555555864e18 <exec_byte_code+3310>, 0x555555864e18
<exec_byte_code+3310>, 0x555555864dca <exec_byte_code+3232>,
0x555555864de1 <exec_byte_code+3255>, 0x555555864ec5
<exec_byte_code+3483>, 0x555555864ec7 <exec_byte_code+3485>,
0x555555864ec9 <exec_byte_code+3487>, 0x555555864ecb
<exec_byte_code+3489>, 0x555555864ecd <exec_byte_code+3491>,
0x555555864ecd <exec_byte_code+3491>, 0x555555864e7f
<exec_byte_code+3413>, 0x555555864e96 <exec_byte_code+3436>,
0x555555865725 <exec_byte_code+5627>, 0x55555586560b
<exec_byte_code+5345>, 0x555555865602 <exec_byte_code+5336>,
0x555555867d91 <exec_byte_code+15463>, 0x555555867d91
<exec_byte_code+15463>, 0x555555867d91 <exec_byte_code+15463>,
0x555555867d91 <exec_byte_code+15463>, 0x555555867d91
<exec_byte_code+15463>, 0x555555865956 <exec_byte_code+6188>,
0x555555865a87 <exec_byte_code+6493>, 0x555555865af1
<exec_byte_code+6599>, 0x555555865b5e <exec_byte_code+6708>,
0x555555865bca <exec_byte_code+6816>, 0x55555586497a
<exec_byte_code+2128>, 0x555555864a02 <exec_byte_code+2264>,
0x555555865c50 <exec_byte_code+6950>, 0x5555558648b7
<exec_byte_code+1933>, 0x555555864a6a <exec_byte_code+2368>,
0x555555865cc5 <exec_byte_code+7067>, 0x555555865d2d
<exec_byte_code+7171>, 0x555555865d75 <exec_byte_code+7243>,
0x555555865ddd <exec_byte_code+7347>, 0x555555865e40
<exec_byte_code+7446>, 0x555555865f2b <exec_byte_code+7681>,
0x555555865f73 <exec_byte_code+7753>, 0x555555865fdb
<exec_byte_code+7857>, 0x555555866060 <exec_byte_code+7990>,
0x5555558660a8 <exec_byte_code+8062>, 0x5555558660f0
<exec_byte_code+8134>, 0x555555866158 <exec_byte_code+8238>,
0x5555558661c0 <exec_byte_code+8342>, 0x555555866228
<exec_byte_code+8446>, 0x5555558662ad <exec_byte_code+8579>,
0x5555558662ff <exec_byte_code+8661>, 0x555555866351
<exec_byte_code+8743>, 0x555555866420 <exec_byte_code+8950>,
0x555555866521 <exec_byte_code+9207>, 0x555555866622
<exec_byte_code+9464>, 0x55555586668f <exec_byte_code+9573>,
0x5555558666fc <exec_byte_code+9682>, 0x555555866769
<exec_byte_code+9791>, 0x5555558667d6 <exec_byte_code+9900>,
0x555555866843 <exec_byte_code+10009>, 0x555555866895
<exec_byte_code+10091>, 0x55555586699a <exec_byte_code+10352>,
0x5555558669ec <exec_byte_code+10434>, 0x555555866a3e
<exec_byte_code+10516>, 0x555555866a90 <exec_byte_code+10598>,
0x555555866b9c <exec_byte_code+10866>, 0x555555865482
<exec_byte_code+4952>, 0x555555866bfa <exec_byte_code+10960>,
0x555555866c42 <exec_byte_code+11032>, 0x555555866d0c
<exec_byte_code+11234>, 0x555555866d75 <exec_byte_code+11339>,
0x555555866dd3 <exec_byte_code+11433>, 0x555555866e1b
<exec_byte_code+11505>, 0x555555866e61 <exec_byte_code+11575>,
0x555555866ea7 <exec_byte_code+11645>, 0x555555866ef5
<exec_byte_code+11723>, 0x555555867d91 <exec_byte_code+15463>,
0x555555866f4d <exec_byte_code+11811>, 0x555555866f93
<exec_byte_code+11881>, 0x555555866fd9 <exec_byte_code+11951>,
0x55555586701f <exec_byte_code+12021>, 0x555555867065
<exec_byte_code+12091>, 0x5555558670ab <exec_byte_code+12161>,
0x555555865482 <exec_byte_code+4952>, 0x555555867d91
<exec_byte_code+15463>, 0x5555558670f3 <exec_byte_code+12233>,
0x555555867148 <exec_byte_code+12318>, 0x555555867190
<exec_byte_code+12390>, 0x5555558671d8 <exec_byte_code+12462>,
0x555555867240 <exec_byte_code+12566>, 0x5555558672a8
<exec_byte_code+12670>, 0x5555558672f0 <exec_byte_code+12742>,
0x55555586739e <exec_byte_code+12916>, 0x555555867406
<exec_byte_code+13020>, 0x55555586746e <exec_byte_code+13124>,
0x5555558674d6 <exec_byte_code+13228>, 0x55555586751c
<exec_byte_code+13298>, 0x555555867d91 <exec_byte_code+15463>,
0x5555558653c8 <exec_byte_code+4766>, 0x555555864f77
<exec_byte_code+3661>, 0x555555864825 <exec_byte_code+1787>,
0x555555865023 <exec_byte_code+3833>, 0x5555558650a7
<exec_byte_code+3965>, 0x555555865128 <exec_byte_code+4094>,
0x55555586537c <exec_byte_code+4690>, 0x555555865391
<exec_byte_code+4711>, 0x555555864cc7 <exec_byte_code+2973>,
0x55555586544b <exec_byte_code+4897>, 0x5555558654b9
<exec_byte_code+5007>, 0x555555865547 <exec_byte_code+5149>,
0x555555865590 <exec_byte_code+5222>, 0x555555865771
<exec_byte_code+5703>, 0x5555558657ee <exec_byte_code+5828>,
0x555555865873 <exec_byte_code+5961>, 0x5555558658d3
<exec_byte_code+6057>, 0x555555864f29 <exec_byte_code+3583>,
0x555555867564 <exec_byte_code+13370>, 0x5555558675e9
<exec_byte_code+13503>, 0x555555867631 <exec_byte_code+13575>,
0x555555867679 <exec_byte_code+13647>, 0x5555558676c1
<exec_byte_code+13719>, 0x555555867709 <exec_byte_code+13791>,
0x555555867771 <exec_byte_code+13895>, 0x5555558677d9
<exec_byte_code+13999>, 0x555555867841 <exec_byte_code+14103>,
0x5555558678a9 <exec_byte_code+14207>, 0x5555558679ef
<exec_byte_code+14533>, 0x555555867a57 <exec_byte_code+14637>,
0x555555867abf <exec_byte_code+14741>, 0x555555867b07
<exec_byte_code+14813>, 0x555555867b6f <exec_byte_code+14917>,
0x555555867bd7 <exec_byte_code+15021>, 0x555555867c1f
<exec_byte_code+15093>, 0x555555867c67 <exec_byte_code+15165>,
0x555555866ae2 <exec_byte_code+10680>, 0x555555866b34
<exec_byte_code+10762>, 0x555555867cb9 <exec_byte_code+15247>,
0x555555867d25 <exec_byte_code+15355>, 0x555555867d91
<exec_byte_code+15463>, 0x5555558651a9 <exec_byte_code+4223>,
0x5555558651c6 <exec_byte_code+4252>, 0x555555865235
<exec_byte_code+4363>, 0x5555558652a4 <exec_byte_code+4474>,
0x555555865310 <exec_byte_code+4582>, 0x555555865eae
<exec_byte_code+7556>, 0x5555558663a3 <exec_byte_code+8825>,
0x555555866c8f <exec_byte_code+11109>, 0x555555867f28
<exec_byte_code+15870>, 0x555555867f9d <exec_byte_code+15987>,
0x555555867d91 <exec_byte_code+15463>, 0x555555867d91
<exec_byte_code+15463>, 0x555555868033 <exec_byte_code+16137>,
0x5555558680ba <exec_byte_code+16272>, 0x555555867d91
<exec_byte_code+15463>, 0x555555867d91 <exec_byte_code+15463>,
0x555555867d91 <exec_byte_code+15463>, 0x555555867d91
<exec_byte_code+15463>, 0x555555867d91 <exec_byte_code+15463>,
0x555555867d91 <exec_byte_code+15463>, 0x555555867d91
<exec_byte_code+15463>, 0x555555867d91 <exec_byte_code+15463>,
0x555555868217 <exec_byte_code+16621> <repeats 64 times>}
        const_length = 24
        bytestr_length = 144
        vectorp = 0x7ffff1595b30
        quitcounter = 1 '\001'
        stack_items = 14
        sa_avail = 16128
        sa_count = 5
        alloc = 0x7fffffffd190
        item_bytes = 112
        stack_base = 0x7fffffffd190
        top = 0x7fffffffd1c8
        stack_lim = 0x7fffffffd200
        bytestr_data = 0x7fffffffd200 "\304\020\211?\205\023"
        pc = 0x7fffffffd266 "\006\006\071\203\215"
        count = 5
        result = XIL(0x7fffffffd4f0)
#45 0x000055555580d183 in fetch_and_exec_byte_code (fun=XIL(0x7ffff1595afd), syms_left=make_fixnum(1025), nargs=1, args=0x7fffffffd738) at eval.c:2917
#46 0x000055555580d609 in funcall_lambda (fun=XIL(0x7ffff1595afd), nargs=1, arg_vector=0x7fffffffd738) at eval.c:2998
        val = XIL(0x7ffff1595af8)
        syms_left = make_fixnum(1025)
        next = XIL(0x7fffffffd690)
        lexenv = XIL(0)
        count = 5
        i = 140737488344752
        optional = false
        rest = false
#47 0x000055555580ca0f in Ffuncall (nargs=2, args=0x7fffffffd730) at eval.c:2797
        fun = XIL(0x7ffff1595afd)
        original_fun = XIL(0x4320)
        funcar = XIL(0x555556948bc8)
        numargs = 1
        val = XIL(0xdcb0)
        count = 4
#48 0x000055555580c1db in call1 (fn=XIL(0x4320), arg1=XIL(0x2aaa9b791e88)) at eval.c:2655
#49 0x000055555572fd37 in command_loop_1 () at keyboard.c:1463
        scount = 3
        cmd = XIL(0x2aaa9b791e88)
        keybuf =
          {make_fixnum(134217848), make_fixnum(6), XIL(0x7fffffffd800), XIL(0x5555557e6d98), XIL(0x1f1b182d8), XIL(0x7ffff1b182d8), XIL(0), XIL(0x8250), XIL(0x7fffffffd7e0), XIL(0), XIL(0x555555e54bc0), XIL(0), XIL(0x7fffffffd800), make_fixnum(23456248761882), make_fixnum(34910567923712), XIL(0), XIL(0x555555e54bc0), XIL(0), XIL(0x7fffffffd830), make_fixnum(23456248761882), XIL(0), XIL(0x555555e54bc0), XIL(0), XIL(0), XIL(0x7fffffffd850), make_fixnum(23456248761903), XIL(0x8), XIL(0x8250), XIL(0x7fffffffd890), XIL(0x555555808da0)}
        i = 1
        prev_modiff = 10
        prev_buffer = 0x5555569816c0
        already_adjusted = false
#50 0x0000555555808860 in internal_condition_case (bfun=0x55555572f4e4 <command_loop_1>, handlers=XIL(0x90), hfun=0x55555572eaf3 <cmd_error>)
    at eval.c:1356
        val = XIL(0x55555572bc4f)
        c = 0x555555ef7d60
#51 0x000055555572f0c9 in command_loop_2 (ignore=XIL(0)) at keyboard.c:1091
        val = XIL(0xd5f0)
#52 0x0000555555807d14 in internal_catch (tag=XIL(0xd5f0), func=0x55555572f09c <command_loop_2>, arg=XIL(0)) at eval.c:1117
        val = XIL(0)
        c = 0x555555ef62d0
#53 0x000055555572f067 in command_loop () at keyboard.c:1070
#54 0x000055555572e5da in recursive_edit_1 () at keyboard.c:714
        count = 1
        val = XIL(0x7fffffffda00)
#55 0x000055555572e7d2 in Frecursive_edit () at keyboard.c:786
        count = 0
        buffer = XIL(0)
#56 0x000055555572a798 in main (argc=2, argv=0x7fffffffdc58) at emacs.c:2043
        stack_bottom_variable = 0x7ffff5232841 <__libc_calloc+129>
        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 = 0x0
        sockfd = -1
        module_assertions = false

Lisp Backtrace:
"json-parse-string" (0xffffb368)
"mapcar" (0xffffb4e0)
"let*" (0xffffb6d0)
"save-current-buffer" (0xffffb850)
"eval-buffer" (0xffffbca0)
"funcall-interactively" (0xffffbc98)
"call-interactively" (0xffffc0a0)
"command-execute" (0xffffc628)
"execute-extended-command" (0xffffcd60)
"funcall-interactively" (0xffffcd58)
"call-interactively" (0xffffd1d0)
"command-execute" (0xffffd738)
"json-parse-string" (0xffffb368)
"mapcar" (0xffffb4e0)
"let*" (0xffffb6d0)
"save-current-buffer" (0xffffb850)
"eval-buffer" (0xffffbca0)
"funcall-interactively" (0xffffbc98)
"call-interactively" (0xffffc0a0)
"command-execute" (0xffffc628)
"execute-extended-command" (0xffffcd60)
"funcall-interactively" (0xffffcd58)
"call-interactively" (0xffffd1d0)
"command-execute" (0xffffd738)
quit



In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0)
 of 2020-06-28 built on michel
Repository revision: 162f375bac22786d95a253f03de0148be4fe3201
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12008000
System Description: Debian GNU/Linux bullseye/sid

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.

Configured using:
 'configure --enable-checking=yes,glyphs --enable-check-lisp-object-type
 'CFLAGS=-O0 -g3' --prefix=/usr/local/stow/emacs'

Configured features:
XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY
INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF
ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD
JSON PDUMPER LCMS2 GMP

Important settings:
  value of $LC_MONETARY: en_US.UTF-8
  value of $LC_NUMERIC: en_US.UTF-8
  value of $LC_TIME: en_US.UTF-8
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-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
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs
rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config
gnus-util rmail rmail-loaddefs text-property-search seq byte-opt gv
bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse
rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mail-utils time-date subr-x cl-loaddefs
cl-lib tooltip eldoc electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar
dnd fontset image regexp-opt fringe tabulated-list replace newcomment
text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar
rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock
syntax facemenu 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 charscript charprop
case-table epa-hook jka-cmpr-hook help simple abbrev obarray
cl-preloaded nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote threads dbusbind
inotify lcms2 dynamic-setting system-font-setting font-render-setting
cairo move-toolbar gtk x-toolkit x multi-tty make-network-process emacs)

Memory information:
((conses 16 44611 7986)
 (symbols 48 5980 1)
 (strings 32 15666 1973)
 (string-bytes 1 509628)
 (vectors 16 9294)
 (vector-slots 8 123406 9079)
 (floats 8 19 50)
 (intervals 56 194 0)
 (buffers 992 10))



Reply | Threaded
Open this post in threaded view
|

bug#42113: 28.0.50; Segmentation fault in json-parse-file

Erik Hetzner
I should note that this also seems to effect emacs 27 (see https://github.com/alexmurray/emacs-snap/issues/14)

On Sun, 28 Jun 2020 14:52:19 -0700,
Erik Hetzner <[hidden email]> wrote:

>
> 1. Start emacs -Q
> 2. Evaluate the following
> (require 'dom)
>
> (with-current-buffer (url-retrieve-synchronously "https://www.seriouseats.com/recipes/2020/06/florentine-omelette-spinach-and-cheese.html")
> (let* ((dom (libxml-parse-html-region (point-min) (point-max)))
>       (scripts (dom-by-tag dom 'script))
>       (json-lds-raw (dom-elements scripts 'type "^application/ld\\+json$"))
>                (json-lds (mapcar #'json-parse-string json-lds-raw)))))
>
> Result: segmentation fault.
>
> gdb bt full is as follows:
>
> #0  terminate_due_to_signal (sig=6, backtrace_limit=2147483647) at emacs.c:379
> #1  0x00005555557d3ad3 in die (msg=0x555555911dfd "STRINGP (a)", file=0x555555911d88 "lisp.h", line=1537) at alloc.c:7379
> #2  0x000055555566c79d in XSTRING (a=XIL(0x555556622783)) at lisp.h:1537
> #3  0x000055555566c875 in SCHARS (string=XIL(0x555556622783)) at lisp.h:1609
>         nchars = 122230788892196955
> #4  0x000055555569063d in encode_string_utf_8
>     (string=XIL(0x555556622783), buffer=XIL(0), nocopy=false, handle_8_bit=XIL(0x30), handle_over_uni=XIL(0x30)) at coding.c:9688
>         nchars = 93824995993411
>         nbytes = 46912241330736
>         num_8_bit = 140737488335024
>         num_over_4 = 0
>         num_over_5 = 0
>         outbytes = 93825001671616
>         p = 0x9812100000190b <error: Cannot access memory at address 0x9812100000190b>
>         pend = 0x800000040 <error: Cannot access memory at address 0x800000040>
>         src = 0x5555558ea6ef <make_lisp_symbol+61> "H9E\350t\030\272\006\004"
>         dst = 0x7fffffffb090 "\260\260\377\377\377\177"
>         replace_8_bit = 0x0
>         replace_over_uni = 0x555555e54bc0 <lispsym> "\230\001"
>         replace_8_bit_len = 21845
>         replace_over_uni_len = 1450794709
>         val = make_fixnum(12)
> #5  0x00005555558eb36d in json_encode (string=XIL(0x555556622783)) at json.c:231
> #6  0x00005555558ed26c in Fjson_parse_string (nargs=1, args=0x7fffffffb368) at json.c:978
>         count = 32
>         string = XIL(0x555556622783)
>         encoded = XIL(0x7fffffffb250)
>         conf = {
>           object_type = (unknown: 1441090496),
>           array_type = (json_array_list | unknown: 21844),
>           null_object = XIL(0),
>           false_object = XIL(0x7fffffffaf30)
>         }
>         error = {
>           line = -20208,
>           column = 32767,
>           position = 1434215370,
>           source = "UU\000\000@\261\377\377\377\177\000\000\335{|UUU\000\000P\270\345U\020\022\230\000\000\340B\361\260x\r \200\261\377\377\377\177\000\000\v\376}UUU\000\000\300K\345U\340\342\065\000\370C\345UUU\000\000\070\343\337\361\377\177\000\000\000\000\000",
>           text = "\000\000\000\000\020\362\332\361\377\177\000\000J<\001\000\000\000\000\000I<\001\000\000\000\000\000\070\343\337\361\270x\r(\260\261\377\377\377\177\000\000f\377}UUU\000\000\360K\345U\020\022\230\000\264\251\257VUU\000\000w'\001\000\000\000\000\000\020D\345UUU\000\000\235\004\000\000\000\000\000\000@\000\000\000\b\000\000\000\002\000\000\000\000\000\000\000\000\340B\361\002\035\004\000 \262\377\377\377\177\000\000\335\000\000\000\000\000\000\000\203rbVUU\000\000\370C\345UUU\000\000h\317\334\361\377\177\000\000\000\000\000"
>         }
>         object = 0x0
> #7  0x000055555580cdf5 in funcall_subr (subr=0x555555de1dc0 <Sjson_parse_string>, numargs=1, args=0x7fffffffb368) at eval.c:2848
> #8  0x000055555580c9cb in Ffuncall (nargs=2, args=0x7fffffffb360) at eval.c:2795
>         fun = XIL(0x555555de1dc5)
>         original_fun = XIL(0x8760)
>         funcar = XIL(0)
>         numargs = 1
>         val = XIL(0x60)
>         count = 31
> #9  0x000055555580c1db in call1 (fn=XIL(0x8760), arg1=XIL(0x555556622783)) at eval.c:2655
> #10 0x000055555581d8f4 in mapcar1 (leni=1, vals=0x7fffffffb430, fn=XIL(0x8760), seq=XIL(0x555556627283)) at fns.c:2651
>         dummy = XIL(0x555556627283)
>         i = 0
>         tail = XIL(0x555556627283)
> #11 0x000055555581dcb5 in Fmapcar (function=XIL(0x8760), sequence=XIL(0x555556627283)) at fns.c:2707
>         sa_avail = 16376
>         sa_count = 31
>         leni = 1
>         args = 0x7fffffffb430
>         nmapped = 93825001181893
>         ret = make_fixnum(23456248762297)
> #12 0x000055555580b15b in eval_sub (form=XIL(0x55555677bd83)) at eval.c:2277
>         i = 2
>         maxargs = 2
>         args_left = XIL(0)
>         numargs = 2
>         original_fun = XIL(0x2aaa9b608c98)
>         original_args = XIL(0x55555677bd53)
>         count = 30
>         fun = XIL(0x555555ddd2c5)
>         val = XIL(0x555555e54bc0)
>         funcar = XIL(0)
>         argvals = {XIL(0x8760), XIL(0x555556627283), XIL(0), XIL(0), XIL(0x60), XIL(0), XIL(0x555555e54bc0), XIL(0)}
> #13 0x00005555558071e8 in FletX (args=XIL(0x55555677bd13)) at eval.c:895
>         var = XIL(0xb82a0)
>         val = XIL(0x555556627283)
>         elt = XIL(0x55555677bd93)
>         lexenv = XIL(0)
>         count = 27
>         varlist = XIL(0)
> #14 0x000055555580ad4c in eval_sub (form=XIL(0x55555677bf33)) at eval.c:2227
>         args_left = XIL(0x55555677bd13)
>         numargs = 1
>         original_fun = XIL(0x8dc0)
>         original_args = XIL(0x55555677bd13)
>         count = 26
>         fun = XIL(0x555555ddb785)
>         val = XIL(0x5555569f0c35)
>         funcar = XIL(0)
>         argvals =
>           {XIL(0x5555569f0c35), XIL(0), XIL(0x7fffffffb6a0), make_fixnum(23456248761903), XIL(0), XIL(0x8700000001), make_fixnum(0), make_fixnum(0)}
> #15 0x00005555558057fc in Fprogn (body=XIL(0)) at eval.c:462
>         form = XIL(0x55555677bf33)
>         val = XIL(0x5555569f0c35)
> #16 0x00005555557f5764 in Fsave_current_buffer (args=XIL(0x55555677bcb3)) at editfns.c:857
>         count = 25
> #17 0x000055555580ad4c in eval_sub (form=XIL(0x55555677bca3)) at eval.c:2227
>         args_left = XIL(0x55555677bcb3)
>         numargs = 2
>         original_fun = XIL(0x2aaa9b6e0360)
>         original_args = XIL(0x55555677bcb3)
>         count = 24
>         fun = XIL(0x555555dda445)
>         val = make_fixnum(23456248762297)
>         funcar = make_fixnum(23456248770694)
>         argvals =
>           {XIL(0x55555677bca3), XIL(0x555555dde700), XIL(0x2aaa9b990980), XIL(0x7ffff17e5575), XIL(0x18), make_fixnum(0), make_fixnum(23456248762217), XIL(0x2aaa9b6e0360)}
> #18 0x000055555584aa31 in readevalloop_eager_expand_eval (val=XIL(0x55555677bca3), macroexpand=XIL(0x2aaa9b990980)) at lread.c:1912
> #19 0x000055555584b271 in readevalloop
>     (readcharfun=XIL(0x5555569816c5), infile0=0x0, sourcename=XIL(0x55555691a9c4), printflag=false, unibyte=XIL(0), readfun=XIL(0), start=XIL(0), end=XIL(0)) at lread.c:2094
>         count1 = 24
>         c = 40
>         val = XIL(0x55555677bf73)
>         count = 20
>         b = 0x5555569816c0
>         continue_reading_p = true
>         lex_bound = XIL(0)
>         whole_buffer = true
>         first_sexp = false
>         macroexpand = XIL(0x2aaa9b990980)
> #20 0x000055555584b59c in Feval_buffer (buffer=XIL(0), printflag=XIL(0), filename=XIL(0x55555691a9c4), unibyte=XIL(0), do_allow_print=XIL(0))
>     at lread.c:2167
>         count = 16
>         tem = XIL(0xcd80)
>         buf = XIL(0x5555569816c5)
> #21 0x000055555580cfc7 in funcall_subr (subr=0x555555dde680 <Seval_buffer>, numargs=0, args=0x7fffffffbca0) at eval.c:2880
>         internal_argbuf = {XIL(0), XIL(0), XIL(0), XIL(0), XIL(0), make_fixnum(17538485786), XIL(0x555555dde685), XIL(0x7fffffffbad0)}
>         internal_args = 0x7fffffffba80
> #22 0x000055555580c9cb in Ffuncall (nargs=1, args=0x7fffffffbc98) at eval.c:2795
>         fun = XIL(0x555555dde685)
>         original_fun = XIL(0x2aaa9b613878)
>         funcar = XIL(0x55555572eaa5)
>         numargs = 0
>         val = XIL(0x1f143e340)
>         count = 15
> #23 0x0000555555800e1b in Ffuncall_interactively (nargs=1, args=0x7fffffffbc98) at callint.c:254
>         speccount = 14
> #24 0x000055555580cdf5 in funcall_subr (subr=0x555555ddb2c0 <Sfuncall_interactively>, numargs=1, args=0x7fffffffbc98) at eval.c:2848
> #25 0x000055555580c9cb in Ffuncall (nargs=2, args=0x7fffffffbc90) at eval.c:2795
>         fun = XIL(0x555555ddb2c5)
>         original_fun = XIL(0x6e10)
>         funcar = XIL(0x55555580ea33)
>         numargs = 1
>         val = XIL(0x7fffffffbc80)
>         count = 13
> #26 0x0000555555803488 in Fcall_interactively (function=XIL(0x2aaa9b613878), record_flag=XIL(0xb760), keys=XIL(0x5555562b9b65)) at callint.c:783
>         speccount = 12
>         arg_from_tty = false
>         key_count = 13
>         record_then_fail = false
>         save_this_command = XIL(0x2aaa9b613878)
>         save_this_original_command = XIL(0x2aaa9b791e88)
>         save_real_this_command = XIL(0x2aaa9b613878)
>         save_last_command = XIL(0x2aaa9b6e3088)
>         prefix_arg = XIL(0)
>         enable = XIL(0)
>         up_event = XIL(0)
>         form = XIL(0x555556625203)
>         specs = XIL(0x7ffff14433dc)
>         sa_avail = 16335
>         sa_count = 12
>         string_len = 0
>         string = 0x7fffffffbcd0 ""
>         string_end = 0x7fffffffbcd0 ""
>         next_event = 13
>         nargs = 2
>         args = 0x7fffffffbc90
>         visargs = 0x7fffffffbca0
>         varies = 0x7fffffffbcb0 ""
>         tem = 0x7fffffffbcd0 ""
>         val = XIL(0x555555812e24)
> #27 0x000055555580cf4e in funcall_subr (subr=0x555555ddb300 <Scall_interactively>, numargs=3, args=0x7fffffffc0a0) at eval.c:2873
>         internal_argbuf =
>           {XIL(0x7fffffffbfb0), XIL(0x1000000000), XIL(0x555555ddb300), XIL(0x7fffffffbfb8), make_fixnum(23456248762217), make_fixnum(17538485786), XIL(0x555555ddb305), XIL(0x7fffffffbfd0)}
>         internal_args = 0x7fffffffc0a0
> #28 0x000055555580c9cb in Ffuncall (nargs=4, args=0x7fffffffc098) at eval.c:2795
>         fun = XIL(0x555555ddb305)
>         original_fun = XIL(0x2aaa9b66f2a8)
>         funcar = XIL(0x555555e54bc0)
>         numargs = 3
>         val = XIL(0)
>         count = 11
> #29 0x0000555555864e43 in exec_byte_code
>     (bytestr=XIL(0x7ffff1595f9c), vector=XIL(0x7ffff1595b2d), maxdepth=make_fixnum(13), args_template=make_fixnum(1025), nargs=2, args=0x7fffffffc638)
>     at bytecode.c:635
>         op = 3
>         type = (CATCHER_ALL | unknown: 1434335160)
>         targets =
>           {0x555555867d91 <exec_byte_code+15463>, 0x555555867db6 <exec_byte_code+15500>, 0x555555867db8 <exec_byte_code+15502>, 0x555555867dba <exec_byte_code+15504>, 0x555555867dbc <exec_byte_code+15506>, 0x555555867dbc <exec_byte_code+15506>, 0x555555867e21 <exec_byte_code+15607>, 0x555555867e95 <exec_byte_code+15723>, 0x5555558646ef <exec_byte_code+1477>, 0x5555558646f1 <exec_byte_code+1479>, 0x5555558646f3 <exec_byte_code+1481>, 0x5555558646f5 <exec_byte_code+1483>, 0x5555558646f7 <exec_byte_code+1485>, 0x5555558646f7 <exec_byte_code+1485>, 0x5555558646fd <exec_byte_code+1491>, 0x5555558646be <exec_byte_code+1428>, 0x555555864b2e <exec_byte_code+2564>, 0x555555864b30 <exec_byte_code+2566>, 0x555555864b32 <exec_byte_code+2568>, 0x555555864b34 <exec_byte_code+2570>, 0x555555864b36 <exec_
>  byte_code+2572>, 0x555555864b36 <exec_byte_code+2572>, 0x555555864b6b <exec_byte_code+2625>, 0x555555864b3c <exec_byte_code+2578>, 0x555555864d60 <exec_byte_code+3126>, 0x555555864d62 <exec_byte_code+3128>, 0x555555864d64 <exec_byte_code+3130>, 0x555555864d66 <exec_byte_code+3132>, 0x555555864d68 <exec_byte_code+3134>, 0x555555864d68 <exec_byte_code+3134>, 0x555555864d1a <exec_byte_code+3056>, 0x555555864d31 <exec_byte_code+3079>, 0x555555864e10 <exec_byte_code+3302>, 0x555555864e12 <exec_byte_code+3304>, 0x555555864e14 <exec_byte_code+3306>, 0x555555864e16 <exec_byte_code+3308>, 0x555555864e18 <exec_byte_code+3310>, 0x555555864e18 <exec_byte_code+3310>, 0x555555864dca <exec_byte_code+3232>, 0x555555864de1 <exec_byte_code+3255>, 0x555555864ec5 <exec_byte_code+3483>, 0x555555864ec7 <exec_
>  byte_code+3485>, 0x555555864ec9 <exec_byte_code+3487>, 0x555555864ecb <exec_byte_code+3489>, 0x555555864ecd <exec_byte_code+3491>, 0x555555864ecd <exec_byte_code+3491>, 0x555555864e7f <exec_byte_code+3413>, 0x555555864e96 <exec_byte_code+3436>, 0x555555865725 <exec_byte_code+5627>, 0x55555586560b <exec_byte_code+5345>, 0x555555865602 <exec_byte_code+5336>, 0x555555867d91 <exec_byte_code+15463>, 0x555555867d91 <exec_byte_code+15463>, 0x555555867d91 <exec_byte_code+15463>, 0x555555867d91 <exec_byte_code+15463>, 0x555555867d91 <exec_byte_code+15463>, 0x555555865956 <exec_byte_code+6188>, 0x555555865a87 <exec_byte_code+6493>, 0x555555865af1 <exec_byte_code+6599>, 0x555555865b5e <exec_byte_code+6708>, 0x555555865bca <exec_byte_code+6816>, 0x55555586497a <exec_byte_code+2128>, 0x555555864a02 <
>  exec_byte_code+2264>, 0x555555865c50 <exec_byte_code+6950>, 0x5555558648b7 <exec_byte_code+1933>, 0x555555864a6a <exec_byte_code+2368>, 0x555555865cc5 <exec_byte_code+7067>, 0x555555865d2d <exec_byte_code+7171>, 0x555555865d75 <exec_byte_code+7243>, 0x555555865ddd <exec_byte_code+7347>, 0x555555865e40 <exec_byte_code+7446>, 0x555555865f2b <exec_byte_code+7681>, 0x555555865f73 <exec_byte_code+7753>, 0x555555865fdb <exec_byte_code+7857>, 0x555555866060 <exec_byte_code+7990>, 0x5555558660a8 <exec_byte_code+8062>, 0x5555558660f0 <exec_byte_code+8134>, 0x555555866158 <exec_byte_code+8238>, 0x5555558661c0 <exec_byte_code+8342>, 0x555555866228 <exec_byte_code+8446>, 0x5555558662ad <exec_byte_code+8579>, 0x5555558662ff <exec_byte_code+8661>, 0x555555866351 <exec_byte_code+8743>, 0x555555866420 <
>  exec_byte_code+8950>, 0x555555866521 <exec_byte_code+9207>, 0x555555866622 <exec_byte_code+9464>, 0x55555586668f <exec_byte_code+9573>, 0x5555558666fc <exec_byte_code+9682>, 0x555555866769 <exec_byte_code+9791>, 0x5555558667d6 <exec_byte_code+9900>, 0x555555866843 <exec_byte_code+10009>, 0x555555866895 <exec_byte_code+10091>, 0x55555586699a <exec_byte_code+10352>, 0x5555558669ec <exec_byte_code+10434>, 0x555555866a3e <exec_byte_code+10516>, 0x555555866a90 <exec_byte_code+10598>, 0x555555866b9c <exec_byte_code+10866>, 0x555555865482 <exec_byte_code+4952>, 0x555555866bfa <exec_byte_code+10960>, 0x555555866c42 <exec_byte_code+11032>, 0x555555866d0c <exec_byte_code+11234>, 0x555555866d75 <exec_byte_code+11339>, 0x555555866dd3 <exec_byte_code+11433>, 0x555555866e1b <exec_byte_code+11505>, 0x5
>  55555866e61 <exec_byte_code+11575>, 0x555555866ea7 <exec_byte_code+11645>, 0x555555866ef5 <exec_byte_code+11723>, 0x555555867d91 <exec_byte_code+15463>, 0x555555866f4d <exec_byte_code+11811>, 0x555555866f93 <exec_byte_code+11881>, 0x555555866fd9 <exec_byte_code+11951>, 0x55555586701f <exec_byte_code+12021>, 0x555555867065 <exec_byte_code+12091>, 0x5555558670ab <exec_byte_code+12161>, 0x555555865482 <exec_byte_code+4952>, 0x555555867d91 <exec_byte_code+15463>, 0x5555558670f3 <exec_byte_code+12233>, 0x555555867148 <exec_byte_code+12318>, 0x555555867190 <exec_byte_code+12390>, 0x5555558671d8 <exec_byte_code+12462>, 0x555555867240 <exec_byte_code+12566>, 0x5555558672a8 <exec_byte_code+12670>, 0x5555558672f0 <exec_byte_code+12742>, 0x55555586739e <exec_byte_code+12916>, 0x555555867406 <exec_b
>  yte_code+13020>, 0x55555586746e <exec_byte_code+13124>, 0x5555558674d6 <exec_byte_code+13228>, 0x55555586751c <exec_byte_code+13298>, 0x555555867d91 <exec_byte_code+15463>, 0x5555558653c8 <exec_byte_code+4766>, 0x555555864f77 <exec_byte_code+3661>, 0x555555864825 <exec_byte_code+1787>, 0x555555865023 <exec_byte_code+3833>, 0x5555558650a7 <exec_byte_code+3965>, 0x555555865128 <exec_byte_code+4094>, 0x55555586537c <exec_byte_code+4690>, 0x555555865391 <exec_byte_code+4711>, 0x555555864cc7 <exec_byte_code+2973>, 0x55555586544b <exec_byte_code+4897>, 0x5555558654b9 <exec_byte_code+5007>, 0x555555865547 <exec_byte_code+5149>, 0x555555865590 <exec_byte_code+5222>, 0x555555865771 <exec_byte_code+5703>, 0x5555558657ee <exec_byte_code+5828>, 0x555555865873 <exec_byte_code+5961>, 0x5555558658d3 <e
>  xec_byte_code+6057>, 0x555555864f29 <exec_byte_code+3583>, 0x555555867564 <exec_byte_code+13370>, 0x5555558675e9 <exec_byte_code+13503>, 0x555555867631 <exec_byte_code+13575>, 0x555555867679 <exec_byte_code+13647>, 0x5555558676c1 <exec_byte_code+13719>, 0x555555867709 <exec_byte_code+13791>, 0x555555867771 <exec_byte_code+13895>, 0x5555558677d9 <exec_byte_code+13999>, 0x555555867841 <exec_byte_code+14103>, 0x5555558678a9 <exec_byte_code+14207>, 0x5555558679ef <exec_byte_code+14533>, 0x555555867a57 <exec_byte_code+14637>, 0x555555867abf <exec_byte_code+14741>, 0x555555867b07 <exec_byte_code+14813>, 0x555555867b6f <exec_byte_code+14917>, 0x555555867bd7 <exec_byte_code+15021>, 0x555555867c1f <exec_byte_code+15093>, 0x555555867c67 <exec_byte_code+15165>, 0x555555866ae2 <exec_byte_code+10680>
>  , 0x555555866b34 <exec_byte_code+10762>, 0x555555867cb9 <exec_byte_code+15247>, 0x555555867d25 <exec_byte_code+15355>, 0x555555867d91 <exec_byte_code+15463>, 0x5555558651a9 <exec_byte_code+4223>, 0x5555558651c6 <exec_byte_code+4252>, 0x555555865235 <exec_byte_code+4363>, 0x5555558652a4 <exec_byte_code+4474>, 0x555555865310 <exec_byte_code+4582>, 0x555555865eae <exec_byte_code+7556>, 0x5555558663a3 <exec_byte_code+8825>, 0x555555866c8f <exec_byte_code+11109>, 0x555555867f28 <exec_byte_code+15870>, 0x555555867f9d <exec_byte_code+15987>, 0x555555867d91 <exec_byte_code+15463>, 0x555555867d91 <exec_byte_code+15463>, 0x555555868033 <exec_byte_code+16137>, 0x5555558680ba <exec_byte_code+16272>, 0x555555867d91 <exec_byte_code+15463>, 0x555555867d91 <exec_byte_code+15463>, 0x555555867d91 <exec_by
>  te_code+15463>, 0x555555867d91 <exec_byte_code+15463>, 0x555555867d91 <exec_byte_code+15463>, 0x555555867d91 <exec_byte_code+15463>, 0x555555867d91 <exec_byte_code+15463>, 0x555555867d91 <exec_byte_code+15463>, 0x555555868217 <exec_byte_code+16621> <repeats 64 times>}
>         const_length = 24
>         bytestr_length = 144
>         vectorp = 0x7ffff1595b30
>         quitcounter = 1 '\001'
>         stack_items = 14
>         sa_avail = 16128
>         sa_count = 11
>         alloc = 0x7fffffffc060
>         item_bytes = 112
>         stack_base = 0x7fffffffc060
>         top = 0x7fffffffc098
>         stack_lim = 0x7fffffffc0d0
>         bytestr_data = 0x7fffffffc0d0 "\304\020\211?\205\023"
>         pc = 0x7fffffffc136 "\006\006\071\203\215"
>         count = 11
>         result = XIL(0x7fffffffc390)
> #30 0x000055555580d183 in fetch_and_exec_byte_code (fun=XIL(0x7ffff1595afd), syms_left=make_fixnum(1025), nargs=2, args=0x7fffffffc628) at eval.c:2917
> #31 0x000055555580d609 in funcall_lambda (fun=XIL(0x7ffff1595afd), nargs=2, arg_vector=0x7fffffffc628) at eval.c:2998
>         val = XIL(0x7ffff1595af8)
>         syms_left = make_fixnum(1025)
>         next = XIL(0x7fffffffc560)
>         lexenv = XIL(0)
>         count = 11
>         i = 140737488340352
>         optional = false
>         rest = false
> #32 0x000055555580ca0f in Ffuncall (nargs=3, args=0x7fffffffc620) at eval.c:2797
>         fun = XIL(0x7ffff1595afd)
>         original_fun = XIL(0x4320)
>         funcar = XIL(0x55555580ea33)
>         numargs = 2
>         val = XIL(0x7fffffffc5e0)
>         count = 10
> #33 0x0000555555864e43 in exec_byte_code
>     (bytestr=XIL(0x7ffff15e7a94), vector=XIL(0x7ffff15e764d), maxdepth=make_fixnum(15), args_template=make_fixnum(769), nargs=3, args=0x7fffffffcd78)
>     at bytecode.c:635
>         op = 2
>         type = (unknown: 4048265040)
>         targets =
>           {0x555555867d91 <exec_byte_code+15463>, 0x555555867db6 <exec_byte_code+15500>, 0x555555867db8 <exec_byte_code+15502>, 0x555555867dba <exec_byte_code+15504>, 0x555555867dbc <exec_byte_code+15506>, 0x555555867dbc <exec_byte_code+15506>, 0x555555867e21 <exec_byte_code+15607>, 0x555555867e95 <exec_byte_code+15723>, 0x5555558646ef <exec_byte_code+1477>, 0x5555558646f1 <exec_byte_code+1479>, 0x5555558646f3 <exec_byte_code+1481>, 0x5555558646f5 <exec_byte_code+1483>, 0x5555558646f7 <exec_byte_code+1485>, 0x5555558646f7 <exec_byte_code+1485>, 0x5555558646fd <exec_byte_code+1491>, 0x5555558646be <exec_byte_code+1428>, 0x555555864b2e <exec_byte_code+2564>, 0x555555864b30 <exec_byte_code+2566>, 0x555555864b32 <exec_byte_code+2568>, 0x555555864b34 <exec_byte_code+2570>, 0x555555864b36 <exec_
>  byte_code+2572>, 0x555555864b36 <exec_byte_code+2572>, 0x555555864b6b <exec_byte_code+2625>, 0x555555864b3c <exec_byte_code+2578>, 0x555555864d60 <exec_byte_code+3126>, 0x555555864d62 <exec_byte_code+3128>, 0x555555864d64 <exec_byte_code+3130>, 0x555555864d66 <exec_byte_code+3132>, 0x555555864d68 <exec_byte_code+3134>, 0x555555864d68 <exec_byte_code+3134>, 0x555555864d1a <exec_byte_code+3056>, 0x555555864d31 <exec_byte_code+3079>, 0x555555864e10 <exec_byte_code+3302>, 0x555555864e12 <exec_byte_code+3304>, 0x555555864e14 <exec_byte_code+3306>, 0x555555864e16 <exec_byte_code+3308>, 0x555555864e18 <exec_byte_code+3310>, 0x555555864e18 <exec_byte_code+3310>, 0x555555864dca <exec_byte_code+3232>, 0x555555864de1 <exec_byte_code+3255>, 0x555555864ec5 <exec_byte_code+3483>, 0x555555864ec7 <exec_
>  byte_code+3485>, 0x555555864ec9 <exec_byte_code+3487>, 0x555555864ecb <exec_byte_code+3489>, 0x555555864ecd <exec_byte_code+3491>, 0x555555864ecd <exec_byte_code+3491>, 0x555555864e7f <exec_byte_code+3413>, 0x555555864e96 <exec_byte_code+3436>, 0x555555865725 <exec_byte_code+5627>, 0x55555586560b <exec_byte_code+5345>, 0x555555865602 <exec_byte_code+5336>, 0x555555867d91 <exec_byte_code+15463>, 0x555555867d91 <exec_byte_code+15463>, 0x555555867d91 <exec_byte_code+15463>, 0x555555867d91 <exec_byte_code+15463>, 0x555555867d91 <exec_byte_code+15463>, 0x555555865956 <exec_byte_code+6188>, 0x555555865a87 <exec_byte_code+6493>, 0x555555865af1 <exec_byte_code+6599>, 0x555555865b5e <exec_byte_code+6708>, 0x555555865bca <exec_byte_code+6816>, 0x55555586497a <exec_byte_code+2128>, 0x555555864a02 <
>  exec_byte_code+2264>, 0x555555865c50 <exec_byte_code+6950>, 0x5555558648b7 <exec_byte_code+1933>, 0x555555864a6a <exec_byte_code+2368>, 0x555555865cc5 <exec_byte_code+7067>, 0x555555865d2d <exec_byte_code+7171>, 0x555555865d75 <exec_byte_code+7243>, 0x555555865ddd <exec_byte_code+7347>, 0x555555865e40 <exec_byte_code+7446>, 0x555555865f2b <exec_byte_code+7681>, 0x555555865f73 <exec_byte_code+7753>, 0x555555865fdb <exec_byte_code+7857>, 0x555555866060 <exec_byte_code+7990>, 0x5555558660a8 <exec_byte_code+8062>, 0x5555558660f0 <exec_byte_code+8134>, 0x555555866158 <exec_byte_code+8238>, 0x5555558661c0 <exec_byte_code+8342>, 0x555555866228 <exec_byte_code+8446>, 0x5555558662ad <exec_byte_code+8579>, 0x5555558662ff <exec_byte_code+8661>, 0x555555866351 <exec_byte_code+8743>, 0x555555866420 <
>  exec_byte_code+8950>, 0x555555866521 <exec_byte_code+9207>, 0x555555866622 <exec_byte_code+9464>, 0x55555586668f <exec_byte_code+9573>, 0x5555558666fc <exec_byte_code+9682>, 0x555555866769 <exec_byte_code+9791>, 0x5555558667d6 <exec_byte_code+9900>, 0x555555866843 <exec_byte_code+10009>, 0x555555866895 <exec_byte_code+10091>, 0x55555586699a <exec_byte_code+10352>, 0x5555558669ec <exec_byte_code+10434>, 0x555555866a3e <exec_byte_code+10516>, 0x555555866a90 <exec_byte_code+10598>, 0x555555866b9c <exec_byte_code+10866>, 0x555555865482 <exec_byte_code+4952>, 0x555555866bfa <exec_byte_code+10960>, 0x555555866c42 <exec_byte_code+11032>, 0x555555866d0c <exec_byte_code+11234>, 0x555555866d75 <exec_byte_code+11339>, 0x555555866dd3 <exec_byte_code+11433>, 0x555555866e1b <exec_byte_code+11505>, 0x5
>  55555866e61 <exec_byte_code+11575>, 0x555555866ea7 <exec_byte_code+11645>, 0x555555866ef5 <exec_byte_code+11723>, 0x555555867d91 <exec_byte_code+15463>, 0x555555866f4d <exec_byte_code+11811>, 0x555555866f93 <exec_byte_code+11881>, 0x555555866fd9 <exec_byte_code+11951>, 0x55555586701f <exec_byte_code+12021>, 0x555555867065 <exec_byte_code+12091>, 0x5555558670ab <exec_byte_code+12161>, 0x555555865482 <exec_byte_code+4952>, 0x555555867d91 <exec_byte_code+15463>, 0x5555558670f3 <exec_byte_code+12233>, 0x555555867148 <exec_byte_code+12318>, 0x555555867190 <exec_byte_code+12390>, 0x5555558671d8 <exec_byte_code+12462>, 0x555555867240 <exec_byte_code+12566>, 0x5555558672a8 <exec_byte_code+12670>, 0x5555558672f0 <exec_byte_code+12742>, 0x55555586739e <exec_byte_code+12916>, 0x555555867406 <exec_b
>  yte_code+13020>, 0x55555586746e <exec_byte_code+13124>, 0x5555558674d6 <exec_byte_code+13228>, 0x55555586751c <exec_byte_code+13298>, 0x555555867d91 <exec_byte_code+15463>, 0x5555558653c8 <exec_byte_code+4766>, 0x555555864f77 <exec_byte_code+3661>, 0x555555864825 <exec_byte_code+1787>, 0x555555865023 <exec_byte_code+3833>, 0x5555558650a7 <exec_byte_code+3965>, 0x555555865128 <exec_byte_code+4094>, 0x55555586537c <exec_byte_code+4690>, 0x555555865391 <exec_byte_code+4711>, 0x555555864cc7 <exec_byte_code+2973>, 0x55555586544b <exec_byte_code+4897>, 0x5555558654b9 <exec_byte_code+5007>, 0x555555865547 <exec_byte_code+5149>, 0x555555865590 <exec_byte_code+5222>, 0x555555865771 <exec_byte_code+5703>, 0x5555558657ee <exec_byte_code+5828>, 0x555555865873 <exec_byte_code+5961>, 0x5555558658d3 <e
>  xec_byte_code+6057>, 0x555555864f29 <exec_byte_code+3583>, 0x555555867564 <exec_byte_code+13370>, 0x5555558675e9 <exec_byte_code+13503>, 0x555555867631 <exec_byte_code+13575>, 0x555555867679 <exec_byte_code+13647>, 0x5555558676c1 <exec_byte_code+13719>, 0x555555867709 <exec_byte_code+13791>, 0x555555867771 <exec_byte_code+13895>, 0x5555558677d9 <exec_byte_code+13999>, 0x555555867841 <exec_byte_code+14103>, 0x5555558678a9 <exec_byte_code+14207>, 0x5555558679ef <exec_byte_code+14533>, 0x555555867a57 <exec_byte_code+14637>, 0x555555867abf <exec_byte_code+14741>, 0x555555867b07 <exec_byte_code+14813>, 0x555555867b6f <exec_byte_code+14917>, 0x555555867bd7 <exec_byte_code+15021>, 0x555555867c1f <exec_byte_code+15093>, 0x555555867c67 <exec_byte_code+15165>, 0x555555866ae2 <exec_byte_code+10680>
>  , 0x555555866b34 <exec_byte_code+10762>, 0x555555867cb9 <exec_byte_code+15247>, 0x555555867d25 <exec_byte_code+15355>, 0x555555867d91 <exec_byte_code+15463>, 0x5555558651a9 <exec_byte_code+4223>, 0x5555558651c6 <exec_byte_code+4252>, 0x555555865235 <exec_byte_code+4363>, 0x5555558652a4 <exec_byte_code+4474>, 0x555555865310 <exec_byte_code+4582>, 0x555555865eae <exec_byte_code+7556>, 0x5555558663a3 <exec_byte_code+8825>, 0x555555866c8f <exec_byte_code+11109>, 0x555555867f28 <exec_byte_code+15870>, 0x555555867f9d <exec_byte_code+15987>, 0x555555867d91 <exec_byte_code+15463>, 0x555555867d91 <exec_byte_code+15463>, 0x555555868033 <exec_byte_code+16137>, 0x5555558680ba <exec_byte_code+16272>, 0x555555867d91 <exec_byte_code+15463>, 0x555555867d91 <exec_byte_code+15463>, 0x555555867d91 <exec_by
>  te_code+15463>, 0x555555867d91 <exec_byte_code+15463>, 0x555555867d91 <exec_byte_code+15463>, 0x555555867d91 <exec_byte_code+15463>, 0x555555867d91 <exec_byte_code+15463>, 0x555555867d91 <exec_byte_code+15463>, 0x555555868217 <exec_byte_code+16621> <repeats 64 times>}
>         const_length = 50
>         bytestr_length = 295
>         vectorp = 0x7ffff15e7650
>         quitcounter = 1 '\001'
>         stack_items = 16
>         sa_avail = 15961
>         sa_count = 9
>         alloc = 0x7fffffffc5f0
>         item_bytes = 128
>         stack_base = 0x7fffffffc5f0
>         top = 0x7fffffffc620
>         stack_lim = 0x7fffffffc670
>         bytestr_data = 0x7fffffffc670 "\001\204\020"
>         pc = 0x7fffffffc6b6 "\210)\n\205q"
>         count = 9
>         result = XIL(0x7fffffffc9c0)
> #34 0x000055555580d183 in fetch_and_exec_byte_code (fun=XIL(0x7ffff15e6a9d), syms_left=make_fixnum(769), nargs=3, args=0x7fffffffcd60) at eval.c:2917
> #35 0x000055555580d609 in funcall_lambda (fun=XIL(0x7ffff15e6a9d), nargs=3, arg_vector=0x7fffffffcd60) at eval.c:2998
>         val = XIL(0x7ffff15e6a98)
>         syms_left = make_fixnum(769)
>         next = XIL(0x7fffffffcb90)
>         lexenv = XIL(0)
>         count = 9
>         i = 140737488341936
>         optional = false
>         rest = false
> #36 0x000055555580ca0f in Ffuncall (nargs=4, args=0x7fffffffcd58) at eval.c:2797
>         fun = XIL(0x7ffff15e6a9d)
>         original_fun = XIL(0x2aaa9b791e88)
>         funcar = XIL(0x55555572eaa5)
>         numargs = 3
>         val = XIL(0xffffc800)
>         count = 8
> #37 0x0000555555800e1b in Ffuncall_interactively (nargs=4, args=0x7fffffffcd58) at callint.c:254
>         speccount = 7
> #38 0x000055555580cdf5 in funcall_subr (subr=0x555555ddb2c0 <Sfuncall_interactively>, numargs=4, args=0x7fffffffcd58) at eval.c:2848
> #39 0x000055555580c9cb in Ffuncall (nargs=5, args=0x7fffffffcd50) at eval.c:2795
>         fun = XIL(0x555555ddb2c5)
>         original_fun = XIL(0x6e10)
>         funcar = XIL(0x555555e54bc0)
>         numargs = 4
>         val = XIL(0)
>         count = 6
> #40 0x000055555580bae7 in Fapply (nargs=3, args=0x7fffffffce70) at eval.c:2425
>         i = 5
>         funcall_nargs = 5
>         funcall_args = 0x7fffffffcd50
>         spread_arg = XIL(0)
>         fun = XIL(0x555555ddb2c5)
>         sa_avail = 16344
>         sa_count = 6
>         numargs = 4
>         retval = XIL(0x6e10)
> #41 0x000055555580127e in Fcall_interactively (function=XIL(0x2aaa9b791e88), record_flag=XIL(0), keys=XIL(0x5555562cf7b5)) at callint.c:342
>         funval = XIL(0x7ffff15e6a9d)
>         events = 11
>         input = XIL(0x7ffff15e6ad3)
>         speccount = 6
>         arg_from_tty = false
>         key_count = 1
>         record_then_fail = false
>         save_this_command = XIL(0x2aaa9b791e88)
>         save_this_original_command = XIL(0x2aaa9b791e88)
>         save_real_this_command = XIL(0x2aaa9b791e88)
>         save_last_command = XIL(0x2aaa9b6e3088)
>         prefix_arg = XIL(0)
>         enable = XIL(0)
>         up_event = XIL(0)
>         form = XIL(0x55555677b853)
>         specs = XIL(0x5555561ea263)
>         sa_avail = 0
>         sa_count = 140737488343008
>         string_len = 140737242254680
>         string = 0x555555e54bc0 <lispsym> "\230\001"
>         string_end = 0x9557e12cd <error: Cannot access memory at address 0x9557e12cd>
>         next_event = 140737242884765
>         nargs = 140737488343104
>         args = 0x555555e54bc0 <lispsym>
>         visargs = 0x7ffff154cd58
>         varies = 0x0
>         tem = 0x0
>         val = make_fixnum(23456248729070)
> #42 0x000055555580cf4e in funcall_subr (subr=0x555555ddb300 <Scall_interactively>, numargs=3, args=0x7fffffffd1d0) at eval.c:2873
>         internal_argbuf =
>           {XIL(0x7fffffffd0e0), XIL(0x1000000000), XIL(0x555555ddb300), XIL(0x7fffffffd0e8), make_fixnum(23456248762217), make_fixnum(17538485786), XIL(0x555555ddb305), XIL(0x7fffffffd100)}
>         internal_args = 0x7fffffffd1d0
> #43 0x000055555580c9cb in Ffuncall (nargs=4, args=0x7fffffffd1c8) at eval.c:2795
>         fun = XIL(0x555555ddb305)
>         original_fun = XIL(0x2aaa9b66f2a8)
>         funcar = XIL(0x555555e54bc0)
>         numargs = 3
>         val = XIL(0)
>         count = 5
> #44 0x0000555555864e43 in exec_byte_code
>     (bytestr=XIL(0x7ffff1595f9c), vector=XIL(0x7ffff1595b2d), maxdepth=make_fixnum(13), args_template=make_fixnum(1025), nargs=1, args=0x7fffffffd740)
>     at bytecode.c:635
>         op = 3
>         type = (CONDITION_CASE | unknown: 16)
>         targets =
>           {0x555555867d91 <exec_byte_code+15463>, 0x555555867db6 <exec_byte_code+15500>, 0x555555867db8 <exec_byte_code+15502>, 0x555555867dba <exec_byte_code+15504>, 0x555555867dbc <exec_byte_code+15506>, 0x555555867dbc <exec_byte_code+15506>, 0x555555867e21 <exec_byte_code+15607>, 0x555555867e95 <exec_byte_code+15723>, 0x5555558646ef <exec_byte_code+1477>, 0x5555558646f1 <exec_byte_code+1479>, 0x5555558646f3 <exec_byte_code+1481>, 0x5555558646f5 <exec_byte_code+1483>, 0x5555558646f7 <exec_byte_code+1485>, 0x5555558646f7 <exec_byte_code+1485>, 0x5555558646fd <exec_byte_code+1491>, 0x5555558646be <exec_byte_code+1428>, 0x555555864b2e <exec_byte_code+2564>, 0x555555864b30 <exec_byte_code+2566>, 0x555555864b32 <exec_byte_code+2568>, 0x555555864b34 <exec_byte_code+2570>, 0x555555864b36 <exec_
>  byte_code+2572>, 0x555555864b36 <exec_byte_code+2572>, 0x555555864b6b <exec_byte_code+2625>, 0x555555864b3c <exec_byte_code+2578>, 0x555555864d60 <exec_byte_code+3126>, 0x555555864d62 <exec_byte_code+3128>, 0x555555864d64 <exec_byte_code+3130>, 0x555555864d66 <exec_byte_code+3132>, 0x555555864d68 <exec_byte_code+3134>, 0x555555864d68 <exec_byte_code+3134>, 0x555555864d1a <exec_byte_code+3056>, 0x555555864d31 <exec_byte_code+3079>, 0x555555864e10 <exec_byte_code+3302>, 0x555555864e12 <exec_byte_code+3304>, 0x555555864e14 <exec_byte_code+3306>, 0x555555864e16 <exec_byte_code+3308>, 0x555555864e18 <exec_byte_code+3310>, 0x555555864e18 <exec_byte_code+3310>, 0x555555864dca <exec_byte_code+3232>, 0x555555864de1 <exec_byte_code+3255>, 0x555555864ec5 <exec_byte_code+3483>, 0x555555864ec7 <exec_
>  byte_code+3485>, 0x555555864ec9 <exec_byte_code+3487>, 0x555555864ecb <exec_byte_code+3489>, 0x555555864ecd <exec_byte_code+3491>, 0x555555864ecd <exec_byte_code+3491>, 0x555555864e7f <exec_byte_code+3413>, 0x555555864e96 <exec_byte_code+3436>, 0x555555865725 <exec_byte_code+5627>, 0x55555586560b <exec_byte_code+5345>, 0x555555865602 <exec_byte_code+5336>, 0x555555867d91 <exec_byte_code+15463>, 0x555555867d91 <exec_byte_code+15463>, 0x555555867d91 <exec_byte_code+15463>, 0x555555867d91 <exec_byte_code+15463>, 0x555555867d91 <exec_byte_code+15463>, 0x555555865956 <exec_byte_code+6188>, 0x555555865a87 <exec_byte_code+6493>, 0x555555865af1 <exec_byte_code+6599>, 0x555555865b5e <exec_byte_code+6708>, 0x555555865bca <exec_byte_code+6816>, 0x55555586497a <exec_byte_code+2128>, 0x555555864a02 <
>  exec_byte_code+2264>, 0x555555865c50 <exec_byte_code+6950>, 0x5555558648b7 <exec_byte_code+1933>, 0x555555864a6a <exec_byte_code+2368>, 0x555555865cc5 <exec_byte_code+7067>, 0x555555865d2d <exec_byte_code+7171>, 0x555555865d75 <exec_byte_code+7243>, 0x555555865ddd <exec_byte_code+7347>, 0x555555865e40 <exec_byte_code+7446>, 0x555555865f2b <exec_byte_code+7681>, 0x555555865f73 <exec_byte_code+7753>, 0x555555865fdb <exec_byte_code+7857>, 0x555555866060 <exec_byte_code+7990>, 0x5555558660a8 <exec_byte_code+8062>, 0x5555558660f0 <exec_byte_code+8134>, 0x555555866158 <exec_byte_code+8238>, 0x5555558661c0 <exec_byte_code+8342>, 0x555555866228 <exec_byte_code+8446>, 0x5555558662ad <exec_byte_code+8579>, 0x5555558662ff <exec_byte_code+8661>, 0x555555866351 <exec_byte_code+8743>, 0x555555866420 <
>  exec_byte_code+8950>, 0x555555866521 <exec_byte_code+9207>, 0x555555866622 <exec_byte_code+9464>, 0x55555586668f <exec_byte_code+9573>, 0x5555558666fc <exec_byte_code+9682>, 0x555555866769 <exec_byte_code+9791>, 0x5555558667d6 <exec_byte_code+9900>, 0x555555866843 <exec_byte_code+10009>, 0x555555866895 <exec_byte_code+10091>, 0x55555586699a <exec_byte_code+10352>, 0x5555558669ec <exec_byte_code+10434>, 0x555555866a3e <exec_byte_code+10516>, 0x555555866a90 <exec_byte_code+10598>, 0x555555866b9c <exec_byte_code+10866>, 0x555555865482 <exec_byte_code+4952>, 0x555555866bfa <exec_byte_code+10960>, 0x555555866c42 <exec_byte_code+11032>, 0x555555866d0c <exec_byte_code+11234>, 0x555555866d75 <exec_byte_code+11339>, 0x555555866dd3 <exec_byte_code+11433>, 0x555555866e1b <exec_byte_code+11505>, 0x5
>  55555866e61 <exec_byte_code+11575>, 0x555555866ea7 <exec_byte_code+11645>, 0x555555866ef5 <exec_byte_code+11723>, 0x555555867d91 <exec_byte_code+15463>, 0x555555866f4d <exec_byte_code+11811>, 0x555555866f93 <exec_byte_code+11881>, 0x555555866fd9 <exec_byte_code+11951>, 0x55555586701f <exec_byte_code+12021>, 0x555555867065 <exec_byte_code+12091>, 0x5555558670ab <exec_byte_code+12161>, 0x555555865482 <exec_byte_code+4952>, 0x555555867d91 <exec_byte_code+15463>, 0x5555558670f3 <exec_byte_code+12233>, 0x555555867148 <exec_byte_code+12318>, 0x555555867190 <exec_byte_code+12390>, 0x5555558671d8 <exec_byte_code+12462>, 0x555555867240 <exec_byte_code+12566>, 0x5555558672a8 <exec_byte_code+12670>, 0x5555558672f0 <exec_byte_code+12742>, 0x55555586739e <exec_byte_code+12916>, 0x555555867406 <exec_b
>  yte_code+13020>, 0x55555586746e <exec_byte_code+13124>, 0x5555558674d6 <exec_byte_code+13228>, 0x55555586751c <exec_byte_code+13298>, 0x555555867d91 <exec_byte_code+15463>, 0x5555558653c8 <exec_byte_code+4766>, 0x555555864f77 <exec_byte_code+3661>, 0x555555864825 <exec_byte_code+1787>, 0x555555865023 <exec_byte_code+3833>, 0x5555558650a7 <exec_byte_code+3965>, 0x555555865128 <exec_byte_code+4094>, 0x55555586537c <exec_byte_code+4690>, 0x555555865391 <exec_byte_code+4711>, 0x555555864cc7 <exec_byte_code+2973>, 0x55555586544b <exec_byte_code+4897>, 0x5555558654b9 <exec_byte_code+5007>, 0x555555865547 <exec_byte_code+5149>, 0x555555865590 <exec_byte_code+5222>, 0x555555865771 <exec_byte_code+5703>, 0x5555558657ee <exec_byte_code+5828>, 0x555555865873 <exec_byte_code+5961>, 0x5555558658d3 <e
>  xec_byte_code+6057>, 0x555555864f29 <exec_byte_code+3583>, 0x555555867564 <exec_byte_code+13370>, 0x5555558675e9 <exec_byte_code+13503>, 0x555555867631 <exec_byte_code+13575>, 0x555555867679 <exec_byte_code+13647>, 0x5555558676c1 <exec_byte_code+13719>, 0x555555867709 <exec_byte_code+13791>, 0x555555867771 <exec_byte_code+13895>, 0x5555558677d9 <exec_byte_code+13999>, 0x555555867841 <exec_byte_code+14103>, 0x5555558678a9 <exec_byte_code+14207>, 0x5555558679ef <exec_byte_code+14533>, 0x555555867a57 <exec_byte_code+14637>, 0x555555867abf <exec_byte_code+14741>, 0x555555867b07 <exec_byte_code+14813>, 0x555555867b6f <exec_byte_code+14917>, 0x555555867bd7 <exec_byte_code+15021>, 0x555555867c1f <exec_byte_code+15093>, 0x555555867c67 <exec_byte_code+15165>, 0x555555866ae2 <exec_byte_code+10680>
>  , 0x555555866b34 <exec_byte_code+10762>, 0x555555867cb9 <exec_byte_code+15247>, 0x555555867d25 <exec_byte_code+15355>, 0x555555867d91 <exec_byte_code+15463>, 0x5555558651a9 <exec_byte_code+4223>, 0x5555558651c6 <exec_byte_code+4252>, 0x555555865235 <exec_byte_code+4363>, 0x5555558652a4 <exec_byte_code+4474>, 0x555555865310 <exec_byte_code+4582>, 0x555555865eae <exec_byte_code+7556>, 0x5555558663a3 <exec_byte_code+8825>, 0x555555866c8f <exec_byte_code+11109>, 0x555555867f28 <exec_byte_code+15870>, 0x555555867f9d <exec_byte_code+15987>, 0x555555867d91 <exec_byte_code+15463>, 0x555555867d91 <exec_byte_code+15463>, 0x555555868033 <exec_byte_code+16137>, 0x5555558680ba <exec_byte_code+16272>, 0x555555867d91 <exec_byte_code+15463>, 0x555555867d91 <exec_byte_code+15463>, 0x555555867d91 <exec_by
>  te_code+15463>, 0x555555867d91 <exec_byte_code+15463>, 0x555555867d91 <exec_byte_code+15463>, 0x555555867d91 <exec_byte_code+15463>, 0x555555867d91 <exec_byte_code+15463>, 0x555555867d91 <exec_byte_code+15463>, 0x555555868217 <exec_byte_code+16621> <repeats 64 times>}
>         const_length = 24
>         bytestr_length = 144
>         vectorp = 0x7ffff1595b30
>         quitcounter = 1 '\001'
>         stack_items = 14
>         sa_avail = 16128
>         sa_count = 5
>         alloc = 0x7fffffffd190
>         item_bytes = 112
>         stack_base = 0x7fffffffd190
>         top = 0x7fffffffd1c8
>         stack_lim = 0x7fffffffd200
>         bytestr_data = 0x7fffffffd200 "\304\020\211?\205\023"
>         pc = 0x7fffffffd266 "\006\006\071\203\215"
>         count = 5
>         result = XIL(0x7fffffffd4f0)
> #45 0x000055555580d183 in fetch_and_exec_byte_code (fun=XIL(0x7ffff1595afd), syms_left=make_fixnum(1025), nargs=1, args=0x7fffffffd738) at eval.c:2917
> #46 0x000055555580d609 in funcall_lambda (fun=XIL(0x7ffff1595afd), nargs=1, arg_vector=0x7fffffffd738) at eval.c:2998
>         val = XIL(0x7ffff1595af8)
>         syms_left = make_fixnum(1025)
>         next = XIL(0x7fffffffd690)
>         lexenv = XIL(0)
>         count = 5
>         i = 140737488344752
>         optional = false
>         rest = false
> #47 0x000055555580ca0f in Ffuncall (nargs=2, args=0x7fffffffd730) at eval.c:2797
>         fun = XIL(0x7ffff1595afd)
>         original_fun = XIL(0x4320)
>         funcar = XIL(0x555556948bc8)
>         numargs = 1
>         val = XIL(0xdcb0)
>         count = 4
> #48 0x000055555580c1db in call1 (fn=XIL(0x4320), arg1=XIL(0x2aaa9b791e88)) at eval.c:2655
> #49 0x000055555572fd37 in command_loop_1 () at keyboard.c:1463
>         scount = 3
>         cmd = XIL(0x2aaa9b791e88)
>         keybuf =
>           {make_fixnum(134217848), make_fixnum(6), XIL(0x7fffffffd800), XIL(0x5555557e6d98), XIL(0x1f1b182d8), XIL(0x7ffff1b182d8), XIL(0), XIL(0x8250), XIL(0x7fffffffd7e0), XIL(0), XIL(0x555555e54bc0), XIL(0), XIL(0x7fffffffd800), make_fixnum(23456248761882), make_fixnum(34910567923712), XIL(0), XIL(0x555555e54bc0), XIL(0), XIL(0x7fffffffd830), make_fixnum(23456248761882), XIL(0), XIL(0x555555e54bc0), XIL(0), XIL(0), XIL(0x7fffffffd850), make_fixnum(23456248761903), XIL(0x8), XIL(0x8250), XIL(0x7fffffffd890), XIL(0x555555808da0)}
>         i = 1
>         prev_modiff = 10
>         prev_buffer = 0x5555569816c0
>         already_adjusted = false
> #50 0x0000555555808860 in internal_condition_case (bfun=0x55555572f4e4 <command_loop_1>, handlers=XIL(0x90), hfun=0x55555572eaf3 <cmd_error>)
>     at eval.c:1356
>         val = XIL(0x55555572bc4f)
>         c = 0x555555ef7d60
> #51 0x000055555572f0c9 in command_loop_2 (ignore=XIL(0)) at keyboard.c:1091
>         val = XIL(0xd5f0)
> #52 0x0000555555807d14 in internal_catch (tag=XIL(0xd5f0), func=0x55555572f09c <command_loop_2>, arg=XIL(0)) at eval.c:1117
>         val = XIL(0)
>         c = 0x555555ef62d0
> #53 0x000055555572f067 in command_loop () at keyboard.c:1070
> #54 0x000055555572e5da in recursive_edit_1 () at keyboard.c:714
>         count = 1
>         val = XIL(0x7fffffffda00)
> #55 0x000055555572e7d2 in Frecursive_edit () at keyboard.c:786
>         count = 0
>         buffer = XIL(0)
> #56 0x000055555572a798 in main (argc=2, argv=0x7fffffffdc58) at emacs.c:2043
>         stack_bottom_variable = 0x7ffff5232841 <__libc_calloc+129>
>         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 = 0x0
>         sockfd = -1
>         module_assertions = false
>
> Lisp Backtrace:
> "json-parse-string" (0xffffb368)
> "mapcar" (0xffffb4e0)
> "let*" (0xffffb6d0)
> "save-current-buffer" (0xffffb850)
> "eval-buffer" (0xffffbca0)
> "funcall-interactively" (0xffffbc98)
> "call-interactively" (0xffffc0a0)
> "command-execute" (0xffffc628)
> "execute-extended-command" (0xffffcd60)
> "funcall-interactively" (0xffffcd58)
> "call-interactively" (0xffffd1d0)
> "command-execute" (0xffffd738)
> "json-parse-string" (0xffffb368)
> "mapcar" (0xffffb4e0)
> "let*" (0xffffb6d0)
> "save-current-buffer" (0xffffb850)
> "eval-buffer" (0xffffbca0)
> "funcall-interactively" (0xffffbc98)
> "call-interactively" (0xffffc0a0)
> "command-execute" (0xffffc628)
> "execute-extended-command" (0xffffcd60)
> "funcall-interactively" (0xffffcd58)
> "call-interactively" (0xffffd1d0)
> "command-execute" (0xffffd738)
> quit
>
>
>
> In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0)
>  of 2020-06-28 built on michel
> Repository revision: 162f375bac22786d95a253f03de0148be4fe3201
> Repository branch: master
> Windowing system distributor 'The X.Org Foundation', version 11.0.12008000
> System Description: Debian GNU/Linux bullseye/sid
>
> Recent messages:
> For information about GNU Emacs and the GNU system, type C-h C-a.
>
> Configured using:
>  'configure --enable-checking=yes,glyphs --enable-check-lisp-object-type
>  'CFLAGS=-O0 -g3' --prefix=/usr/local/stow/emacs'
>
> Configured features:
> XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY
> INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF
> ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD
> JSON PDUMPER LCMS2 GMP
>
> Important settings:
>   value of $LC_MONETARY: en_US.UTF-8
>   value of $LC_NUMERIC: en_US.UTF-8
>   value of $LC_TIME: en_US.UTF-8
>   value of $LANG: en_US.UTF-8
>   value of $XMODIFIERS: @im=ibus
>   locale-coding-system: utf-8-unix
>
> Major mode: Lisp Interaction
>
> Minor modes in effect:
>   tooltip-mode: t
>   global-eldoc-mode: t
>   eldoc-mode: t
>   electric-indent-mode: t
>   mouse-wheel-mode: t
>   tool-bar-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
>   line-number-mode: t
>   transient-mark-mode: t
>
> Load-path shadows:
> None found.
>
> Features:
> (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs
> rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config
> gnus-util rmail rmail-loaddefs text-property-search seq byte-opt gv
> bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse
> rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045
> ietf-drums mm-util mail-prsvr mail-utils time-date subr-x cl-loaddefs
> cl-lib tooltip eldoc electric uniquify ediff-hook vc-hooks
> lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar
> dnd fontset image regexp-opt fringe tabulated-list replace newcomment
> text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar
> rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock
> syntax facemenu 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 charscript charprop
> case-table epa-hook jka-cmpr-hook help simple abbrev obarray
> cl-preloaded nadvice loaddefs button faces cus-face macroexp files
> text-properties overlay sha1 md5 base64 format env code-pages mule
> custom widget hashtable-print-readable backquote threads dbusbind
> inotify lcms2 dynamic-setting system-font-setting font-render-setting
> cairo move-toolbar gtk x-toolkit x multi-tty make-network-process emacs)
>
> Memory information:
> ((conses 16 44611 7986)
>  (symbols 48 5980 1)
>  (strings 32 15666 1973)
>  (string-bytes 1 509628)
>  (vectors 16 9294)
>  (vector-slots 8 123406 9079)
>  (floats 8 19 50)
>  (intervals 56 194 0)
>  (buffers 992 10))
>
>
>
>



Reply | Threaded
Open this post in threaded view
|

bug#42113: 28.0.50; Segmentation fault in json-parse-file

Philipp Stephani
In reply to this post by Erik Hetzner
Am So., 28. Juni 2020 um 23:53 Uhr schrieb Erik Hetzner <[hidden email]>:

>
> 1. Start emacs -Q
> 2. Evaluate the following
> (require 'dom)
>
> (with-current-buffer (url-retrieve-synchronously "https://www.seriouseats.com/recipes/2020/06/florentine-omelette-spinach-and-cheese.html")
>         (let* ((dom (libxml-parse-html-region (point-min) (point-max)))
>                (scripts (dom-by-tag dom 'script))
>                (json-lds-raw (dom-elements scripts 'type "^application/ld\\+json$"))
>                (json-lds (mapcar #'json-parse-string json-lds-raw)))))
>
> Result: segmentation fault.

Simpler: (json-parse-string 1)
The JSON functions are missing CHECK_STRING in several places where
json_encode is called.



Reply | Threaded
Open this post in threaded view
|

bug#42113: 28.0.50; Segmentation fault in json-parse-file

Eli Zaretskii
On June 29, 2020 11:33:45 AM GMT+03:00, Philipp Stephani <[hidden email]> wrote:

> Am So., 28. Juni 2020 um 23:53 Uhr schrieb Erik Hetzner <[hidden email]>:
> >
> > 1. Start emacs -Q
> > 2. Evaluate the following
> > (require 'dom)
> >
> > (with-current-buffer (url-retrieve-synchronously
> "https://www.seriouseats.com/recipes/2020/06/florentine-omelette-spinach-and-cheese.html")
> >         (let* ((dom (libxml-parse-html-region (point-min)
> (point-max)))
> >                (scripts (dom-by-tag dom 'script))
> >                (json-lds-raw (dom-elements scripts 'type
> "^application/ld\\+json$"))
> >                (json-lds (mapcar #'json-parse-string
> json-lds-raw)))))
> >
> > Result: segmentation fault.
>
> Simpler: (json-parse-string 1)
> The JSON functions are missing CHECK_STRING in several places where
> json_encode is called.

In this specific case I think the test is there, but it is done a bit too late.  The call to check_string_without_embedded_nuls should be moved before json_encode.



Reply | Threaded
Open this post in threaded view
|

bug#42113: 28.0.50; Segmentation fault in json-parse-file

Philipp Stephani
Am Mo., 29. Juni 2020 um 11:39 Uhr schrieb Eli Zaretskii <[hidden email]>:

>
> On June 29, 2020 11:33:45 AM GMT+03:00, Philipp Stephani <[hidden email]> wrote:
> > Am So., 28. Juni 2020 um 23:53 Uhr schrieb Erik Hetzner <[hidden email]>:
> > >
> > > 1. Start emacs -Q
> > > 2. Evaluate the following
> > > (require 'dom)
> > >
> > > (with-current-buffer (url-retrieve-synchronously
> > "https://www.seriouseats.com/recipes/2020/06/florentine-omelette-spinach-and-cheese.html")
> > >         (let* ((dom (libxml-parse-html-region (point-min)
> > (point-max)))
> > >                (scripts (dom-by-tag dom 'script))
> > >                (json-lds-raw (dom-elements scripts 'type
> > "^application/ld\\+json$"))
> > >                (json-lds (mapcar #'json-parse-string
> > json-lds-raw)))))
> > >
> > > Result: segmentation fault.
> >
> > Simpler: (json-parse-string 1)
> > The JSON functions are missing CHECK_STRING in several places where
> > json_encode is called.
>
> In this specific case I think the test is there, but it is done a bit too late.  The call to check_string_without_embedded_nuls should be moved before json_encode.

Is that always guaranteed to be correct though? Is there a guarantee
that encoding can never produce null bytes that weren't already
present in the input?



Reply | Threaded
Open this post in threaded view
|

bug#42113: 28.0.50; Segmentation fault in json-parse-file

Philipp Stephani
In reply to this post by Philipp Stephani
Am Mo., 29. Juni 2020 um 10:33 Uhr schrieb Philipp Stephani
<[hidden email]>:

>
> Am So., 28. Juni 2020 um 23:53 Uhr schrieb Erik Hetzner <[hidden email]>:
> >
> > 1. Start emacs -Q
> > 2. Evaluate the following
> > (require 'dom)
> >
> > (with-current-buffer (url-retrieve-synchronously "https://www.seriouseats.com/recipes/2020/06/florentine-omelette-spinach-and-cheese.html")
> >         (let* ((dom (libxml-parse-html-region (point-min) (point-max)))
> >                (scripts (dom-by-tag dom 'script))
> >                (json-lds-raw (dom-elements scripts 'type "^application/ld\\+json$"))
> >                (json-lds (mapcar #'json-parse-string json-lds-raw)))))
> >
> > Result: segmentation fault.
>
> Simpler: (json-parse-string 1)
> The JSON functions are missing CHECK_STRING in several places where
> json_encode is called.

Fixed on the release branch (commit 59e768d64a).



Reply | Threaded
Open this post in threaded view
|

bug#42113: 28.0.50; Segmentation fault in json-parse-file

Eli Zaretskii
In reply to this post by Philipp Stephani
> From: Philipp Stephani <[hidden email]>
> Date: Mon, 29 Jun 2020 12:07:33 +0200
> Cc: [hidden email], Erik Hetzner <[hidden email]>, [hidden email]
>
> > > The JSON functions are missing CHECK_STRING in several places where
> > > json_encode is called.
> >
> > In this specific case I think the test is there, but it is done a bit too late.  The call to check_string_without_embedded_nuls should be moved before json_encode.
>
> Is that always guaranteed to be correct though? Is there a guarantee
> that encoding can never produce null bytes that weren't already
> present in the input?

It is true that you could in principle write a coding-system that
would produce null bytes (although it wouldn't be very useful).  But
in this case we are not talking about any  arbitrary coding-system, we
are talking specifically about UTF-8.