funny signal messages when tracing any app

Dmitry V. Levin ldv at altlinux.org
Tue May 14 23:12:33 UTC 2013


On Tue, May 14, 2013 at 04:13:12PM +0200, Denys Vlasenko wrote:
> On 05/13/2013 05:04 PM, Denys Vlasenko wrote:
> > On 05/04/2013 11:21 PM, Dmitry V. Levin wrote:
> >> On Wed, May 01, 2013 at 11:04:13PM -0400, Mike Frysinger wrote:
> >>> i imagine this has to do with the probing of new ptrace features, but it still 
> >>> seems wrong for the first two lines to be signal stuff when tracing any program:
> >>> $ ./strace -eexecve /bin/true 
> >>> --- stopped by SIGSTOP ---
> >>> --- SIGCONT {si_signo=SIGCONT, si_code=SI_USER, si_pid=10908, si_uid=8282} ---
> >>
> >> These two lines are annoying, aren't they?
> >> It was discussed in February, with no visible result so far.
> > 
> > I will try to suppress them.
> 
> Ping me if this didn't (fully) fix it:

Thanks!

On NOMMU systems, there is no way to catch the first execve call unless
in -D mode, so these pre-execve messages cannot be reliably suppressed.
I've applied a patch to address this NOMMU issue.


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20130515/802520b8/attachment.bin>


More information about the Strace-devel mailing list