http://bugs.winehq.org/show_bug.cgi?id=29587
Bug #: 29587 Summary: Visual FoxPro application fatal error when loading JPEG Product: Wine Version: unspecified Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: user32 AssignedTo: wine-bugs@winehq.org ReportedBy: wyley.r@gmail.com CC: julliard@winehq.org Classification: Unclassified Regression SHA1: 2e96abd0d432ae1374a4e268e3655df9e01822ba
Publishers' Assistant, a Visual FoxPro application built with VFP 7, crashes upon trying to load a JPEG file. The error reported is:
"Fatal error: Exception code = C0000005 @ [timestamp] Error log file: C:\Program Files\Common Files\Microsoft Shared\VFP\vfp7rerr.log Called from - pubassist line 118 {C:\program files\pubassist\pubassist.prg c:\program files\pubassist\pa.exe}"
(There is no more useful information in the mentioned log file -- it just contains the same message.)
This is a regression. My regression test yields commit 2e96abd0d432ae1374a4e268e3655df9e01822ba ("user32: Return the icon depth instead of the number of colors when loading from a .ico file") as the first bad commit.
This appears to be the same issue as bug #24982, which was closed as abandoned.
http://bugs.winehq.org/show_bug.cgi?id=29587
--- Comment #1 from Richard Lawrence wyley.r@gmail.com 2012-01-10 18:38:56 CST --- Created attachment 38320 --> http://bugs.winehq.org/attachment.cgi?id=38320 Debug log
http://bugs.winehq.org/show_bug.cgi?id=29587
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
http://bugs.winehq.org/show_bug.cgi?id=29587
--- Comment #2 from Richard Lawrence wyley.r@gmail.com 2012-01-10 18:45:13 CST --- A (149MB uncompressed) debug trace, generated via WINEDEBUG=+relay,+seh,+tid, is available at: http://www.ocf.berkeley.edu/~rwl/lib/attachments/pa_wine_err.log.bz2
http://bugs.winehq.org/show_bug.cgi?id=29587
Richard Lawrence wyley.r@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wyley.r@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=29587
--- Comment #3 from Vitaliy Margolen vitaliy-bugzilla@kievinfo.com 2012-01-10 19:19:48 CST --- What Wine version are you using?
http://bugs.winehq.org/show_bug.cgi?id=29587
--- Comment #4 from Richard Lawrence wyley.r@gmail.com 2012-01-10 19:42:08 CST --- (In reply to comment #3)
What Wine version are you using?
It looks like the last release before the bad commit was 1.1.43. I have tested it with Wine 1.2, 1.3, and the current development head; the crash still happens in each.
http://bugs.winehq.org/show_bug.cgi?id=29587
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |1.1.44
http://bugs.winehq.org/show_bug.cgi?id=29587
--- Comment #5 from Alexandre Julliard julliard@winehq.org 2012-01-11 14:03:14 CST --- It creates a temp file and does a LoadCursorFromFile on it, probably there's something broken about it. Could you please grab that temp file and attach it here?
http://bugs.winehq.org/show_bug.cgi?id=29587
--- Comment #6 from Richard Lawrence wyley.r@gmail.com 2012-01-11 16:25:34 CST --- Created attachment 38327 --> http://bugs.winehq.org/attachment.cgi?id=38327 Temp file loaded by LoadCursorFromFileA
The last call to LoadCursorFromFileA() in the debug trace for a recent run loads this file. Unlike the other calls to that function, this one does not appear to return.
The temp file contains the JPEG image that's supposed to be loaded by the line that causes the crash (a splash image for the Publishers' Assistant desktop).
http://bugs.winehq.org/show_bug.cgi?id=29587
--- Comment #7 from Alexandre Julliard julliard@winehq.org 2012-01-11 17:00:10 CST --- Created attachment 38328 --> http://bugs.winehq.org/attachment.cgi?id=38328 Check file size when loading cursor/icon.
Thanks, something like this should fix it.
http://bugs.winehq.org/show_bug.cgi?id=29587
--- Comment #8 from Richard Lawrence wyley.r@gmail.com 2012-01-11 18:42:43 CST --- (In reply to comment #7)
Created attachment 38328 [details] Check file size when loading cursor/icon.
Thanks, something like this should fix it.
Indeed, it does seem to have fixed it! Thanks so much!
http://bugs.winehq.org/show_bug.cgi?id=29587
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |8407559167457c0420be40b0577 | |ff43cd20b1eef Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #9 from Alexandre Julliard julliard@winehq.org 2012-01-12 13:19:53 CST --- Fix committed.
http://bugs.winehq.org/show_bug.cgi?id=29587
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Alexandre Julliard julliard@winehq.org 2012-01-13 13:50:10 CST --- Closing bugs fixed in 1.3.37.