Subject: /usr/bin/info dumps core while reading `How to use Info'
To: None <current-users@netbsd.org>
From: Jukka Salmi <j+nbsd@2005.salmi.ch>
List: current-users
Date: 06/27/2005 15:50:25
Hi,

I see this on two different -current i386 systems. To reproduce, execute

	$ info info

and type `h' to view the "1.2 How to use Info", then three or four times
(depending on your screen size) `n' to get to "1.5 Invisible text in Emacs
Info", followed by `]', `[', `n', `['. Results in

	Moving to `Prev's last menu item.Memory fault (core dumped)

here. Can anobody reproduce this?


Cheers, Jukka

P.S.:

$ gdb -c info.core /opt/dst/i386/usr/bin/info                                  
GNU gdb 5.3nb1
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386--netbsdelf"...
Core was generated by `info'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/libexec/ld.elf_so...done.
Loaded symbols for /usr/libexec/ld.elf_so
Reading symbols from /usr/lib/libtermcap.so.0...done.
Loaded symbols for /usr/lib/libtermcap.so.0
Reading symbols from /usr/lib/libintl.so.0...done.
Loaded symbols for /usr/lib/libintl.so.0
Reading symbols from /usr/lib/libc.so.12...done.
Loaded symbols for /usr/lib/libc.so.12
#0  info_menu_digit (window=0x806d100, count=1, key=48 '0')
    at /usr/src/gnu/dist/texinfo/info/session.c:1975
1975          if (entry->line_number > 0)
(gdb) bt
#0  info_menu_digit (window=0x806d100, count=1, key=48 '0')
    at /usr/src/gnu/dist/texinfo/info/session.c:1975
#1  0x080563ba in backward_move_node_structure (window=0x806d100, behaviour=0)
    at /usr/src/gnu/dist/texinfo/info/session.c:1087
#2  0x0805659b in info_global_prev_node (window=0x806d100, count=1, key=91)
    at /usr/src/gnu/dist/texinfo/info/session.c:1121
#3  0x0805ae47 in info_dispatch_on_key (key=91 '[', map=0x8071800)
    at /usr/src/gnu/dist/texinfo/info/session.c:4648
#4  0x08055423 in info_read_and_dispatch ()
    at /usr/src/gnu/dist/texinfo/info/session.c:229
#5  0x08055350 in info_session ()
    at /usr/src/gnu/dist/texinfo/info/session.c:177
#6  0x0804f8cd in main (argc=2, argv=0xbfbfec08)
    at /usr/src/gnu/dist/texinfo/info/info.c:509
#7  0x08049756 in ___start ()

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~