This still happens on hardy, with python-gobject 2.14.0-4, and libglib2.0-0 2.14.4-1ubuntu1.
I found out that Py_Finalize calls _PyGILState_Fini which sets the autoInterpreterState to NULL. Libgstreamer is deinitialized after that in the exit call from libc and calls the finalize method of the pygobject, which causes the segfault because python is already deinitialized.
This still happens on hardy, with python-gobject 2.14.0-4, and libglib2.0-0 2.14.4-1ubuntu1.
I found out that Py_Finalize calls _PyGILState_Fini which sets the autoInterpreter State to NULL. Libgstreamer is deinitialized after that in the exit call from libc and calls the finalize method of the pygobject, which causes the segfault because python is already deinitialized.