dokan-dev / dokan-dotnet

Dokan DotNet Wrapper
http://dokan-dev.github.io
MIT License
462 stars 116 forks source link

AccessViolationException in `RentBuffer` #353

Closed lostmsu closed 8 months ago

lostmsu commented 8 months ago

Here's my stacktrace:

Fatal error. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at System.Collections.Concurrent.ConcurrentBag`1+WorkStealingQueue[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].TryLocalPop(System.__Canon ByRef)
   at System.Collections.Concurrent.ConcurrentBag`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].TryTake(System.__Canon ByRef)
   at DokanNet.BufferPool.RentBuffer(UInt32, DokanNet.Logging.ILogger)
   at DokanNet.DokanOperationProxy.ReadFileProxy(System.String, IntPtr, UInt32, Int32 ByRef, Int64, DokanNet.DokanFileInfo)
lostmsu commented 8 months ago

Turns out it was my fault