Bug 489040 - patch to show the location increasing the stack
Summary: patch to show the location increasing the stack
Status: RESOLVED FIXED
Alias: None
Product: valgrind
Classification: Developer tools
Component: massif (show other bugs)
Version: 3.24 GIT
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Nicholas Nethercote
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-23 11:15 UTC by Philippe Waroquiers
Modified: 2024-06-30 14:11 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
patch code and doc (2.59 KB, text/plain)
2024-06-23 11:15 UTC, Philippe Waroquiers
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Waroquiers 2024-06-23 11:15:35 UTC
Created attachment 170861 [details]
patch code and doc

Following a stack overflow discussion, patch extending the stack increase trace to describe the instruction address increasing the stack.
 
Note: massif has a bug and crashes on an assert when using e.g.
valgrind --tool=massif --stacks=yes -v -v -v -v --px-default=allregs-at-each-insn --px-file-backed=allregs-at-each-insn sleep 1
Comment 1 Philippe Waroquiers 2024-06-30 14:11:19 UTC
pushed as 7881706947507968772ccef67ebdc7ac7451abc9