Assertion when PUB socket send message

Description

I am using ZMQ 3 from the git master which is now in version 3.0.2 on a
Ubuntu 10.10 box (32 bits)

I am using exactly the same test case than the one described in the Jira
issue libzmq-244 (https://zeromq.jira.com/browse/LIBZMQ-244)

I am now able to connect my subscriber process to my publisher(s) and it
receives messages.
But if I kill the subscriber process after it has received some messages
(simply using CTRL^C), the next time the publisher tries to send the
multipart message it generates one assertion:

Assertion failed: u.lmsg.flags & msg_t::shared (../../src/msg.cpp:270)
Aborted (core dumped)

In the libzmq-244 issue already mentioned above, you can find all the
necessary files to re-produce the case.

Environment

None

Attachments

1

Activity

Show:

taurelf September 2, 2011 at 11:51 AM

Tested from git master (3.0 branch) after the patch has been
applied
It now works fine

Issue resolved

PieterP September 2, 2011 at 11:13 AM

Patch attached.

PieterP September 2, 2011 at 11:12 AM

I've pushed the fix to 3-0 master at https://github.com/zeromq/zeromq3-0, could you test it?

Fixed

Details

Assignee

Reporter

Components

Affects versions

Priority

Created September 2, 2011 at 11:04 AM
Updated August 29, 2013 at 4:14 PM
Resolved September 2, 2011 at 11:51 AM