Subject: bug#17323: 24.3.90; SIGSEGV in mem_find (start=0x9995000) at alloc.c:3837 while GC.

From: Eli Zaretskii <[email-masked]>
Date: Wed, 23 Apr 2014 18:28:07 +0300

> Date: Wed, 23 Apr 2014 16:56:10 +0200
> From: Nicolas Richard <[email-masked]>
> CC: [email-masked]
> 
> Le 23/04/2014 16:44, Eli Zaretskii a écrit :
> >> From: Nicolas Richard <[email-masked]>
> >> Date: Wed, 23 Apr 2014 13:27:10 +0200
> >> 
> >> Ok, here's the back trace.
> >> 
> >> 3837      while (start < p->start || start >= p->end)
> >> (gdb) bt
> >> #0  0x081f0bc4 in mem_find (start=0x9995000) at alloc.c:3837
> >> #1  0x081ed964 in lisp_align_free (block=0x9995000) at alloc.c:1167
> >> #2  0x081f4ffa in gc_sweep () at alloc.c:6472
> >> #3  0x081f35e1 in Fgarbage_collect () at alloc.c:5643
> > 
> > So what triggered the crash? is p a NULL pointer?
> 
> I don't know. Does this answers ?
> 
> (gdb) p p
> $1 = (struct mem_node *) 0x0

Yes, this is a NULL pointer.  I hope GC Gods will look into this.