[Develop] Fwd: [Demotv-devel] Ideas about handling new windows?

Ben Dean-Kawamura ben at pculture.org
Fri Nov 30 12:49:40 EST 2007


Something is really weird about that.  If we get the signal in pyton, we
should be able to hand it over to the C code through some kind of pyrex layer.

But the fact that it would segfault in one, but not the other is very strange.
Did you look at the open_uri_cb() method?  I was getting segfaults there by
not aquiring the python GIL, but I don't see what the problem would be for a
no code callback.  Very weird...

Ben

On Fri, Nov 30, 2007 at 09:47:28AM -0500, Paul Swartz wrote:
> Ben Dean-Kawamura wrote:
> > This makes sense to me.  Do you get the new-window signal before the segfault?
> 
> If I attach a python function to the callback, then I get the signal 
> just fine and it doesn't segfault.  However, PyGTKMozEmbed doesn't let 
> me do anything with the signal.  I tried to attach to it from C using 
> Pyrex (since that's already what we use to get around PyGTKMozEmbed) but 
> even attaching a callback which has no code segfaults, so I guess that 
> means the segfault is before the callback.
> 
> -p
> -- 
> Paul Swartz
> Participatory Culture Foundation
> pswartz at pculture.org
> _______________________________________________
> Develop mailing list
> Develop at pculture.org
> http://participatoryculture.org/mailman/listinfo/develop


More information about the Develop mailing list