Bug 987158
Summary: | strange memory access (possibly red zone related) | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jan Pokorný [poki] <jpokorny> | ||||||||
Component: | openssl | Assignee: | Tomas Mraz <tmraz> | ||||||||
Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
Severity: | unspecified | Docs Contact: | |||||||||
Priority: | unspecified | ||||||||||
Version: | 20 | CC: | landijk-redhat, tmraz | ||||||||
Target Milestone: | --- | Keywords: | Reopened | ||||||||
Target Release: | --- | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2015-06-30 00:40:33 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
Jan Pokorný [poki]
2013-07-22 20:33:59 UTC
valgrind-3.8.1-9.fc18.x86_64 Yes, the accesses to the red zone (which are valid and not error) are causing this. Quoting from the upstream ticket: "You can disable AES-NI code by setting OPENSSL_ia32cap environment variable to ~0x200000000000000." The warnings are triggered by -tls1 probably because of choice of different algorithms for the encryption. AES has to be used for this to be triggered. The upstream changed this in unreleased development branches and given the workaround above that you can use during debugging I don't really see the need to backport the change. The only reason I've reported this because I thought Fedora aims to be developers-friendly. Should rethink it. That makes sense and I can put this to list of work on rawhide. Created attachment 777404 [details]
Workaround in a form of expect script
Tomáši, thanks for considering it for future.
Until then, I've put together a workaround (hopefully) minimizing
manual work needed to get the offending occurrences suppressed
in valgrind. Maybe it will be helpful for anyone else (but I am
not going to support it in any way).
Alternative is to extend default.supp distributed with valgrind but
this is more like a thin ice.
FWIW, from my tests and (limited) understanding of valgrind, neither
--core-redzone-size nor --redzone-size helped (tried various values
ranging from 0 to 256). So the attached script probably offers most
convenient currently achievable solution.
Created attachment 777411 [details]
Workaround expect script (with fixed typo)
Created attachment 777435 [details]
Workaround expect script (with debug output to stderr rather than stdout)
Does the --workaround-gcc296-bugs option in valgrind suppress the errors? Landijk, tried adding --workaround-gcc296-bugs=yes as a first option to valgrind in the mentioned reproducer and it had _no effect_, AFAICT. Definitely, aesni_cbc_encrypt stack allocation is still being mentioned. This bug appears to have been reported against 'rawhide' during the Fedora 20 development cycle. Changing version to '20'. More information and reason for this action is here: https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora20 This message is a reminder that Fedora 20 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 20. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '20'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 20 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. |