Re: futexes: Still infinite loop in get_futex_key() in 2.6.31-rc4

Eric Dumazet
2009-07-27T13:42:28Z

Peter Zijlstra a écrit :
> On Mon, 2009-07-27 at 14:45 +0200, Jens Rosenboom wrote:
>
>> Good question, but as this happens on a production machine, I cannot
>> easily change the installation to check this.
>
> Uhm, but you do run .31-rc4 on it? :-)
>
>> Attaching an strace to the process gives just
>>
>> # strace -p 12886
>> Process 12886 attached - interrupt to quit
>>
>> and nothing further.
>
> Bugger.. how easy it is to reproduce?
> --

Strange thing is that "ps ax" doesnt use threads at all.

Stack trace seems to show mm_release() calls futex code,
but this part should not be called when a mono threaded program
exits (its clear_child_tid should be NULL at this point)