bug-texinfo
[Top][All Lists]
Advanced

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

Re: "info --vi-keys foo" inciting a segfault in info


From: Colin Watson
Subject: Re: "info --vi-keys foo" inciting a segfault in info
Date: Tue, 14 Aug 2001 17:54:22 +0100
User-agent: Mutt/1.2.5i

Here's a backtrace from Debian info 4.0b-2 on i386, compiled with
debugging symbols and with libefence.so preloaded:

#0  0x400c7b72 in vsprintf () from /lib/libc.so.6
#1  0x400b802d in sprintf () from /lib/libc.so.6
#2  0x08051221 in where_is_internal (map=0x40634800, 
    function=0x805c004 <info_move_to_window_line>) at infodoc.c:793
#3  0x0805124d in where_is_internal (map=0x40630800, 
    function=0x805c004 <info_move_to_window_line>) at infodoc.c:797
#4  0x0805124d in where_is_internal (map=0x40608800, 
    function=0x805c004 <info_move_to_window_line>) at infodoc.c:797
#5  0x0805124d in where_is_internal (map=0x405fa800, 
    function=0x805c004 <info_move_to_window_line>) at infodoc.c:797
#6  0x080506e5 in create_internal_info_help_node (help_is_only_window_p=0)
    at infodoc.c:273
#7  0x080508f6 in info_find_or_create_help_window () at infodoc.c:377
#8  0x080509a3 in info_get_help_window (window=0x40642fc8, count=1, key=104)
    at infodoc.c:415
#9  0x0805c5c0 in info_dispatch_on_key (key=104, map=0x405fa800)
    at session.c:4596
#10 0x080565ef in info_read_and_dispatch () at session.c:233
#11 0x08056507 in info_session () at session.c:181
#12 0x08056456 in begin_info_session_with_error (initial_node=0x401a7fe4, 
    format=0x8064340 "No menu item `%s' in node `%s'.", arg1=0xbffff8b1, 
    arg2=0x401a9ff4) at session.c:151
#13 0x0804fb58 in main (argc=3, argv=0xbffff72c) at info.c:403
#14 0x4007e46b in __libc_start_main () from /lib/libc.so.6

At this point:

(gdb) frame
#2  0x08051221 in where_is_internal (map=0x40634800, 
    function=0x805c004 <info_move_to_window_line>) at infodoc.c:793
793               sprintf (where_is_rep + where_is_rep_index, "%s ",
(gdb) p where_is_rep
$4 = 0x40590f9c "ESC ESC C-x C-x C-x C-x ESC ESC C-x C-x C-x C-x C-x ESC ESC 
C-x C-x ESC C-x ESC ESC C-x ESC ESC [ 3 "
(gdb) p where_is_rep_index
$5 = 98
(gdb) p i
$6 = 51

I'm using Debian glibc 2.2.3-9.

Hope this helps,

-- 
Colin Watson                                  address@hidden



reply via email to

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