Python segfault
Pat Szuta
perly at news.xnet.com
Thu Jun 15 20:40:34 EDT 2000
I don't know if anyone has seen this, but python segfaults when given a
rather large input.
[pat at perly pat]$ perl -e "print '2+2+' x 10000" > input
[pat at perly pat]$ python < input
Segmentation fault (core dumped)
[pat at perly pat]$
#0 0x80631ab in PyNode_AddChild ()
(gdb) where
#0 0x80631ab in PyNode_AddChild ()
#1 0x80633d0 in PyParser_Delete ()
#2 0x806353f in PyParser_AddToken ()
#3 0x804fe9a in PyParser_ParseFile ()
#4 0x804fdb6 in PyParser_ParseFile ()
#5 0x805f91f in PyParser_SimpleParseFile ()
#6 0x805f7a9 in PyRun_File ()
#7 0x805efbd in PyRun_SimpleFile ()
#8 0x805ec9d in PyRun_AnyFile ()
#9 0x804fc02 in Py_Main ()
#10 0x804f746 in main ()
#11 0x400669cb in __libc_start_main (main=0x804f738 <main>, argc=1,
argv=0xbffffac4, init=0x804ed84 <_init>, fini=0x8084c3c <_fini>,
rtld_fini=0x4000ae60 <_dl_fini>, stack_end=0xbffffabc)
at ../sysdeps/generic/libc-start.c:92
(gdb)
--
-------------------------------------------------------------------------------
More information about the Python-list
mailing list