Comment 17 for bug 7170

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Tue, 25 May 2004 20:46:23 -0400
From: Thomas Dickey <email address hidden>
To: Max Kutny <email address hidden>, <email address hidden>
Subject: Re: Bug#250655: xterm: crashes on paste from abiword

--82I3+IH0IqGh5yIs
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, May 24, 2004 at 01:40:10PM +0200, Max Kutny wrote:
> Package: xterm
> Version: 4.3.0.dfsg.1-1
> Severity: normal
>=20
> Selecting any text in abiword editor and pasting it with middle mouse
> button into opened exterm window crashes xterm. xterm nicely performs
> with pastes from other applications I tested (firefox, openoffice.org,
> xterm itself) and other applications can smoothly accept pastes from
> abiword without any problems.

valgrind seems to point down into the X libraries (perhaps xterm is
doing something that is not correct, but I don't see that immediately).
To isolate the problem, will have to debug the X libraries. Here's
the fragment from valgrind's log (bear in mind that running valgrind
sometimes alters behavior):

=3D=3D8273=3D=3D Invalid read of size 4
=3D=3D8273=3D=3D at 0x3C0B89D9: _XlcResetConverter (in /usr/X11R6/lib/li=
bX11.so.6.2)
=3D=3D8273=3D=3D by 0x3C0BEE08: (within /usr/X11R6/lib/libX11.so.6.2)
=3D=3D8273=3D=3D by 0x3C0BF074: _Xutf8TextPropertyToTextList (in /usr/X1=
1R6/lib/libX11.so.6.2)
=3D=3D8273=3D=3D by 0x3C096EF7: Xutf8TextPropertyToTextList (in /usr/X11=
R6/lib/libX11.so.6.2)
=3D=3D8273=3D=3D by 0x804F89B: SelectionReceived (button.c:1382)
=3D=3D8273=3D=3D by 0x3C257CC2: (within /usr/X11R6/lib/libXt.so.6.0)
=3D=3D8273=3D=3D by 0x3C257FFD: (within /usr/X11R6/lib/libXt.so.6.0)
=3D=3D8273=3D=3D by 0x3C24376E: XtDispatchEventToWidget (in /usr/X11R6/l=
ib/libXt.so.6.2)
=3D=3D8273=3D=3D by 0x3C24411C: (within /usr/X11R6/lib/libXt.so.6.0)
=3D=3D8273=3D=3D by 0x3C24443E: XtDispatchEvent (in /usr/X11R6/lib/libXt=
.so.6.0)
=3D=3D8273=3D=3D Address 0x0 is not stack'd, malloc'd or free'd
=3D=3D8273=3D=3D
=3D=3D8273=3D=3D Process terminating with default action of signal 11 (SIGS=
EGV): dumpin>
=3D=3D8273=3D=3D Access not within mapped region at address 0x0
=3D=3D8273=3D=3D at 0x3C0B89D9: _XlcResetConverter (in /usr/X11R6/lib/li=
bX11.so.6.2)
=3D=3D8273=3D=3D by 0x3C0BEE08: (within /usr/X11R6/lib/libX11.so.6.2)
=3D=3D8273=3D=3D by 0x3C0BF074: _Xutf8TextPropertyToTextList (in /usr/X1=
1R6/lib/libX11.so.6.2)
=3D=3D8273=3D=3D by 0x3C096EF7: Xutf8TextPropertyToTextList (in /usr/X11=
R6/lib/libX11.so.6.2)
=3D=3D8273=3D=3D by 0x804F89B: SelectionReceived (button.c:1382)
=3D=3D8273=3D=3D by 0x3C257CC2: (within /usr/X11R6/lib/libXt.so.6.0)
=3D=3D8273=3D=3D by 0x3C257FFD: (within /usr/X11R6/lib/libXt.so.6.0)
=3D=3D8273=3D=3D by 0x3C24376E: XtDispatchEventToWidget (in /usr/X11R6/l=
ib/libXt.so.6.2)
=3D=3D8273=3D=3D by 0x3C24411C: (within /usr/X11R6/lib/libXt.so.6.0)
=3D=3D8273=3D=3D by 0x3C24443E: XtDispatchEvent (in /usr/X11R6/lib/libXt=
so.6.0)

Tracing some of the values does seem to indicate it crashes with a UTF8_STR=
ING.

--=20
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net

--82I3+IH0IqGh5yIs
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (SunOS)
Comment: For info see http://www.gnupg.org

iD8DBQFAs+jdtIqByHxlDocRAomrAJsGdcyz1m7edRkNW2GXg8CYjm0zxgCgq9Va
0rH952xjTCeehZ//Sj1StUo=
=6mvC
-----END PGP SIGNATURE-----

--82I3+IH0IqGh5yIs--