bug-guile
[Top][All Lists]
Advanced

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

Re: guile-2.0.0 crash when started on MacOS X 10.6.0


From: Steven Wu
Subject: Re: guile-2.0.0 crash when started on MacOS X 10.6.0
Date: Sat, 5 Mar 2011 18:03:07 -0700

I stopped in the function, and it seems to be correct. I checked to the map, 
and the value was right, it wasn't NULL. I tried to stop in strncmp and see 
what that parameters were. Wasn't very successful the first tried. I haven't 
used gdb for a while, and need to refresh it.

steve

On Mar 5, 2011, at 2:25 PM, Andy Wingo wrote:

> On Sat 05 Mar 2011 18:27, Steven Wu <address@hidden> writes:
> 
>> #0  0x00007fff83bec7f0 in strncmp ()
>> #1  0x00000001019e9684 in init_bouncing_parens [inlined] () at 
>> /Users/wus/local/src/gnu/guile-2.0.0/guile-readline/readline.c:445
> 
> This function is defined as follows:
> 
>   static void
>   init_bouncing_parens ()
>   {
>     if (strncmp (rl_get_keymap_name (rl_get_keymap ()), "vi", 2))
>       {
>         rl_bind_key (')', match_paren);
>         rl_bind_key (']', match_paren);
>         rl_bind_key ('}', match_paren);
>       }
>   }
> 
> This would seem to indicate that rl_get_keymap_name is returning NULL or
> some other invalid value.
> 
> Are you certain you are using GNU readline and not some sort of wrapper?
> 
> Regards,
> 
> Andy
> -- 
> http://wingolog.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]