[Bug 1945] New: clipman crashes noisily when I copy binary junk

[email protected] Tue, 20 Jun 2006 23:06:32 +0000 (UTC)
Newsgroups gmane.comp.desktop.xfce.goodies.devel
Message-ID <[email protected]/>
Do NOT reply to this email.  To make further comments on this bug, use
the URL below:
http://bugzilla.xfce.org/show_bug.cgi?id=1945

           Summary: clipman crashes noisily when I copy binary junk
           Product: Xfce Panel Plugins
           Version: unspecified
          Platform: PC (x86)
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: clipman
        AssignedTo: [email protected]
        ReportedBy: [email protected]


User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.4)
Gecko/20060406 Firefox/1.5.0.4 (Debian-1.5.dfsg+1.5.0.4-1)
Build Identifier: 0.6-1

I copied some random binary junk into my clipboard using GNU Emacs.  The
clipman plugin started using all my CPU and writing:

  (xfce4-clipman-plugin:22816): Gdk-WARNING **: Error converting selection from
UTF8_STRING

over and over again into my session logfile.  After writing half a gigabyte of
such lines I killed it, because my disk was about to run out of space.

There's no guarantee that the contents of the clipboard are going to be a valid
UTF8 string, so if clipman isn't able to convert the string on its first
attempt shouldn't it give up trying?

Reproducible: Didn't try

Steps to Reproduce:
When it happened, I had used dd to write the first few sectors of a reiserfs
disk partition to a file, then visited that file in GNU Emacs, and then deleted
large parts of the file using Emacs.  I have x-select-enable-clipboard set to t
in Emacs, so whenever I 'kill' regions of the buffer, they get sent to the
clipboard.


-- 
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.