Re: [polyml] playing with Posix fork/exec/dup2 etc

2016-03-19 Thread David Matthews
On 18/03/2016 14:25, Rob Arthan wrote: On 18 Mar 2016, at 13:13, David Matthews wrote: On 18/03/2016 02:40, Michael Norrish wrote: Under 5.5.1, and after compiling with polyc, the code below gives an assertion violation and core dump: This was a bug that

[polyml] playing with Posix fork/exec/dup2 etc

2016-03-19 Thread Michael Norrish
Under 5.5.1, and after compiling with polyc, the code below gives an assertion violation and core dump: > $ ./a.out > In parent - reading > Assertion failed: (save_vec_addr < save_vec+1000), function push, file > save_vec.cpp, line 70. > Abort trap: 6 (That's the OSX wording. I get something

Re: [polyml] playing with Posix fork/exec/dup2 etc

2016-03-18 Thread David Matthews
On 18/03/2016 02:40, Michael Norrish wrote: Under 5.5.1, and after compiling with polyc, the code below gives an assertion violation and core dump: This was a bug that has been fixed in the current version, 5.6. Exceptions are raised in the run-time system when it detects errors such as

Re: [polyml] playing with Posix fork/exec/dup2 etc

2016-03-18 Thread Rob Arthan
> On 18 Mar 2016, at 13:13, David Matthews > wrote: > > On 18/03/2016 02:40, Michael Norrish wrote: >> Under 5.5.1, and after compiling with polyc, the code below gives an >> assertion violation and core dump: > > This was a bug that has been fixed in the