Re: [Python-Dev] python seg faults

2009-02-11 Thread Aahz
One more thing: There's a mailing list specifically for help with C extensions, c...@python.org -- Aahz (a...@pythoncraft.com) <*> http://www.pythoncraft.com/ Weinberg's Second Law: If builders built buildings the way programmers wrote programs, then the first woodpecker that c

Re: [Python-Dev] python seg faults

2009-02-11 Thread Nick Coghlan
Sushant Sinha wrote: > I am running Python 2.5.4 compiled with gcc (Gentoo 4.3.2-r2 p1.5, > pie-10.1.5) 4.3.2 > > My program uses python interface to two C modules namely libnids > (pynids) and adns (adns-python). My program is written all in python. > When I run my program it aborts. As Martin s

Re: [Python-Dev] python seg faults

2009-02-11 Thread Martin v. Löwis
> So I am not sure where the error is. Any clue on where the bug possibly > may be: adns-python, pynids or python? Or how I should I go about > debugging this? This is out of scope for python-dev, but I give some clues anyway: - try finding out what kind of object is being released. Is it a good

[Python-Dev] python seg faults

2009-02-11 Thread Sushant Sinha
I am running Python 2.5.4 compiled with gcc (Gentoo 4.3.2-r2 p1.5, pie-10.1.5) 4.3.2 My program uses python interface to two C modules namely libnids (pynids) and adns (adns-python). My program is written all in python. When I run my program it aborts. Here is the stack when that happens: #0 0x0