Second subscription sometimes breaks the first subscription

Description

When a second subscriber subscribes to a topic , the first subscriber is no longer informed of the message. The problem only occurs for certain combinations of topics.

Test attached, it fails with the latest versions:
https://github.com/zeromq/zeromq3-0.git
https://github.com/zeromq/libzmq.git

Environment

Ubuntu 10.04 (64bit)
GCC 4.6.1

Attachments

2
  • 29 Sep 2011, 09:38 AM
  • 28 Sep 2011, 12:25 PM

Activity

Show:

PieterP October 3, 2011 at 2:11 PM

We already backported this https://github.com/zeromq/libzmq/commit/7a10bbe77a31158da0573031f8d6a50812262858 to 3-0 and it's released today in 3.0.2.

Martin Sustrik October 3, 2011 at 1:57 PM

Yes, please.

BenP September 29, 2011 at 10:50 AM

Haha, I just came up with the same fix... by the time I'd figured out how to use git and github to send you a pull request, you'd done it. Anyway, confirmed that it works for my test cases.

Can it be merged to 3.0?

Martin Sustrik September 29, 2011 at 9:38 AM

This patch should fix the issue.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created September 28, 2011 at 12:25 PM
Updated October 3, 2011 at 2:11 PM
Resolved September 29, 2011 at 10:50 AM