[Bug 21543] New: Pasting bitmaps that were created by gnome-screenshot can crash Wine in X11DRV_CLIPBOARD_RenderSynthesizedBitmap
http://bugs.winehq.org/show_bug.cgi?id=21543 Summary: Pasting bitmaps that were created by gnome-screenshot can crash Wine in X11DRV_CLIPBOARD_RenderSynthesizedBitmap Product: Wine Version: 1.1.31 Platform: x86 URL: http://winehq.org/ OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs(a)winehq.org ReportedBy: alexander.scott.johns+winebug(a)googlemail.com Created an attachment (id=25953) --> (http://bugs.winehq.org/attachment.cgi?id=25953) Backtrace of crash To reproduce (in GNOME, at least): * Run clipview (from http://bugs.winehq.org/attachment.cgi?id=25952), mspaint or probably any program that can paste the CF_BITMAP clipboard format. * Press the Print Screen key. [gnome-screenshot ("Save Screenshot") should appear.] * Click Copy to Clipboard. [clipview won't refresh automatically. That is bug 19418.] * Press F5 in clipview to refresh (or paste, in mspaint, etc). [The screenshot should appear.] * Close gnome-screenshot. * Press F5 again (or paste the CF_DIB format). [An error will occur in clipview - can't read CF_DIB for some reason.] * Select View -> 0x0002: Bitmap Image in clipview (or paste the CF_BITMAP format). [Crash.] Backtrace attached. On wine-1.1.37-230-g3ed5df1 + my clipview patch. In a clean prefix. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=21543 --- Comment #1 from Alexander Scott-Johns <alexander.scott.johns+winebug(a)googlemail.com> 2010-01-29 22:09:12 --- This doesn't appear to be window manager issue (I tried both metacity and compiz), but this bug doesn't occur in Xephyr + metacity: when gnome-screenshot is closed, the clipboard is cleared. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=21543 Vitaliy Margolen <vitaliy(a)kievinfo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |winex11.drv -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=21543 Alexander Scott-Johns <alexander.scott.johns+winebug(a)googlemail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=21543 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 --- Comment #2 from Austin English <austinenglish(a)gmail.com> 2010-01-30 13:25:47 --- Confirming. 'winetricks mspaint' will show the problem. It's only after the gnome-screenshot window is closed. I tried with native gimp, however, and it doesn't crash, and pastes the image. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=21543 Alexander Scott-Johns <alexander.scott.johns+winebug(a)googlemail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #3 from Alexander Scott-Johns <alexander.scott.johns+winebug(a)googlemail.com> 2011-01-31 13:47:38 CST --- I couldn't reproduce this bug using gnome-screenshot, so it was probably fixed a while ago. The crash was caused because the code didn't check the return value of GlobalLock, and then tried to access lpbmih->biBitCount when lpbmih was NULL. I added a NULL check anyway in wine-1.3.12-224-g356eaa1, so this crash shouldn't recur. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=21543 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #4 from Alexandre Julliard <julliard(a)winehq.org> 2011-02-04 13:20:47 CST --- Closing bugs fixed in 1.3.13. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org