[Mono-bugs] [Bug 662381] C# lock () fails on latest Mono runtimes

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jan 5 05:57:57 EST 2011


https://bugzilla.novell.com/show_bug.cgi?id=662381

https://bugzilla.novell.com/show_bug.cgi?id=662381#c1


Zoltan Varga <vargaz at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vargaz at gmail.com

--- Comment #1 from Zoltan Varga <vargaz at gmail.com> 2011-01-05 10:57:56 UTC ---
This isn't a runtime bug, GetResampleSet calls itself through this stack trace:
My guess is that this is due to some problem in Parallel.For.

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

at PeterMac.Magic.GetResamplerSet(IFull o)
   at PeterMac.Magic`1[[PeterMac.Double4, ImageResize, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=null]].Resample(IFull o)
   at PeterMac.Extensions.Resample(IFull o)
   at PeterMac.PixmapMagic`1+ResampleableY[[PeterMac.Double4, ImageResize,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]..ctor(PeterMac.Pixmap`1
source, PeterMac.Pixmap`1 destination, Double factor, Int32 i)
   at PeterMac.PixmapMagic`1+<ResampleY>c__AnonStoreyA[[PeterMac.Double4,
ImageResize, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=null]].<>m__10(Int32 i)
   at System.Threading.Tasks.Parallel+<For>c__AnonStorey43.<>m__42(Int32 index,
System.Threading.Tasks.ParallelLoopState state)
   at System.Threading.Tasks.Parallel+<For>c__AnonStorey44.<>m__44(Int32 i,
System.Threading.Tasks.ParallelLoopState s, System.Object l)
   at System.Threading.Tasks.Parallel+<For>c__AnonStorey45`1[[System.Object,
mscorlib, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089]].<>m__46()
   at
System.Threading.Tasks.TaskFactory+<StartNew>c__AnonStorey16.<>m__B(System.Object
o)
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.ThreadStart()
   at System.Threading.Tasks.Task.Execute(System.Action`1 childAdder)
   at System.Threading.Tasks.ThreadWorker.WorkerMethod(System.Func`1 predicate,
IProducerConsumerCollection`1 sharedWorkQueue,
System.Threading.Tasks.ThreadWorker[] others, System.Threading.ManualResetEvent
evt)
   at System.Threading.Tasks.Scheduler.ParticipateUntil(System.Func`1
predicate)
   at
System.Threading.Tasks.Scheduler.ParticipateUntil(System.Threading.Tasks.Task
task)
   at System.Threading.Tasks.Task.Wait()
   at System.Threading.Tasks.Task.WaitAll(System.Threading.Tasks.Task[] tasks)
   at System.Threading.Tasks.Parallel.For(Int32 fromInclusive, Int32
toExclusive, System.Threading.Tasks.ParallelOptions parallelOptions,
System.Func`1 localInit, System.Func`4 body, System.Action`1 localFinally)
   at System.Threading.Tasks.Parallel.For(Int32 fromInclusive, Int32
toExclusive, System.Threading.Tasks.ParallelOptions parallelOptions,
System.Action`2 body)
   at System.Threading.Tasks.Parallel.For(Int32 fromInclusive, Int32
toExclusive, System.Threading.Tasks.ParallelOptions parallelOptions,
System.Action`1 body)
   at System.Threading.Tasks.Parallel.For(Int32 fromInclusive, Int32
toExclusive, System.Action`1 body)
   at PeterMac.Magic+ResamplerSet..ctor(IFull o)
   at PeterMac.Magic.GetResamplerSet(IFull o)
   at PeterMac.Magic`1[[PeterMac.Double4, ImageResize, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=null]].Resample(IFull o)
   at PeterMac.Extensions.Resample(IFull o)
   at PeterMac.PixmapMagic`1+ResampleableY[[PeterMac.Double4, ImageResize,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]..ctor(PeterMac.Pixmap`1
source, PeterMac.Pixmap`1 destination, Double factor, Int32 i)
   at PeterMac.PixmapMagic`1+<ResampleY>c__AnonStoreyA[[PeterMac.Double4,
ImageResize, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=null]].<>m__10(Int32 i)
   at System.Threading.Tasks.Parallel+<For>c__AnonStorey43.<>m__42(Int32 index,
System.Threading.Tasks.ParallelLoopState state)
   at System.Threading.Tasks.Parallel+<For>c__AnonStorey44.<>m__44(Int32 i,
System.Threading.Tasks.ParallelLoopState s, System.Object l)
   at System.Threading.Tasks.Parallel+<For>c__AnonStorey45`1[[System.Object,
mscorlib, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089]].<>m__46()
   at
System.Threading.Tasks.TaskFactory+<StartNew>c__AnonStorey16.<>m__B(System.Object
o)
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.ThreadStart()
   at System.Threading.Tasks.Task.Execute(System.Action`1 childAdder)
   at System.Threading.Tasks.ThreadWorker.WorkerMethod(System.Func`1 predicate,
IProducerConsumerCollection`1 sharedWorkQueue,
System.Threading.Tasks.ThreadWorker[] others, System.Threading.ManualResetEvent
evt)
   at System.Threading.Tasks.Scheduler.ParticipateUntil(System.Func`1
predicate)
   at
System.Threading.Tasks.Scheduler.ParticipateUntil(System.Threading.Tasks.Task
task)
   at System.Threading.Tasks.Task.Wait()
   at System.Threading.Tasks.Task.WaitAll(System.Threading.Tasks.Task[] tasks)
   at System.Threading.Tasks.Parallel.For(Int32 fromInclusive, Int32
toExclusive, System.Threading.Tasks.ParallelOptions parallelOptions,
System.Func`1 localInit, System.Func`4 body, System.Action`1 localFinally)
   at System.Threading.Tasks.Parallel.For(Int32 fromInclusive, Int32
toExclusive, System.Threading.Tasks.ParallelOptions parallelOptions,
System.Action`2 body)
   at System.Threading.Tasks.Parallel.For(Int32 fromInclusive, Int32
toExclusive, System.Threading.Tasks.ParallelOptions parallelOptions,
System.Action`1 body)
   at System.Threading.Tasks.Parallel.For(Int32 fromInclusive, Int32
toExclusive, System.Action`1 body)
   at PeterMac.PixmapMagic`1[[PeterMac.Double4, ImageResize, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=null]].ResampleY(PeterMac.Pixmap`1 source,
Double factor)
   at PeterMac.Extensions.ResampleY(PeterMac.Pixmap`1 source, Double factor)
   at PeterMac.PixmapMagic`1[[PeterMac.Double4, ImageResize, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=null]].Resample(PeterMac.Pixmap`1 source,
Double xFactor, Double yFactor)
   at PeterMac.Extensions.Resample(PeterMac.Pixmap`1 source, Double xFactor,
Double yFactor)
   at PeterMac.BitmapMagic.Resample(System.Drawing.Bitmap source, Double
xFactor, Double yFactor)
   at PeterMac.Extensions.Resample(System.Drawing.Bitmap source, Double
xFactor, Double yFactor)
   at PeterMac.MainClass.Main(System.String[] args)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list