libtk.8.6.10 backporting generic/tkError.c from libk8.7 or simply patch

Anton Idukov corbas.ai at gmail.com
Sun May 1 18:05:37 UTC 2022


On long-long running programs uses libtk8.6 ( tkinter for example ) they
start eating memory, CPU and degrade to death. Seems int to unsigned long
internal conversion problem.


Explicit change in package
http://archive.ubuntu.com/ubuntu/pool/main/t/tk8.6/tk8.6_8.6.10.orig.tar.gz

tk8.6.10/generic/tkError.c

145: void Tk_DeleteErrorHandler( Tk_ErrorHandler handler)


change 171:     int  lastSerial =
LastKnownRequestProcessed(dispPtr->display);

to 171:     unsigned long lastSerial =
LastKnownRequestProcessed(dispPtr->display);


Thank You!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-devel-discuss/attachments/20220501/a002516b/attachment.html>


More information about the Ubuntu-devel-discuss mailing list