Summary: | mmap with MAP_STACK not handled correctly on FreeBSD | ||
---|---|---|---|
Product: | [Developer tools] valgrind | Reporter: | Paul Floyd <pjfloyd> |
Component: | general | Assignee: | Paul Floyd <pjfloyd> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 3.22 GIT | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | FreeBSD | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Paul Floyd
2024-02-11 10:30:34 UTC
I don't know how I can handle this. I've been looking at modifying parse_procselfmaps to handle the pattern guard mapping one or more 132k stack mappings It's hard to tell normal mappings from these split stack mappings. parse_procselfmaps doesn't know anything about nsegments. It's just looking for mappings one at a time that it sends to sync_check_mapping_callback. And sync_check_mapping_callback mjust sees mappings one at a time. I'm closing this. I pushed a fix that works some of the time, plus a warning the --sanity-level=3 and above mail fail on FreeBSD. |