Open
Description
PR #1235 adds a new test program to ensure that the cmsg(3) family of functions are correctly implemented on all targets. However, when run in QEMU CMSG_NXTHDR
hits a Bus Error. This could be an error in libc's CMSG_NXTHDR
implementation for that platform, or it could be an error in Linux's definition of the macro (doesn't work on unaligned buffers or something like that). Less likely would be an error in QEMU. Lacking access to sparc hardware, I didn't investigate further.
Metadata
Metadata
Assignees
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
Skip the offending tests.
Add an integration test for the cmsg(3) functions.
Run CMSG tests on s390x and sparc64
gnzlbg commentedon May 24, 2019
This reproduces on master, that is, updating the Debian version did not fix this (it did fix the s390x issue).
Chances are, there is a bug in our implementation.
gnzlbg commentedon May 24, 2019
I'm also seeing sometimes a:
seg fault on the arm build jobs in the cmsg tests. Restarting the build job fixes the issue, but it might mean that something fishy is going on there.
cmsghdr
structstest_cmsg_nxthdr
#3183