bug-texinfo
[Top][All Lists]
Advanced

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

Re: info hangs in forward_move_node_structure on malformed input file


From: Nathaniel Beaver
Subject: Re: info hangs in forward_move_node_structure on malformed input file
Date: Mon, 25 May 2020 16:28:05 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0

Here is the backtrace for this bug after recompiling with -O0.

On 5/25/20 11:18 AM, Nathaniel Beaver wrote:
Steps to reproduce:

$ info -f ./hang_002.info.gz
# Press 'Tab' key three times to try to jump to 'Index' node.

Expected behavior:

info shows error "Cannot find node 'Inde'" but does not enter an infinite loop.

Actual behavior:

info shows error "Cannot find node 'Inde'" and then enters an infinite loop.

Discussion:

The malformed input file hang_002.info.gz has the 'x' missing from "Index", like this:

File: example.info,  Node: First Chapter,  Next: Inde,  Prev: Top,  Up: Top

Version:

$ git describe --tags
texinfo-6.6-364-g63711e8c6
$ git rev-parse HEAD
63711e8c6fafe9b3cde2a2d0be507032d7ee7bf6

Sincerely,

Nathaniel Beaver

Attachment: gdb.txt
Description: Text document


reply via email to

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