[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Crash in info 7.0.1
From: |
Arsen Arsenović |
Subject: |
Re: Crash in info 7.0.1 |
Date: |
Mon, 16 Jan 2023 20:21:37 +0100 |
Evening,
Gavin Smith <gavinsmith0123@gmail.com> writes:
> On Mon, Jan 16, 2023 at 03:36:23PM +0900, Mark Laws wrote:
>> Hi,
>>
>> To reproduce, simply run "info --index-search=nh groff" using info from
>> texinfo 7.0.1 and the info pages from groff 1.22.4. info will
>> initialize the terminal, then the following will appear at the bottom
>> row:
>>
>> > Found 'nh' in Request Index. (',' tries to find next.)
>>
>> followed immediately by a message from inside glibc:
>>
>> > malloc(): unsorted double linked list corrupted
>
> Many thanks for the report and the backtrace. I have tested this
> with the recent development version and on the release branch and
> the crash does not occur. I have tested it with Texinfo 7.0.1 and
> the crash happened as you describe.
As a datapoint, Gentoo has a Texinfo 7.0.1 with two patches and no
crash. One of these, labeled texinfo-7.0.1-info-groff-crash.patch, is a
backport of this commit:
commit 86185e7cedafd011376d0efb6f7e028231dbf641
Author: Gavin Smith <gavinsmith0123@gmail.com>
Date: Mon Dec 12 18:40:01 2022 +0000
* info/util.c (text_buffer_iconv): Correctly update arguments
for iconv in loop. Crash for "info groff" reported by Jakub Wilk
via Hilmar Preuße <hille42@web.de>.
https://git.savannah.gnu.org/cgit/texinfo.git/commit/?h=release/7.0&id=86185e7cedafd011376d0efb6f7e028231dbf641
... so I do believe this is fixed.
> There was a fix for info since Texinfo 7.0.1 so this may have resolved
> this problem. Hopefully we can make a Texinfo 7.0.2 release soon that
> will include this fix.
--
Arsen Arsenović
signature.asc
Description: PGP signature