[zeromq-dev] segmentation fault with czmq

Shishir Pandey shishir.py at outlook.com
Tue Oct 8 03:06:55 CEST 2019


Sorry, about my last mail. I some how missed this reply. The zsock_resolve(client) worked.

Thanks.

--
sp


Message: 1
Date: Fri, 27 Sep 2019 11:29:39 +0100
From: Luca Boccassi <luca.boccassi at gmail.com>
To: ZeroMQ development list <zeromq-dev at lists.zeromq.org>
Subject: Re: [zeromq-dev] segmentation fault with czmq
Message-ID: <028b7cf4e16b66caeb78ead7157f483936dfcd43.camel at gmail.com>
Content-Type: text/plain; charset="utf-8"

On Thu, 2019-09-26 at 23:22 +0000, Shishir Pandey wrote:
> Hi
> 
> I was trying to run the lpclient.c (lazie pirate, chapter 4,
> https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fzguide.zeromq.org%2Fpage%3Aall%23Client-Side-Reliability-Lazy-Pirate-Pattern&data=02%7C01%7C%7C3f3c50f4e3c245ef7c9508d743fab0cd%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637052616294800955&sdata=aNOIbRZJihEl616aNoEaqnwFuh7GTpeGv5t9XRm7%2Fxk%3D&reserved=0
> )   program from the guide. The program uses the old czmq API and
> does not work. I was trying to run with the latest czmq library and 
> change the program to the following program :

You cannot pass a zsock directly to zmq_pollitem_t. Pass the return value of zsock_resolve(client) instead.

--
Kind regards,
Luca Boccassi




More information about the zeromq-dev mailing list