On Thu, Jan 15, 2026 at 05:12:39PM +0000, Gavin Smith wrote:
> On Thu, Jan 15, 2026 at 03:48:19PM +0200, Eli Zaretskii wrote:
> > The second failure is strange: there's no *.diff files, but 2 of the 3
> > files in res_parser are very different from out_parser. The file
> > out_parser/formatting.tex is empty, and out_parser/formatting.2 is
> > missing 21 lines, and has this extra line:
> >
> > +Free to wrong pool 13beec0 not 88040400 at ../perl/Texinfo/Convert/LaTeX.pm line 2674.
> >
> > This looks like some code used 'free' from a long 'malloc' to free
> > some memory, like the allocation was done by Perl, but 'free' is from
> > tta/C code, or vice versa. How to investigate this?
>
> Yes, you are probably right about the wrong 'free' being used.
>
> The function called at that line in LaTeX.pm is index_element_sort_string
> in tta/C/main/manipulate_indices.c. But I don't know which "free" call
> would be responsible under that function or why the Perl malloc would
> have been used.
I will investigate, there are probably not too many possibilities of
Perl malloc use in relation to index_element_sort_string.
--
Pat
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.