https://bugs.kde.org/show_bug.cgi?id=470244

--- Comment #5 from Tom Hughes <t...@compton.nu> ---
This is the call:

SYSCALL[157805,1](25) sys_mremap ( 0xac00000000, 8192, 16384, 0x0 ) -->
[pre-fail] Failure(0xc)

so it's being rejected by valgrind with ENOMEM without being passed to the
kernel.

Given the flags we are reaching grow_in_place_or_fail
(https://sourceware.org/git/?p=valgrind.git;a=blob;f=coregrind/m_syswrap/syswrap-generic.c;h=efdae60e10320cbcccd86415fabf6ef8fd7abf57;hb=HEAD#l479)
and that is rejecting it most likely because VG_(am_get_advisory_client_simple)
says that extra memory is not available for some reason.

To find out why would probably need a custom build with the "if (0)" near the
top of VG_(am_get_advisory) enabled so that it dumps the memory map which would
show if something else was already allocated there.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to