My C module crashes
From: Egil Moeller (redhog_at_takeit.se)
Date: 02/28/05
- Next message: Paul McNett: "Re: wxGrid"
- Previous message: Olivier Ravard: "How to delete a module file"
- Next in thread: Daniel Dittmar: "Re: My C module crashes"
- Reply: Daniel Dittmar: "Re: My C module crashes"
- Reply: John Machin: "Re: My C module crashes"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: help@python.org, python-list@python.org Date: Mon, 28 Feb 2005 18:52:29 +0100
Hi!
I've written a C-module for Python, and it works as intended, but
obviously does something wrong with its memmory management (refference
counting), as it causes Python to segfault now and then (randomly,
whey :S)
The module source code is available at
http://grimoire.takeit.se/files/CReader.c
The code isn't _that_ long, so someone experienced with writing Python C
modules should probably not have that hard a time finding what I do
wrong :)
Thanks in advance,
Egil Möller
- Next message: Paul McNett: "Re: wxGrid"
- Previous message: Olivier Ravard: "How to delete a module file"
- Next in thread: Daniel Dittmar: "Re: My C module crashes"
- Reply: Daniel Dittmar: "Re: My C module crashes"
- Reply: John Machin: "Re: My C module crashes"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|