[zeromq-dev] Subtle zmq_poll bug #1

Brian Granger ellisonbg at gmail.com
Tue Mar 16 19:35:40 CET 2010


On Tue, Mar 16, 2010 at 3:14 AM, Martin Sustrik <sustrik at 250bpm.com> wrote:
> Brian Granger wrote:
>
>>>> 2. The additional "Bad file descriptor" shows up only some of the time.
>>>
>>> This one - or a very similar one - was already reported on QNX by Armin
>>> Steinhoff. Isn't there accidentally a tool similar to strace on OSX? If
>>> so,
>>> can you strace the problem? (Unfortunately, no OSX here.)
>>
>> I ran dtrace/dtruss on it, but I am not sure it is useful.  Because
>> the bad file descriptor only occurs ~1/10 of the time, it is difficult
>> to know that I have a dtrace output that shows the actual error.  I
>> can send you the output, but I am not sure how you would use it.
>> Thoughts?
>
> What I wanted to see was whether the offending file descriptor is completely
> bogus or whether it was closed beforehand by 0MQ...

I am not sure how to tell that from dtrace.  But I can send the output
if you want.

Cheers,

Brian

-- 
Brian E. Granger, Ph.D.
Assistant Professor of Physics
Cal Poly State University, San Luis Obispo
bgranger at calpoly.edu
ellisonbg at gmail.com



More information about the zeromq-dev mailing list