The assertion is raised in the selftest of zfile. The problem is in zchunk, used by zfile_digest() which uses zdigest_update().
On a 32-bit platform, sizeof(zchunk_t) is 12-bytes. Based on the memory allocation method in zchunk_new(), the data buffer would then only be 32-bit aligned. I suppose the appropriate fix depends on whether zchunk should be making any guarantees about the alignment of its internal buffer. On Mon, Dec 9, 2013 at 4:10 AM, Pieter Hintjens <[email protected]> wrote: > On Sun, Dec 8, 2013 at 5:59 PM, Ingo Koinzer <[email protected]> wrote: > > > I cloned the czmq repository like described for the FileMQ > > implementation (https://github.com/zeromq/filemq/blob/master/README.md). > > By doing "./configure && make check" I hit the error "lt-czmq_selftest: > > zdigest.c:92: zdigest_update: Assertion `((long) buffer & 7L) == 0' > > failed." when running the selftests. Following the command line output. > > I'm new to ZeroMQ so please tell me if I did something wrong. > > Interesting. What OS/architecture are you on? Try removing that > assertion, just comment the line out, and see what happens when you > run "make check"? > > -Pieter > _______________________________________________ > zeromq-dev mailing list > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev >
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
