[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Two bugs....




On Monday, August 5, 2002, at 06:46  PM, Neel Krishnaswami wrote:
> Hi,
>
> I have two bug reports.
>
> One, a reproducable segfault under goo 0.140. First, define:
>
>   (dc <treap> (<map> <col.>))
>   (dp seed (<treap> => <int>))
>   (dp tree (<treap> => <log>))
>   (dv empty-treap (new <treap> seed 48637761 tree #f))
>
> Then if I type 'empty-treap' at the REPL line I get a segfault.

This bug is likely closely related to:
goo/user 0<= x (new <map>))
goo/user 0=> #f
goo/user 0<= x
Program received signal SIGSEGV, Segmentation fault.

>   goo/user 0<= (dv x 48637761)
>   goo/user 0=> #f
>   goo/user 0<= x
>   goo/user 0=> 48637760 ;; wtf?!

Now *that*'s a cool bug. It seems to be a parsing error, as (dv x (+ 
48637760 1)) gives you the right result.

James