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

Greg Boone greg.boone at autodesk.com
Mon Sep 29 06:52:56 PDT 2014


You should revert this change if it is the culprit causing the defect. 

-----Original Message-----
From: fdo-internals-bounces at lists.osgeo.org [mailto:fdo-internals-bounces at lists.osgeo.org] On Behalf Of Andy Zhang
Sent: Sunday, September 28, 2014 10:54 PM
To: FDO Internals Mail List
Subject: Re: [fdo-internals] #895: SQLite unit test deadlocks

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? 

Thanks
Andy

-----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)

http://trac.osgeo.org/fdo/ticket/895

I strongly suspect that it is due to this particular submission

http://trac.osgeo.org/fdo/changeset/7133

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
http://lists.osgeo.org/mailman/listinfo/fdo-internals
_______________________________________________
fdo-internals mailing list
fdo-internals at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/fdo-internals


More information about the fdo-internals mailing list