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.
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 Disposition: inline Transfer- Encoding: quoted-printable
Content-Type: text/plain; charset=us-ascii
Content-
Content-
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 lib/libX11. so.6.2) rtyToTextList (in /usr/X1= libX11. so.6.2) tyToTextList (in /usr/X11= libX11. so.6.2) lib/libXt. so.6.0) lib/libXt. so.6.0) ToWidget (in /usr/X11R6/l= lib/libXt. so.6.0) lib/libXt= lib/libX11. so.6.2) rtyToTextList (in /usr/X1= libX11. so.6.2) tyToTextList (in /usr/X11= libX11. so.6.2) lib/libXt. so.6.0) lib/libXt. so.6.0) ToWidget (in /usr/X11R6/l= lib/libXt. so.6.0) lib/libXt=
=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/
=3D=3D8273=3D=3D by 0x3C0BF074: _Xutf8TextPrope
1R6/lib/
=3D=3D8273=3D=3D by 0x3C096EF7: Xutf8TextProper
R6/lib/
=3D=3D8273=3D=3D by 0x804F89B: SelectionReceived (button.c:1382)
=3D=3D8273=3D=3D by 0x3C257CC2: (within /usr/X11R6/
=3D=3D8273=3D=3D by 0x3C257FFD: (within /usr/X11R6/
=3D=3D8273=3D=3D by 0x3C24376E: XtDispatchEvent
ib/libXt.so.6.2)
=3D=3D8273=3D=3D by 0x3C24411C: (within /usr/X11R6/
=3D=3D8273=3D=3D by 0x3C24443E: XtDispatchEvent (in /usr/X11R6/
.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/
=3D=3D8273=3D=3D by 0x3C0BF074: _Xutf8TextPrope
1R6/lib/
=3D=3D8273=3D=3D by 0x3C096EF7: Xutf8TextProper
R6/lib/
=3D=3D8273=3D=3D by 0x804F89B: SelectionReceived (button.c:1382)
=3D=3D8273=3D=3D by 0x3C257CC2: (within /usr/X11R6/
=3D=3D8273=3D=3D by 0x3C257FFD: (within /usr/X11R6/
=3D=3D8273=3D=3D by 0x3C24376E: XtDispatchEvent
ib/libXt.so.6.2)
=3D=3D8273=3D=3D by 0x3C24411C: (within /usr/X11R6/
=3D=3D8273=3D=3D by 0x3C24443E: XtDispatchEvent (in /usr/X11R6/
so.6.0)
Tracing some of the values does seem to indicate it crashes with a UTF8_STR=
ING.
--=20 invisible- island. net -island. net
Thomas E. Dickey
http://
ftp://invisible
--82I3+IH0IqGh5yIs pgp-signature Disposition: inline
Content-Type: application/
Content-
-----BEGIN PGP SIGNATURE----- www.gnupg. org
jdtIqByHxlDocRA omrAJsGdcyz1m7e dRkNW2GXg8CYjm0 zxgCgq9Va /Sj1StUo=
Version: GnuPG v1.0.6 (SunOS)
Comment: For info see http://
iD8DBQFAs+
0rH952xjTCeehZ/
=6mvC
-----END PGP SIGNATURE-----
--82I3+ IH0IqGh5yIs- -