Message171283
| 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. |
|