Closed avagin closed 7 years ago
+ uname -a
Linux testing-gce-86057d26-a001-49e8-9d48-6a227f91debe.localdomain 4.10.0-rc5-next-20170124 #1 SMP Tue Jan 24 20:33:43 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
It was broken in next-20170124. Here is rusults for next-20170123 https://travis-ci.org/avagin/criu/jobs/193881557
The reason may be in commit b25e67161c295c98acda92123b2dd1e7d8642901 Author: Mike Frysinger vapier@chromium.org Date: Thu Jan 19 22:28:57 2017 -0600
seccomp: dump core when using SECCOMP_RET_KILL
offtopic: why do we use exit() here, _exit() is used in other palces.
pthread_mutex_unlock(&getpid_wait);
if (pthread_join(th, &p) != 0) {
pr_perror("pthread_join");
exit(1);
}
Before:
512 seccomp(SECCOMP_SET_MODE_FILTER, SECCOMP_FILTER_FLAG_TSYNC, {len=4, filter=0x7fffe111fb10} <unfinished ...>
484 kill(30, SIG_0) = 0
484 write(1, "Wait for zdtm/static/seccomp_filter_tsync(30) to die for 0.100000\n", 66 <unfinished ...>
512 <... seccomp resumed> ) = 0
512 futex(0x606420, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
484 <... write resumed> ) = 66
512 <... futex resumed> ) = 1
484 select(0, NULL, NULL, NULL, {tv_sec=0, tv_usec=100000} <unfinished ...>
512 futex(0x7f9e894a19d0, FUTEX_WAIT, 32, NULL <unfinished ...>
513 <... futex resumed> ) = 0
513 futex(0x606420, FUTEX_WAKE_PRIVATE, 1) = 0
513 ptrace(PTRACE_TRACEME) = ?
513 +++ killed by SIGSYS +++
512 <... futex resumed> ) = 0
After:
767 seccomp(SECCOMP_SET_MODE_FILTER, SECCOMP_FILTER_FLAG_TSYNC, {len=4, filter=0x7ffdeedbcd20}) = 0
767 futex(0x606420, FUTEX_WAKE_PRIVATE, 1) = 1
768 <... futex resumed> ) = 0
767 futex(0x7fab05b229d0, FUTEX_WAIT, 32, NULL <unfinished ...>
768 futex(0x606420, FUTEX_WAKE_PRIVATE, 1) = 0
768 ptrace(PTRACE_TRACEME <unfinished ...>
767 <... futex resumed>) = ?
768 <... ptrace resumed>) = ?
768 +++ killed by SIGSYS (core dumped) +++
767 +++ killed by SIGSYS (core dumped) +++
766 <... wait4 resumed> [{WIFSIGNALED(s) && WTERMSIG(s) == SIGSYS && WCOREDUMP(s)}], 0, NULL) = 31
766 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_KILLED, si_pid=31, si_uid=0, si_status=SIGSYS, si_utime=0, si_stime=0} ---
expected 0, got 0?
expected 0, got 159
it is a kernel bug https://lkml.org/lkml/2017/1/24/797
Thanks for digging into this, and sorry for the delay, I've been on vacation the last two days :(
On Wed, Jan 25, 2017 at 9:09 AM, Andrew Vagin notifications@github.com wrote:
Closed #275 https://github.com/xemul/criu/issues/275.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/xemul/criu/issues/275#event-936379671, or mute the thread https://github.com/notifications/unsubscribe-auth/AAv61yhFRAyLrOQgFDsdLdaLeUujn89fks5rV3OkgaJpZM4Ls1jA .
https://travis-ci.org/avagin/criu/jobs/194647118
@tych0 Could you look at this issue?