zsh-workers
 help / color / mirror / code / Atom feed
From: "Bart Schaefer" <schaefer@candle.brasslantern.com>
To: zsh-workers@math.gatech.edu
Subject: Getting crashes in savehistfile()
Date: Thu, 13 Mar 1997 22:50:52 -0800	[thread overview]
Message-ID: <970313225052.ZM4299@candle.brasslantern.com> (raw)

Over the last couple of days I suddenly began noticing that my zsh history
was occassionally becoming empty.  I found a core file with the following
stack trace:

#0  0x80630c0 in savehistfile ()
#1  0x805285a in zexit ()
#2  0x8072103 in handler ()
#3  0xbffff5f0 in ?? ()
#4  0x8063023 in savehistfile ()
#5  0x805285a in zexit ()
#6  0x807fd9a in getkey ()
#7  0x8080635 in getkeycmd ()
#8  0x8080283 in zleread ()
#9  0x8064e67 in inputline ()
#10 0x8064d85 in ingetc ()
#11 0x80609d9 in hgetc ()
#12 0x8067311 in gettok ()
#13 0x8066e89 in yylex ()
#14 0x806f99c in parse_event ()
#15 0x806367a in loop ()
#16 0x8063597 in main ()

This apparently happens after I press ctrl-D to exit a shell, though not in
all cases (perhaps with SAVEHIST=0, which I do from time to time).  I never
notice because of course the shell is exiting anyway.

I'm running 3.0.3-test4 with several of the recent patches from the list.

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


                 reply	other threads:[~1997-03-14  6:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=970313225052.ZM4299@candle.brasslantern.com \
    --to=schaefer@candle.brasslantern.com \
    --cc=schaefer@nbn.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).