Displaying 5 results from an estimated 5 matches for "writerep".
Did you mean:
writeres
2019 Nov 28
0
error in parallel:::sendMaster
...more recent than executable.
681 {
(gdb) info args
what = 0x555c6dd2cd00
(gdb) n
682 if (is_master)
(gdb) n
684 if (master_fd == -1)
(gdb) n
686 if (TYPEOF(what) != RAWSXP)
(gdb) n
688 R_xlen_t len = XLENGTH(what);
(gdb) n
689 unsigned char *b = RAW(what);
(gdb) n
693 if (writerep(master_fd, &len, sizeof(len)) != sizeof(len)) {
(gdb) info locals
len = 538
b = <optimized out>
n = <optimized out>
(gdb) s
writerep (fildes=6, buf=buf at entry=0x7ffdd6da7db0, nbyte=nbyte at entry=8)
at fork.c:653
653 {
(gdb) info args
fildes = 6
buf = 0x7ffdd6da7db0
nbyte = 8...
2019 Nov 28
1
error in parallel:::sendMaster
...0x555c6dd2cd00
> (gdb) n
> 682 if (is_master)
> (gdb) n
> 684 if (master_fd == -1)
> (gdb) n
> 686 if (TYPEOF(what) != RAWSXP)
> (gdb) n
> 688 R_xlen_t len = XLENGTH(what);
> (gdb) n
> 689 unsigned char *b = RAW(what);
> (gdb) n
> 693 if (writerep(master_fd, &len, sizeof(len)) != sizeof(len)) {
> (gdb) info locals
> len = 538
> b = <optimized out>
> n = <optimized out>
> (gdb) s
> writerep (fildes=6, buf=buf at entry=0x7ffdd6da7db0, nbyte=nbyte at entry=8)
> at fork.c:653
> 653 {
> (gdb) info a...
2019 Dec 04
0
error in parallel:::sendMaster
...684 if (master_fd =3D=3D -1)
>>> (gdb) n
>>> 686 if (TYPEOF(what) !=3D RAWSXP)
>>> (gdb) n
>>> 688 R_xlen_t len =3D XLENGTH(what);
>>> (gdb) n
>>> 689 unsigned char *b =3D RAW(what);
>>> (gdb) n
>>> 693 if (writerep(master_fd, &len, sizeof(len)) !=3D sizeof(len)) {
>>> (gdb) info locals
>>> len =3D 538
>>> b =3D <optimized out>
>>> n =3D <optimized out>
>>> (gdb) s
>>> writerep (fildes=3D6, buf=3Dbuf at entry=3D0x7ffdd6da7db0, nbyte=3Dnbyte...
2019 Dec 04
0
error in parallel:::sendMaster
...684 if (master_fd =3D=3D -1)
>>> (gdb) n
>>> 686 if (TYPEOF(what) !=3D RAWSXP)
>>> (gdb) n
>>> 688 R_xlen_t len =3D XLENGTH(what);
>>> (gdb) n
>>> 689 unsigned char *b =3D RAW(what);
>>> (gdb) n
>>> 693 if (writerep(master_fd, &len, sizeof(len)) !=3D sizeof(len)) {
>>> (gdb) info locals
>>> len =3D 538
>>> b =3D <optimized out>
>>> n =3D <optimized out>
>>> (gdb) s
>>> writerep (fildes=3D6, buf=3Dbuf at entry=3D0x7ffdd6da7db0, nbyte=3Dnbyte...
2019 Nov 27
2
error in parallel:::sendMaster
Hi Andreas,
the error is reported when some child process cannot send results to the
master process, which originates from an error returned by write() -
when write() returns -1 or 0. The logic around the writing has not
changed since R 3.5.2. It should not be related to the printing in the
child, only to returning the value. The problem may be originating from
the execution environment,