GNOME Bugzilla – Bug 623229
Fix a crash in the Python loader if Python initialisation failed
Last modified: 2010-06-30 18:23:52 UTC
Created attachment 164983 [details] [review] Fix a crash in the Python loader if Python initialisation failed Patch attached to fix a crash in the Python loader if Python initialisation failed; we tried to acquire the Python GIL in the add module function, which is A Bad Idea if Python initialisation failed.
Review of attachment 164983 [details] [review]: Looks fine. You can push this patch to master.
commit c6aaf6f75ddd7676d23462975f34ecbbf7f637a7 Author: Philip Withnall <philip@tecnocode.co.uk> Date: Wed Jun 30 19:13:52 2010 +0100 Fix a crash in the Python loader if Python initialisation failed The loader would try to acquire the Python GIL when adding a module director which would cause a crash. loaders/python/peas-plugin-loader-python.c | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-)