Chen Jingpiao's GSoC status report - #9 of #13
Chen Jingpiao
chenjingpiao at gmail.com
Tue Jul 17 16:03:16 UTC 2018
Hello, strace community!
I am debuging the tests/siginfo:
$ ../strace -e trace=none -oout ./siginfo
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=22444,
si_uid=1000, si_status=42, si_utime=0, si_stime=0} ---
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_KILLED, si_pid=22445,
si_uid=1000, si_status=SIGUSR1, si_utime=0, si_stime=0} ---
siginfo: siginfo.c:124: main: Assertion `WIFSIGNALED(s) && WTERMSIG(s) ==
SIGUSR1' failed.
Aborted
$ cat out
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=22444,
si_uid=1000, si_status=42, si_utime=0, si_stime=0} ---
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=22445,
si_uid=1000, si_status=1, si_utime=0, si_stime=0} ---
--- SIGABRT {si_signo=SIGABRT, si_code=SI_TKILL, si_pid=22443, si_uid=1000}
---
+++ killed by SIGABRT +++
A exited signal was deliver instead of SIGUSR1. It seem for I use ptrace
restart [1]
the tracee do not deliver the signal. I will continue to debug the code.
Thank you.
[1] https://github.com/ppiao/strace/blob/ppiao/next/strace.c#L2337-L2340
--
Chen Jingpiao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20180718/947f8a81/attachment.html>
More information about the Strace-devel
mailing list