Skip to content

[Linux] virtual_memory() fails when /proc/meminfo contains ShadowCallStack >= 10GB#2810

Open
hansonw wants to merge 1 commit intogiampaolo:masterfrom
hansonw:fix-shadow-call-stack
Open

[Linux] virtual_memory() fails when /proc/meminfo contains ShadowCallStack >= 10GB#2810
hansonw wants to merge 1 commit intogiampaolo:masterfrom
hansonw:fix-shadow-call-stack

Conversation

@hansonw
Copy link
Copy Markdown

@hansonw hansonw commented Apr 8, 2026

Summary

Description

See issue description. Fixes an issue on arm64 Linux where psutil.virtual_memory() may fail when /proc/meminfo contains ShadowCallStack with a value greater than 10GB, e.g. ShadowCallStack:10373888 kB - the lack of space after ShadowCallStack: breaks the current parsing logic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Linux] virtual_memory() fails when /proc/meminfo contains ShadowCallStack >= 10MB

2 participants