Hi Faidon,

Quoting Faidon Liambotis (2019-01-10 15:29:59)
> Unfortunately, the initialization code runs regardless of whether prof was
> enabled or not, and from the code it seems like this is intentional...
> 
> See here:
> https://github.com/jemalloc/jemalloc/blob/5.1.0/src/prof.c#L2392
> ...where the relevant call to _Unwind_Backtrace is outside the "if (opt_prof)
> { }" block. (The code is similar in the dev branch)

then I guess the proper fix would be to adapt dl_iterate_phdr to act
differently in case libjemalloc.so is loaded?

I fear I lack the knowledge of how to do that and unless Piotr finds some time,
I guess the best we can do for Buster, is to temporarily disable the test and
declare that jemalloc and fakechroot are incompatible in Buster. :/

Thanks!

cheers, josch

Attachment: signature.asc
Description: signature

Reply via email to