At least on my Perl 5.8.5 and Perl 5.9.2 (some recent sync), the segfault occurs under Win32 as well. The code you referenced is fairly long, so I don't directly see what might be causing this. The perl.com link you referred to does not seem to imply in any case that there was any bugfix - the section "Perl Threads" only describes the move from the really broken threading model to a model with different bugs.

If Interchange relies on threads, I would not use it, but you might have other reasons that outweigh the pain of Perl threads.

In any case, I think it would pay off to reduce this program to a small program of about 50 lines or something, and then report that bug via the perlbug utility, so the right people see it.

Update: From the first looks, it seems like your threads are playing tag-team on the FILE - I don't think that this will really work, even if the crash is removed ...


In reply to Re: Threaded perl (re: debian bug #203579) by Corion
in thread Threaded perl (re: debian bug #203579) by xtronics

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.