[Bug 21543] New: Pasting bitmaps that were created by gnome-screenshot can crash Wine in X11DRV_CLIPBOARD_RenderSynthesizedBitma

by on 2010-01-30T02:37:26+00:00
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@winehq.org
ReportedBy: alexander.scott.johns+winebug@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 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 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 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 changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1

--- Comment #2 from Austin English 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.