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

Bug 733590

Summary: sys-libs/libfaketime-0.9.10: issues with jemalloc
Product: Gentoo Linux Reporter: Pacho Ramos <pacho>
Component: StabilizationAssignee: Sam James <sam>
Status: RESOLVED CANTFIX    
Severity: normal CC: jstein
Priority: Normal Flags: nattka: sanity-check+
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/wolfcw/libfaketime/issues/130
https://github.com/wolfcw/libfaketime/issues/127
https://bugs.gentoo.org/show_bug.cgi?id=899532
Whiteboard:
Package list:
sys-libs/libfaketime-0.9.10 *
Runtime testing required: ---

Description Pacho Ramos gentoo-dev 2020-07-22 19:20:54 UTC
works ok for me for a long time

Thanks
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-08-17 03:04:43 UTC
ping
Comment 2 Thomas Deutschmann (RETIRED) gentoo-dev 2020-08-17 12:57:56 UTC
It's still causing problems with jemalloc-enabled applications, https://github.com/wolfcw/libfaketime/issues/130
Comment 3 Pacho Ramos gentoo-dev 2020-08-17 16:53:01 UTC
If I read the bug report properly... that bug is not fixable? :/ (upstream even closed it)
Comment 4 NATTkA bot gentoo-dev 2021-04-24 16:28:30 UTC Comment hidden (obsolete)
Comment 5 Jonas Stein gentoo-dev 2021-11-20 22:32:51 UTC
libfaketime-0.9.6 has the bug
https://github.com/wolfcw/libfaketime/issues/127
which is fixed in 0.9.9
Comment 6 NATTkA bot gentoo-dev 2021-11-20 22:36:58 UTC Comment hidden (obsolete)
Comment 7 Thomas Deutschmann (RETIRED) gentoo-dev 2021-11-21 03:08:03 UTC
Issue 130 is still a problem.

But I will backport the fix https://github.com/wolfcw/libfaketime/commit/bb635e4367adcac2c1517a698799a60a2bf86e83 for the problem we experienced today in our Gentoo workshop to our stable version. Thank you for the link!
Comment 8 Larry the Git Cow gentoo-dev 2021-11-21 03:18:24 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5eda431bfc0b8afd8f15fb3127cd32caf93ff120

commit 5eda431bfc0b8afd8f15fb3127cd32caf93ff120
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2021-11-21 03:17:49 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2021-11-21 03:18:16 +0000

    sys-libs/libfaketime: treat unknown clock_ids like CLOCK_REALTIME
    
    Backport of commit bb635e4367adcac2c1517a698799a60a2bf86e83 upstream.
    
    Bug: https://bugs.gentoo.org/733590
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 ...eat-unknown-clock_ids-like-CLOCK_REALTIME.patch | 35 ++++++++++++++++++++++
 ...0.9.6-r3.ebuild => libfaketime-0.9.6-r4.ebuild} |  2 ++
 2 files changed, 37 insertions(+)
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-08-25 03:58:22 UTC
The "intercepting malloc" problem is a complex one and it's not going to be specific to jemalloc.

I don't think it's really worth holding up stabilisation of this forever on. We can consider keeping old versions around though, I guess.