Public bug reported:

Binary package hint: gnome-utils
Steps to reproduce this issue in Ubuntu 10.04 LTS

1. Start gnome-screenshot
2. Click "Copy to Clipboard"
3. Click "Cancel" to dismiss the dialog.
4. Start OpenOffice Writer (as an example of another app to paste the image on 
the clipboard).  Within this application, attempt to paste the image in (Edit 
-> Paste).
5. The Application will segfault (i.e. tail /var/log/messages)

Jun  9 10:11:14 IT040035 kernel: [  906.571706] soffice.bin[1888]:
segfault at 2ae05e9 ip 02ae05e9 sp b356c1a0 error 4 in
libsvxli.so[2b82000+31a000]

Notes

A. If the steps are repeated without Step 3 then the fault does not occur.
B. It should be possible to dismiss the gnome-screenshot dialog after an image 
is copied to the clipboard.  There doesn't appear to be any other way to do so 
without clicking "Cancel" (the only other options are Save and Help).  I would 
therefore argue that "Copy to Clipboard" followed by "Cancel" is a legitimate 
use.

(Suggestion: Why not change "Cancel" to "Close" after "Copy to
Clipboard" is used - this would be more intuitive.)  At the very least,
the image should not be freed on the clipboard (which is what I suspect
is happening here).

C. I suspect that this should be forwarded upstream - if someone on the
Ubuntu team could first please check and confirm this issue then I would
be happy to do so.

** Affects: gnome-utils (Ubuntu)
     Importance: Undecided
         Status: New

-- 
gnome-screenshot appears to free image copied to clipboard if cancel 
subsequently clicked
https://bugs.launchpad.net/bugs/591498
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to