* zsh 3.0.4 core dump when HISTSIZE exceeded
@ 1997-07-30 6:52 Bart Schaefer
1997-07-30 7:38 ` Bart Schaefer
0 siblings, 1 reply; 2+ messages in thread
From: Bart Schaefer @ 1997-07-30 6:52 UTC (permalink / raw)
To: zsh-workers
With the following options set:
autocd
cdablevars
noclobber
ignoreeof
listtypes
(In addition to the default settings of
interactive
monitor
norcs
shinstdin
zle
for zsh -f)
`zsh -f` will dump core in malloc() shortly after exceeding HISTSIZE
commands. The stack is completely trashed at this point; even running
inside gdb I was unable to get a backtrace beyond malloc().
I'm not sure exactly which of those options is pertinent; I know only
that I was unable to get `zsh -f` to crash without first setting them,
and that it crashed rapidly after setting HISTSIZE=5 with those options
in effect. I set those options by copying the $- value of another user
here who has repeatedly encountered this crash (he typically gets it
upon executing his 101st command with HISTSIZE=100; this most recent
time, he mailed me the output of `set`, from which I grabbed $-).
SAVEHIST is not set. I tend to suspect ignoreeof, but I'm not sure why.
--
Bart Schaefer Zanshin
http://www.well.com/user/barts http://www.zanshin.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1997-07-30 7:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-07-30 6:52 zsh 3.0.4 core dump when HISTSIZE exceeded Bart Schaefer
1997-07-30 7:38 ` 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).