473,395 Members | 1,637 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

PyType_IsSubtype ()

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
4 1887
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

Martin v. Löwis 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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Jon Perez | last post by:
I have a C extension function into which I pass a list of lists of tuples: , , , ] I then unpack the values (down to the tuple elements) into their C values using:
1
by: Michal Vitecek | last post by:
hello, i'm (once again) fighting with python C API. i'm simply unable to determine whether 'x' is an instance of new class or not. result of PyObject_Type(x) is unusable, PyType_Check(x)...
11
by: Iker Arizmendi | last post by:
Hello all, I've defined a class in a C extension module that is (or rather, I would like to be) a subclass of another class. I do this by simply setting the tp_base pointer of my subclass's...
14
by: Pedro Werneck | last post by:
Hi I have a class A, with metaclass M_A, and class B, subclass of A, with metaclass M_B, subclass of M_A. A class C, subclass of B must have M_B or a subclass of it as metaclass, but what if...
0
by: Kurt B. Kaiser | last post by:
Patch / Bug Summary ___________________ Patches : 408 open ( -9) / 3585 closed (+20) / 3993 total (+11) Bugs : 968 open ( +8) / 6505 closed ( +7) / 7473 total (+15) RFE : 267 open...
2
by: NotGuru | last post by:
I was writing some C extensions for Python and use PyTupleType_Check extensively. I found that all the PySomeType_Check macros directly delegate the job to PyObject_TypeCheck(op, &PyType_Type). The...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.