GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||
GeezerVison is showing github.com — GH-145278: also filter mmap2 in strace_helper.filter_memory by FFY00 · Pull Request #148648 · python/cpython Conversation
|
|
🤖 New build scheduled with the buildbot fleet by @FFY00 for commit 1880772 🤖 Results will be shown at: https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F148648%2Fmerge If you want to schedule another build, you need to add the 🔨 test-with-buildbots label again. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
We should wait for "ARM Raspbian 3.x" buildbot worker to report if tests pass or not. Right now, there are two queued job on "ARM Raspbian PR": https://buildbot.python.org/#/builders/1062. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Yep, I am monitoring it to see if this change actually fixes the buildbot failure 👍 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Raspbian seems to be passing now. https://buildbot.python.org/all/#/builders/1062/builds/1357 I'll wait for the rest of the buildbots to finish, and then I'll merge. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| def _filter_memory_call(call): | ||
| # mmap can operate on a fd or "MAP_ANONYMOUS" which gives a block of memory. | ||
| # Ignore "MAP_ANONYMOUS + the "MAP_ANON" alias. | ||
| if call.syscall == "mmap" and "MAP_ANON" in call.args[3]: |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Also would be happy with call.syscall.startswith('mmap') here as a guard against mmap3 / future extensions as well.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
PR Buildbots are green; I'll merge.
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
This is more like 5th ><. There were a couple reverts getting bots clean to land the strace testing infrastructure... If there is a more reliable way to check for accidental additions of stat or read system calls when reading a file am all ears. At least 3 times before the strace test people optimized and then more calls were accidentally added... |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Well, the best way to classify accidental vs. intended additions is, still, human review. Can we make that easier? Perhaps change an error message to point to the place to fix? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…thonGH-148648) Signed-off-by: Filipe Laíns <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.