On 1 January 2016 at 21:19, Eli Zaretskii <[email protected]> wrote: >> No Perl header files are included in text.c. > > Why can't we include Perl headers there?
No reason. If the latest change I committed doesn't work, it's worth trying. > No, it's coming from XS_Texinfo__Convert__XSParagraph__XSParagraph_add_text. OK that makes sense. > Btw, all the Google hits for the "Free to wrong pool" message talk > about threads. Do we have threads in texi2any and/or XSParagraph? Maybe the error comes from freeing a memory address that is not controlled by the current thread's "pool"; that would be controlled either by another thread, or not controlled by any Perl thread at all, which would appear to be the case here.
