https://bugs.kde.org/show_bug.cgi?id=507188
Mark Wielaard <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|CONFIRMED |RESOLVED --- Comment #5 from Mark Wielaard <[email protected]> --- In the end this turned out to be a very simple fix: - for (i = 0; i < found; i++) { + /* We want to keep at least one frame. */ + for (i = 0; i < found - 1; i++) { Sorry this took so long to resolve. commit a4593438d9fb95bae841531bd70a9217818c482b Author: Mark Wielaard <[email protected]> Date: Fri Oct 17 18:23:58 2025 +0200 Keep at least one frame while peeling syscall frames VG_(get_StackTrace_with_deltas) might peel extra glibc syscall (cancel) frames. But if the backtrace failed, or only contains such syscall frames then we should keep at least one (the initial frame will always be there). Various routines expect n_ips of a Stacktrace to be at least 1. https://bugs.kde.org/show_bug.cgi?id=507188 -- You are receiving this mail because: You are watching all bug changes.
