bug-texinfo
[Top][All Lists]
Advanced

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

Re: texinfo 7.1: Segmentation fault when including texi file


From: Gavin Smith
Subject: Re: texinfo 7.1: Segmentation fault when including texi file
Date: Mon, 3 Jun 2024 00:04:35 +0100

On Wed, May 01, 2024 at 03:44:05PM +0200, Patrice Dumas wrote:
> On Mon, Apr 29, 2024 at 08:58:12PM -0600, Christoph wrote:
> > Hello,
> > 
> > The build process fails during install target with a segmentation fault and
> > the following message:
> > texi2any (XS parser): bug: parent hv not already set
> > 
> > I was able to create a minimal example to reproduce the issue outside of
> > the glibc build process itself:
> 
> Thanks a lot for the report.  It should be fixed in the commit
> https://git.savannah.gnu.org/cgit/texinfo.git/commit/?id=60d3edc4b74b4e1e5ef55e53de394d3b65506c47
> for the devel version.
> 
> The issue was that the @include parent element is removed from the
> Texinfo tree in the specific case you unveiled, while the @include
> element is still present in 'out of tree' source marks that keeps the
> code removed from the tree.
> 
> I removed the link to the @include parent element, as done for other
> source marks, which fixes the bug.
> 
> > I have confirmed that the issue only occurs with texinfo 7.1+ and is not
> > present in earlier versions.
> 
> I'll let Gavin decide if he wants to have it applied to the bugfix
> branch.

I've added it to the release/7.1 branch due to the severity of the bug,
although there may never be a 7.1.1 bugfix release.



reply via email to

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