Re: [Mono-dev] ConcurrentStack with value type in 2.10

2012-07-24 Thread Yuriy Solodkyy
Hi All, I just check this on fresh build mono from master. It is not the problem that you can see on each run. You need to run on 8-cores to observe it frequently enough. My environment is Linux x64 (tried: ubuntu 10, ubuntu 12, opensuse 12). Typically if you start test app and it does not

Re: [Mono-dev] ConcurrentStack with value type in 2.10

2012-07-23 Thread Rodrigo Kumpera
Hi Yuriy, With how many cores and on what CPU did managed to reproduce this? I'm running this on my 4 cores nehalem mac without any luck. I'll diff ConcurrentStack between 2.8 and 2.10 to see what could be. On Sun, Jul 22, 2012 at 5:10 AM, Yuriy Solodkyy yu...@couldbedone.comwrote: Hi, It

Re: [Mono-dev] ConcurrentStack with value type in 2.10

2012-07-23 Thread Alan
I cannot reproduce the problem either. What exact version of 2.10 did you test against? It's possible the bug has already been fixed in a newer release of the 2.10 series. Alan On 23 July 2012 13:32, Rodrigo Kumpera kump...@gmail.com wrote: Hi Yuriy, With how many cores and on what CPU did

Re: [Mono-dev] ConcurrentStack with value type in 2.10

2012-07-23 Thread Konrad KruczyƄski
On Mon, 2012-07-23 at 13:45 +0100, Alan wrote: I cannot reproduce the problem either. What exact version of 2.10 did you test against? It's possible the bug has already been fixed in a newer release of the 2.10 series. I could reproduce it on 32-bit machine, only with sgen. -- Regards,

[Mono-dev] ConcurrentStack with value type in 2.10

2012-07-22 Thread Yuriy Solodkyy
Hi, It looks like the ConcurrentStack does not work with big enough structures anymore. 12 bytes struct is enough to reproduce the problem occasionally, 16 bytes structure to reproduce it immediately. It worked fine in mono 2.8. The following code shows that we may pop inconsistent structure

Re: [Mono-dev] ConcurrentStack with value type in 2.10

2012-07-22 Thread Gonzalo Paniagua Javier
I have added bug #6229 with this information: https://bugzilla.xamarin.com/show_bug.cgi?id=6229 -Gonzalo On Sun, Jul 22, 2012 at 4:10 AM, Yuriy Solodkyy yu...@couldbedone.com wrote: Hi, It looks like the ConcurrentStack does not work with big enough structures anymore. 12 bytes struct is