python 2.1 core dumping on redhat 6.2

Dan Stromberg strombrg at seki.acs.uci.edu
Fri May 18 21:19:48 EDT 2001


Built smoothly, passed all tests.  Make install appears to have
compiled everything.

But when I run it interactively, I get:

rh-strombrg> /dcs/packages/python-2.1/bin/python
Python 2.1 (#1, May 18 2001, 14:45:56) 
[GCC 2.95.2 19991024 (release)] on linux2
Type "copyright", "credits" or "license" for more information.
Segmentation fault (core dumped)



gdb traceback:

#0  0x400a5d76 in ?? () from /lib/libc.so.6
#1  0x40157768 in ?? ()
   from /dcs/packages/python-2.1/lib/python2.1/lib-dynload/readline.so
#2  0x4016367d in ?? ()
   from /dcs/packages/python-2.1/lib/python2.1/lib-dynload/readline.so
#3  0x40162fb0 in ?? ()
   from /dcs/packages/python-2.1/lib/python2.1/lib-dynload/readline.so
#4  0x401560ea in ?? ()
   from /dcs/packages/python-2.1/lib/python2.1/lib-dynload/readline.so
#5  0x4015602d in ?? ()
   from /dcs/packages/python-2.1/lib/python2.1/lib-dynload/readline.so
#6  0x40155e9c in ?? ()
   from /dcs/packages/python-2.1/lib/python2.1/lib-dynload/readline.so
#7  0x805366c in PyOS_Readline (prompt=0x80d82cc ">>> ")
    at Parser/myreadline.c:131
#8  0x805243c in tok_nextc (tok=0x810a1e0) at Parser/tokenizer.c:192
#9  0x8052b33 in PyTokenizer_Get (tok=0x810a1e0, p_start=0xbffff1b0, 
    p_end=0xbffff1b4) at Parser/tokenizer.c:516
#10 0x8052114 in parsetok (tok=0x810a1e0, g=0x80c7230, start=256, 
    err_ret=0xbffff23c) at Parser/parsetok.c:100
#11 0x8051fd3 in PyParser_ParseFile (fp=0x401418a0, 
    filename=0x80a0e2d "<stdin>", g=0x80c7230, start=256, 
    ps1=0x80d82cc ">>> ", ps2=0x80e439c "... ", err_ret=0xbffff23c)
    at Parser/parsetok.c:75
#12 0x806c205 in PyRun_InteractiveOneFlags (fp=0x401418a0, 
    filename=0x80a0e2d "<stdin>", flags=0xbffff304) at
#Python/pythonrun.c:552
#13 0x806c101 in PyRun_InteractiveLoopFlags (fp=0x401418a0, 
    filename=0x80a0e2d "<stdin>", flags=0xbffff304) at
#Python/pythonrun.c:510
#14 0x806bfef in PyRun_AnyFileExFlags (fp=0x401418a0, 
    filename=0x80a0e2d "<stdin>", closeit=0, flags=0xbffff304)
    at Python/pythonrun.c:473
#15 0x8051e01 in Py_Main (argc=1, argv=0xbffff374) at
#Modules/main.c:320
#16 0x80518aa in main (argc=1, argv=0xbffff374) at Modules/python.c:10
#17 0x4006b9cb in ?? () from /lib/libc.so.6


Any suggestions where I should start looking?  Is it a known bug?


I suppose I could live without readline, but would rather not.

TIA.
-- 
Dan Stromberg                                               UCI/NACS/DCS



More information about the Python-list mailing list