zsh-users
 help / color / mirror / code / Atom feed
From: "Vadim A. Misbakh-Soloviov" <mva@mva.name>
To: Zsh-Users List <zsh-users@zsh.org>
Subject: freezing bug in 5.0.6?
Date: Fri, 03 Oct 2014 14:44:30 +0700	[thread overview]
Message-ID: <2866935.K4qTiKRXRF@note> (raw)

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

Hi there!
I'm using SHARE_HISTORY option.

After recent upgrade to 5.0.6 (means, all was okay before it) few days ago, 
I've got a strange bug: sometimes new sessions freezes on zsh start.

When I start debugging and run
> strace -eopen,stat,access -ff zsh

I found that it freezes on 
> open("/home/mva/.zhistory", O_RDWR|O_NOCTTY|O_LARGEFILE) = 3

(which is prety plain file on the local fs, not a symlink and so on).
Further debugging revealed that fact, that it is same behaviour on all of my 
mchines (>40), which makes me think it is 100% zsh's issue.

Also, I debugged that if I press ^C and ^Z (send sigint and sigstp 
respectivey) many times (~36-40) — then zsh throw:
>  zsh: locking failed for /home/mva/.zhistory: interrupt
and loads just fine.

Removing .zhistory before running zsh helps just once (until zsh I run created 
it again).


So, I just wondered if it is fixed in 5.0.7 trial and if it is a way to 
disable zhistory locking (since it anyway interfers with access rights in 
another condition, unrelated to this issue)

-- 
Best regards,
mva

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

             reply	other threads:[~2014-10-03  7:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-03  7:44 Vadim A. Misbakh-Soloviov [this message]
2014-10-03  9:05 ` Peter Stephenson
2014-10-03 15:01   ` Vadim A. Misbakh-Soloviov
2014-10-03 15:14 ` 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=2866935.K4qTiKRXRF@note \
    --to=mva@mva.name \
    --cc=zsh-users@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).