Displaying 2 results from an estimated 2 matches for "wcontinued".
Did you mean:
continued
2014 Oct 03
0
Fwd: mksh-static segfaults on continued jobs
...r lksh (full mksh is not affected); it results
in job being continued but shell crashing immediately after that.
The crash happens in j_print() at jobs.c:1560 where the expression
sigtraps[WSTOPSIG(p->status)] is out-of-bounds. It seems to be introduced
with revision 1.101 of jobs.c that added WCONTINUED flag to wait(2)
and then updated the state after checking status with WIFCONTINUED.
Apparently, when compiling with klibc, WCONTINUED flag is defined but
WIFCONTINUED macro is not. The result is that p->state and p->status
are not consistent.
This fixes it for me:
--- jobs.c 10 Jun 2014...
2013 Jul 18
7
[Bug 10035] New: rsync hangs in solaris
...at timeout we get:
24830: write(1, " M\0\0\t [ s e n d e r ]".., 81) = 81
24830: time() = 1374162319
24830: pollsys(0x080453E0, 0, 0x08045430, 0x00000000) = 0
24830: _exit(30)
24827: waitid(P_ALL, 0, 0x08047A20,
WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOWAIT) = 0
24827: times(0x08047A10) = 1387016957
24827: waitid(P_ALL, 0, 0x08047990,
WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
24827: times(0x08047A20) = 1387016957
24827: times(0x08047A10) = 138...