[Python-bugs-list] [ python-Bugs-619789 ] segmentation fault importing huge source
noreply@sourceforge.net
noreply@sourceforge.net
Thu, 10 Oct 2002 18:43:51 -0700
Bugs item #619789, was opened at 2002-10-07 13:15
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=619789&group_id=5470
Category: Python Interpreter Core
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Gerson Kurz (gersonkurz)
Assigned to: Nobody/Anonymous (nobody)
Summary: segmentation fault importing huge source
Initial Comment:
I posted a problem with importing a very large sourcefile
in python 2.2.1 to clp, see
<news:3da070ec.18868296@news.t-online.de>.
Someone suggested that 2.3 would handle this situation
much better, so I got the current version from CVS, built
it with cygwin and tested it. That version raises a
segmentation fault. The stackdump shows an
ACCESS_VIOLATION somewhere inside python2.3.exe.
You can download the source that causes this at
http://p-nand-q.com/python/toobigfor2.3.zip
but beware, the zipped source is 613k large (unzipped
around 4.2 mb).
----------------------------------------------------------------------
>Comment By: Neal Norwitz (nnorwitz)
Date: 2002-10-10 21:43
Message:
Logged In: YES
user_id=33168
Do you know where python crashed? My guess was after a
failed malloc. I tried testing this, but I don't have
enough memory/cpu/patience to wait for loading such a large
file. Can you make the test case smaller? What is the
minimum size that still causes the seg fault? What version
of cygwin? There is a known malloc problem in 1.3.12, see
http://sources.redhat.com/ml/newlib/2002/msg00369.html
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=619789&group_id=5470