PyType_IsSubtype ()

S

Sheldon

Hi,

Can anyone tell me what this error mean:
#0 0x4008376e in PyType_IsSubtype () from /usr/lib/libpython2.3.so.1.0

The core file backtrace can be found below.
I am using Numeric and Python2.3 on a Linux OS.

Any help is appreciated!
*********************************
Core was generated by `/usr/bin/python msgppscomp.py'.
Program terminated with signal 11, Segmentation fault.
warning: current_sos: Can't read pathname for load map: Input/output
error

Symbols already loaded for /usr/lib/libpython2.3.so.1.0
Symbols already loaded for /lib/tls/libpthread.so.0
Symbols already loaded for /lib/libdl.so.2
Symbols already loaded for /lib/libutil.so.1
Symbols already loaded for /usr/lib/libstdc++.so.5
Symbols already loaded for /lib/tls/libm.so.6
Symbols already loaded for /lib/libgcc_s.so.1
Symbols already loaded for /lib/tls/libc.so.6
Symbols already loaded for /lib/ld-linux.so.2
Symbols already loaded for
/usr/lib/python2.3/site-packages/Numeric/multiarray.so
Symbols already loaded for
/usr/lib/python2.3/site-packages/Numeric/_numpy.so
Symbols already loaded for
/usr/lib/python2.3/site-packages/Numeric/umath.so
Symbols already loaded for /usr/lib/python2.3/lib-dynload/strop.so
Symbols already loaded for /usr/lib/python2.3/lib-dynload/math.so
Symbols already loaded for /usr/lib/python2.3/lib-dynload/struct.so
Symbols already loaded for /usr/lib/python2.3/lib-dynload/binascii.so
Symbols already loaded for /usr/lib/python2.3/lib-dynload/cStringIO.so
Symbols already loaded for
/usr/lib/python2.3/site-packages/Numeric/ranlib.so
Symbols already loaded for
/usr/lib/python2.3/site-packages/Numeric/lapack_lite.so
Symbols already loaded for /usr/lib/python2.3/lib-dynload/time.so
Symbols already loaded for
/data/proj_ns1/safworks/sheldon/MSG_PPS_COMP/c_codes/msgppsarea.so
Symbols already loaded for /usr/lib/libhdf5.so.0
Symbols already loaded for /lib/libz.so.1
Symbols already loaded for /usr/lib/python2.3/lib-dynload/cPickle.so
Symbols already loaded for /usr/lib/python2.3/lib-dynload/_bsddb.so
Symbols already loaded for /usr/lib/libdb-4.1.so
Symbols already loaded for /usr/lib/python2.3/lib-dynload/gdbm.so
Symbols already loaded for /usr/lib/libgdbm.so.2
Symbols already loaded for /usr/lib/python2.3/lib-dynload/dbm.so
#0 0x4008376e in PyType_IsSubtype () from /usr/lib/libpython2.3.so.1.0
**********************************************************************************

/Sheldon
 
?

=?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?=

Sheldon said:
Can anyone tell me what this error mean:
#0 0x4008376e in PyType_IsSubtype () from /usr/lib/libpython2.3.so.1.0

It's not an error. It is just a frame from the backtrace.

To understand the crash better, one would need to see more frames from
the backtrace. Ideally, one would run the program in a debugger to
analyse it further.

Regards,
Martin
 
S

Sheldon

Martin v. Löwis skrev:
It's not an error. It is just a frame from the backtrace.

To understand the crash better, one would need to see more frames from
the backtrace. Ideally, one would run the program in a debugger to
analyse it further.

Regards,
Martin

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?

/Sheldon
 
?

=?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?=

Sheldon said:
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

Can you make head or tail of this?

Not yet, although it hints to a bug in Numeric.

It now would help if _numpy.so was compiled with debug information enabled.

Regards,
Martin
 
R

Robert Kern

Sheldon said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,062
Latest member
OrderKetozenseACV

Latest Threads

Top