Cool .. never tried strace before. Here's the tail end of what I got:
write(2, "print on closed filehandle main:"..., 94print on closed file +handle main::STDBUG at /usr/local/lib/site_perl/CGI/LogCarp.pm line 1 +516. ) = 94 fstat(2, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0 write(2, "[Tue Mar 5 18:35:43 2002] 1789"..., 129[Tue Mar 5 18:35:4 +3 2002] 17898 mgtemp.pl ERR: Use of uninitialized value at /home/fin +info/htdocs/perllib/dograph.pm line 622. ) = 129 fstat(2, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0 open("/var/MPL/tmp/dailyen/C/CYS04.gp", O_WRONLY|O_CREAT|O_TRUNC, 0666 + <unfinished ...> +++ killed by SIGSEGV +++
I know about the undefined value and I've been meaning to fix it, but it occurs in all of the other symbols and it doesn't kill them. Why is the open unfinished?

Maybe I'll go fix that 'undefined' problem and try this all again.

--t. alex

"There was supposed to be an earth-shattering kaboom!" --Marvin the Martian


In reply to Re: (2) Segmentation fault during file open by talexb
in thread Segmentation fault during file open by talexb

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.