Re: how to debug when "Segmentation fault"
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.python archive

Re: how to debug when "Segmentation fault"

From: Pierre Barbier de Reuille <pierre.barbier@cirad.fr>
Date: Wed Oct 05 2005 - 13:55:03 CEST

Maksim Kasimov a écrit :
>
> yes, to generete core dump is the best way,
>
> but the command "$ ulimit -c 500000" don't make python to generete core
> dump in the time of crush.
>
> I would like to know how to run python script so if it crushes than core
> dump will be genereted.
>
> Thanks
>
>

If it does not, that probably means the core file is larger ... try a
larger value or even "unlimited" :

$ ulimit -c unlimited

Pierre
Received on Sat Oct 15 04:10:14 2005