ralf_net Posted December 15, 2005 Share Posted December 15, 2005 I draw a picture with 2 layers and I set the layer modus of the second layer to 'reflect' and then Paint.NET crashes. Here the crash-log: Crash log for Paint.NET v2.6 (Alpha 1 Release Build 2.6.2172.30793) Time of crash: 15.12.2005 17:18:27 OS version: 5.1.2600.131072 .NET Framework version: 2.0.50727.42 X86 Processor count: 1 Exception details: System.IndexOutOfRangeException: Index was outside the bounds of the array. at PaintDotNet.UserBlendOps.ReflectBlendOp.Apply(ColorBgra* dst, ColorBgra* src, Int32 length) at PaintDotNet.BitmapLayer.RenderImpl(RenderArgs args, Rectangle[] rois, Int32 startIndex, Int32 length) at PaintDotNet.Document.Render(RenderArgs args, Rectangle[] roi, Int32 startIndex, Int32 length, Boolean clearBackground) at PaintDotNet.Document.Update(RenderArgs dst) at PaintDotNet.DocumentView.surfaceBox_PrePaint(Object sender, PaintEventArgs2 e) at PaintDotNet.SurfaceBox.OnPrePaint(PaintEventArgs2 e) at PaintDotNet.SurfaceBox.OnPaintImpl(PaintEventArgs2 e) at PaintDotNet.SurfaceBox.OnPaint(PaintEventArgs e) at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs) at System.Windows.Forms.Control.WmPaint(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at PaintDotNet.SurfaceBox.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ------------------------------------------------------------------------------ Quote Ralf Paint.NET and Sharp Develop - two powerful examples for the .NET technology Link to comment Share on other sites More sharing options...
Bob Posted December 15, 2005 Share Posted December 15, 2005 Reflect mode crash, it's a known bug. Yup, and Reflect does the same thing. It's fixed for our next release.We had a case of "a - b * 3" instead of "(a - * 3" that we didn't catch before release. Quote No. Way. I've just seen Bob. And... *poof!*—just like that—he disappears into the mist again. ~Helio Link to comment Share on other sites More sharing options...
bfschuil Posted December 15, 2005 Share Posted December 15, 2005 Excellent, b/c I was just about to bug report it. Thanks for all the great work, Ben Quote Smile Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.