[zeromq-dev] Helgrind

Lindley French lindleyf at gmail.com
Wed Jan 15 16:03:40 CET 2014


It's been around for at least a few years, but now that you mention it I do
remember reading that it gets confused if you use anything other than
pthreads for synchronization.


On Wed, Jan 15, 2014 at 9:37 AM, Steven McCoy <steven.mccoy at miru.hk> wrote:

> I think Helgrind is new and as a caveat is dependent upon pthread mutex
> for locks which may not always be correct for situations with custom
> implementations.
>
> 0mq should debug without errors, OpenPGM in 0mq may surprisingly be ok
> despite the default configuration to not use the pthread mutex.
>
> I'm certainly going to have a look, thanks.
>
> --
> Steve-o
>
>
> On 15 January 2014 09:32, Lindley French <lindleyf at gmail.com> wrote:
>
>> Not a fork exactly, it's a tool within valgrind to detect race
>> conditions. The default tool if you don't specify one is memcheck.
>>
>>
>> On Wed, Jan 15, 2014 at 9:24 AM, Charles Remes <lists at chuckremes.com>wrote:
>>
>>> Search your local repository for ZMQ_MAKE_VALGRIND_HAPPY. I assume
>>> helgrind is a fork of valgrind so it likely has similar issues.
>>>
>>> On Jan 15, 2014, at 8:04 AM, Lindley French <lindleyf at gmail.com> wrote:
>>>
>>> > I just ran my zmq program through helgrind to track down an unrelated
>>> error, but I noticed that helgrind *really* has some complaints about
>>> libzmq. Now, I know helgrind can give plenty of false positives, so maybe
>>> there's nothing to worry about. I was just wondering, has anyone looked at
>>> the issues reported by helgrind? Has anyone created a zmq suppression file?
>>> > _______________________________________________
>>> > zeromq-dev mailing list
>>> > zeromq-dev at lists.zeromq.org
>>> > http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>>>
>>> _______________________________________________
>>> zeromq-dev mailing list
>>> zeromq-dev at lists.zeromq.org
>>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>>>
>>
>>
>> _______________________________________________
>> zeromq-dev mailing list
>> zeromq-dev at lists.zeromq.org
>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>>
>>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20140115/8fa0943f/attachment.htm>


More information about the zeromq-dev mailing list