Okay, we're stumped. I will fully preface this by saying that we vaguely think this is a windows problem, as opposed to a perl problem. But it's the perl program where the error manifests, so I'm posting here. I'm a unix guy, not a windows guy, so I'm clueless.

Basically, we have several scripts that we run in the windows terminal. From time to time (and yes, this is a mandelbug), the program stops giving us output to the terminal screen. First time this happened, we thought the program was hanging, so tried to kill it with a control-c. And, surprise surprise, it actually lept back to life and spit out the last of its output. Turns out the thing had finished a while ago.

And that's how it works. Sometimes (we're not sure when), the program stops giving us output, but a control-C will "wake it up" and cause it to continue on and display. We're not doing anything fancy with signal handlers or anything in the scripts. This also appears to have started manifesting itself in scripts that didn't previously exhibit the behavior.

So, in short, WTF? Has anyone encountered anything like this? What should we do now?

Update w/more info: It's perl 5.8.8 built for MSWin32-x86-multi-thread, binary build 817 [257965] provided by ActiveState, built Mar 20 2006 17:54:25. Microsoft Windows [Version 5.2.3790] is the banner at the top of the terminal, Its Windows Server 2003 Enterprise Edition, Service Pak 1.


In reply to control-C to "jumpstart" windows process by jimt

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.