Open chenrui333 opened 4 months ago
cc @MrAnno @cprieto
cc @MrAnno @cprieto
also facing issue since the update to nanomsg 1.2.1:
[ 16s] Assertion failed: nn_getl ((uint8_t*) p - sizeof (uint32_t)) == NN_CHUNK_TAG (/home/abuild/rpmbuild/BUILD/nanomsg-1.2.1/src/utils/chunk.c:231)
[ 16s] /var/tmp/rpm-tmp.Y9Ffco: line 34: 1400 Aborted ./tests/test_base32encode
[ 16s] error: Bad exit status from /var/tmp/rpm-tmp.Y9Ffco (%check)
👋 while trying to upgrade nanomsg to 1.2.1, I ran into some regression test failure with criterion 2.4.2 release build
error build log
``` ==> /usr/bin/clang test-criterion.c -I/opt/homebrew/Cellar/criterion/2.4.2/include -L/opt/homebrew/Cellar/criterion/2.4.2/lib -lcriterion -o test-criterion ==> ./test-criterion 0 libnanomsg.6.0.1.dylib 0x0000000102c72a10 nn_chunk_getptr + 84 1 libnanomsg.6.0.1.dylib 0x0000000102c72ae0 nn_chunk_size + 12 2 libnanomsg.6.0.1.dylib 0x0000000102c6cddc nn_recvmsg + 656 3 libnanomsg.6.0.1.dylib 0x0000000102c6cb40 nn_recv + 48 4 libcriterion.3.dylib 0x0000000102c03354 read_message + 52 5 libcriterion.3.dylib 0x0000000102bfd9ec criterion_run_all_tests + 400 6 libcriterion.3.dylib 0x0000000102bff32c main + 60 7 dyld 0x0000000186ef[50](https://github.com/Homebrew/homebrew-core/actions/runs/7773158858/job/21197480392#step:3:51)e0 start + 2360 Assertion failed: nn_getl ((uint8_t*) p - sizeof (uint32_t)) == NN_CHUNK_TAG (/tmp/nanomsg-20240204-3333-u8yemv/nanomsg-1.2.1/src/utils/chunk.c:231) ```full build log, https://github.com/Homebrew/homebrew-core/actions/runs/7773158858/job/21197480392 relates to Homebrew/homebrew-core#161770