[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#421523: marked as done (uxterm: segfault when trying to use "Font|selection" menu entry)



Your message dated Mon, 18 Jun 2007 13:47:09 +0000
with message-id <E1I0HZV-0003Ww-82@ries.debian.org>
and subject line Bug#421523: fixed in xterm 226-1
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: xterm
Version: 225-1
Severity: normal

While playing around trying to understand how uxterm works, I
discovered the "selection" item in the "font" menu, and played with it
before realizing it was a generic xterm feature documented in the man
manpage.

When selecting random latin characters (eg. from the prompt, either in
plain xterm or uxterm), sometimes I get the selection apparently
turned to "black on black" (I am using "white on black" for nomal
text), but sometimes it just segfaults, gdb reporting:

(gdb) bt
#0  0xb7d0736c in XDrawImageString () from /usr/lib/libX11.so.6
#1  0x08076de0 in ?? ()
#2  0x0809a358 in ?? ()
#3  0x01a00013 in ?? ()
#4  0x00000000 in ?? ()


With uxterm it gets better when selecting CJK characters pasted from
another app (precisely, from firefox browsing
http://fr.wikipedia.org/wiki/Sh%C5%8Dgi, any string I tried,
eg. \u738b\u5c06): I get the following crash backtrace from xterm
itself (also note the final "Aborted\n" trunkating the output).

dwitch@gandelf:~$ LC_CTYPE=fr_FR uxterm
*** glibc detected *** xterm: munmap_chunk(): invalid pointer: 0x08081d0e ***
======= Backtrace: =========
/lib/libc.so.6(__libc_free+0x1b9)[0xb7ba9209]
xterm[0x805477e]
/usr/lib/libXt.so.6[0xb7dfcb43]
/usr/lib/libXt.so.6[0xb7dfe41d]
/usr/lib/libXt.so.6(XtGetSelectionValue+0xfe)[0xb7dfeabe]
xterm[0x80545fe]
xterm[0x8061d3a]
xterm[0x8067f99]
/usr/lib/libXt.so.6(XtCallCallbacks+0x117)[0xb7ddba17]
/usr/lib/libXaw.so.7[0xb7e6eca2]
/usr/lib/libXaw.so.7[0xb7e6d442]
/usr/lib/libXt.so.6[0xb7e1161a]
/usr/lib/libXt.so.6[0xb7e119cc]
/usr/lib/libXt.so.6(_XtTranslateEvent+0x5d8)[0xb7e11fb8]
/usr/lib/libXt.so.6(XtDispatchEventToWidget+0x458)[0xb7de96d8]
/usr/lib/libXt.so.6[0xb7de9efd]
/usr/lib/libXt.so.6(XtDispatchEvent+0xc8)[0xb7de8e08]
xterm[0x806d438]  
xterm[0x805bbcc]  
xterm[0x805bf7f]  
xterm[0x80674e5]  
/lib/libc.so.6(__libc_start_main+0xd8)[0xb7b53878]
xterm[0x804d3d1]  
======= Memory map: ========
08048000-0808f000 r-xp 00000000 fe:08 151460     /usr/bin/xterm
0808f000-08094000 rw-p 00046000 fe:08 151460     /usr/bin/xterm
08094000-08157000 rw-p 08094000 00:00 0          [heap]
b76db000-b781a000 rw-p b76db000 00:00 0
b7849000-b7853000 r-xp 00000000 03:01 20584      /lib/libgcc_s.so.1
b7853000-b7854000 rw-p 00009000 03:01 20584      /lib/libgcc_s.so.1
b7854000-b7858000 r-xp 00000000 fe:08 541330     /usr/lib/libXfixes.so.3.1.0
b7858000-b7859000 rw-p 00003000 fe:08 541330     /usr/lib/libXfixes.so.3.1.0
b7859000-b7861000 r-xp 00000000 fe:08 543807     /usr/lib/libXcursor.so.1.0.2
b7861000-b7862000 rw-p 00007000 fe:08 543807     /usr/lib/libXcursor.so.1.0.2
b7862000-b7a62000 r--p 00000000 fe:08 507996     /usr/lib/locale/locale-archive
b7a62000-b7a64000 rw-p b7a62000 00:00 0
b7a64000-b7a76000 r-xp 00000000 03:01 20657      /lib/libpthread-2.5.so
b7a76000-b7a78000 rw-p 00011000 03:01 20657      /lib/libpthread-2.5.so
b7a78000-b7a7a000 rw-p b7a78000 00:00 0
b7a7a000-b7a7c000 r-xp 00000000 03:01 20635      /lib/libdl-2.5.so
b7a7c000-b7a7e000 rw-p 00001000 03:01 20635      /lib/libdl-2.5.so
b7a7e000-b7a82000 r-xp 00000000 fe:08 542249     /usr/lib/libXdmcp.so.6.0.0
b7a82000-b7a83000 rw-p 00003000 fe:08 542249     /usr/lib/libXdmcp.so.6.0.0
b7a83000-b7a84000 rw-p b7a83000 00:00 0
b7a84000-b7a86000 r-xp 00000000 fe:08 541478     /usr/lib/libXau.so.6.0.0
b7a86000-b7a87000 rw-p 00001000 fe:08 541478     /usr/lib/libXau.so.6.0.0
b7a87000-b7a96000 r-xp 00000000 fe:08 543817     /usr/lib/libXpm.so.4.11.0
b7a96000-b7a97000 rw-p 0000e000 fe:08 543817     /usr/lib/libXpm.so.4.11.0
b7a97000-b7ab5000 r-xp 00000000 fe:08 541724     /usr/lib/libexpat.so.1.0.0
b7ab5000-b7ab7000 rw-p 0001d000 fe:08 541724     /usr/lib/libexpat.so.1.0.0
b7ab7000-b7abe000 r-xp 00000000 fe:08 543627     /usr/lib/libXrender.so.1.3.0
b7abe000-b7abf000 rw-p 00006000 fe:08 543627     /usr/lib/libXrender.so.1.3.0
b7abf000-b7ad2000 r-xp 00000000 fe:08 541082     /usr/lib/libz.so.1.2.3
b7ad2000-b7ad3000 rw-p 00012000 fe:08 541082     /usr/lib/libz.so.1.2.3
b7ad3000-b7ad4000 rw-p b7ad3000 00:00 0
b7ad4000-b7b3b000 r-xp 00000000 fe:08 541133     /usr/lib/libfreetype.so.6.3.10
b7b3b000-b7b3e000 rw-p 00067000 fe:08 541133     /usr/lib/libfreetype.so.6.3.10
b7b3e000-b7c7a000 r-xp 00000000 03:01 20597      /lib/libc-2.5.so
b7c7a000-b7c7b000 r--p 0013c000 03:01 20597      /lib/libc-2.5.so
b7c7b000-b7c7d000 rw-p 0013d000 03:01 20597      /lib/libc-2.5.so
b7c7d000-b7c80000 rw-p b7c7d000 00:00 0
b7c80000-b7cb8000 r-xp 00000000 03:01 20549      /lib/libncurses.so.5.5
b7cb8000-b7cc0000 rw-p 00038000 03:01 20549      /lib/libncurses.so.5.5
b7cc0000-b7cc1000 rw-p b7cc0000 00:00 0
b7cc1000-b7da9000 r-xp 00000000 fe:08 540847     /usr/lib/libX11.so.6.2.0
b7da9000-b7dad000 rw-p 000e8000 fe:08 540847     /usr/lib/libX11.so.6.2.0
b7dad000-b7dc2000 r-xp 00000000 fe:08 541005     /usr/lib/libICE.so.6.3.0
b7dc2000-b7dc3000 rw-p 00014000 fe:08 541005     /usr/lib/libICE.so.6.3.0
b7dc3000-b7dc5000 rw-p b7dc3000 00:00 0
b7dc5000-b7dcd000 r-xp 00000000 fe:08 540820     /usr/lib/libSM.so.6.0.0
b7dcd000-b7dce000 rw-p 00007000 fe:08 540820     /usr/lib/libSM.so.6.0.0
b7dce000-b7dcf000 rw-p b7dce000 00:00 0
b7dcf000-b7e1a000 r-xp 00000000 fe:08 543840     /usr/lib/libXt.so.6.0.0
b7e1a000-b7e1d000 rw-p 0004b000 fe:08 543840     /usr/lib/libXt.so.6.0.0
b7e1d000-b7e1e000 rw-p b7e1d000 00:00 0
b7e1e000-b7e2b000 r-xp 00000000 fe:08 1147692    /usr/lib/libXext.so.6.4.0
b7e2b000-b7e2c000 rw-p 0000c000 fe:08 1147692    /usr/lib/libXAborted
$ echo $? 
134

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (90, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.19.1-smp (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=french (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages xterm depends on:
ii  libc6                         2.5-4      GNU C Library: Shared libraries
ii  libfontconfig1                2.4.2-1.2  generic font configuration library
ii  libice6                       1:1.0.3-2  X11 Inter-Client Exchange library
ii  libncurses5                   5.5-5      Shared libraries for terminal hand
ii  libsm6                        1:1.0.2-2  X11 Session Management library
ii  libx11-6                      2:1.0.3-7  X11 client-side library
ii  libxaw7                       1:1.0.2-4  X11 Athena Widget library
ii  libxext6                      1:1.0.1-2  X11 miscellaneous extension librar
ii  libxft2                       2.1.12-2   FreeType-based font drawing librar
ii  libxmu6                       1:1.0.2-2  X11 miscellaneous utility library
ii  libxt6                        1:1.0.5-2  X11 toolkit intrinsics library
ii  xbitmaps                      1.0.1-2    Base X bitmaps

Versions of packages xterm recommends:
ii  xutils                      1:7.1.ds.3-1 X Window System utility programs

-- no debconf information


--- End Message ---
--- Begin Message ---
Source: xterm
Source-Version: 226-1

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

xterm_226-1.diff.gz
  to pool/main/x/xterm/xterm_226-1.diff.gz
xterm_226-1.dsc
  to pool/main/x/xterm/xterm_226-1.dsc
xterm_226-1_i386.deb
  to pool/main/x/xterm/xterm_226-1_i386.deb
xterm_226.orig.tar.gz
  to pool/main/x/xterm/xterm_226.orig.tar.gz



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 421523@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julien Cristau <jcristau@debian.org> (supplier of updated xterm 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 ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Mon, 18 Jun 2007 14:02:22 +0100
Source: xterm
Binary: xterm
Architecture: source i386
Version: 226-1
Distribution: unstable
Urgency: low
Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Changed-By: Julien Cristau <jcristau@debian.org>
Description: 
 xterm      - X terminal emulator
Closes: 12261 349142 418324 420974 421523 422521 426364 426863
Changes: 
 xterm (226-1) unstable; urgency=low
 .
   [ Branden Robinson ]
   * Remove debian/NEWS; the events it attested to (like the "upcoming 7.0
     modularization" are no longer news, and are in the past.
 .
   [ Julien Cristau ]
   * Configure with --with-tty-group=tty, to prevent security problems in case
     of buggy build environment (closes: #349142).
   * New upstream release.
     + fix  an  infinite  loop  when  showing  a  2-column character in a
       1-column screen (closes: #426863).
     + add  XF86Paste  and  SunPaste  to the default translations
       (closes: #422521, patch by Bernhard R Link).
     + improve  permissions  logic  when  closing pseudo-terminal
       (closes: #12261, patch by Nathanael Nerode, analysis by Richard
       Braakman).
     + add  a check in case someone tries to call the popup-menu() action
       on a menu which is not initialized (closes: #426364).
     + fix error-checking on internal font switching for "Selection" menu
       entry (closes: #421523).
     + amend select/paste change from patch #225 by limiting it to
       non-UTF-8/non-KOI8-R encoding (closes: #420974).
     + add  workaround  for  groff  ".URL" codes which are not present in
       some commonly-used bitmap fonts (closes: #418324).
   * Update reference to xlibs-data in xterm's description, refer to xbitmaps
     instead.
   * Build-depend on desktop-file-utils to install the new desktop files for
     xterm and uxterm, and change debian/rules and debian/xterm.install to
     install these files and the icons.
Files: 
 104129b8aabcf3498c64be24716de973 825 x11 optional xterm_226-1.dsc
 93d1f43ac3c13af86c598493f14a36f6 835862 x11 optional xterm_226.orig.tar.gz
 57ae2778e0a806deb01a41cc6fee0292 61616 x11 optional xterm_226-1.diff.gz
 94f81ecbb70c7cf120552b2a5a4bdeb2 452080 x11 optional xterm_226-1_i386.deb

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

iD8DBQFGdovGmEvTgKxfcAwRAhbbAKCEL0Aq2kLgqYfTaeThWox3p9KYNwCePjvT
hGOcCnN7IKcs8dgUyCxOLVc=
=U44l
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: