Tomas, can you paste your modified code somewhere? To a gist or pastebin. I'd rather not invent anything here. Thanks.
On Fri, Oct 31, 2014 at 6:10 AM, Tomas Krajca <[email protected]> wrote: > Hi Pieter, > > I managed to quickly modify the test_metadata.cpp test in libzmq master > to demonstrate the issue (at least I believe it demonstrates it but I am > not very experienced with C/C++). > > The code is here http://pastebin.com/9q131Ebx, it's basically > https://github.com/zeromq/libzmq/blob/master/tests/test_metadata.cpp > with DEALER-DEALER modified to SUB-XPUB and a few other minor > modifications. I get segmentation fault on line 103 when running the test. > > The original libzmq test without any modifications passes. > > Thanks, > Tomas > > On 10/31/2014 10:31 AM, Tomas Krajca wrote: >> Thanks Pieter, I'll try to put a C test case together some time next >> week (I haven't written any C in years :). This is not hugely urgent, >> unfortunately there are many other deadlines at work at the moment. >> >> Cheers, >> Tomas >> >> On 10/28/2014 10:00 PM, [email protected] wrote: >>> Send zeromq-dev mailing list submissions to >>> [email protected] >>> >>> To subscribe or unsubscribe via the World Wide Web, visit >>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev >>> or, via email, send a message with subject or body 'help' to >>> [email protected] >>> >>> You can reach the person managing the list at >>> [email protected] >>> >>> When replying, please edit your Subject line so it is more specific >>> than "Re: Contents of zeromq-dev digest..." >>> >>> >>> Today's Topics: >>> >>> 1. Re: Failed to unbind socket (which was bind with wild-card *) >>> with real endpoint (Patryk) >>> 2. zmq_msg_get('User-Id') on XPUB subscribe/unsubscribe messages >>> raises Invalid argument exception (pyzmq) (Tomas Krajca) >>> 3. Re: zmq_msg_get('User-Id') on XPUB subscribe/unsubscribe >>> messages raises Invalid argument exception (pyzmq) (Pieter >>> Hintjens) >>> >>> >>> ---------------------------------------------------------------------- >>> >>> Message: 1 >>> Date: Mon, 27 Oct 2014 14:31:22 +0100 >>> From: Patryk <[email protected]> >>> Subject: Re: [zeromq-dev] Failed to unbind socket (which was bind with >>> wild-card *) with real endpoint >>> To: ZeroMQ development list <[email protected]> >>> Message-ID: >>> <CAK73Anj4G6JxmU+q0hUsx2tT0jo+kMVY=edhhyuppmwc+yx...@mail.gmail.com> >>> Content-Type: text/plain; charset="utf-8" >>> >>> On Mon, Oct 27, 2014 at 9:43 AM, Pieter Hintjens <[email protected]> wrote: >>> >>>> It's a fair point. Would you like to look into the code and propose a >>>> patch? >>>> >>>> >>> I've made pull request #1229 on github. >>> If this changess will be accepted, please note, that it introduces >>> backward >>> incompatible changes with previous versions. Unbinding with wild-card >>> address >>> will be no more possible. So it should be pointed out clearly in relese >>> notes >>> and/or other documentation. >>> Nevertheless i think is a good step in 0MQ API clearance. >>> > _______________________________________________ > zeromq-dev mailing list > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
