zsh-workers
 help / color / mirror / code / Atom feed
* 3.0.1-test3 test release
@ 1996-10-08  1:06 Zoltan Hidvegi
  1996-10-08 20:33 ` Bart Schaefer
  0 siblings, 1 reply; 4+ messages in thread
From: Zoltan Hidvegi @ 1996-10-08  1:06 UTC (permalink / raw)
  To: Zsh hacking and development

You can find the new test release in
ftp://ftp.cs.elte.hu/pub/zsh/testing/zsh-3.0.1-test3.diff.gz.

The file date/size is

   43378 Oct  8 02:46 zsh-3.0.1-test3.diff.gz

md5 checksum:

1bc2283fb7e53302a441750944a5a7be  zsh-3.0.1-test3.diff.gz

Hopefully this will be the last test release before zsh-3.0.1.  It is a
patch against the baseline zsh-3.0.0 release.  See the ChangeLog for the
full list of changes.  To compile it, do

gzip -dc zsh-3.0.0.tar.gz | tar xvf -
cd zsh-3.0.0
zcat zsh-3.0.1-test3.diff.gz | patch -p
touch configure stamp-h.in
./configure
make

On some systems make is buggy so it may be necessary to go to the Src and
Doc subdirectories and run make there manually.

This version will probably not compile out of the box on DEC OSF/1 V4.0 and
later with gcc because I sill do not know how to check in a clean way that
the OS version is older than OSF/1 V4.0.  The problematic part is in
prototypes.h lines 104-110.  The predefined preprocessor macros are
identical on OSF V[2-4].?.  I do not have access to any V4.x boxes to fix
it.  Any patches fixing the V4.0 gcc compilation problem which not breaking
anything else are welcome.

Compilation problems on cray-unicos should be fixed by this release.

Zoltan


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 3.0.1-test3 test release
  1996-10-08  1:06 3.0.1-test3 test release Zoltan Hidvegi
@ 1996-10-08 20:33 ` Bart Schaefer
  1996-10-08 22:04   ` Zoltan Hidvegi
  0 siblings, 1 reply; 4+ messages in thread
From: Bart Schaefer @ 1996-10-08 20:33 UTC (permalink / raw)
  To: Zoltan Hidvegi, Zsh hacking and development

On Oct 8,  3:06am, Zoltan Hidvegi wrote:
} Subject: 3.0.1-test3 test release
}
} You can find the new test release in
} ftp://ftp.cs.elte.hu/pub/zsh/testing/zsh-3.0.1-test3.diff.gz.

I got a core dump:

(gdb) where
#0  0x804023f in tc_rightcurs ()
#1  0x803ffa5 in moveto ()
#2  0x803f955 in refreshline ()
#3  0x803f47a in refresh ()
#4  0x8038d5e in zleread ()
#5  0x801ca87 in inputline ()
#6  0x801c995 in ingetc ()
#7  0x80186a9 in hgetc ()
#8  0x801eef1 in gettok ()
#9  0x801ea59 in yylex ()
#10 0x802858c in parse_event ()
#11 0x801b1ef in loop ()
#12 0x801b10f in main ()
#13 0x80020b5 in _start ()
Cannot access memory at address 0xbfffd4b8.

I got this by autoloading the Functions/run-help sample, then doing

	print -z "$(functions run-help)"

and then repeatedly pressing ctrl-U (which is bound to kill-whole-line).

I compiled with zsh-mem and zsh-mem-debug etc., and ran `zsh -f'.

zagzig% unalias run-help
zagzig% FPATH=$PWD/Functions
zagzig% autoload run-help
zagzig% run-help

What manual page do you want?
zagzig% print -z "$(functions run-help)"
zagzig% >....

(Then press ctrl-U approximately a dozen times.)

-- 
Bart Schaefer                             Brass Lantern Enterprises
http://www.well.com/user/barts            http://www.nbn.com/people/lantern

New male in /home/schaefer:
>N  2 Justin William Schaefer  Sat May 11 03:43  53/4040  "Happy Birthday"


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 3.0.1-test3 test release
  1996-10-08 20:33 ` Bart Schaefer
@ 1996-10-08 22:04   ` Zoltan Hidvegi
  1996-10-09  0:41     ` Bart Schaefer
  0 siblings, 1 reply; 4+ messages in thread
From: Zoltan Hidvegi @ 1996-10-08 22:04 UTC (permalink / raw)
  To: schaefer; +Cc: zsh-workers

Bart Schaefer wrote:
> zagzig% unalias run-help
> zagzig% FPATH=$PWD/Functions
> zagzig% autoload run-help
> zagzig% run-help
> 
> What manual page do you want?
> zagzig% print -z "$(functions run-help)"
> zagzig% >....
> 
> (Then press ctrl-U approximately a dozen times.)

It does not dump core here with Linux libc-5.4.7 and ncurses-1.9.8a both
under xterm and on the console.  What system and what libraries do you use?
What is the termcap/terminfo file you use?

Zoltan


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 3.0.1-test3 test release
  1996-10-08 22:04   ` Zoltan Hidvegi
@ 1996-10-09  0:41     ` Bart Schaefer
  0 siblings, 0 replies; 4+ messages in thread
From: Bart Schaefer @ 1996-10-09  0:41 UTC (permalink / raw)
  To: Zoltan Hidvegi; +Cc: zsh-workers

On Oct 9, 12:04am, Zoltan Hidvegi wrote:
} Subject: Re: 3.0.1-test3 test release
}
} > zagzig% print -z "$(functions run-help)"
} > zagzig% >....
} > 
} > (Then press ctrl-U approximately a dozen times.)
} 
} It does not dump core here with Linux libc-5.4.7 and ncurses-1.9.8a both
} under xterm and on the console.  What system and what libraries do you use?

It's Linux ELF libc 5.0.9, but I deliberately compiled with zsh-mem to
avoid the potential malloc problems you've described before with that.
GCC 2.7.0, -ltermcap, <termcap.h> and *not* <ncurses/termcap.h>.

} What is the termcap/terminfo file you use?

The specific terminal entry is:

xterm|vs100|xterm terminal emulator (X window system):\
        :do=^J:le=^H:ho=\E[H:\
        :co#80:li#65:cl=\E[H\E[2J:bs:am:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:\
        :ce=\E[K:cd=\E[J:so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:\
        :md=\E[1m:mr=\E[7m:me=\E[m:\
        :ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:kb=^H:\
        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:pt:sf=\n:sr=\EM:\
        :al=\E[L:dl=\E[M:im=\E[4h:ei=\E[4l:mi:dc=\E[P:\
        :MT:ks=\E[?1h\E=:ke=\E[?1l\E>:xn:\
        :AL=\E[%dL:DL=\E[%dM:DC=\E[%dP:\
        :hs:ts=\E[?E\E[?%i%dT:fs=\E[?F:es:ds=\E[?E:\
        :is=\E\E[m\E[?7h\E[?1;4l:cs=\E[%i%d;%dr:\
        :rs=\E[r\E<\E[m\E[H\E[2J\E[?7h\E[?1;3;4;6l:

I tried a different termcap entry, and it didn't dump core in that case,
but with the one above it crashes just scrolling backwards and forwards
through the history if any command spans more than one line.

-- 
Bart Schaefer                             Brass Lantern Enterprises
http://www.well.com/user/barts            http://www.nbn.com/people/lantern

New male in /home/schaefer:
>N  2 Justin William Schaefer  Sat May 11 03:43  53/4040  "Happy Birthday"


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1996-10-09  0:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-10-08  1:06 3.0.1-test3 test release Zoltan Hidvegi
1996-10-08 20:33 ` Bart Schaefer
1996-10-08 22:04   ` Zoltan Hidvegi
1996-10-09  0:41     ` Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).