On Fri 18 Mar 2016 16:35, Daniel Llorens <daniel.llor...@bluewin.ch> writes:

> The error seems to happen in the error reporting, not actually because of the 
> shift.
>
> The following backtrace is with Guile compiled with -O1 -g, the same error 
> happens with -O2.
>
> GNU Guile 2.1.1.125-ae0380-dirty
> Copyright (C) 1995-2014 Free Software Foundation, Inc.
>
> Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
> This program is free software, and you are welcome to redistribute it
> under certain conditions; type `,show c' for details.
>
> Enter `,help' for help.
> scheme@(guile-user)> (import (ice-9 control))
> scheme@(guile-user)> (shift k 9)
>
> Thread 1 "guile" received signal SIGSEGV, Segmentation fault.
> 0x00007ffff7b3e02a in scm_is_pair (x=0x61900000300) at 
> ../../src4/libguile/pairs.h:159
> 159     return SCM_I_CONSP (x);
> (gdb) backtrace
> #0  0x00007ffff7b3e02a in scm_is_pair (x=0x61900000300) at 
> ../../src4/libguile/pairs.h:159
> #1  scm_iprlist (hdr=<optimized out>, hdr@entry=0x7ffff7b9799d "(", 
> exp=exp@entry=0x7ffff7fb0748, tlr=tlr@entry=41, port=port@entry=0x98b3c0,
>     pstate=pstate@entry=0x7e9b00) at ../../src4/libguile/print.c:1427

Still happens on 2.1.3.



Reply via email to