zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@zanshin.com>
To: zsh-workers@math.gatech.edu
Subject: zsh 3.0.4 core dump when HISTSIZE exceeded
Date: Tue, 29 Jul 1997 23:52:32 -0700 (PDT)	[thread overview]
Message-ID: <199707300652.XAA14604@hiro.zanshin.com> (raw)

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


             reply	other threads:[~1997-07-30  7:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-07-30  6:52 Bart Schaefer [this message]
1997-07-30  7:38 ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199707300652.XAA14604@hiro.zanshin.com \
    --to=schaefer@zanshin.com \
    --cc=zsh-workers@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).