Patch for fixing various Segmentation faults due lack of Global Interpreter Locking
Bug #554299 reported by
Jonas H
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PyJavaScriptCore |
Confirmed
|
Medium
|
Martin Soto |
Bug Description
I herewith send you a patch that fixes various Segmentation faults that occur due the lack of proper Global Interpreter Locking (GIL).
In some cases if you accessed/called Javascript objects/functions from within multiple threads, Python crashed with segmentation faults because `PyThreadState_GET` returned a null-pointer. This is due the lack of proper GI locking.
The patch has to be applied to current bzr revision.
To post a comment you must log in.
Humm, I mixed revisions, reversed patch. Here comes the right one.