Skip Menu |

This queue is for tickets about the ZeroMQ CPAN distribution.

Report information
The Basics
Id: 61172
Status: resolved
Priority: 0/
Queue: ZeroMQ

People
Owner: Nobody in particular
Requestors: bennymack [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: t/100_basic.t fails when libzmq is compiled --with-pgm
Date: Wed, 8 Sep 2010 10:35:58 -0400
To: bug-ZeroMQ [...] rt.cpan.org
From: "Ben. B." <bennymack [...] gmail.com>
If libzmq is compiled --with-pgm then the test file t/100_basic.t will fail when the second ZeroMQ::Context is constructed due to pgm_supported() returning true in zmq_init() and failing the zmq_assert(). Apparently if PGM support is enabled then there should only ever be one context? But otherwise it's valid to have multiple contexts? Let me know if this is a bug or if I just Should Not Do That. Thanks!
Thanks for the report and analysis. I haven't checked up if this is the expected behavior on libzmq's part, but from the description you gave me, I'm inclined to say that this is a libzmq feature. If I can confirm it, I'd have to fix the tests. Show quoted text
> If libzmq is compiled --with-pgm then the test file t/100_basic.t will fail > when the second ZeroMQ::Context is constructed due to pgm_supported() > returning true in zmq_init() and failing the zmq_assert(). Apparently if PGM > support is enabled then there should only ever be one context? But otherwise > it's valid to have multiple contexts? Let me know if this is a bug or if I > just Should Not Do That. Thanks!
Upon talking to the zmq folks, this seemed like a libzmq problem, which should have been fixed by updating the pgm module shipped with zmq. On 2010-9月-08 水 20:27:12, DMAKI wrote: Show quoted text
> Thanks for the report and analysis. > I haven't checked up if this is the expected behavior on libzmq's > part, but > from the description you gave me, I'm inclined to say that this is a > libzmq feature. > > If I can confirm it, I'd have to fix the tests. >
> > If libzmq is compiled --with-pgm then the test file t/100_basic.t
> will fail
> > when the second ZeroMQ::Context is constructed due to
> pgm_supported()
> > returning true in zmq_init() and failing the zmq_assert().
> Apparently if PGM
> > support is enabled then there should only ever be one context? But
> otherwise
> > it's valid to have multiple contexts? Let me know if this is a bug
> or if I
> > just Should Not Do That. Thanks!
> >