$ gdb /usr/local/perl/debug/bin/perl ... (gdb) r -Mblib t/test.pl ... # the segmentation fault signal will be cought # by the debugger. To see where it happened # run the backtrace command: (gdb) bt ...