Ok... this is one of the strangest problems I have ever run across.
I have an in-house fastcgi-type code all in perl.
When the environment data has been gathered from the incoming call I assign it to the local environment with the code %ENV = %env I am running across a problem where ONE of the fastcgis fails from this. But it is not this directly... any IO that happens afterwards seems to end the program, with an exit value of 512 (2). A print to STDOUT dead. A file open, dead. Nedermeyer, DEAD!
Does anybody have any idea what the heck could be causing this? If I remove the ENV line, it works, if I change it to a for loop assignment, this FCGI succeeds, but another fails.
And WHERE is the exit value of 2 coming from?
Can anyone point me in a direction to start?
- Ant
- Some of my
best work - (1 2 3)
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.