libjemalloc2 hangs when used with fakechroot in some cases

Bug #1826883 reported by Dan Streetman
4
This bug affects 1 person
Affects Status Importance Assigned to Milestone
jemalloc (Debian)
Fix Released
Unknown
jemalloc (Ubuntu)
Fix Released
Medium
Unassigned
Cosmic
Won't Fix
Medium
Unassigned

Bug Description

[impact]

under some circumstances, libjemalloc2 hangs when used with fakechroot

[test case]

as noted in debian bug 918742:

> apt install libfakechroot libjemalloc2
> LD_PRELOAD="libjemalloc.so.2 libfakechroot.so" /bin/true
> <hangs>

[regression potential]

this patch is already included in disco and later; regression potential should be low. Regressions would likely result in more/different hangs.

[other info]

this patch is already included in disco/eoan.

In bionic and earlier, jemalloc does not hook the _Unwind_Backtrace function. This hook appears to be what introduces the problem, and jemalloc only starts hooking the function in cosmic.

also see bug 1826929

Dan Streetman (ddstreet)
description: updated
Changed in jemalloc (Ubuntu):
status: New → Fix Released
Changed in jemalloc (Ubuntu Cosmic):
assignee: nobody → Dan Streetman (ddstreet)
importance: Undecided → Low
status: New → In Progress
importance: Low → Medium
Dan Streetman (ddstreet)
description: updated
Dan Streetman (ddstreet)
description: updated
Revision history for this message
Dan Streetman (ddstreet) wrote :

I marked debian-bug 918742 as being the upstream for this, but technically that bug was against fakechroot and the only change was to disable the hanging test; however jemalloc2 in debian did fix this, and the changelog entry for the fix only mentions that debian bug.

summary: - libjemalloc2 hangs on arm64 in some cases
+ libjemalloc2 hangs when used with fakechroot in some cases
description: updated
Dan Streetman (ddstreet)
description: updated
Changed in jemalloc (Debian):
status: Unknown → Fix Released
Mathew Hodson (mhodson)
Changed in jemalloc (Ubuntu):
importance: Undecided → Medium
Dan Streetman (ddstreet)
Changed in jemalloc (Ubuntu Cosmic):
status: In Progress → Won't Fix
assignee: Dan Streetman (ddstreet) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.