Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #15026 > unrolled thread

Re: FIFO race condition on SunOS kernels

Started byMartijn Dekker <martijn@inlv.org>
First post2019-01-02 00:27 +0100
Last post2019-01-02 00:27 +0100
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: FIFO race condition on SunOS kernels Martijn Dekker <martijn@inlv.org> - 2019-01-02 00:27 +0100

#15026 — Re: FIFO race condition on SunOS kernels

FromMartijn Dekker <martijn@inlv.org>
Date2019-01-02 00:27 +0100
SubjectRe: FIFO race condition on SunOS kernels
Message-ID<mailman.6668.1546385280.1284.bug-bash@gnu.org>
Op 01-01-19 om 23:47 schreef Vladimir Marek:
[...]
> That said, I do use VirtualBox 5.1.22r115126 which is pretty old.

I recently upgraded to VirtualBox 6.0 on Mac OS X 10.11 and the results 
are identical.

> Putting 0.5s delay anywhere in the loop makes the problem disappear.

Yes, I'd noticed as much. I am trying to get my portable shell library, 
modernish, to work on as many operating systems as possible. One of its 
recently added features involves creating and opening FIFOs on the fly, 
which breaks on Solaris on VirtualBox. My own experimentation told me 
that I need a full second to be safe.

> Hmm, so we are waiting on a condition. That needs to be investigated
> deeper. It would be great if you could open a case for this as we have
> to prioritize our work ...

How would I go about it? I'm not an Oracle customer, nor could I justify 
the expense to become one. I use my test Solaris VMs only to test 
modernish, as the free-of-charge licence permits. I've previously been 
given to understand that only customers can report Solaris bugs. But I'd 
like to give some bug reports back if you give me a way to do it.

> At the moment it looks like a bug in Solaris to me, but it shows only on
> VirtualBox.

Thanks, that's good to have confirmed! It was hoping as much -- it would 
have been hard to believe that something this basic is broken on Solaris 
in general.

By the way, a side effect of developing modernish has been to put me on 
a crusade of sorts against shell bugs on all the shells, as I keep 
running into them. The "standards compliant" /usr/xpg4/bin/sh (ksh88) on 
Solaris has a LOT of bugs, including some really serious ones that I 
wrote about on the Austin Group list last year. Where/how could I reach 
a person who is interested in receiving bug reports?

Thanks,

- M.

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web