Concurrency output issue

Bao Hong Tan tbhtan3 at gmail.com
Mon Mar 26 21:24:07 UTC 2012


Hi all,

I looked at strace's output and saw the following:

01:20:00.727079 recv(-1345034744, 01:20:00.727768 write(24, "338", 
301:20:00.728785 SYS_224(0x3adfa8, 0x40025730, 0xa, 0x45006f40) = 0xccd000
01:20:00.729827 recv(-1345034744, 0x81, 1, MSG_OOB) = 1
"", 2, 0) = 0

The traced program have multiple threads. Looks like strace is not able 
to handle concurrent output to the log file.

For example, the first line is interrupted by another.

I am using version 4.5.12 (in Android) by the way, has this issue been 
fixed?

Thanks,
Lucas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20120326/4b525db6/attachment.html>


More information about the Strace-devel mailing list