Port futzing crashes libzmq

Description

I'm starting a port futzing project to get libzmq robust against randomized data.

Here are the first assertion failures:

In 2.1:
Assertion failed: (msg_->flags | ZMQ_MSG_MASK) == 0xff (zmq.cpp:223)

In 3.0:
Assertion failed: false (zmq_init.cpp:137)

Test tool ('blast') and server examples are at https://github.com/zeromq/issues/tree/master/209

Environment

None

Activity

Show:
Martin Sustrik
May 3, 2011, 11:59 AM

The first problem was reported several times. Any chance to reproduce it?

As for the second one, it's piece of code that's still under development.

PieterP
May 3, 2011, 12:01 PM

On Tue, May 3, 2011 at 1:59 PM, sustrik
<reply@reply.github.com>
wrote:

> The first problem was reported several times. Any chance to reproduce it?

It reproduces every time I run the blast tool. I'm not sure what the
actual random data is, but it doesn't seem to matter.

> As for the second one, it's piece of code that's still under development.

It seems to be masking the first problem, which doesn't hit on 3.0,
but is presumably still there anyhow.

-Pieter

Martin Sustrik
May 3, 2011, 2:53 PM

Ok, the problem doesn't exist on master. 2-1 is going to be patched.

Assignee

Unassigned

Reporter

PieterP

Labels

None

Priority

Configure