https://bugs.kde.org/show_bug.cgi?id=479653

            Bug ID: 479653
           Summary: cannot attach to stopped process
    Classification: Applications
           Product: Heaptrack
           Version: 1.5.0
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: m...@milianw.de
          Reporter: m...@milianw.de
  Target Milestone: ---

SUMMARY

when we try to attach to a SIGSTOP'ed process, then GDB attaching fails

STEPS TO REPRODUCE
1. start app
2. ctrl+z to stop
3. attach heaptrack

OBSERVED RESULT

heaptrack output will be written to
"/home/milian/projects/build/heaptrack/heaptrack.threaded.88898.zst"
injecting heaptrack into application via GDB, this might take some time...
The program received a signal in another thread while
making a function call from GDB.
Evaluation of the expression containing the function
(malloc) will be abandoned.
When the function is done executing, GDB will silently stop.
No symbol "heaptrack_inject" in current context.
injection finished


EXPECTED RESULT

it works

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to