Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 914222

Summary: app-crypt/tpm2-tss-4.0.1 fails tests (PYTHON-3.12-SYSTEM): because of a heap-use-after-free
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Christopher Byrne <salah.coronya>
Status: RESOLVED OBSOLETE    
Severity: normal CC: proxy-maint
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log.xz
1-test-suite.log

Description Agostino Sarubbo gentoo-dev 2023-09-15 08:27:05 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-crypt/tpm2-tss-4.0.1 fails tests (PYTHON-3.12-SYSTEM).
Discovered on: amd64 (internal ref: python-3.12_tinderbox)

NOTE:
(PYTHON-3.12-SYSTEM) in the summary means that the bug was found on a machine that runs python-3.12 but this bug MAY or MAY NOT BE related to the new python version
Comment 1 Agostino Sarubbo gentoo-dev 2023-09-15 08:27:08 UTC
Created attachment 870598 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2023-09-15 08:27:09 UTC
Created attachment 870599 [details]
1-test-suite.log

1-test-suite.log
Comment 3 Agostino Sarubbo gentoo-dev 2023-09-15 08:27:10 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


/var/tmp/portage/app-crypt/tpm2-tss-4.0.1/work/tpm2-tss-4.0.1/test-driver: line 112: 61486 Segmentation fault      "$@" >> "$log_file" 2>&1
FAIL: test/integration/fapi-key-create-null-key-sign.fint
FAIL: test/integration/fapi-second-provisioning.fint
FAIL: test/unit/dlopen-fail
FAIL: test/unit/tctildr-dl
Comment 4 Christopher Byrne 2023-09-16 21:50:07 UTC
This isn't due to Python 3.12, this is due to -fsantize=address in CFLAGS and LDFLAGS. What it intended to have those flags present?
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-09-16 22:02:31 UTC
ago has started filing these bugs of his own volition. He should clearly mark the bugs as being such (or just not file them...)
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-03-24 02:42:48 UTC
Mass-closing "PYTHON-3.12-SYSTEM" bugs.  Most of them are either obsolete (i.e. packages have 3.12 support already), or report issues completely tangential to Python 3.12 support.  Manually checking them is a waste of time.