mainThe GNU Bourne-Again SHell - Support: sr #110557, Corrupt tag table in bash.info

 
 

sr #110557: Corrupt tag table in bash.info

Submitter:  None
Submitted:  Sun 31 Oct 2021 10:17:18 PM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  Done
Privacy:  Public Assigned to:  None
Originator Email:  -email is unavailable- Open/Closed:  Open
Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 08 Nov 2021 04:18:45 PM UTC, comment #1: 

Thanks for the report. I fixed this in a different way in the devel branch; the fix will be in the next bash release.

Chet Ramey <chet>
Group administrator
Sun 31 Oct 2021 10:17:18 PM UTC, original submission:  

The tag table for bash.info included in bash-5.1.tar.gz is incorrect.

For example:

"Node: What is Bash?^?3029"

(in line 11988 of bash.info)

Means this node starts at byte address 3029, but in fact it starts at byte address 3020.

Recreating bash.info with the provided makefile doesn't fix the issue.

It seems this is due to the way bash.info is created. First bashref.info is compiled from the documentation, and this is later piped through

    sed -e 's|bashref.info|bash.info|g'

to create `bash.info`. That modifies byte addresses, rendering the tag table incorrect.

A quick workaround would be changing the sed pipe to e.g.

    sed -e 's|bashref.info,|bash.info,   |g

which seems to work ok and keeps the byte addresses unchanged.


I noticed the issue while using pinfo (https://github.com/baszoetekouw/pinfo) which complains with "Tag table is corrupt, trying to fix... (press a key to continue)" when following a menu entry.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by chet (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-11-08 chet StatusNone Done

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code