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 pitrou
Recipients Arfrever, benjamin.peterson, georg.brandl, pitrou, skrah
Date 2012-09-25.14:31:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1348583513.52.0.299873075413.issue16035@psf.upfronthosting.co.za>
In-reply-to
Content
The cause for Stefan's traceback looks quite clear:

Connection_createaggregatefunction() release the GIL (through the PYSQLITE_CON_CALL macro) before calling into sqlite3_create_function_v2, which itself calls the destructor for the old aggregate function, aka. apsw_free_func(), which calls Py_DECREF without re-acquiring the GIL.

So apsw needs to sanitize its callbacks implementation here.
History
Date User Action Args
2012-09-25 14:31:53pitrousetrecipients: + pitrou, georg.brandl, benjamin.peterson, Arfrever, skrah
2012-09-25 14:31:53pitrousetmessageid: <1348583513.52.0.299873075413.issue16035@psf.upfronthosting.co.za>
2012-09-25 14:31:53pitroulinkissue16035 messages
2012-09-25 14:31:52pitroucreate