zsh-users
 help / color / mirror / code / Atom feed
From: Dominik Vogt <dominik.vogt@gmx.de>
To: zsh-users@sunsite.auc.dk
Subject: zsh crash, unable to log in
Date: Wed, 19 Sep 2001 09:46:06 +0200	[thread overview]
Message-ID: <20010919094606.A4972@lifebits.de> (raw)

Yesterday, I encountered a pretty severe problem with the history
file that prevented me from logging in (I have zsh as my login
shell).  I used the zsh version shipping with SuSE 7.2:

   $ zsh --version
   zsh 4.0.1pre3 (i386-suse-linux)

What happened is this:  After a hard reboot, i.e. switching off
the machine, my ~/.zsh_history file was corrupt.  It only
contained 38k of binary trash.  Now, every time when I tried to
log in I just got the message

  $ zsh
  zsh: fatal error: out of memory

If this happens for the root user, the system is out of business.
I can reproduce the problem at will by copying a random executable
file over my .zsh_history:

  $ cp /bin/ls ~/.zsh_history
  $ zsh
  zsh: fatal error: out of memory

  $ rm ~/.zsh_history
  $ zsh
  (works fine)

Bye

Dominik ^_^  ^_^

P.S.: Please CC me, I'm not on the list.

-- 
Dominik Vogt, email: d.vogt@lifebits.de
LifeBits Aktiengesellschaft, Albrechtstr. 9, D-72072 Tuebingen
fon: ++49 (0) 7071/7965-0, fax: ++49 (0) 7071/7965-20


             reply	other threads:[~2001-09-19  7:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <FLEKKKDFJJDCBMPOEGGPIEOOCBAA.c-Monty.Scroggins@wcom.com>
2001-09-19  7:46 ` Dominik Vogt [this message]
2001-09-19  8:18   ` Borsenkow Andrej
2001-09-20 16:34   ` PATCH: " 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=20010919094606.A4972@lifebits.de \
    --to=dominik.vogt@gmx.de \
    --cc=d.vogt@lifebits.de \
    --cc=zsh-users@sunsite.auc.dk \
    /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).