[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [valgrind] [Bug 79362] Debug info is lost for .so files when they are dlclose'd
From:       Chris Hillery <ceej-kde () lambda ! nu>
Date:       2013-06-08 7:25:54
Message-ID: bug-79362-17878-fpnEfuHkkh () http ! bugs ! kde ! org/
[Download RAW message or body]

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

Chris Hillery <ceej-kde@lambda.nu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ceej-kde@lambda.nu

--- Comment #55 from Chris Hillery <ceej-kde@lambda.nu> ---
Thank you very much, Kevin Fitch, for this patch. I sincerely hope that it will
be accepted into the mainline of valgrind someday.

I did find an issue with it, however - it doesn't seem to work with
--gen-suppressions, at least for memory leaks. All the stack frames in the .so
are reported in the error report, but the generated suppression block just has
"obj:*" for each of them. This of course could easily suppress completely
different leaks (in completely different libraries even) in addition to the one
that triggered the report.

I haven't yet tried manually creating a suppressions file with the real symbols
in it as reported by --keep-unloaded-syms=yes. Hopefully if that does work,
then expanding your patch to also put those symbols into --gen-suppressions
output will be straightforward. If that doesn't work, though, I imagine it gets
a little hairier.

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic