[fdo-internals] #895: SQLite unit test deadlocks

Andy Zhang Andy.Zhang at autodesk.com
Sun Sep 28 19:54:16 PDT 2014

Hi Jackie,

Thank you for reporting this issue. 
I only ran unit tests on Windows before I submitted the change #7133. I didn't run unit tests on Linux. I also suspect the #7133 introduced the defect because there are no other changes of Sqlite provider recently. I can look at this issue, but it may take a long time because I don't have a Linux environment yet. Do you have any idea about how to fix the issue? 


-----Original Message-----
From: fdo-internals-bounces at lists.osgeo.org [mailto:fdo-internals-bounces at lists.osgeo.org] On Behalf Of Jackie Ng
Sent: Monday, September 29, 2014 10:30 AM
To: fdo-internals at lists.osgeo.org
Subject: [fdo-internals] #895: SQLite unit test deadlocks

Hi All,

I've noticed recently that the SQLite unit test suite deadlocks on Linux (on both CentOS and Ubuntu)


I strongly suspect that it is due to this particular submission


In that ticket I created, I speculated that it may be that the CriticalSectionHolder may be attempting to re-acquire an already acquired m_csMd critical section in one of the methods further up the stack trace and it is being blocked perpetually because said critical section was already acquired in one of the parent methods down the stack trace.

Am I on the right track? Would this be an invalid use of CriticalSectionHolder and thus the cause of this deadlock?

- Jackie

View this message in context: http://osgeo-org.1560.x6.nabble.com/895-SQLite-unit-test-deadlocks-tp5164635.html
Sent from the FDO Internals mailing list archive at Nabble.com.
fdo-internals mailing list
fdo-internals at lists.osgeo.org

More information about the fdo-internals mailing list