zsh-workers
 help / color / mirror / code / Atom feed
From: Arjen Rouvoet <a.j.rouvoet@gmail.com>
To: zsh-workers@zsh.org
Subject: BUG: ZSH freezes (on history) when systime is wrong
Date: Mon, 23 Jun 2014 11:32:47 +0200	[thread overview]
Message-ID: <CAOs3h-0LBBOCLzG+vh1AYmLtKmr1VEYXquDSVjrx4JjsQCBWFw@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 867 bytes --]

Last weekend I had the problem that I could no longer start a terminal/load
a tty, because
zsh was freezing on it's init.

After booting into emergency mode, and setting my shell to bash, I got
control back, and tried to narrow down the issue.
Zero'ing out parts of my config, I narrowed it down to the history
sesttings, in particular: when I changed the path to the hist file, it
loaded (and exited; because after backing up and creating a new histfile,
zsh loaded but froze on exit).

At that point I noticed the system time was messed up (propably by windows
usage).
After syncing, zsh worked fine again with the original history file.

I wonder if the history contained some timestamp in the future, which got
zsh confused.
But in any case, I thought it was a bug worth mentioning.

With regards,



Arjen Rouvoet
*a.j.rouvoet@gmail.com <a.j.rouvoet@gmail.com>*

             reply	other threads:[~2014-06-23 10:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-23  9:32 Arjen Rouvoet [this message]
2014-06-23 12:40 ` Axel Beckert
2014-06-23 12:57   ` Arjen Rouvoet

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=CAOs3h-0LBBOCLzG+vh1AYmLtKmr1VEYXquDSVjrx4JjsQCBWFw@mail.gmail.com \
    --to=a.j.rouvoet@gmail.com \
    --cc=zsh-workers@zsh.org \
    /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).