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 scorp
Recipients ghaering, scorp
Date 2016-02-19.10:54:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1455879265.15.0.665826411347.issue26387@psf.upfronthosting.co.za>
In-reply-to
Content
Hm, this is strange, because close() can only be called from the same thread and dealloc() can be called only if reference count is 0, right? So why is there a mutex again each other anyway? And how can that be, that sqlite3_close() is called multiple times with the same pointer? We are getting a crash, which is only possible if dealloc() is called where close() is not yet done. Is this possible? Or do I understand something wrong? For such cases we also have to set database pointer to NULL in dealloc(), but it looks like the problem is somewhere different, the whole code looks strange for me.
History
Date User Action Args
2016-02-19 10:54:25scorpsetrecipients: + scorp, ghaering
2016-02-19 10:54:25scorpsetmessageid: <1455879265.15.0.665826411347.issue26387@psf.upfronthosting.co.za>
2016-02-19 10:54:25scorplinkissue26387 messages
2016-02-19 10:54:24scorpcreate