[XML-SIG] [ pyxml-Bugs-473288 ] pychecker on Ft.Lib.cDomlettec crashs

noreply@sourceforge.net noreply@sourceforge.net
Sat, 20 Oct 2001 16:23:51 -0700


Bugs item #473288, was opened at 2001-10-20 16:23
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=106473&aid=473288&group_id=6473

Category: 4Suite
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Neal Norwitz (nnorwitz)
Assigned to: Nobody/Anonymous (nobody)
Summary: pychecker on Ft.Lib.cDomlettec crashs

Initial Comment:
Running pychecker (pychecker.sf.net) on
Ft.Lib.cDomlettec crashes the python interpreter.

Here's the 1 line script that pychecker (v0.8.5) is run
against:
   import Ft.Lib.cDomlettec

This causes the interpreter to crash in 
            try_rich_compare [object.c:382]
            do_richcmp     [object.c:836]
            PyObject_RichCompare [object.c:883]
            cmp_outcome    [ceval.c:3443]

Program received signal SIGSEGV, Segmentation fault.
0x1d6ec in try_rich_compare (v=0xff05b784, w=0xe2dd8,
op=2)
    at Objects/object.c:382
382             if ((f = RICHCOMPARE(v->ob_type)) !=
NULL) {
(gdb) p *v
$4 = {ob_refcnt = 3, ob_type = 0x0}

Notice that ob_type is NULL.

I'm not sure whose fault this is:  pychecker, 4suite,
or the interpreter.
pychecker is completely a python module, so I think
it's in  cDomlettec.so or interpreter.

Neal


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

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=106473&aid=473288&group_id=6473