[zeromq-dev] zguide-master/examples/C++/identity hangs
Pieter Hintjens
ph at imatix.com
Tue Feb 26 11:04:50 CET 2013
Hi Jeff,
I think that should be an int, not int64_t.
I've pushed a new version of the headers file, could you try it?
-Pieter
On Tue, Feb 26, 2013 at 12:52 AM, Jeff Franks <jfranks at egcircuits.com> wrote:
> The identity problem is traced to file zhelpers.h.
>
>
>
> The s_dump method does not initialize the variable on line 127 to zero . . .
>
>
>
> int64_t more; // Multipart detection
>
>
>
> Setting this to zero fixed the behavior so that the C++ and C examples for
> identity work the same way.
>
>
>
> Jeff
>
>
>
> From: zeromq-dev-bounces at lists.zeromq.org
> [mailto:zeromq-dev-bounces at lists.zeromq.org] On Behalf Of Ian Barber
> Sent: Wednesday, February 13, 2013 2:09 PM
> To: ZeroMQ development list
> Subject: Re: [zeromq-dev] zguide-master/examples/C++/identity hangs
>
>
>
>
>
> On Tue, Feb 12, 2013 at 3:00 PM, Jeff Franks <jfranks at egcircuits.com> wrote:
>
> The identity example in zguide works differently for C and C++ bindings.
>
> This does not seem like the expected behavior. Is there a fix?
>
>
>
> Looks like a bug somewhere in the examples. It's an odd one though, code
> looks all right to me. Can you gdb it and see whether it's hanging?
>
>
>
> Ian
>
>
>
> ________________________________
>
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 2012.0.2238 / Virus Database: 2639/5600 - Release Date: 02/12/13
>
> ________________________________
>
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 2012.0.2238 / Virus Database: 2641/5632 - Release Date: 02/25/13
>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
On Tue, Feb 26, 2013 at 12:52 AM, Jeff Franks <jfranks at egcircuits.com> wrote:
> The identity problem is traced to file zhelpers.h.
>
>
>
> The s_dump method does not initialize the variable on line 127 to zero . . .
>
>
>
> int64_t more; // Multipart detection
>
>
>
> Setting this to zero fixed the behavior so that the C++ and C examples for
> identity work the same way.
>
>
>
> Jeff
>
>
>
> From: zeromq-dev-bounces at lists.zeromq.org
> [mailto:zeromq-dev-bounces at lists.zeromq.org] On Behalf Of Ian Barber
> Sent: Wednesday, February 13, 2013 2:09 PM
> To: ZeroMQ development list
> Subject: Re: [zeromq-dev] zguide-master/examples/C++/identity hangs
>
>
>
>
>
> On Tue, Feb 12, 2013 at 3:00 PM, Jeff Franks <jfranks at egcircuits.com> wrote:
>
> The identity example in zguide works differently for C and C++ bindings.
>
> This does not seem like the expected behavior. Is there a fix?
>
>
>
> Looks like a bug somewhere in the examples. It's an odd one though, code
> looks all right to me. Can you gdb it and see whether it's hanging?
>
>
>
> Ian
>
>
>
> ________________________________
>
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 2012.0.2238 / Virus Database: 2639/5600 - Release Date: 02/12/13
>
> ________________________________
>
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 2012.0.2238 / Virus Database: 2641/5632 - Release Date: 02/25/13
>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
More information about the zeromq-dev
mailing list