This project is read-only.


Probable I/O race condition detected while copying memory


I'm using raptordb-8cae451eb90e, but this error still occurs when I insert more records into a database of 500,000 records:

A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread.

Probable I/O race condition detected while copying memory. The I/O package is not thread safe by default. In multithreaded applications, a stream must be accessed in a thread-safe way, such as a thread-safe wrapper returned by TextReader's or TextWriter's Synchronized methods. This also applies to classes like StreamWriter and StreamReader.

at System.Buffer.InternalBlockCopy(Array src, Int32 srcOffsetBytes, Array dst, Int32 dstOffsetBytes, Int32 byteCount)
at System.IO.FileStream.Read(Byte[] array, Int32 offset, Int32 count)
at RaptorDB.BitmapIndex.internalGetBitmap(Int32 recno) in D:\RaptorDB\RaptorDB_doc_v1.6\RaptorDB\Indexes\BitmapIndex.cs:line 194
at RaptorDB.MGIndex1.doEqualOp(RDBExpression exp, T key) in D:\RaptorDB\RaptorDB_doc_v1.6\RaptorDB\Indexes\MGIndex.cs:line 338
at RaptorDB.MGIndex
1.Query(RDBExpression exp, T from) in D:\RaptorDB\RaptorDB_doc_v1.6\RaptorDB\Indexes\MGIndex.cs:line 113
at RaptorDB.TypeIndexes1.Query(RDBExpression ex, Object from) in D:\RaptorDB\RaptorDB_doc_v1.6\RaptorDB\Indexes\Indexes.cs:line 34
at RaptorDB.Views.ViewHandler.SaveAndIndex(Dictionary
2 rows) in D:\RaptorDB\RaptorDB_doc_v1.6\RaptorDB\Views\ViewHandler.cs:line 148
at RaptorDB.Views.ViewHandler.Insert[T](Guid guid, T doc) in D:\RaptorDB\RaptorDB_doc_v1.6\RaptorDB\Views\ViewHandler.cs:line 140
at RaptorDB.Views.ViewManager.<>c__DisplayClass2`1.<Insert>b__0() in D:\RaptorDB\RaptorDB_doc_v1.6\RaptorDB\Views\ViewManager.cs:line 111
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
Closed Jan 24, 2015 at 7:11 AM by MGholam


MGholam wrote Aug 14, 2012 at 9:19 AM

Checkout v1.8.2