[Python-bugs-list] [ python-Bugs-501164 ] 2.2 on linux SEGV sometimes

noreply@sourceforge.net noreply@sourceforge.net
Tue, 08 Jan 2002 20:00:43 -0800


Bugs item #501164, was opened at 2002-01-08 19:20
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=501164&group_id=5470

Category: Python Interpreter Core
Group: Python 2.2
Status: Open
Resolution: None
Priority: 5
Submitted By: MATSUI Tetsushi (tetsushi)
Assigned to: Nobody/Anonymous (nobody)
Summary: 2.2 on linux SEGV sometimes

Initial Comment:
I am using Python 2.2.
The execution with pure python scripts suddenly stops
after several hours or a few days.  With the latest
core I run gdb, it says:

Program terminated with signal 11, Segmentation fault.

and the head of bt is like this:

#0  0x80afb1e in binary_op1 (v=0x8dc0f54, w=0x8c641bc,
op_slot=4)
    at Objects/abstract.c:340
#1  0x80b2537 in PyNumber_Subtract (v=0x8dc0f54,
w=0x8c641bc)
    at Objects/abstract.c:392
#2  0x8079f27 in eval_frame (f=0x820c1fc) at
Python/ceval.c:988
#3  0x807cd50 in PyEval_EvalCodeEx (co=0x81cf608,
globals=0x81d5214, 
    locals=0x0, args=0x8202fc4, argcount=5,
kws=0x8202fd8, kwcount=0, 
    defs=0x0, defcount=0, closure=0x0) at
Python/ceval.c:2574
#4  0x807f41c in fast_function (func=0x81e4584,
pp_stack=0xbfffe474, n=5, 
    na=5, nk=0) at Python/ceval.c:3150

Thanks,
tetsushi


----------------------------------------------------------------------

>Comment By: Guido van Rossum (gvanrossum)
Date: 2002-01-08 20:00

Message:
Logged In: YES 
user_id=6380

Can you attach the script, any input data it needs, and
instructions for running it? Otherwise there's no hope in
debugging this.

Also, how long is the stack? Could it be a stack overflow?

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=501164&group_id=5470