[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sort --parallel problem?

From: Dmitry Sivachenko
Subject: Re: sort --parallel problem?
Date: Wed, 24 Aug 2011 15:18:05 +0400
User-agent: Mutt/1.5.21 (2010-09-15)

On Wed, Aug 17, 2011 at 12:03:54PM +0400, Roman Rybalko wrote:
>    Sometimes happens for me, but with different tools, my own
>    particularly.
>    Seems FreeBSD's pthread_mutex_init does not clear the memory, and then
>    may be possible situation when random mutex data interfere with
>    internal lists.
>    memset(&mutex, 0, sizeof(mutex)) before pthread_mutex_init fixes the
>    problem for me.
>    Using FreeBSD-8.x

I tried to add memset(&mutex, 0, sizeof(mutex)) before each 
pthread_mutex_init in coreutils.

It did not fix the crash.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]