http://bugs.winehq.org/show_bug.cgi?id=2096
Summary: Quicken 2000 Deluxe crashes/Bad parm to CreateBitmap Product: Wine Version: CVS Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: critical Priority: P2 Component: wine-binary AssignedTo: wine-bugs@winehq.org ReportedBy: carl.sopchak@cegis123.com
Since sometime in early to mid December (2003), I have been having a problem when I try to print partial page checks on a page-oriented (laser) printer from Quicken 2000 Deluxe using the CVS version of wine (still as of a few weeks ago, roughly 2/15/04). I restored my source tree from early Dec, and re-installed wine, and have not had the problem since. I therefore believe this is a regression issue.
To duplicate the problem, open an account and try to print checks. When asked for the number of checks on the first page, select the One or Two radio button, and press OK. Quicken then asks if the stub is still attached to the bottom of the page, to which I reply Yes. At this point, wine crashes hard (Quicken terminates). There is an X Window message sent to standard error stating that it has ran out of resources. Unfortunately, this is somewhat intermittent. (It happens most of the time, but not always.)
I have tried on several occasions to debug this issue, but, alas, it appears just out of my reach technically. (I have virtually NO experience with the Windows API, and not much more experience with C. Also, using --debugmsg +snoop causes issues running Quicken, and you can't even GET to this point in the program.) I have posted some questions to wine-devel mail list, but they went unanswered.
What I did find out during my debugging attempts, though, was that CreateBitmap was getting the dimension parameters with huge numbers (like 1,083,548,396 for both width and height). One possible source of these bad values that I saw (but don't know C well enough to know if it's relavent) was that in a few places CreateBitmap is called with LONG parameters, where the CreateBitmap function itself uses INT. (Check listview.c, trackbar.c and treeview.c in comctl32.)
I am willing to help debug this, as it is important to me. But, I'll need some help doing so...
Carl