It is Strawberry Perl 5.24.0 (64-bit) on Windows 7 and Windows 10.

My Windows 7 laptop does not experience any issues, but some other Windows 7 systems and a Windows 10 test system I have do. Each of the systems that experience issues have SSD drives. So far that has been the only thing we have found in common with the failing systems.

I tried with an old 5.16.3 Version of perl I had on my system and the warnings go away. So somewhere between 5.16.3 and 5.24.0 the changes with threading have added logic that is attempting to close some of my handles or at least is warning about failing.

Here are those warnings
Warning: unable to close filehandle $errwrite properly: Bad file descr +iptor at tshoot.pl line 34. Warning: unable to close filehandle $outwrite properly: Bad file descr +iptor at tshoot.pl line 34.
Testing with 5.16.3 on a system that experiences failures, it still fails, but without the "unable to close filehandle" warning messages.

In reply to Re^4: Perl jumps to END logic after fileno (Win32) by dchidelf
in thread Perl jumps to END logic after fileno (Win32) by dchidelf

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.