Calling free() in signal handler -> hang

Daniel Stone daniel at fooishbar.org
Tue Mar 27 19:22:40 PDT 2007


On Wed, Mar 28, 2007 at 12:14:24AM +0200, Bernardo Innocenti wrote:
> Unfortunately, this is driver dependent and uses the very same code path
> of a normal cleanup, which is full of dangerous calls such as free().
> This is a recepit for crashing or, even better, deadlocking on some
> glibc mutex.
> 
> The cleanup would be handled much more cleanly by the kernel, I guess.
> Will it be solved by Keith's plan to push video setting to the kernel?

No, it won't help in the slightest, because it's all input device stuff.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20070328/a4653cb8/attachment.pgp>


More information about the xorg mailing list