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

Bug#250655: xterm: crashes on paste from abiword



On Mon, May 24, 2004 at 01:40:10PM +0200, Max Kutny wrote:
> Package: xterm
> Version: 4.3.0.dfsg.1-1
> Severity: normal
> 
> 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):

==8273== Invalid read of size 4
==8273==    at 0x3C0B89D9: _XlcResetConverter (in /usr/X11R6/lib/libX11.so.6.2)
==8273==    by 0x3C0BEE08: (within /usr/X11R6/lib/libX11.so.6.2)
==8273==    by 0x3C0BF074: _Xutf8TextPropertyToTextList (in /usr/X11R6/lib/libX11.so.6.2)
==8273==    by 0x3C096EF7: Xutf8TextPropertyToTextList (in /usr/X11R6/lib/libX11.so.6.2)
==8273==    by 0x804F89B: SelectionReceived (button.c:1382)
==8273==    by 0x3C257CC2: (within /usr/X11R6/lib/libXt.so.6.0)
==8273==    by 0x3C257FFD: (within /usr/X11R6/lib/libXt.so.6.0)
==8273==    by 0x3C24376E: XtDispatchEventToWidget (in /usr/X11R6/lib/libXt.so.6.2)
==8273==    by 0x3C24411C: (within /usr/X11R6/lib/libXt.so.6.0)
==8273==    by 0x3C24443E: XtDispatchEvent (in /usr/X11R6/lib/libXt.so.6.0)
==8273==  Address 0x0 is not stack'd, malloc'd or free'd
==8273==
==8273== Process terminating with default action of signal 11 (SIGSEGV): dumpin>
==8273==  Access not within mapped region at address 0x0
==8273==    at 0x3C0B89D9: _XlcResetConverter (in /usr/X11R6/lib/libX11.so.6.2)
==8273==    by 0x3C0BEE08: (within /usr/X11R6/lib/libX11.so.6.2)
==8273==    by 0x3C0BF074: _Xutf8TextPropertyToTextList (in /usr/X11R6/lib/libX11.so.6.2)
==8273==    by 0x3C096EF7: Xutf8TextPropertyToTextList (in /usr/X11R6/lib/libX11.so.6.2)
==8273==    by 0x804F89B: SelectionReceived (button.c:1382)
==8273==    by 0x3C257CC2: (within /usr/X11R6/lib/libXt.so.6.0)
==8273==    by 0x3C257FFD: (within /usr/X11R6/lib/libXt.so.6.0)
==8273==    by 0x3C24376E: XtDispatchEventToWidget (in /usr/X11R6/lib/libXt.so.6.2)
==8273==    by 0x3C24411C: (within /usr/X11R6/lib/libXt.so.6.0)
==8273==    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_STRING.

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

Attachment: pgpbzsDzGsIui.pgp
Description: PGP signature


Reply to: