On Thu, 13 Oct 2011 14:49:42 +0100, Simon Farnsworth 
<[email protected]> wrote:

> A question - what is it about preforking a backtrace handler that you think
> will put people off using it?

It's an ugly hack to work around a bug in glibc. A non-prefork version
wouldn't consume any resources until the server actually crashes.

If we knew that systems which did not have syscall(2) also had a working
fork(2), then we could simply use syscall(SYS_fork) where available and
expect that to work around any potential glibc bugs.

--
[email protected]

Attachment: pgpNUn6M2NTMw.pgp
Description: PGP signature

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to