[Mono-dev] ConcurrentQueue

Greg Young gregoryyoung1 at gmail.com
Fri Aug 10 09:53:41 UTC 2012


trunk.

On Fri, Aug 10, 2012 at 2:53 AM, Alan <alan.mcgovern at gmail.com> wrote:
> Hey,
>
> What version of Mono are you testing against?
>
> Alan
>
> On 10 August 2012 09:52, Greg Young <gregoryyoung1 at gmail.com> wrote:
>> We regularly can cause problems with ConcurrentQueue such as
>>
>> System.NullReferenceException: Object reference not set to an instance
>> of an object
>>   at System.Collections.Concurrent.ConcurrentQueue`1[System.IO.FileStream].TryDequeue
>> (System.IO.FileStream& result) [0x00000] in <filename unknown>:0
>>   at SStable.PTable.GetFileStream () [0x00000] in <filename unknown>:0
>>   at SStable.PTable+<GetRange>c__Iterator2.MoveNext () [0x00000] in
>> <filename unknown>:0
>>   at SStable.PTable.TryGetValue (UInt32 stream, UInt32 version,
>> System.UInt64[]& position) [0x00000] in <filename unknown>:0
>>   at SStable.TableIndex.TryGetValueInternal (UInt32 stream, UInt32
>> version, System.UInt64[]& position) [0x00000] in <filename unknown>:0
>>   at SStable.TableIndex.TryGetValue (UInt32 stream, UInt32 version,
>> System.UInt64[]& position) [0x00000] in <filename unknown>:0
>>   at IndexKiller.Program.ReadItems (SStable.TableIndex index,
>> System.Threading.AutoResetEvent autoResetEvent) [0x00000] in <filename
>> unknown>:0
>>   at IndexKiller.Program+<Main>c__AnonStorey1.<>m__0 (System.Object x)
>> [0x00000] in <filename unknown>:0
>>
>> We have posted up repros before but basically just pound on it with
>> five threads (each thread add and removes 1 item)
>>
>> It seems object pool is still buggy.
>>
>> --
>> Le doute n'est pas une condition agréable, mais la certitude est absurde.
>> _______________________________________________
>> Mono-devel-list mailing list
>> Mono-devel-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-devel-list



-- 
Le doute n'est pas une condition agréable, mais la certitude est absurde.


More information about the Mono-devel-list mailing list