IPC connecter assertion fail on non-existent resource

Description

The attached program fails with
Assertion failed: s == retired_fd (ipc_connecter.cpp:174)
when /tmp/test_sock.ipc doesn't exist
(As of e7d748e812a7259bd4030517fde79be202d2a16d commit)

Environment

Linux 3.0

Attachments

1

Activity

Show:

PieterP December 19, 2011 at 2:27 AM

Cool, thanks. I'd tried but it's hard to prove a negative.

Martin Lucina December 19, 2011 at 1:42 AM

No, this does not affect 2-1.

PieterP December 19, 2011 at 1:37 AM

Does this also affect 2-1 stable? I don't get the error, even with the sleep. BTW we have a repository for test cases, 'issues', it's useful to keep test cases there especially if they need fixing.

Martin Sustrik December 15, 2011 at 1:50 PM

Fixed.

Martin Lucina December 13, 2011 at 11:10 PM

Ok, I've found the problem and fixed an identical problem in the tcp connecter while I'm at it.

Patch sent to zeromq-dev for application to master, or see https://github.com/mato/libzmq/commit/82d935309eede60777b59af9df7a50576916d01f

Fixed

Details

Assignee

Reporter

Components

Affects versions

Priority

Created December 9, 2011 at 3:45 PM
Updated December 19, 2011 at 2:27 AM
Resolved December 15, 2011 at 1:50 PM