in reply to Segmentation fault

There are some things that can be the fault of the hardware (bad memory or faulty CPU), some that can be the fault of the package (are you using redhat's Perl, or did you build your own?), some that might be because of you using less reliable features of Perl (signal handling can be iffy, as threads once were), and some might be legitimate bugs in perl (although these are pretty rare). Can you give us more information on what your script is trying to do, when it crashes, and what you're running it on?

Replies are listed 'Best First'.
Re: Re: Segmentation fault
by nite_man (Deacon) on Apr 03, 2003 at 15:11 UTC
    I use Perl from Red Hat package.
    The script developed with Tk. Generally, script works correctly. This error shows only when I exit from my application.
    This code for exit button:
    Button(-text=> "Exit", -command=> sub { Quiting::quiting(); }, ) ->pack(-side=> 'bottom', -fill => 'x', -expand => 1 );
    and
    package Quiting; sub quiting { # Delete a temporary file system ('rm /tmp/mytmp.txt') if (-e '/tmp/mytmp.txt'); exit(0); }
    --------> SV* sv_bless(SV* sv, HV* stash);