mbdavid / LiteDB

LiteDB - A .NET NoSQL Document Store in a single data file
http://www.litedb.org
MIT License
8.62k stars 1.25k forks source link

System.Threading.ReaderWriterLockSlim.TryEnterReadLockCore using Xamarin Forms #1834

Open LumiProj opened 4 years ago

LumiProj commented 4 years ago

at System.Threading.ReaderWriterLockSlim.TryEnterReadLockCore (System.Threading.ReaderWriterLockSlim+TimeoutTracker timeout) [0x001fa] in /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/src/Xamarin.iOS/mcs/class/referencesource/System.Core/System/threading/ReaderWriterLockSlim/ReaderWriterLockSlim.cs:425 at System.Threading.ReaderWriterLockSlim.TryEnterReadLock (System.Threading.ReaderWriterLockSlim+TimeoutTracker timeout) [0x00000] in /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/src/Xamarin.iOS/mcs/class/referencesource/System.Core/System/threading/ReaderWriterLockSlim/ReaderWriterLockSlim.cs:291 at System.Threading.ReaderWriterLockSlim.TryEnterReadLock (System.TimeSpan timeout) [0x00000] in /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/src/Xamarin.iOS/mcs/class/referencesource/System.Core/System/threading/ReaderWriterLockSlim/ReaderWriterLockSlim.cs:275 at LiteDB.Engine.LockService.EnterTransaction () [0x0001f] in :0 at LiteDB.Engine.TransactionMonitor.GetTransaction (System.Boolean create, System.Boolean queryOnly, System.Boolean& isNew) [0x000c2] in :0 at LiteDB.Engine.QueryExecutor.ExecuteQuery (System.Boolean executionPlan) [0x00014] in :0 at LiteDB.Engine.QueryExecutor.ExecuteQuery () [0x00019] in :0 at LiteDB.Engine.LiteEngine.Query (System.String collection, LiteDB.Query query) [0x00076] in :0 at LiteDB.LiteQueryable1[T].ExecuteReader () [0x0000c] in <f444c2857b9a479a901d740a1e5a3662>:0 at LiteDB.LiteQueryable1+d__26[T].MoveNext () [0x00020] in :0 at System.Linq.Enumerable+SelectEnumerableIterator2[TSource,TResult].MoveNext () [0x00029] in <6f159b2bddcb4b8b8c80376b213386ee>:0 at System.Linq.Enumerable.Any[TSource] (System.Collections.Generic.IEnumerable1[T] source) [0x00015] in <6f159b2bddcb4b8b8c80376b213386ee>:0 at GetAllPendingAlert (System.Int32 type) [0x0001a] in /LiteDBHelper.cs:98

lbnascimento commented 4 years ago

@LumiProj What exception is being thrown?