By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
439,930 Members | 2,018 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 439,930 IT Pros & Developers. It's quick & easy.

PyType_IsSubtype ()

P: n/a
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

Jan 5 '07 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Sheldon schrieb:
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
Jan 5 '07 #2

P: n/a

Martin v. Lwis skrev:
Sheldon schrieb:
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
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

Jan 5 '07 #3

P: n/a
Sheldon schrieb:
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
Jan 6 '07 #4

P: n/a
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

Jan 6 '07 #5

This discussion thread is closed

Replies have been disabled for this discussion.