Your message dated Sat, 21 Sep 2013 22:34:28 +0000
with message-id <[email protected]>
and subject line Bug#721876: fixed in rxvt 1:2.7.10-5
has caused the Debian Bug report #721876,
regarding rxvt: segv at startup if bold font specified
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
721876: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=721876
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: rxvt
Version: 1:2.7.10-4
Severity: normal
File: /usr/bin/rxvt-xterm

If a bold font is specified then rxvt segfaults at startup.

    rxvt-xterm -fb 9x15bold
    =>
    [ 8573.471347] rxvt[17335]: segfault at 48 ip 08050adb sp bfe62e80 error 4 
in rxvt-xterm[8048000+1e000]
    Segmentation fault

You can run this in the xvfb test server to be sure of a clean
environment

    xvfb-run rxvt -fb 9x15bold
    => segv

I suspect any setting for the bold font provokes the problem.  This
"9x15bold" is an alias by xfonts-base package in its
/etc/X11/fonts/misc/xfonts-base.alias

It's possible this worked in the past since I had a setting for it in my
.Xresources -- which now doesn't work :-)

    Rxvt*boldFont: 9x15bold


gdb suggests the offending code is main.c rxvt_change_font() at

    if (recheckfonts) {
        r->TermWin.boldFont = NULL;
        if (r->TermWin.boldFont_loaded != NULL) {
            fw = rxvt_get_fontwidest(r->TermWin.boldFont_loaded);
            fh = r->TermWin.boldFont_loaded->ascent
                 + r->TermWin.boldFont_loaded->descent;
            if (r->TermWin.mfont->ascent > r->TermWin.fascent) {

If you give a "-fb" bold font then boldFont_loaded is true.  But then
r->TermWin.mfont is NULL and so the deref r->TermWin.mfont->ascent
segfaults.

I couldn't tell if mfont is supposed to be ready for use at that point.
Its setup is actually the next thing done in rxvt_change_font(), no?



-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-486
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages rxvt depends on:
ii  libc6     2.17-92
ii  libx11-6  2:1.6.1-1
ii  libxpm4   1:3.5.10-1

rxvt recommends no packages.

rxvt suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: rxvt
Source-Version: 1:2.7.10-5

We believe that the bug you reported is fixed in the latest version of
rxvt, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
George Gensure <[email protected]> (supplier of updated rxvt package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 28 Aug 2013 21:51:20 -0400
Source: rxvt
Binary: rxvt rxvt-ml
Architecture: source amd64
Version: 1:2.7.10-5
Distribution: unstable
Urgency: low
Maintainer: George Gensure <[email protected]>
Changed-By: George Gensure <[email protected]>
Description: 
 rxvt       - VT102 terminal emulator for the X Window System
 rxvt-ml    - multi-lingual VT102 terminal emulator for the X Window System
Closes: 721876
Changes: 
 rxvt (1:2.7.10-5) unstable; urgency=low
 .
   * Applied the following patches which were applied to rxvt-beta:
     - screen-nlines-assertion: corrects an off-by-one error in an
       assertion during page scrolling with DEBUG_STRICT enabled
     - scrollbar-style-doc: adds a caveat to the scrollstyle
       resource/long option that non-rxvt is available only in
       rxvt-xpm
     - decrease-wm-race-likeliness-202497: initialize the terminal
       dimensions earlier to reduce the probability that the window
       manager interferes
     - rxvt-tbl: rxvt.tbl syntax fixes
   * Enable xterm and next style scrollbars build options for the
     xterm-xpm target in debian/rules.
   * Corrected merge of multi-byte-font-width-72371.patch, which was
     applied to bold font sections instead of multibyte fonts, causing
     crashes. Closes: #721876.
Checksums-Sha1: 
 b302b194856e19d304b24c03f1021f4a88d5cf51 1758 rxvt_2.7.10-5.dsc
 dabb960d94703d4f81e9a9a50749210a2977ef2b 595073 rxvt_2.7.10.orig.tar.gz
 813268a27f4a60d931b35007e45769b0118ebb42 33794 rxvt_2.7.10-5.debian.tar.gz
 968076d418e5b5fde6d6daae0551470908be43ef 206914 rxvt_2.7.10-5_amd64.deb
 db3ab3a91a163fa1152d666a618741666493f3f0 180354 rxvt-ml_2.7.10-5_amd64.deb
Checksums-Sha256: 
 8757f31c61356496fe58727238a064da219b9afb8338842cca1e636ca4d5d603 1758 
rxvt_2.7.10-5.dsc
 616ad56502820264e6933d07bc4eb752aa6940ec14add6e780ffccf15f38d449 595073 
rxvt_2.7.10.orig.tar.gz
 4fc1338dfb46cb6a697016327dce795ea4e7c17385da008600220b7e6b7a96d4 33794 
rxvt_2.7.10-5.debian.tar.gz
 608cf7871f463dad6cf691576cec2288566619b400145227d2e173e187d009e3 206914 
rxvt_2.7.10-5_amd64.deb
 614cb132db95a9b81872dd983ff0f6bbf6e0248dc5be4a77ae7ce096ed9424ea 180354 
rxvt-ml_2.7.10-5_amd64.deb
Files: 
 3daf7389a362f79080798fe46ee33418 1758 x11 optional rxvt_2.7.10-5.dsc
 302c5c455e64047b02d1ef19ff749141 595073 x11 optional rxvt_2.7.10.orig.tar.gz
 de2a45adc06b06ac2e7a94f921f6b93e 33794 x11 optional rxvt_2.7.10-5.debian.tar.gz
 10bc5d24eae14d60889ec1ef743134b1 206914 x11 optional rxvt_2.7.10-5_amd64.deb
 8b07b21207aff8e645539aa9d84412d4 180354 x11 optional rxvt-ml_2.7.10-5_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)

iQIcBAEBCAAGBQJSPhtrAAoJEHQmOzf1tfkTi4UQAK0WNqnoYD73RmGyj//d+rlT
QcpdA68hA/p+DQVrJTYZh6GIJqvL3TqG+MIdfCDN0ptbuYpty/9GO5vXTT0lrMwz
iNmT7RCV3ptdPn6MCRQKifleScLxyjYytbckcVglWXxAuZDyQMRb6VBLShsdzIvv
JQJGp4rkoRhH4hEHJgBOPYbKTfjvoW3Qzp2FsKns8dbECE3bPbrd0PrCCr55P0Bj
n6dujy+ASuzTY2rxVKyX70cS5aadE1WDkKmY/+N5dctT5ED2uWWRIfajClrS6tZ7
DvOUm6SNlxiBujYl1JMT0roUTctG3fxWWfWkpwC68hvNZdg+FC1PDXgVuzEJZETK
GckdnhmZE/2Dc43GVjr/bQ41jOlwrdPMPmZiwoNyH4nVQTzF07+m4M4C2IfP/phX
RmbCbHB5q5bd2poaGl1sEwqEE05oDhtZrhn1ZQpoGGszGE6e3576meG0rQ/V2zok
bn/Bhg2dzo9VgWJm9XgZTkeLpAereQkw6pQRb5+fxyLJioUkzR5kInWcxjlWYngl
svJJkKsJD57x+PkjY2dezm71PWkmdN0vpNpZaHAT4dJgtAS4xHrQbO+ejYv1ZXEC
ne7G89CIhO1GYosfo7/Q1vZwhlXQFpQYOfJPt/4+GQEpU/+GMrXISPmN8Ff2q1pE
3JW1PO3ayNMYWlckdRlj
=iptt
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to