zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-workers@zsh.org
Subject: Re: Damn race conditions ...
Date: Mon, 17 Mar 2014 17:47:21 -0700	[thread overview]
Message-ID: <140317174721.ZM30317@torch.brasslantern.com> (raw)
In-Reply-To: <A9775DA0-A777-40FE-B53A-B0A04A1B1D1B@kba.biglobe.ne.jp>

On Mar 17, 10:54pm, Jun T. wrote:
}
} 2014/03/17 06:15, Bart Schaefer <schaefer@brasslantern.com> wrote:
} 
} > This is still happening sporadically:
} 
} What OS (and hardware) are you using?

It's a 64bit virtualbox VM running 32bit CentOS 4.9.  Failed 16 out of
200 times when I ran it in a loop.  On the host hardware (quad-core
Intel i3, ubuntu 12.04.4) it failed only 1 out of 100.

  { repeat 100 make check TESTNUM=X02 } |& grep -c '[1-9] failure'

} (I guess you have already tried uncommenting all of zpty_flush)

You mean uncommenting the other 3 calls to zpty_flush?  Yes.  It
still fails sometimes (I didn't bother running the full hundreds
of passes).

} What happens if you modify the test as follows (i.e., add a text
} after 'redo') ?

Applied that patch, but still get occasional failure.

OF course it's not consistent WHERE it failes, so patching any one test
is not likely to help.  E.g., in this most recent try the failure is
here:

../../zsh-5.0/Test/X02zlevi.ztst: starting.
*** /tmp/zsh.ztst.out.30213     Mon Mar 17 17:44:32 2014
--- /tmp/zsh.ztst.tout.30213    Mon Mar 17 17:44:32 2014
***************
*** 1,2 ****
! BUFFER: binging
! CURSOR: 3
--- 1,3 ----
! BUFFER: ing
! ing
! CURSOR: 6
Test ../../zsh-5.0/Test/X02zlevi.ztst failed: output differs from expected as
shown above for:
  comptesteval 'setopt overstrike;print -z bung'
  zletest $'ing\e2|.'
Was testing: repeat initial edit with overstrike set
../../zsh-5.0/Test/X02zlevi.ztst: test failed.


  reply	other threads:[~2014-03-18  0:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-16 21:15 Bart Schaefer
2014-03-17 13:54 ` Jun T.
2014-03-18  0:47   ` Bart Schaefer [this message]
2014-03-18  9:36     ` Jun T.
2014-03-18 17:06       ` 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=140317174721.ZM30317@torch.brasslantern.com \
    --to=schaefer@brasslantern.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).