Re: [zeromq-dev] Memory pool for zmq_msg_t

2019-07-19 Thread Francesco
Hi Yan, Unfortunately I have interrupted my attempts in this area after getting some strange results (possibly due to the fact that I tried in a complex application context... I should probably try hacking a simple zeromq example instead!). I'm also a bit surprised that nobody has tried and

Re: [zeromq-dev] Unaligned memory for specific message sizes

2019-07-19 Thread Luca Boccassi
There is no promise of data alignment in the API. However, at the moment you can get the behaviour you want by setting the ZMQ_ZERO_COPY_RCV context option to false. On Fri, 2019-07-19 at 17:48 +0200, Felix Frank wrote: > > Hello all, > > I have an issue with zeromq delivering message content

[zeromq-dev] Unaligned memory for specific message sizes

2019-07-19 Thread Felix Frank
Hello all, I have an issue with zeromq delivering message content which is not aligned to standard 32/64 bit memory addresses. I noticed it when I ran into SIGBUS errors on a raspberry pi using zmq. I am working with the latest zeromq from github (via cloning). I compile it using Cmake with the