Package: rxvt-unicode
Version: 5.3-1
Severity: normal

Hi,

sarge rxvt-unicode crashes when U+FFFD is to be displayed.
(Apparently this is the substitution character for invalid input;
e.g., for plain latin1 non-ascii chars in UTF-8 mode. Altough urxvt
seems to automatically up-convert at least some of them, other programs
like GNU screen run inside may substitute them before they reach urxvt.)
Before unexpected termination, sarge urxvt prints:

| X Error of failed request:  BadName (named color or font does not exist)
|   Major opcode of failed request:  75 (X_PolyText16)
|   Serial number of failed request:  1197
|   Current serial number in output stream:  1218
| Xlib: unexpected async reply (sequence 0x4c2)!

The sid version (7.9-2) doesn't crash, but doesn't render
a character either (xterm does, as a dashed hollow square)
and outputs (essentially the same):

| urxvt: An X Error occured, trying to continue after report.
| urxvt: X Error of failed request:  BadName (named color or font does not 
exist)
| urxvt: Major opcode of failed request:  75
| urxvt: (which is X_PolyText16)
| urxvt: Serial number of failed request:  3463

The error does _not_ occur when overriding the font list as suggested
in #294582. (Then the character is rendered, as ~"(?)".) For example:

| $ LANG=de_DE.UTF-8 urxvt -name noresources -fn 10x20
| $ LANG=de_DE.UTF-8 urxvt -name noresources -fn 8x13
| $ LANG=de_DE.UTF-8 urxvt -name noresources -fn terminus-16
| urxvt: An X Error occured, trying to continue after report.
| [...]

My usual fontlist is: "terminus-16,xft:Kochi Gothic:antialias=false"

As far as I know, urxvt also appends a built-in list of known-to-work
fonts, so apparently the character is missing in all those fonts.
However, it would be nice if urxvt could handle this more gracefully,
i.e., without printing error messages (or more specific ones?) and by
rendering a substitution character, possibly built-in. (?)

The offending character may be produced in the following way:
$ echo '�' | recode html..utf8

Composing the character via urxvt's Ctrl-Shift-{F,F,F,D} also works and
immediately leads to the above results, even before releasing the
modifier keys. (It already tries rendering it in the preview window.)

Regards, Fabian


-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.18-4-686
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1)

Versions of packages rxvt-unicode depends on:
ii  base-passwd        3.5.9                 Debian base system master password
ii  libc6              2.3.2.ds1-22sarge5    GNU C Library: Shared libraries an
ii  libfontconfig1     2.3.1-2               generic font configuration library
ii  libfreetype6       2.1.7-6               FreeType 2 font engine, shared lib
ii  libgcc1            1:3.4.3-13sarge1      GCC support library
ii  libx11-6           4.3.0.dfsg.1-14sarge3 X Window System protocol client li
ii  libxft2            2.1.7-1               FreeType-based font drawing librar
ii  libxrender1        0.8.3-7               X Rendering Extension client libra
ii  xlibs              6.9.0.dfsg.1-6~bpo.4  X Window System client libraries m
ii  zlib1g             1:1.2.2-4.sarge.2     compression library - runtime

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to