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

Milian Wolff <m...@milianw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
      Latest Commit|                            |https://commits.kde.org/hea
                   |                            |ptrack/932defacaa604a3359d6
                   |                            |1a65397c8fa319c1f347
         Resolution|---                         |FIXED

--- Comment #2 from Milian Wolff <m...@milianw.de> ---
Git commit 932defacaa604a3359d61a65397c8fa319c1f347 by Milian Wolff.
Committed on 05/03/2017 at 21:47.
Pushed by mwolff into branch '1.0'.

Improve cleanup after detaching heaptrack

We now stop heaptrack explicitly via GDB before breaking the pipe.
This improves the stability of the unload process of heaptrack
after runtime-injection. It is still somewhat shaky though. I still
see crashes on shutdown of the debuggee now, long after heaptrack
was stopped. Similarly, I see tons of issues when I try to unload
libheaptrack_inject via __libc_dlclose, so I'm keeping the library
loaded for now.

I've added an explicit warning now to the `-p` option, saying that
runtime-attaching is unstable and can crash the debuggee.

M  +12   -0    src/track/heaptrack.sh.cmake
M  +16   -2    src/track/libheaptrack.cpp

https://commits.kde.org/heaptrack/932defacaa604a3359d61a65397c8fa319c1f347

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

Reply via email to