Your message dated Thu,  5 Jul 2007 12:56:37 -0700 (PDT)
with message-id <[EMAIL PROTECTED]>
and subject line Bug#365105: strace: no output from tracing multi-threaded app 
without -f option
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: strace
Version: 4.5.14-1
Severity: normal


It would seem that unless one adds -f to the strace command line, tracing
a multi-threaded program will show nothing.  At least when that multi-threaded
program (in this case named 9.3.2 from isc.org) has a main thread that does
nothing while the rest of the threads do work.  So one has to do:

strace -f -p <pid>

rather than the intuitive (?)

strace -p <pid>

similarly, if one just wants counts:

strace -c <pid> 

does not seem to work in this case.

the strace manpage only talks about following forks in regards to the -f 
option, it makes no mention of threads.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: ia64
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-mckinley-smp
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages strace depends on:
ii  libc6.1                       2.3.6-6    GNU C Library: Shared libraries

strace recommends no packages.

-- no debconf information


--- End Message ---
--- Begin Message ---
This is not a bug.

--- End Message ---

Reply via email to