Summary: | net-libs/zeromq-4.3.0: test failures (tests/test_security_zap, tests/test_security_curve) fail with SIGBUS | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Rolf Eike Beer <eike> |
Component: | Current packages | Assignee: | Thomas Deutschmann (RETIRED) <whissi> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | TESTFAILURE |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 371525, 673436 | ||
Attachments: | build.log |
Description
Rolf Eike Beer
2018-12-20 09:01:04 UTC
Can you report upstream or can you provide more information where this is happening (backtrace) so I can report? Adding a bit of logging I was able to get this outputs: + ./tests/test_security_zap NULL mechanism test_zap_protocol_error wrong_version Unexpected event: 0x2000, value = -172977600/0xf5b09240 (expected: 0x2000, value = 536870915/0x20000003) test_security_zap: tests/testutil_security.hpp:474: int expect_monitor_event_multiple(void*, int, int, bool): Assertion `false' failed. ./config/test-driver: line 109: 47952 Aborted "$@" + ./tests/test_security_curve tests/test_security_curve.cpp:619:test_curve_security_with_valid_credentials:PASS Unexpected event: 0x800, value = 1879226424/0x7002b838 (expected: 0x2000, value = 285212673/0x11000001) test_security_curve: tests/testutil_security.hpp:474: int expect_monitor_event_multiple(void*, int, int, bool): Assertion `false' failed. ./config/test-driver: line 109: 48003 Aborted "$@" There are also a bunch of -Wcast-align warnings, especially when building the tests, that look like they should be replaced by memcpy() just to be sure. Oh, the test results below showing assertion failures were actually happening _with_ the warnings in testutil_security.hpp fixed by using memcpy(). The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b14dc8e6719814848931eb231992ba237bbad33 commit 1b14dc8e6719814848931eb231992ba237bbad33 Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2019-01-15 21:26:51 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2019-01-15 21:27:03 +0000 net-libs/zeromq: fix test_security_zap Closes: https://bugs.gentoo.org/673472 Package-Manager: Portage-2.3.56, Repoman-2.3.12 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> .../files/zeromq-4.3.1-fix-test_security_zap.patch | 25 ++++++++++++++++++++++ net-libs/zeromq/zeromq-4.3.1.ebuild | 2 +- 2 files changed, 26 insertions(+), 1 deletion(-) |