After a day of trying to crash pdn, i thought i had tried everything. I tried to open every image on my computer, tried to open a notepad document with a .jpg extension, and so on. but none of them failed.
but as I was about to give up, i decided to make an incredibly big image, and got :
This text file was created because Paint.NET crashed.
Please e-mail this file to paint.net@hotmail.com so we can diagnose and fix the problem.
Application version: Paint.NET v3.0 (Alpha 1 Release build 3.0.2477.19867)
Time of crash: 14/10/2006 6:18:11 PM
Application uptime: 00:16:18.1718750
OS Version: 5.1.2600.131072 Service Pack 2 Workstation x86
.NET Framework version: 2.0.50727.42 x86
Processor: 1x AMD Athlon(tm) 64 Processor 3200+
Physical memory: 1023 MB
Locale: reg: n/a, cc: en-AU, cuic: en-AU
Exception details:
System.OutOfMemoryException: CreateDIBSection returned NULL (8) while attempting to allocate 9999x7499 bitmap
at PaintDotNet.SystemLayer.Memory.AllocateBitmap(Int32 width, Int32 height, IntPtr& handle)
at PaintDotNet.MemoryBlock.Allocate(Int32 width, Int32 height, IntPtr& handle, Boolean allowRetry)
at PaintDotNet.MemoryBlock.Allocate(Int32 width, Int32 height, IntPtr& handle, Boolean allowRetry)
at PaintDotNet.MemoryBlock..ctor(Int32 width, Int32 height)
at PaintDotNet.Surface..ctor(Int32 width, Int32 height)
at PaintDotNet.Surface..ctor(Size size)
at PaintDotNet.DocumentWorkspace.OnDocumentChanged()
at PaintDotNet.DocumentView.DocumentSetImpl(Document value)
at PaintDotNet.DocumentView.set_Document(Document value)
at PaintDotNet.AppWorkspace.CreateBlankDocumentInNewWorkspace(Size size, MeasurementUnit dpuUnit, Double dpu, Boolean isInitial)
at PaintDotNet.Actions.NewImageAction.PerformAction(AppWorkspace appWorkspace)
at PaintDotNet.AppWorkspace.PerformAction(AppWorkspaceAction performMe)
at PaintDotNet.AppWorkspace.CommonActionsStrip_ButtonClick(Object sender, EnumValueEventArgs e)
at PaintDotNet.CommonActionsStrip.OnButtonClick(CommonAction action)
at PaintDotNet.CommonActionsStrip.OnItemClicked(ToolStripItemClickedEventArgs e)
at System.Windows.Forms.ToolStrip.HandleItemClick(ToolStripItem dismissingItem)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at PaintDotNet.SystemLayer.ToolStripEx.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)
------------------------------------------------------------------------------
the thing is, i just tried to recreate the crash again, but got an error message that i didn't have enough memory and didn't crash.
Also, i thought i might suggest a few things about 3.0
1) The multiple image save dialog looks great, but the single image save popup box doesn't by comparison. in the interests of consistancy and user friendliness, wouldn't it be better to change the single save dialog to be similar, with descriptions etc., to the multi image save dialog
2) now that there is a context toolbar, it could save some room in the tools window by combining the rectangle and the circle select to one tool, and allowing the user to change the shape in the toolbar instead
EDIT: also, is the Line/Curve tool supposed to use the secondary colour?