Ah yes...!

Now I see the trap I fell into. My original code indeed had things after the get - it was supposed to write to a file.

I was led astray by the fact the file wasn't generated by the original code. i assumed this went in hand with the segfault. However now I look without blinkers I see it is a permission error preventing the write. ie with tweaking it does in fact run to completion as you suggest.

I never generated a segfault before and it frightened me...

So you are saying I found a bug and this is NOT MY FAULT? Seriously never happened before..!

roboticus - big hat off to you. Great diagnosis, very impressive!


In reply to Re^2: really no-one has any suggestions? by tomgracey
in thread segmentation fault when trying to use mozrepl on VPS by tomgracey

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.