[Python-Dev] segmentation fault with python2.3a0 from cvs

Gerson Kurz Gerson.Kurz@t-online.de
Mon, 7 Oct 2002 19:02:10 +0200


Hi folks,

yesterday I posted a problem with importing a very large sourcefile in
python 2.2.1 to clp. For the original report, see
<news:3da070ec.18868296@news.t-online.de>. Andrew MacIntyre 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. Now, instead of just a
MemoryError, I get this:

$ python
Python 2.3a0 (#1, Oct  7 2002, 18:49:14)
[GCC 2.95.3-5 (cygwin special)] on cygwin
Type "help", "copyright", "credits" or "license" for more informatio
>>> import test
Traceback (most recent call last):
Segmentation fault (core dumped)

The stackdump reads

Exception: STATUS_ACCESS_VIOLATION at eip=61045659
eax=1A013E68 ebx=610C02D0 ecx=610C02D0 edx=0022E6F8 esi=0022E6F8
edi=1A013E68
ebp=0022E6B0 esp=0022E698 program=C:\cygwin\usr\local\bin\python2.3.exe
cs=001B ds=0023 es=0023 fs=0038 gs=0000 ss=0023
Stack trace:
Frame     Function  Args
0022E6B0  61045659  (0022E6F8, 0022EE78, 0022F1A4, 0022F1A8)
0022E820  61048989  (1A010000, 0022ECE8, 0022EE78, 0022F1A4)
0022EE10  610462BA  (00000000, 00010000, 0022EE40, 610BD2CB)
0022EE40  610096F7  (616800F4, 00000003, 0A032B14, 00000000)
0022F1F0  61071CAF  (0A032B14, 00010000, 000001B6, 610AA142)
0022F210  610ACFC6  (610BF030, 0A032B14, 00010000, 000001B6)
0022F240  6109EEA8  (610BF030, 0A032B14, 6B2C525A, 6B241813)
0022F260  6109EF51  (0A032B14, 6B2C525A, 0A0113E0, 61070534)
0022FB90  6B2C52D1  (0A01D090, 0A032B14, 00000001, 0A043994)
0022FBE0  6B2C5795  (0A0358EC, 0A01D090, 0022FC40, 6B2C1861)
0022FC40  6B2C1897  (0A015DDC, 0A0229EC, 0A0358EC, 6B278D43)
0022FC70  6B2C4C8E  (00000000, 0A027AA4, 0022FCC0, 6B2BEA4C)
0022FCB0  6B26BC4D  (0A01BA2C, 0A027AA4, 00000000, 6B2BF4F5)
0022FCE0  6B248486  (0A01BA2C, 0A027AA4, 00000000, 6B2C4AE7)
0022FD10  6B29F082  (0A01BA2C, 0A027AA4, 00000000, 6B2C15D2)
0022FD70  6B2C15E1  (00000001, 6B2C9115, 0022FDE0, 6B2C0D25)
End of stack trace (more stack frames may be present)

So I guess its back in your (aka Developers) corner. 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).

Bye, Gerson Kurz
http://p-nand-q.com