how to debug when "Segmentation fault"

Pierre Barbier de Reuille pierre.barbier at cirad.fr
Wed Oct 5 07:55:03 EDT 2005


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



More information about the Python-list mailing list