The current CVS version of gnuplot, 3.8k (found at http://sourceforge.net/projects/gnuplot/) crashes when the xterm window gest resized and linked against GNU readline. The bug is described at http://sourceforge.net/tracker/index.php?func=detail&aid=608874&group_id=2055&atid=102055 (under the misleading subject "(Solaris, readline-4.x) prompt displayed twice"). A patch is also available at that page, claiming this will be in the next version of libreadline and being approved by the readline developers 8 months ago. As that patch still isn't included in readline-4.3, is it possible to include that fix in the ebuild if it's harmless to other applications? Reproducible: Always Steps to Reproduce: 1. checkout guplot cvs 2. link it against readline (./configure --with-readline=gnu) 3. resize the terminal window gnuplot runs in Actual Results: crashes without any error messages Expected Results: no crash ;) Portage 2.0.50_pre20 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20031222-r0, 2.6.1-rc1) ================================================================= System uname: 2.6.1-rc1 i686 AMD Athlon(tm) XP 1700+ Gentoo Base System version 1.4.3.12 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59 Automake: sys-devel/automake-1.7.8 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O2 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/kde/cvs/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo rsync://ftp.belnet.be/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/" 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="X Xaw3d alsa apm arts avi berkdb cdr crypt cups dvd emacs encode foomaticdb gd gdbm gif gphoto2 gpm gtk gtk2 imap imlib java jpeg kde ldap libg++ libwww mad mbox mikmod mmx motif mozilla mpeg mule mysql ncurses nls oggvorbis opengl oss pam pdflib plotutils png python qt quicktime readline samba scanner sdl slang spell ssl svga tcpd tetex tiff truetype usb wmf x86 xinerama xml2 xmms xv zlib"
The current CVS version of gnuplot is not in portage, is this something we need to fix now?
But the mentioned readline version is in portage, and as the gnuplot developers release quite seldom, there are significant improvements in the CVS gunplot (pm3d and mouse support). There are a lot of people, like me, who use gnuplot CVS because of the new features and are affected by the readline bug. In any case, it's a readline bug, so it should be fixed, esp. since the patch is already done. I'm thinking about writing a CVS gnuplot ebuild.
Now gnuplot 3.8j is in portage, and this version is affected by the above described bug.
From what I can tell this bug is actually a bug in readline, right? I'm not willing to put my life at risk by touching readline, so I'm tossing this bug to base-system.
Looks like this bug was reassigned to sci.
what version of readline does this need, Frank?
According to the last comment, dated 2003-04-30, on http://sourceforge.net/tracker/index.php?func=detail&aid=608874&group_id=2055&atid=102055 the "next" version of readline. Since the last release is readline 4.3, released on 2002-07-17, as far as I can see on ftp://ftp.gnu.org/gnu/readline/ I guess it's still the next release. None of the patches on ftp://ftp.cwru.edu/pub/bash/readline-4.3-patches contains the bugfix mentioned on sourceforge. So I'm sorry I can't tell if there is a fixed version. I once tried the suggested fix, and it worked at least for me with gnuplot cvs some moths ago and readline 4.3.
At least for me the bug is fixed in the 4.0 version, which is in portage by now. I can't find any entries mentioning this bug in the Changelog, but who cares if it works... ;)
seems to work now according to reporter.