shana / paint-mono

Automatically exported from code.google.com/p/paint-mono
Other
22 stars 13 forks source link

Gaussian Blur causes crash #16

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
[What steps will reproduce the problem?]
1. run paintdotnet
2. Select menu [Effects]->[Blurs]->[Gaussian Blur...]

[What is the expected output? What do you see instead?]

It should not crash, but:

atsushi@linux-avjl:~> mono --debug /usr/local/lib/paintdotnet/PaintDotNet.exe
-----HERE------
Got System.Drawing.Rectangle[] get_ClipRectangles() and
System.Windows.Forms.Hwnd ObjectFromHandle(IntPtr)
-------Finished--------
SingleInstanceManager.SingleInstaceManager: Not implemented
UI.SetControlRedrawImpl: Not implemented
PORT: HideHorizontalScrollBar missing
SingleInstanceManager.SetWindow: Not implemented
SingleInstanceManager.FilterMessage: Not implemented
Stack overflow in unmanaged: IP: 0x80f265e, fault addr: 0xb4466ffc

Unhandled Exception: System.StackOverflowException: The requested operation
caused a stack overflow.
  at (wrapper managed-to-native)
object:__icall_wrapper_mono_array_new_specific (intptr,int)
  at System.Collections.ArrayList.EnsureCapacity (Int32 count) [0x00032] in
/svn/mcs/class/corlib/System.Collections/ArrayList.cs:2790 
  at System.Collections.ArrayList.Add (System.Object value) [0x00013] in
/svn/mcs/class/corlib/System.Collections/ArrayList.cs:2851 
  at System.Collections.ArrayList+SynchronizedArrayListWrapper.Add
(System.Object value) [0x0000d] in
/svn/mcs/class/corlib/System.Collections/ArrayList.cs:1222 
  at PaintDotNet.Effects.BackgroundEffectRenderer.ThreadFunction ()
[0x00130] in /svn/paint-mono/src/Effects/BackgroundEffectRenderer.cs:194 

[What version of the product are you using? On what operating system?]
mono and libgdiplus from trunk (r123602 / r123608).

Original issue reported on code.google.com by atsushi...@gmail.com on 16 Jan 2009 at 2:23