Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

I run the Xfce 4 desktop environment, along with the
xfce4-clipman-plugin applet which collects clipboard entries and
allows me to chose between them from a menu.

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.

Occasionally the clipman applet will start consuming all available
CPU.  This happens when I copy certain binary characters.  Seems the
clipman gets stuck in a loop trying to convert illegal an illegal UTF8
string.

A very simple case which reproduces the bug:

> I made a 1-byte file containing just character 0300 (octal),
> copied that using Emacs, and clipman started printing its error
> message over and over again.

I reported this bug firstly to the Xfce BTS:

  http://bugzilla.xfce.org/show_bug.cgi?id=1945

but they told me it was a gtk bug, so I raised the same bug in the
GNOME tracker:

  http://bugzilla.gnome.org/show_bug.cgi?id=349856

and they tell me it's an Emacs bug, saying:

> Well, if emacs puts binary junk into a text property it is not gtk's
fault.
> Look at gtk_selection_data_get_text(): We only try to convert
something to
> utf8 if the sender claims that it is text...

So I'm raising it here too!





If emacs crashed, and you have the emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/usr/local/share/emacs/22.0.50/etc/DEBUG for instructions.


In GNU Emacs 22.0.50.141 (i686-pc-linux-gnu, GTK+ Version 2.8.18)
 of 2006-08-07 on chrislap
X server distributor `The X.Org Foundation', version 11.0.70000000
configured using `configure '--with-gtk' '--with-xpm' '--with-jpeg'
'--with-png' '--with-gif''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_GB.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: J-Shell

Minor modes in effect:
  show-paren-mode: t
  display-time-mode: t
  iswitchb-mode: t
  dynamic-completion-mode: t
  shell-dirtrack-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
T h e SPC f u n c t i o n s SPC w h i c h SPC a l l 
o w SPC y o u SPC t o SPC v i e w SPC r e c e n t SPC 
k e y s t r o k e s SPC h a v e SPC b e e n C-j h i 
d d e n SPC b y SPC j - s h e l l , SPC t o SPC p r 
o t e c t SPC p a s s w o r d s SPC e n t e r e d SPC 
i n SPC s h e l l SPC b u f f e r s .

Recent messages:
Writing upload.php...done
Wrote upload.php
(No changes need to be saved)
Mark set
Defining kbd macro...
Mark activated
Keyboard macro defined
(Type e to repeat macro) [118 times]
Quit
Loading emacsbug...done




_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to