[zeromq-dev] 回复: Assertion failure in mailbox.cpp
Jon Gjengset
jon at thesquareplanet.com
Tue May 27 11:12:16 CEST 2014
The patch is compressed, and listed as a scrubbed attachment at the
bottom of that message.
The URL is: http://lists.zeromq.org/pipermail/zeromq-dev/attachments/20140321/56eb6892/attachment.bin
and the downloaded file should be renamed to zmqpatch.tar.gz. You can
then extract the files within using `tar xzvf`, or just use
curl http://lists.zeromq.org/pipermail/zeromq-dev/attachments/20140321/56eb6892/attachment.bin | tar xz
which will unpack the files into your current directory.
As I mentioned in my previous email, the patch seems to be against 3.2,
so I don't think it will merge cleanly against 4.x. It is also not a
unified diff, so it's harder to see exactly what it changes. From what I
can tell, it does introduce a lock though, which might not be the right
way to solve this..
只和你 wrote:
> But where can i find the patch?
> Where can i find the zmq_server.cpp referred here
> http://lists.zeromq.org/pipermail/zeromq-dev/2014-March/025705.html??
> I am using zeromq-4.0.4.
>
> ------------------ 原始邮件 ------------------
> 发件人: "Jon Gjengset";<jon at thesquareplanet.com>;
> 发送时间: 2014年5月26日(星期一) 晚上7:20
> 收件人: "zeromq-dev"<zeromq-dev at lists.zeromq.org>;
>
> 主题: Re: [zeromq-dev] Assertion failure in mailbox.cpp
>
>
>
> I take it you mean this one?
> http://lists.zeromq.org/pipermail/zeromq-dev/2014-March/025705.html
>
> Looks like you were having the same issue as I am, especially since you
> say you occasionally get segfault and "Resource not available" too..
> I'll try the patch when I get back to work tomorrow.
>
> I notice that the patch is for 3.2. Do you have it working on 4.x?
> Also, could you please regenerate the patch using "diff -u" or "git
> diff" so that it is clearer exactly what has changed?
>
> Cheers,
> Jon
>
> Mařík Miloslav wrote:
> > This might be the equivalent of the "Assertion failed: ok
> > (mailbox.cpp:84)". I have sent patch for it and the patched ZeroMQ
> > works well for us. Please, try patched version prior further
> > investigation.
> >
> > Regards,
> >
> > Slavek
> >
> >
> > _______________________________________________
> > zeromq-dev mailing list
> > zeromq-dev at lists.zeromq.org
> > http://lists.zeromq.org/mailman/listinfo/zeromq-dev
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
> _______________________________________________
> 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