Bug#676908: C program embedding python segfaults after reinitialization in subsequent call to import a script using gi.repository module

Josselin Mouette joss at debian.org
Mon Jun 11 07:11:17 UTC 2012


severity 676908 normal
forwarded 676908 https://bugzilla.gnome.org/show_bug.cgi?id=677091
thanks

Le dimanche 10 juin 2012 à 14:13 +0200, Andrey Gursky a écrit : 
> You call Py_Initialize(), then import a python script, which contains
> at least one(!) of the following imports:
> from gi.repository import GLib
> from gi.repository import Gtk
> from gi.repository import Cairo
> from gi.repository import Pango
> from gi.repository import Gio
> Than you call Py_Finalize();
> After you repeat Py_Initialize() and try to import the script again,
> it segfaults.
> But there is no problems with pygtk.

Seriously? Can’t you deal with such programming problems with upstream?

-- 
 .''`.      Josselin Mouette
: :' :
`. `'
  `-







More information about the pkg-gnome-maintainers mailing list