[Python-Dev] segmentation fault with python2.3a0 from cvs
Steve Holden
sholden@holdenweb.com
Mon, 7 Oct 2002 14:48:33 -0400
Gerson Kurz wrote ...
> Tim Peters wrote
> > There's something you can do about it, though: don't create 4+MB
> > source files to begin with. I don't take problems from such tomfoolery
> > seriously, although the younger folks here might <wink>.
>
> Ok, here is a 55 bytes sourcecode:
>
> b = {}
> for i in range(1000000):
> b[i] = [0] * 60
>
> --> segfault with cygwin.
>
This is a fixed bug, due to a problem with malloc on the Cygwin platform, I
believe. From what I can remember it's been fixed, but it wasn't directly a
Python bug to start with.
regards
-----------------------------------------------------------------------
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/pwp/
Previous .sig file retired to www.homeforoldsigs.com
-----------------------------------------------------------------------