Subject: bug#25267: guile-2.2 crash in GC

From: Andy Wingo <[email-masked]>
Date: Mon, 09 Jan 2017 22:53:45 +0100

On Sat 24 Dec 2016 19:43, Linas Vepstas <[email-masked]> writes:

> Thread 296 "cogserver" received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0x7fffc0ff9700 (LWP 3680)]
> thread_mark (addr=0x5555558f7700, mark_stack_ptr=<optimized out>,
>     mark_stack_limit=0x7fffc0ff7c50, env=<optimized out>)
>     at ../../libguile/threads.c:111
> 111              while ((chain = *(void **)chain))
> (gdb) bt
> #0  thread_mark (addr=0x5555558f7700, mark_stack_ptr=<optimized out>,
>     mark_stack_limit=0x7fffc0ff7c50, env=<optimized out>)
>     at ../../libguile/threads.c:111
> #1  0x00007ffff2a80ffb in GC_mark_from (mark_stack_top=0x7fffc0fe7c60,
>     mark_stack_top@entry=0x7fffc0fe7ca0,
>     mark_stack=mark_stack@entry=0x7fffc0fe7c50,
>     mark_stack_limit=mark_stack_limit@entry=0x7fffc0ff7c50) at mark.c:737

I ran into this one too!  I think I fixed it; can you verify?

Andy