Subject: bin/30618: info(1) dumps core
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: None <j+nbsd@2005.salmi.ch>
List: netbsd-bugs
Date: 06/28/2005 07:38:00
>Number: 30618
>Category: bin
>Synopsis: info(1) dumps core
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jun 28 07:38:00 +0000 2005
>Originator: Jukka Salmi
>Release: NetBSD 3.99.7
>Environment:
info (GNU texinfo) 4.7
System: NetBSD moray.salmi.ch 3.99.7 NetBSD 3.99.7 (GENERIC) #2: Mon Jun 27 12:36:33 CEST 2005 build@moray.salmi.ch:/build/nbsd/i386/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
While reading the info tutorial `How to use Info' info(1) dumps core.
>How-To-Repeat:
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.
$ 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 ()
>Fix:
unknown