zsh-users
 help / color / mirror / code / Atom feed
* freezing bug in 5.0.6?
@ 2014-10-03  7:44 Vadim A. Misbakh-Soloviov
  2014-10-03  9:05 ` Peter Stephenson
  2014-10-03 15:14 ` Bart Schaefer
  0 siblings, 2 replies; 4+ messages in thread
From: Vadim A. Misbakh-Soloviov @ 2014-10-03  7:44 UTC (permalink / raw)
  To: Zsh-Users List

[-- 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 --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-10-03 15:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-03  7:44 freezing bug in 5.0.6? Vadim A. Misbakh-Soloviov
2014-10-03  9:05 ` Peter Stephenson
2014-10-03 15:01   ` Vadim A. Misbakh-Soloviov
2014-10-03 15:14 ` Bart Schaefer

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).