On Fri, May 28, 2004 at 10:27:16PM -0500, Branden Robinson wrote:
> Just as a remark to myself and my fellow "debian-x"ers, if it turns out
> the bug is in Xt, this bug should be reassigned to libxt6.
I can reproduce it with XFree86 4.3.0. The immediate cause of failure is
dererencing a null pointer but that part of the code and the intervening
functions on the walkback appear much the same in 4.4.0 - so I expect the
cause is one of the other functions called before that point.
Here's a walkback (it doesn't make any difference whether it's for xterm #1=
74
or xterm #190, so while it might ultimately be a bug in xterm, the differen=
ce
in behaviour - works with current X - is due to X libraries):
#0 0x40251a83 in _XlcResetConverter (conv=3D0x0) at lcConv.c:336
336 if (conv->methods->reset)
(gdb) where
#0 0x40251a83 in _XlcResetConverter (conv=3D0x0) at lcConv.c:336
#1 0x40258fd6 in _XTextPropertyToTextList (lcd=3D0x80b2b98, dpy=3D0x809872=
8,=20
text_prop=3D0xbfffec00, to_type=3D0x402725c9 "utf8String",=20
list_ret=3D0xbfffec1c, count_ret=3D0xbfffec18) at lcPrTxt.c:216
#2 0x4025915c in _Xutf8TextPropertyToTextList (lcd=3D0x80b2b98, dpy=3D0x80=
98728,=20
text_prop=3D0xbfffec00, list_ret=3D0xbfffec1c, count_ret=3D0xbfffec18)
at lcPrTxt.c:275
#3 0x40228589 in Xutf8TextPropertyToTextList (dpy=3D0x8098728,=20
text_prop=3D0xbfffec00, list_ret=3D0xbfffec1c, count_ret=3D0xbfffec18)
at lcWrap.c:420
#4 0x0804da1c in SelectionReceived (w=3D0x80bd268, client_data=3D0x8166e90=
,=20
selection=3D0xbfffecb4, type=3D0xbfffec80, value=3D0x8167080, length=3D=
0xbfffec88,=20
format=3D0xbfffec84) at button.c:1372
#5 0x401676d9 in HandleNormal (dpy=3D0x8098728, widget=3D0x80bd268, proper=
ty=3D453,=20
info=3D0x8166fc0, closure=3D0x8166e90, selection=3D449) at Selection.c:=
1310
#6 0x40167b5f in HandleSelectionReplies (widget=3D0x80bd268, closure=3D0x8=
166fc0,=20
ev=3D0xbfffee40, cont=3D0xbfffed6d "\001") at Selection.c:1408
#7 0x4014fdbe in XtDispatchEventToWidget (widget=3D0x80bd268, event=3D0xbf=
ffee40)
at Event.c:956
#8 0x401508ce in _XtDefaultDispatcher (event=3D0xbfffee40) at Event.c:1417
#9 0x40150c93 in XtDispatchEvent (event=3D0xbfffee40) at Event.c:1497
#10 0x08064e62 in xevents () at misc.c:202
#11 0x08053e8e in in_put () at charproc.c:2751
#12 0x08051414 in VTparse () at charproc.c:910
#13 0x08056eda in VTRun () at charproc.c:4142
#14 0x0807957f in main (argc=3D0, argv=3D0xbffff180) at main.c:2222
Message-ID: <email address hidden>
Date: Sun, 30 May 2004 17:09:24 -0400
From: Thomas Dickey <email address hidden>
To: Branden Robinson <email address hidden>
Cc: <email address hidden>
Subject: Re: Bug#250655: xterm: crashes on paste from abiword
--qDbXVdCdHGoSgWSk Disposition: inline Transfer- Encoding: quoted-printable
Content-Type: text/plain; charset=us-ascii
Content-
Content-
On Fri, May 28, 2004 at 10:27:16PM -0500, Branden Robinson wrote:
> Just as a remark to myself and my fellow "debian-x"ers, if it turns out
> the bug is in Xt, this bug should be reassigned to libxt6.
I can reproduce it with XFree86 4.3.0. The immediate cause of failure is
dererencing a null pointer but that part of the code and the intervening
functions on the walkback appear much the same in 4.4.0 - so I expect the
cause is one of the other functions called before that point.
Here's a walkback (it doesn't make any difference whether it's for xterm #1=
74
or xterm #190, so while it might ultimately be a bug in xterm, the differen=
ce
in behaviour - works with current X - is due to X libraries):
#0 0x40251a83 in _XlcResetConverter (conv=3D0x0) at lcConv.c:336 methods- >reset) oTextList (lcd=3D0x80b2b98, dpy=3D0x809872= prop=3D0xbfffec 00, to_type= 3D0x402725c9 "utf8String",=20 ret=3D0xbfffec1 c, count_ret= 3D0xbfffec18) at lcPrTxt.c:216 rtyToTextList (lcd=3D0x80b2b98, dpy=3D0x80= prop=3D0xbfffec 00, list_ret= 3D0xbfffec1c, count_ret= 3D0xbfffec18) tyToTextList (dpy=3D0x809872 8,=20 prop=3D0xbfffec 00, list_ret= 3D0xbfffec1c, count_ret= 3D0xbfffec18) data=3D0x8166e9 0= 3D0xbfffecb4, type=3D0xbfffec80, value=3D0x8167080, length=3D= 3D0xbfffec84) at button.c:1372 3D0x8166fc0, closure= 3D0x8166e90, selection=3D449) at Selection.c:= Replies (widget= 3D0x80bd268, closure=3D0x8= 3D0xbfffee40, cont=3D0xbfffed6d "\001") at Selection.c:1408 ToWidget (widget= 3D0x80bd268, event=3D0xbf= tcher (event= 3D0xbfffee40) at Event.c:1417 3D0xbfffee40) at Event.c:1497
336 if (conv->
(gdb) where
#0 0x40251a83 in _XlcResetConverter (conv=3D0x0) at lcConv.c:336
#1 0x40258fd6 in _XTextPropertyT
8,=20
text_
list_
#2 0x4025915c in _Xutf8TextPrope
98728,=20
text_
at lcPrTxt.c:275
#3 0x40228589 in Xutf8TextProper
text_
at lcWrap.c:420
#4 0x0804da1c in SelectionReceived (w=3D0x80bd268, client_
,=20
selection=
0xbfffec88,=20
format=
#5 0x401676d9 in HandleNormal (dpy=3D0x8098728, widget=3D0x80bd268, proper=
ty=3D453,=20
info=
1310
#6 0x40167b5f in HandleSelection
166fc0,=20
ev=
#7 0x4014fdbe in XtDispatchEvent
ffee40)
at Event.c:956
#8 0x401508ce in _XtDefaultDispa
#9 0x40150c93 in XtDispatchEvent (event=
#10 0x08064e62 in xevents () at misc.c:202
#11 0x08053e8e in in_put () at charproc.c:2751
#12 0x08051414 in VTparse () at charproc.c:910
#13 0x08056eda in VTRun () at charproc.c:4142
#14 0x0807957f in main (argc=3D0, argv=3D0xbffff180) at main.c:2222
--=20 invisible- island. net -island. net
Thomas E. Dickey
http://
ftp://invisible
--qDbXVdCdHGoSgWSk pgp-signature Disposition: inline
Content-Type: application/
Content-
-----BEGIN PGP SIGNATURE----- www.gnupg. org
ByHxlDocRAt9oAJ 4uBJIzBJirq7ECo 7d10/fRSaaItQCb BxAj Uaj5O6po=
Version: GnuPG v1.0.6 (SunOS)
Comment: For info see http://
iD8DBQFAuk2CtIq
pB6vjWm1jnY39NO
=Oo+2
-----END PGP SIGNATURE-----
--qDbXVdCdHGoSg WSk--