Both of you share this theory, so I suppose it isn't groundless, but it is inconsistent with the nature of the error message itself. The message "Text file busy" is a system error message given exceedingly rarely and under very specific circumstances.

He was running Linux, you're running FreeBSD, so it's unlikely an OS thing or a filesystem thing. "Perl 5" doesn't help nail down a common version there (5.00503? 5.004? 5.6.0?).

Try doing what he did when you get this error message. Try just copying the file to a new name and copying it back (using a simple 'cp'). If the problem goes away, it's very unlikely that it has anything to do with the content. If it doesn't fix it, then it could possibly be content-related.

So if we eliminate the OS, eliminate the filesystem (by eliminating the OS), and eliminate the content, the only thing left is the "way" that the file was saved or a bug with Perl. We'd need to do more investigating.

If you have 'strace' or 'truss' on your system, I would be very interested to see precisely what syscall is involved in that error message. If it's acting on a file descriptor, back-track until you can find the open statement involved.


In reply to Re: Re: Re: What is responsible for a by Fastolfe
in thread What is responsible for a by Reaped: Answer: Vroom testing some more

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.