http://bugs.winehq.org/show_bug.cgi?id=22249
Summary: Paint.NET 3.36 installer cancellation results in raised .NET System.OverflowException Product: Wine Version: 1.1.42 Platform: x86 URL: http://www.filehippo.com/download_paint.net/4572/ OS/Version: Linux Status: NEW Keywords: download, Installer Severity: normal Priority: P2 Component: gdiplus AssignedTo: wine-bugs@winehq.org ReportedBy: arethusa26@gmail.com CC: madewokherd@gmail.com
Created an attachment (id=27170) --> (http://bugs.winehq.org/attachment.cgi?id=27170) Paint .NET 3.36 installer +gdiplus trace
After installing mono24 from winetricks and running the Paint .NET 3.36 installer, pressing the Cancel button results in:
System.OverflowException: Number overflow. at System.Drawing.SizeF.ToSize () [0x00000] at System.Windows.Forms.MessageBox+MessageBoxForm.InitFormsSize () [0x00000] at System.Windows.Forms.MessageBox+MessageBoxForm.RunDialog () [0x00000] at (wrapper remoting-invoke-with-check) System.Windows.Forms.MessageBox/MessageBoxForm:RunDialog () at System.Windows.Forms.MessageBox.Show (IWin32Window owner, System.String text, System.String caption, MessageBoxButtons buttons, MessageBoxIcon icon) [0x00000] ...
Since cancellation worked in wine-1.1.36, a regression test was performed, which indicated:
3cee74c61d1e4065259739721eb50083c5a47960 is the first bad commit commit 3cee74c61d1e4065259739721eb50083c5a47960 Author: Vincent Povirk vincent@codeweavers.com Date: Tue Mar 30 13:41:04 2010 -0500
gdiplus: Rewrite GdipMeasureString using a helper function.
:040000 040000 0efd3c09a1afcb46ec9b7d013b320f8011718480 dba780d95f81558123b2015c3ee9ff87885663e2 M dlls
A +gdiplus log of the Paint .NET 3.36 installer run is attached.