Subject: bug#30182: Update

From: Eli Zaretskii <[email-masked]>
Date: Tue, 23 Jan 2018 18:18:48 +0200

> From: Sujith <[email-masked]>
> Cc: Eli Zaretskii <[email-masked]>, [email-masked]
> Date: Tue, 23 Jan 2018 08:19:16 +0530
> 
> martin rudalics <[email-masked]> writes:
> > So that code really had some purpose?  OTOH why would someone had
> > bothered to write it in the first place.  And if that someone was
> > Gerd, he probably had enough prior experience with timer variables to
> > put it there.  Sujith, can you try the attached patch?
> 
> With the patch, the crash still happens.

OK, so let's look at a few more variables involved in this:

> #0  0x000000000058db53 in terminate_due_to_signal (sig=6, backtrace_limit=2147483647) at emacs.c:364
> #1  0x000000000062a6b2 in die (msg=0x76bccb "CONSP (c)", file=0x76bc08 "lisp.h", line=1289) at alloc.c:7423
> #2  0x0000000000587881 in xcar_addr (c=XIL(0)) at lisp.h:1289
> #3  0x0000000000587981 in XSETCAR (c=XIL(0), n=XIL(0x34f7435)) at lisp.h:1318
> #4  0x000000000065b2a0 in concat (nargs=1, args=0x7fffffffdbb8, target_type=Lisp_Cons, last_special=false) at fns.c:751
>         elt = XIL(0x34f7435)
>         thislen = make_number(379158388)
>         thisleni = 0
>         thisindex = 0
>         thisindex_byte = 0
>         val = XIL(0x3f45ec3)
>         tail = XIL(0)
>         this = XIL(0)
>         toindex = -1
>         toindex_byte = 0
>         result_len = 4
>         result_len_byte = 4
>         argnum = 0
>         last_tail = XIL(0)
>         prev = XIL(0x3f46903)
>         some_multibyte = false
>         textprops = 0x0
>         num_textprops = 0
>         sa_avail = 16384
>         sa_count = 4
>         sa_must_free = false

In this frame #4, please show the values of val, prev, and elt.  Like
this:

  (gdb) fr 4
  (gdb) pp elt
  (gdb) pp val
  (gdb) pp prev

(Once again, to have "pp" defined, you need to "source .gdbinit".)

Thanks.