You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems like the profiler replaces actual mmap syscalls with multiple for the purpose of assigning a name to the VMA? I'm not sure why this is done but it seems like it doesn't play well with the combinations of flags we're passing in.
Here's the actual mmap syscalls invoked within that function just before it aborts, as captured by strace (i.e the mmap syscalls issued with the profiler enabled):
Loading the profiler with LD_PRELOAD causes one of our tests to abort.
gdb points to this being the line at which we abort:
bytehound/preload/src/api.rs
Line 884 in f8397e7
Seems like the profiler replaces actual mmap syscalls with multiple for the purpose of assigning a name to the VMA? I'm not sure why this is done but it seems like it doesn't play well with the combinations of flags we're passing in.
Here's the actual mmap syscalls invoked within that function just before it aborts, as captured by strace (i.e the mmap syscalls issued with the profiler enabled):
I think the reason is that the address in the second mmap is not hugepage aligned and so it fails.
The text was updated successfully, but these errors were encountered: