http://bugs.winehq.org/show_bug.cgi?id=33213
Bug #: 33213 Summary: Wine crashes if printing images Product: Wine Version: unspecified Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: critical Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: ironeman@tiscali.it Classification: Unclassified
Created attachment 43939 --> http://bugs.winehq.org/attachment.cgi?id=43939 The sample application.
This bug is similar to "Bug 16585 - Printing document with images crashes wine" that was closed on 2009-01-30.
I am using 16-bit Clipper/xBase programs. When printing SOME images, wine-1.5.25 crashes. I wrote the attached sample program that prints a very simple report (after a preview). The report is composed of: 1) a string ("TEST") 2) a bmp image from file test1.bmp 3) an optional bmp image from file test2.bmp The program asks if you want to print test2.bmp. In Windows Xp, all is ok, but, in Wine, if "No" is selected the preview appears as expected (including test1.bmp image) else Wine crashes. I tried a lot of images that crash. I suppose that the problem is the size of bmp file.
The attached zip file contains: 1) test_pr.EXE: the executable sample. Run it! It requires that all the files are into the working directory. 2) backtrace.txt: the memory dump created after "WINEDEBUG=+psdrv" 3) test_pr.PRG: the source code (xBase language) 4) PREVIEW.DLL: a needed dll for the exe 5) TEST1.bmp: the first sample image (correctly printed) 6) test2.bmp: the second sample image (crashes)
Best regards.