Assertion failed: encoder (stream_engine.cpp:266

Description

This happens when destroying sockets that are being used. I've not got a simple test case yet but it's fairly systematic: send messages to a socket (DEALER), then destroy the socket, and this assert hits every few times.

Environment

None

Attachments

1

Activity

Show:

PieterP November 6, 2012 at 12:00 PM

Martin, your pull request works, I've been running the test case for 3 hours without problem. Nice work!

Martin Hurton November 6, 2012 at 7:17 AM

Could you please obtain and post the stack trace too?

MinM November 6, 2012 at 6:43 AM

Martin, I tried the patch and it asserted at the added line.

So to speak, the "activate_read" command is sent to the peer pipe, before the handshaking.

I'm also going to look into it.

PieterP November 6, 2012 at 6:39 AM

OK, the assertion fails: Assertion failed: !handshaking (stream_engine.cpp:310)

PieterP November 6, 2012 at 6:09 AM

OK, trying the patch now, thanks!

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created October 30, 2012 at 11:44 AM
Updated November 6, 2012 at 12:00 PM
Resolved November 6, 2012 at 12:00 PM