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

Bug#541160: marked as done (xterm: heap corruption when changing window size)



Your message dated Sat, 22 Aug 2009 22:47:32 +0000
with message-id <E1MezMy-0004JY-DT@ries.debian.org>
and subject line Bug#541160: fixed in xterm 246-1
has caused the Debian Bug report #541160,
regarding xterm: heap corruption when changing window size
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
541160: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=541160
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: xterm
Version: 244-1
Severity: normal

Hi,

I just noticed that xterm doesn't like it very much to be resized: when I grab
a window edge and make a circular motion (i.e. enlarge and shrink again in
both dimensions), I usually get it to segfault within fractions of a second.
Here are a few backtrace samples...

=====
(gdb) bt
#0  0xb7e333fc in ?? () from /lib/i686/cmov/libc.so.6
#1  0xb7e349ff in calloc () from /lib/i686/cmov/libc.so.6
#2  0x0807d31e in allocScrnData (screen=0x80ca6b4, nrow=1, ncol=121) at ../screen.c:287
#3  0x0807cfcd in addScrollback (screen=0x80ca6b4) at ../scrollback.c:90
#4  0x0807d3d3 in saveEditBufLines (screen=0x80ca6b4, sb=0x80e2378, n=1) at ../screen.c:340
#5  0x080806fd in ScreenResize (xw=0x80ca5b0, width=730, height=496, flags=0x80cd984) at ../screen.c:1791
#6  0x0805d3a1 in VTResize (w=0x80ca5b0) at ../charproc.c:5021
#7  0xb7c485d9 in XtConfigureWidget () from /usr/lib/libXt.so.6
#8  0xb7c4877a in XtResizeWidget () from /usr/lib/libXt.so.6
#9  0xb7fa5c5a in XawVendorShellExtResize () from /usr/lib/libXaw.so.7
#10 0xb7c612a2 in ?? () from /usr/lib/libXt.so.6
#11 0xb7c450f4 in XtDispatchEventToWidget () from /usr/lib/libXt.so.6
#12 0xb7c45aaf in ?? () from /usr/lib/libXt.so.6
#13 0xb7c44a67 in XtDispatchEvent () from /usr/lib/libXt.so.6
#14 0x08076319 in xevents () at ../misc.c:459
#15 0x08059edb in in_put (xw=0x80ca5b0) at ../charproc.c:3437
#16 0x08059f14 in doinput () at ../charproc.c:3452
#17 0x0805962d in VTparse (xw=0x80ca5b0) at ../charproc.c:3023
#18 0x0805d200 in VTRun (xw=0x80ca5b0) at ../charproc.c:4957
#19 0x0806f416 in main (argc=0, argv=0xbffff4f8) at ../main.c:2414
=====
Program received signal SIGSEGV, Segmentation fault.
0xb7e322a8 in ?? () from /lib/i686/cmov/libc.so.6
(gdb) bt
#0  0xb7e322a8 in ?? () from /lib/i686/cmov/libc.so.6
#1  0xb7e32896 in free () from /lib/i686/cmov/libc.so.6
#2  0x0807d831 in Reallocate (xw=0x80ca5b0, sbuf=0x80cc7b8, sbufaddr=0x80cc7c0, nrow=24, ncol=123, oldrow=25, 
    oldcol=123) at ../screen.c:499
#3  0x08080777 in ScreenResize (xw=0x80ca5b0, width=742, height=292, flags=0x80cd984) at ../screen.c:1837
#4  0x0805d3a1 in VTResize (w=0x80ca5b0) at ../charproc.c:5021
#5  0xb7c485d9 in XtConfigureWidget () from /usr/lib/libXt.so.6
#6  0xb7c4877a in XtResizeWidget () from /usr/lib/libXt.so.6
#7  0xb7fa5c5a in XawVendorShellExtResize () from /usr/lib/libXaw.so.7
#8  0xb7c612a2 in ?? () from /usr/lib/libXt.so.6
#9  0xb7c450f4 in XtDispatchEventToWidget () from /usr/lib/libXt.so.6
#10 0xb7c45aaf in ?? () from /usr/lib/libXt.so.6
#11 0xb7c44a67 in XtDispatchEvent () from /usr/lib/libXt.so.6
#12 0x08076319 in xevents () at ../misc.c:459
#13 0x08059edb in in_put (xw=0x80ca5b0) at ../charproc.c:3437
#14 0x08059f14 in doinput () at ../charproc.c:3452
#15 0x0805962d in VTparse (xw=0x80ca5b0) at ../charproc.c:3023
#16 0x0805d200 in VTRun (xw=0x80ca5b0) at ../charproc.c:4957
#17 0x0806f416 in main (argc=0, argv=0xbffff4f8) at ../main.c:2414
=====
*** glibc detected *** ./xterm: free(): invalid pointer: 0x080d6b78 ***
Program received signal SIGABRT, Aborted.
0xb7fe1424 in __kernel_vsyscall ()
(gdb) bt
#0  0xb7fe1424 in __kernel_vsyscall ()
#1  0xb7ded3d0 in raise () from /lib/i686/cmov/libc.so.6
#2  0xb7df0a85 in abort () from /lib/i686/cmov/libc.so.6
#3  0xb7e262ed in ?? () from /lib/i686/cmov/libc.so.6
#4  0xb7e308f4 in ?? () from /lib/i686/cmov/libc.so.6
#5  0xb7e32835 in free () from /lib/i686/cmov/libc.so.6
#6  0x0807d06d in deleteScrollback (screen=0x80caa74, row=-1) at ../scrollback.c:115
#7  0x08080993 in ScreenResize (xw=0x80ca970, width=472, height=556, flags=0x80cdd44) at ../screen.c:1909
#8  0x0805d3a1 in VTResize (w=0x80ca970) at ../charproc.c:5021
#9  0xb7c485d9 in XtConfigureWidget () from /usr/lib/libXt.so.6
#10 0xb7c4877a in XtResizeWidget () from /usr/lib/libXt.so.6
#11 0xb7fa5c5a in XawVendorShellExtResize () from /usr/lib/libXaw.so.7
#12 0xb7c612a2 in ?? () from /usr/lib/libXt.so.6
#13 0xb7c450f4 in XtDispatchEventToWidget () from /usr/lib/libXt.so.6
#14 0xb7c45aaf in ?? () from /usr/lib/libXt.so.6
#15 0xb7c44a67 in XtDispatchEvent () from /usr/lib/libXt.so.6
#16 0x08076319 in xevents () at ../misc.c:459
#17 0x08059edb in in_put (xw=0x80ca970) at ../charproc.c:3437
#18 0x08059f14 in doinput () at ../charproc.c:3452
#19 0x0805962d in VTparse (xw=0x80ca970) at ../charproc.c:3023
#20 0x0805d200 in VTRun (xw=0x80ca970) at ../charproc.c:4957
#21 0x0806f416 in main (argc=0, argv=0xbffff508) at ../main.c:2414
=====


Regards,

Jan

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: xterm
Source-Version: 246-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_246-1.diff.gz
  to pool/main/x/xterm/xterm_246-1.diff.gz
xterm_246-1.dsc
  to pool/main/x/xterm/xterm_246-1.dsc
xterm_246-1_amd64.deb
  to pool/main/x/xterm/xterm_246-1_amd64.deb
xterm_246.orig.tar.gz
  to pool/main/x/xterm/xterm_246.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 541160@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.8
Date: Sun, 23 Aug 2009 00:35:21 +0200
Source: xterm
Binary: xterm
Architecture: source amd64
Version: 246-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: 531597 541089 541160 541236 541603
Changes: 
 xterm (246-1) unstable; urgency=low
 .
   * New upstream release
     + interaction between allowSendEvents and the various allowXXXOps
       resources clarified in manpage (closes: #531597)
     + remove obsolete logic for saving/restoring wrapping flags, which did not
       work on 64-bit platform.  Wrapping flags (stored in the line-index) are
       now copied with line-data (closes: #541160)
     + modify comments in app-defaults files to avoid problem with C
       preprocessor used by xrdb (closes: #541603)
     + restore special case in makeColorPair needed for colorBDMode resource
       (closes: #541089)
     + correct SetLineFlags() macro, broken in patch #244 when recoding to
       avoid gcc-specific bitfields (closes: #541236)
   * The issues with the fifo-lines code should now be fixed, so enable it
     again.
Checksums-Sha1: 
 a02c720f07994a8961dfd5821a3b1c74b66e6773 1339 xterm_246-1.dsc
 08a10609f40e5da1c2a1612abdf3a89e09282a3b 883376 xterm_246.orig.tar.gz
 cb7f14b5e480af04a934b30af34cb511d2a0116a 74206 xterm_246-1.diff.gz
 a417cbb1830cbd76776a54159a9c2941b2517f28 513600 xterm_246-1_amd64.deb
Checksums-Sha256: 
 b6001b175ac781f557bd693ef000174a2bce193232997380300afd5c1994976f 1339 xterm_246-1.dsc
 dcb19d412be91e0dfef75aa0ca4cee3483d9a8fa356351300e3919a377e863cf 883376 xterm_246.orig.tar.gz
 c7918d0a0572b62c5bc2b39c51a0d7f340979ec770ae48767e40c94e07eb3e52 74206 xterm_246-1.diff.gz
 83d5be92a44e5c3b6701e6dfcdf44379023e1d00a46b82ce67c23e586a80db55 513600 xterm_246-1_amd64.deb
Files: 
 eb6639a92a73e4402718df5365588817 1339 x11 optional xterm_246-1.dsc
 b0c3aa021031742d6f5009833fc4d800 883376 x11 optional xterm_246.orig.tar.gz
 33595abc54cbea7c47fbb8183e2c10a1 74206 x11 optional xterm_246-1.diff.gz
 f0c1445d8f2c007bf7b9f66e100ff21b 513600 x11 optional xterm_246-1_amd64.deb

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

iEYEARECAAYFAkqQc3AACgkQmEvTgKxfcAyGLACfbsR3Fbqim8670EAhX8CxEM2d
ISUAn3lif2wbjhtwHI/ABT3ZHr8/DO0N
=r08v
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: