Skip to content

cmsg test program dumps core on s390x-unknown-linux-gnu #1240

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

Closed
asomers opened this issue Feb 4, 2019 · 0 comments · Fixed by #1362
Closed

cmsg test program dumps core on s390x-unknown-linux-gnu #1240

asomers opened this issue Feb 4, 2019 · 0 comments · Fixed by #1362

Comments

@asomers
Copy link
Contributor

asomers commented Feb 4, 2019

PR #1235 adds a new test program to make sure that the cmsg(3) family of macros are correctly implemented. But on s390x (in qemu, of course), it fails with the cryptic error message timeout: the monitored command dumped core. It seems as though the kernel hasn't even finished booting. I only see this error in Travis. On my desktop, cmsg works fine for s390x.

https://travis-ci.com/rust-lang/libc/jobs/175199672

asomers added a commit to asomers/libc that referenced this issue Feb 4, 2019
Skip the CMSG_NXTHDR test on sparc64 linux because it hits a Bus Error.

Skip the entire cmsg test program on s390x because it dumps core
seemingly before the kernel finishes booting.

Issue rust-lang#1239
Issue rust-lang#1240
asomers added a commit to asomers/libc that referenced this issue Feb 5, 2019
Since these are defined in C as macros, they must be reimplemented in
libc as Rust functions.  They're hard to get exactly right, and they
vary from platform to platform.  The test builds custom C code that uses
the real macros, and compares its output to the Rust versions' output
for various inputs.

Skip the CMSG_NXTHDR test on sparc64 linux because it hits a Bus Error.

Issue rust-lang#1239

Skip the entire cmsg test program on s390x because it dumps core
seemingly before the kernel finishes booting.

Issue rust-lang#1240
gnzlbg added a commit to gnzlbg/libc that referenced this issue May 24, 2019
gnzlbg added a commit to gnzlbg/libc that referenced this issue May 24, 2019
bors added a commit that referenced this issue May 24, 2019
Run CMSG tests on s390x

Closes #1240.
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

Successfully merging a pull request may close this issue.

1 participant