[OT] Re: how to debug when "Segmentation fault"

Inyeol Lee inyeol.lee at siliconimage.com
Tue Oct 4 20:18:38 CEST 2005

On Tue, Oct 04, 2005 at 11:22:24AM -0500, Michael Ekstrand wrote:
> I've never seen "stock" Python (stable release w/ only included modules) 
> segfault, but did see a segfault with an extension module I was using 
> the other week (lxml IIRC, but I'm not sure).
> - Michael

So far, this is the simplest way to crash stock python, at least in

    $ python < /bin

If you redirect directory instead of file, python crashes. I think this bug was
introduced around 2.1 or 2.2, and not yet fixed as of 2.4.1.

- Inyeol

More information about the Python-list mailing list