Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

criterion 2.4.2 regression test failure against nanomsg 1.2.1 #518

Open
Tracked by #535
chenrui333 opened this issue Feb 13, 2024 · 3 comments
Open
Tracked by #535

criterion 2.4.2 regression test failure against nanomsg 1.2.1 #518

chenrui333 opened this issue Feb 13, 2024 · 3 comments

Comments

@chenrui333
Copy link

👋 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

@chenrui333
Copy link
Author

cc @MrAnno @cprieto

1 similar comment
@chenrui333
Copy link
Author

cc @MrAnno @cprieto

@paolostivanin
Copy link

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)

@MrAnno MrAnno mentioned this issue May 2, 2024
21 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants