[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug#74278: info: Segfault if return key pressed in "SEE ALSO" sectio
From: |
Josip Rodin |
Subject: |
Re: Bug#74278: info: Segfault if return key pressed in "SEE ALSO" section |
Date: |
Sat, 7 Oct 2000 19:44:24 +0200 |
User-agent: |
Mutt/1.0.1i |
Hi,
There's a reproducible segmentation fault in GNU info, incited as described
in the quotes below. Here's what gdb says with debugging compiled in:
(gdb) where
#0 0x80586b0 in info_menu_or_ref_item (window=0x8073f98, count=1, key=13,
builder=0x804ebac <info_xrefs_of_node>, ask_p=0) at session.c:2066
#1 0x805bb26 in info_select_reference_this_line (window=0x8073f98, count=1,
key=13 '\r') at session.c:4278
#2 0x805c160 in info_dispatch_on_key (key=13, map=0x8072f08) at session.c:4560
#3 0x805624f in info_read_and_dispatch () at session.c:233
#4 0x8056167 in info_session () at session.c:181
#5 0x805613f in display_startup_message_and_start () at session.c:172
#6 0x80560d8 in begin_info_session (initial_node=0x8071400) at session.c:160
#7 0x804fb99 in main (argc=2, argv=0xbffff944) at info.c:470
It doesn't seem very hard to fix. :) TIA.
On Sat, Oct 07, 2000 at 10:27:48AM -0700, address@hidden wrote:
> On Sat, 7 Oct 2000 19:06:39 +0200, Josip Rodin wrote:
> > On Sat, Oct 07, 2000 at 12:43:47PM -0400, address@hidden wrote:
> > > Package: info
> > > Version: 4.0-4
> > > Severity: normal
> > >
> > > I get a segfault when I run info on a command such as "as" or "man"
> > > that has only a man page, move the curson into the "SEE ALSO"
> > > section and press the Enter key.
> >
> > I can't reproduce this.
> >
> > I tried moving to `SEE ALSO' title and pressing enter, and nothing
> > happened. I tried pressing enter on any of the items, and that brought
> > up the respective manual pages, or displayed "No such file or
> > directory" message in the status line if the manual pages couldn't be
> > found.
> >
> > On which item exactly did you press enter, and seen it segfault?
>
> Here is exactly what I did just now to produce the fault. (It doesn't
> have to be exactly this way. This is just one instance.)
>
> At a command line, I enter "info as". Press space bar five times to page
> down five pages. Use the down arrow key to place the cursor on the line
> after "SEE ALSO" just below the 'S'. Press Enter.
>
> The result is "Segmentation fault". When I run under
> gdb here is the output:
>
> (no debugging symbols found)...(no debugging symbols found)...(no debugging
> symbols found)...
> Program received signal SIGSEGV, Segmentation fault.
> 0x80586b0 in strcpy ()
--
Digital Electronic Being Intended for Assassination and Nullification
- Re: Bug#74278: info: Segfault if return key pressed in "SEE ALSO" section,
Josip Rodin <=
- Re: Bug#74278: info: Segfault if return key pressed in "SEE ALSO" section, Eli Zaretskii, 2000/10/07
- Re: Bug#74278: info: Segfault if return key pressed in "SEE ALSO" section, Josip Rodin, 2000/10/07
- Re: Bug#74278: info: Segfault if return key pressed in "SEE ALSO" section, Eli Zaretskii, 2000/10/07
- Re: Bug#74278: info: Segfault if return key pressed in "SEE ALSO" section, Josip Rodin, 2000/10/07
- Re: Bug#74278: info: Segfault if return key pressed in "SEE ALSO" section, H. Nanosecond, 2000/10/09
- Re: Bug#74278: info: Segfault if return key pressed in "SEE ALSO" section, Eli Zaretskii, 2000/10/09
- Re: Bug#74278: info: Segfault if return key pressed in "SEE ALSO" section, Josip Rodin, 2000/10/09