It appears to work for x64 now, took long enough to get there and execute.
 Most errors are unsurprisingly assertion guarded null pointer dereferences.

Interesting issues (which don't copy & paste well)

1:
[image: Inline images 1]

Which is a platform specific issue:

*Windows Server 2003 and Windows XP:  *In low memory situations, *
> InitializeCriticalSection* can raise a *STATUS_NO_MEMORY*exception. This
> exception was eliminated starting with Windows Vista.


Ref:
http://msdn.microsoft.com/en-us/library/windows/desktop/ms683472(v=vs.85).aspx

2:
[image: Inline images 2]

This is a valid defect, the size() parameter is checked but the result
of malloc
is not.

        zmq_assert (peer_identity_.size () <= 0xff);
        cmd.args.attach.peer_identity_size =
            (unsigned char) peer_identity_.size ();
        cmd.args.attach.peer_identity =
            (unsigned char*) malloc (peer_identity_.size ());
        alloc_assert (cmd.args.attach.peer_identity_size);
        memcpy (cmd.args.attach.peer_identity, peer_identity_.data (),
            peer_identity_.size ());

Duplicate: line 264.

3:
[image: Inline images 3]

This is in zmq_poll, I'm guessing the fd_set's are big?

-- 
Steve-o

<<image.png>>

<<image.png>>

<<image.png>>

_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to