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

Fix potential garbage collector crashes on 64bit ARM systems #3965

Merged
merged 2 commits into from
Apr 20, 2020

Conversation

fingolfin
Copy link
Member

Thanks to Jerry James @jamesjer (Fedora) and Bill Allombert (Debian) for help tracking this down.

Fixes #3919

For the backport, only the second commit is needed.

Also make the tests for attributes potentially independent from config (for a
future where we don't want to include config.h from header files anymore)
Inlining this function can break the garbage collector. This was the case on
Linux aarch64.

Thanks to Jerry James (Fedora) and Bill Allombert (Debian) for help tracking
this down.

Fixes gap-system#3919
@fingolfin fingolfin added kind: bug Issues describing general bugs, and PRs fixing them kind: bug: crash Issues describing bugs that cause GAP to crash, and PRs fixing them (used for release notes) topic: kernel release notes: to be added PRs introducing changes that should be (but have not yet been) mentioned in the release notes backport-to-4.11 labels Apr 16, 2020
@fingolfin fingolfin mentioned this pull request Apr 16, 2020
@coveralls
Copy link

Coverage Status

Coverage remained the same at 84.33% when pulling 1ff2a16 on fingolfin:mh/fix-gasman-aarch64 into 920b064 on gap-system:master.

@ChrisJefferson
Copy link
Contributor

If we aren't immediately going to make a release, I'd like to wait a couple of days as I just got my hands on a raspberry pi, so I'll sanity check this (but it certainly seems right, and I'm very glad it was found and reported).

@fingolfin
Copy link
Member Author

@ChrisJefferson sure, no need for undue haste. I am also hoping that PR #3966 will exhibit this crash and then we can modify that PR by merging this PR in temporarily to see if it helps.

@fingolfin
Copy link
Member Author

For the backport, see #3966

@fingolfin
Copy link
Member Author

Backported to stable-4.11 via f0a8f49 from PR #3966 (the first time I backport a PR before it is merged ;-)

@ChrisJefferson
Copy link
Contributor

I've checked this, and agree it looks right.

@fingolfin fingolfin merged commit 8a13d23 into gap-system:master Apr 20, 2020
@fingolfin fingolfin deleted the mh/fix-gasman-aarch64 branch April 20, 2020 13:52
@ThomasBreuer ThomasBreuer added release notes: added PRs introducing changes that have since been mentioned in the release notes and removed release notes: to be added PRs introducing changes that should be (but have not yet been) mentioned in the release notes labels Feb 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-to-4.11-DONE kind: bug: crash Issues describing bugs that cause GAP to crash, and PRs fixing them (used for release notes) kind: bug Issues describing general bugs, and PRs fixing them release notes: added PRs introducing changes that have since been mentioned in the release notes topic: kernel
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GC problems in 4.11.0
4 participants