Bug 1540329
| Summary: | out-of-stack.rs testcase is failing in rust-toolset-7-rust-1.23.0-2.el7 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | DevTools | Reporter: | Edjunior Barbosa Machado <emachado> | ||||
| Component: | rust-toolset-7 | Assignee: | Josh Stone <jistone> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Edjunior Barbosa Machado <emachado> | ||||
| Severity: | unspecified | Docs Contact: | Vladimír Slávik <vslavik> | ||||
| Priority: | unspecified | ||||||
| Version: | rust-toolset-7 | CC: | jcajka, jistone, kanderso, law, mcermak, sbharadw, tstellar, vslavik | ||||
| Target Milestone: | rc | ||||||
| Target Release: | 2018.2 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | rust-toolset-7-rust-1.24.0-1.el7 | Doc Type: | Bug Fix | ||||
| Doc Text: |
Cause: Updates to glibc changed the location of thread stack guards.
Consequence: Rust threads stopped recognizing faults from stack overflow, causing an abort with a raw SIGSEGV.
Fix: Rust's runtime now handles stack guards from glibc in either the old or new locations.
Result: Stack overflow in Rust threads is again recognized, printing a message on stderr and aborting with SIGABRT.
|
Story Points: | --- | ||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2018-05-03 03:57:59 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Edjunior Barbosa Machado
2018-01-30 19:27:35 UTC
(In reply to Edjunior Barbosa Machado from comment #0) > Running glibc-2.17-221.el7 And this is significant because of the change for bug 1527904. I think rust-toolset-7-rust-1.22.1 would have failed that test with this glibc too. I'm already working on this problem upstream on rust#47863. (In reply to Josh Stone from comment #1) > (In reply to Edjunior Barbosa Machado from comment #0) > > Running glibc-2.17-221.el7 > > And this is significant because of the change for bug 1527904. I think > rust-toolset-7-rust-1.22.1 would have failed that test with this glibc too. Actually I was misled by brew build logs :) out-of-stack.rs from rust-toolset-7-rust-1.22.1-1 also failed with the same glibc-2.17-221 (RHEL-7.5-20180125.0 ppc64). Thanks for pointing this out, Josh. The issue is fixed upstream, headed for Rust 1.25 which we'll have for rc/GA. I'll also backport it to 1.24 so we can verify it in the devtools beta. Verified that out-of-stack.rs testcase no longer fails on rust-toolset-7-rust-1.24.0-1.el7: https://beaker.engineering.redhat.com/matrix/?job_ids=2333892%0D%0A2333894 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2018:1280 |