tracer: load initial maps from /proc/<pid>/maps#655
tracer: load initial maps from /proc/<pid>/maps#655fw-immunant wants to merge 4 commits intomainfrom
/proc/<pid>/maps#655Conversation
|
Maybe not directly related to this PR, but I was looking through the track memory map given your hang issues, and noted that I didn't see handling in the syscall-exit path for WAIT_GROUP_STOP, WAIT_SIGSEGV, WAIT_SIGNALED, WAIT_CONT, and WAIT_PTRACE_FORK. Hopefully this helps. I wonder about the last one and if that's the one that's causing the hangs |
e5e90e7 to
5319f1b
Compare
This is intentional, but I've made it clearer in the commit "track_memory_map: print in more error cases" (landed as 73f7100). |
28c4462 to
4f8eebe
Compare
4f8eebe to
4254351
Compare
|
Hmm, this is giving "attempting to pkey_mprotect unmapped memory" errors even as-is. I'll see if rebasing atop #661 solves things. EDIT: Wonderful, looks like it does. |
4254351 to
2cdcced
Compare
2cdcced to
4149604
Compare
|
This is now ready for review. |
|
CI hit a strange failure that I've reproduced on main and filed as #667. Since it occurs on |
Fixes #315.
That said, this is atop #595 which causes problems as I haven't finished debugging the tracer's hangs.The tracer hangs have now been resolved. 🎉
No longer atop #595. But it may be the case that there are lingering tracer hangs.