Open brancz opened 2 years ago
@brancz I think it makes sense to remove these if the memory is completely unmapped. Semi-related issue: https://github.com/parca-dev/parca-agent/issues/359
I want to make sure we cover all the ground for unmapped memory issues first. Why this actually happens? Stack unwinding an issue we know that causes this, are there any plausible theory what might cause receiving unmapped addresses?
There are two main reasons why this happens right now:
0x1702484c7480
and pid 70331
sudo cat /proc/70331/maps | grep 170
shows no results
Maybe this is something we should only do when stack unwinding works, but the addresses that are outside of any mapping have no chance of ever being symbolized, so either we set them to
<unknown>
or we remove them entirely. The only thing I slightly worry about is whether we might need any of that data with interpreted languages (maybe @javierhonduco can weigh in).Right now it just looks confusing, and is never going to add to a user's understanding.