The issue was discovered by clang: zmq.hpp:504:34: runtime error: load of misaligned address 0x2b38beb224b2 for type 'int32_t' (aka 'int'), which requires 4 byte alignment I modified the loads of both event and value to be consistent.
This is C++ binding for 0MQ The contribution policy is at: http://rfc.zeromq.org/spec:22