On 7/20/07, Josiah Carlson <[EMAIL PROTECTED]> wrote:
>
> "David Gowers" <[EMAIL PROTECTED]> wrote:
> > Has anyone tried PyGEGL, the Python interface to gegl (www.gegl.org),
> > with SVN Python?
> > When I 'import gegl', that causes an immediate crash with the
> > following backtrace.
>
> I would wager a beer or two that the issue is in the wrapping of gegl.
> Having recently started wrapping modules by hand and with Swig, I have
> come to notice that making a mistake with refcounts can lead to
> segfaults like you are seeing.  If you are getting that immediately upon
> import, you may want to check to make sure that the function that is
> initializing your module (typically something like init_gegl) is doing
> the right things (I can't really offer any suggestions on what to check
> for, I literally only started wrapping stuff by hand yesterday;
> previously I used Pyrex, which can handle all refcounts for you if
> desired).
>
Well, okay; but how does that account for the fact that Kevin reports
it works under 2.4, but it doesn't work under 2.6?
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to