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

non-deterministic segfaults in test suite #22

Closed
vagrantc opened this issue Jul 20, 2020 · 6 comments
Closed

non-deterministic segfaults in test suite #22

vagrantc opened this issue Jul 20, 2020 · 6 comments
Assignees

Comments

@vagrantc
Copy link
Contributor

I'm not sure what triggers it, but guile-ssh sometimes-to-often gets segfaults during the test suite when building on tests.reproducible-builds.org using Debian:

https://tests.reproducible-builds.org/debian/rbuild/experimental/amd64/guile-ssh_0.12.0-3.rbuild.log.gz

It seems more likely to fail on 64-bit architectures than 32-bit architectures:

https://tests.reproducible-builds.org/debian/history/guile-ssh.html

Attached is a tarball of the tests/*.log from a build where something in the test suite segfaulted.

guile-ssh-0.12.0-failed-tests.log.tar.gz

Thanks for maintaining guile-ssh!

@artyom-poptsov artyom-poptsov self-assigned this Jul 21, 2020
@vagrantc
Copy link
Contributor Author

I tried with 0.13.0, which seems much harder to trigger, but still saw segfaults.

@artyom-poptsov
Copy link
Owner

Thanks for testing! Could you please attach logs gathered during segfaults in 0.13.0.
Also, what distribution do you use?

@vagrantc
Copy link
Contributor Author

Using Debian sid/unstable.

It took eight consecutive rebuilds before it triggered the failure:

guile-ssh-0.13.0-failed-tests.log.tar.gz

The official Debian build infrastructure is passing on most architectures so far, as well as tests.reproducible-builds.org:

https://buildd.debian.org/status/package.php?p=guile-ssh&suite=experimental
https://tests.reproducible-builds.org/debian/history/guile-ssh.html

So much harder to trigger with 0.13.0.

@artyom-poptsov
Copy link
Owner

Hello,

please check for segfaults using wip-fix-segfaults-on-gc branch.

Artyom.

@vagrantc
Copy link
Contributor Author

Seems to get rid of the segfaults. Out of 140+ tests, I only had one test failure and I don't see any sign of a segfault being a cause. Unfortunately failed to capture the logs from that build.

@artyom-poptsov
Copy link
Owner

artyom-poptsov commented Aug 14, 2020

Okay, glad to hear that the segfaults are gone. It seems that I managed to pinpoint the problem behind the segfaults.

I'll merge the changes to the master then.

Thanks for testing!

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