Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

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":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2024-04-23 12:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found