in reply to return code 139

139 is the system return code to indicate a segmentation violation. I found a few references here and here
from the frivolous to the serious

Replies are listed 'Best First'.
Re: Re: return code 139
by riffraff (Pilgrim) on Mar 04, 2002 at 15:40 UTC
    If the error returned is >128, subtract 128 to get the signal number. 139-128=11, SIGSEGV, segmentation violation.

    The following is from perldoc -f system:

    You can check all the failure possibilities by inspecting `$?' like this:

    $exit_value = $? >> 8; $signal_num = $? & 127; $dumped_core = $? & 128;

    -rr