[zeromq-dev] Subtle zmq_poll bug #1

Martin Sustrik sustrik at 250bpm.com
Tue Mar 16 11:14:15 CET 2010

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...


More information about the zeromq-dev mailing list