After emerging X.org 6.8.2, mrxvt seg faults on any resize of the window. If not rezied using it is fine. Reproducible: Always Steps to Reproduce: 1. Ugrade to X.org 6.8.2 2. Emerge mrxvt 3. Run mrxvt and resize window Actual Results: mrxvt seg faults Expected Results: Been resized to the new size beeflinux espadav8 # emerge info Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.11-mm2 i686) ================================================================= System uname: 2.6.11-mm2 i686 AMD Athlon(tm) Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 17 2005, 10:27:28) ] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.7.9-r1, 1.8.5-r3, 1.6.3, 1.9.4, 1.5 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -mcpu=athlon-xp -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=athlon-xp -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/ http://212.219.56.162/sites/www.ibiblio.org/gentoo/ ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ http://mir.zyrianes.net/gentoo/" LANG="en_GB.UTF-8" LC_ALL="en_GB.UTF-8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow X alsa apm audiofile avi berkdb bitmap-fonts crypt curl emboss encode esd fam flac font-server foomaticdb fortran gdbm gif gnome gpm gtk gtk2 gvim imagemagick imlib ipv6 java jbig jpeg jpeg2k kde libg++ libwww mad mikmod mmx mng motif mp3 mpeg ncurses nptl nptlonly oggvorbis opengl oss pam pdflib perl png python qt quicktime readline real sdl spell sse ssl svg svga tcltk tcpd tiff truetype truetype-fonts type1-fonts userlocales vim wmf xine xml xml2 xmms xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS
Created attachment 53450 [details] gdb backtrace
I can't replicate this, but the value for prev_rows and total_rows seems very screwey. How do you trigger this? Any kind of resize?
Yes, any resize will cause this to happen, either maximise or drag to a new size.
Settings approaching 65535 for saveLines causes segfaults on resizing mrxvt. At a quick glance this seems to be due to some loops in screen.c which don't check against MAX_SAVELINES and/or allow the value to wrap. This should be reported upstream.
Yeah, if I set MAX_SAVELINES to 65534 mrxvt segfaults. (mrxvt 0.4.0) Jimmy, could you take a look at this bug?
yes, I am aware of this problem. it has been fixed in my CVS tree, hopefully. according to Andrew Smith, it looks my patch is working.
It is fixed in mrxvt-0.4.1. Thanks Andrew and Jimmy.