This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author amaury.forgeotdarc
Recipients David.Butler, amaury.forgeotdarc, jcea
Date 2011-12-20.23:13:20
SpamBayes Score 6.605388e-07
Marked as misclassified No
Message-id <1324422801.12.0.448919265315.issue13616@psf.upfronthosting.co.za>
In-reply-to
Content
Hey, you found it!
PySide::DynamicSlotDataV2::callback() calls PyMethod_New() without getting the GIL.  The Python allocator is not thread-safe, operations are supposed to be serialized by this Global Interpreter Lock.

I suggest to modify this DynamicSlotDataV2::callback() and add the line "Shiboken::GilState gil;" at the beginning of the function.
History
Date User Action Args
2011-12-20 23:13:21amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, jcea, David.Butler
2011-12-20 23:13:21amaury.forgeotdarcsetmessageid: <1324422801.12.0.448919265315.issue13616@psf.upfronthosting.co.za>
2011-12-20 23:13:20amaury.forgeotdarclinkissue13616 messages
2011-12-20 23:13:20amaury.forgeotdarccreate