On Wed Apr 01 04:36:32 2020, CAC wrote:
Show quoted text> I recently posted to the tcltk@perl.org mailing list about this exact
> issue:
>
>
https://www.mail-archive.com/tcltk@perl.org/msg00817.html
>
> The error occurs for Tcl::pTk programs which make use of the Tcl/Tk
> Tktable
> extension, as the failed tests do. The crash only occurs when exiting;
> the
> programs and Tktable otherwise appear to work normally. I noticed this
> affects
> recent versions of Debian and Ubuntu; it has been replicated on CentOS
> 7 as
> well (if I understand correctly, glibc is the common factor).
>
> Some progress has been made toward understanding the issue, which more
> broadly
> affects any usage of the Tcl.pm wrapper: if environment variables are
> set from
> Tcl (which is what Tktable does), then when Tcl and Perl clean up on
> exit, the
> memory used for those variables is first freed by Tcl, but then freed
> again by
> Perl.
>
> It's not known whether a possible solution or workaround exists. The
> problem is
> not specifically in Tcl::pTk nor Tktable, and maybe not in Tcl.pm. But
> if it is
> an issue in Tcl or Perl themselves, it's unclear to me whether this is
> issue is
> something they would be willing to address or if it could instead be
> something
> they already consider expected behavior.
Thanks for your work and the link. Great job debugging this!