Comment 0 for bug 1256886

Revision history for this message
Michal Hruby (mhr3) wrote : Crash because SIGBUS

When using zmqpp on armhf, clients using zmqpp crash with SIGBUS because of memory alignment issue in the zmq_msg_wrapper - sizeof(zmq_msg_wrapper) is 33 bytes and the zmq_msg_t itself ends up being offset by 1 byte from a 4-byte aligned memory addresses, this then causes SIGBUS on CPUs that don't do unaligned access (cause the address is later passed to zmq_msg_move(dest, src), which tries to copy the data using "dest=src;").