PyType_IsSubtype ()

Robert Kern robert.kern at gmail.com
Fri Jan 5 19:58:37 EST 2007


Sheldon wrote:

> I ran the program in GDB and it crashed giving the following backtrace:
> 
> #0  0x4008376e in PyType_IsSubtype () from /usr/lib/libpython2.3.so.1.0
> #1  0x4047730c in ?? () from
> /usr/lib/python2.3/site-packages/Numeric/_numpy.so
> #2  0x000000f2 in ?? ()
> #3  0x08d9dd34 in ?? ()
> #4  0x4046c780 in PyArray_Return () from
> /usr/lib/python2.3/site-packages/Numeric/_numpy.so
> #5  0x08d9dd44 in ?? ()
> #6  0x40100300 in PyBaseString_Type () from
> /usr/lib/libpython2.3.so.1.0
> #7  0x08105718 in ?? ()
> #8  0x4007490d in PyObject_Init () from /usr/lib/libpython2.3.so.1.0
> #9  0x08105ae0 in ?? ()
> 
> Can you make head or tail of this?

No, we still need more information. Can you tell us what version of Numeric you
are using? The latest is 24.2, so you might want to try that if you are not already.

Also, please try to come up with the smallest self-contained snippet of code
that demonstrates the bug so that the rest of us can try to replicate it.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
  -- Umberto Eco




More information about the Python-list mailing list