I've updated my machines from openSUSE 15.6 to 16.0, which brought about system perl's jump from 5.26.1 to 5.42.0.
I can't run my PerlMonks ChatterBox GUI client with threads anymore. It seems Time::Piece is no longer thread safe. I'm getting random segmentation faults and errors from Tk with missing characters, e.g.
which seems like there are strange things going on in the memory.Tk::Error: bad text index "5.96" at /usr/lib/perl5/vendor_perl/5.42.0/ +x86_64-linux-thread-multi/Tk.pm line 251. k callback for .frame.rotext k::After::repeat at /usr/lib/perl5/vendor_perl/5.42.0/x86_64-linux-th +read-multi/Tk/After.pm line 80 [repeat,[{},after#45,1000,repeat,[\&PM::CB::GUI::__ANON__]]]
Fortunately, MCE works without problems, so I still have 2 possible ways how to run the client.
I know I'm no genius. It's possible the bug has been there in my code all the time and something just awakened it. So far, I haven't been able to simplify the code to reproduce the errors without all the non-related logic involved.
(Tested with Tk 804.036, Time::Piece both 1.36 and 1.41).
|
|---|