[PATCH] RFC: do not detach when we think tracee is going to die
steveb at workware.net.au
Sun Sep 4 23:53:15 UTC 2011
On 05/09/2011, at 9:40 AM, Dmitry V. Levin wrote:
> On Fri, Sep 02, 2011 at 11:33:05AM +1000, Steve Bennett wrote:
>> On 01/09/2011, at 3:14 AM, Dmitry V. Levin wrote:
>>> On Wed, Aug 31, 2011 at 03:50:16PM +0200, Denys Vlasenko wrote:
>>>> Speaking of non-linux-2.6 systems.
>>>> I am suspicious about non-Linux systems. I'd expect that
>>>> changes to the source are mostly tested on Linux,
>>>> and therefore we should see a fair number of errors
>>>> on non-Linux builds, especially simple ones a-la
>>>> "it stopped compiling because you forgot to rename
>>>> a function or a variable in '#ifdef FREEBSD' block".
>>>> But we _don't_ see this.
>>>> Which makes me wonder whether any non-Linux code we carry
>>>> in the tree is actually used by anyone. Do people really build
>>>> and use our strace on FreeBSD, SunOS, SVR4 etc?
>>> I remember no emails in this list about any non-Linux platform, so
>>> I suppose the support for non-Linux platforms in strace was accidentally
>>> broken ling time ago, and this sad event was missed because strace seems
>>> to have no non-Linux users nowadays.
>>> I have no such platform nearby to check whether e.g. strace-4.6 builds
>>> at all there, though.
>>> Does anybody have an idea how this hypothesis could be checked out?
>> FreeBSD 8.2 with strace-4.8 from latest git.
> The latest strace version released before I actually started release
> engineering is 4.5.18, it is three years old already. I've managed to
> run a build test on FreeBSD 6.3 (which was released more than six month
> before strace 4.5.18). The build failed, and the log shows that some of
> those errors are the same as in your build log.
> That is, strace doesn't build on FreeBSD for more than three years, and
> nobody has complained about it yet. Does it mean that the FreeBSD
> support in strace is dead?
The "ports" version more-or-less works.
# cd /usr/ports/devel/strace
# make install
This is 4.5.18, presumably with some patches.
I don't know. I'm not a FreeBSD user. I just happen to have a FreeBSD VM.
µWeb: Embedded Web Framework - http://uweb.workware.net.au/
WorkWare Systems Pty Ltd
W: www.workware.net.au P: +61 434 921 300
E: steveb at workware.net.au F: +61 7 3391 6002
More information about the Strace-devel