C extension module causes bus error on Python exit

A

Anand Patil

Hi all,

I was referred to this list from python-help. I've written an extension
module in C which contains several new types. The types can be
instantiated, used, and deleted under Python 2.4.3 on OS X 10.4 without
problems.

However, whenever I import the module Python tries to dereference a NULL
pointer and crashes *at exit*, whether or not I've instantiated any of
the types. I've searched for memory leaks with gc.get_objects and Mac
OS's MallocDebug utility, but haven't found any evidence.

Has anyone run into a problem like this? Any help is greatly appreciated.

Thank you,
Anand Patil
 

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,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top