| Summary: | Memleak trace back for overwritten or freed memory pointers | ||
|---|---|---|---|
| Product: | [Developer tools] valgrind | Reporter: | Joe Veazey <joe.veazey> |
| Component: | memcheck | Assignee: | Julian Seward <jseward> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | philippe.waroquiers |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | attachment-9537-0.html | ||
|
Description
Joe Veazey
2016-10-27 22:11:26 UTC
Equivalent request have already been done see e.g. bug 74899. There was even at a moment an experimental tool called omega doing this. The tool was however never considered working reasonably well, as it is difficult to detect exactly when the last pointer disappears (IIRC e.g. because copies of 'dead pointers' can be kept in registers or similar). We will keep 74899 as the place holder for this enhancement request (in case someone one day works again on the omega tool or equivalent). In the meantime, the alternative is to search the most probable last pointer or last scope having a pointer by doing leak search at regular intervals e.g. using a client request or by using gdb+vgdb and breakpoints. *** This bug has been marked as a duplicate of bug 74899 *** Created attachment 101931 [details] attachment-9537-0.html I will investigate your suggestions. gdb+vgdb w/breakpoints sounds the most feasible for my task. Thanks for the reply! *Joe.Veazey@ipdatatel.com <Joe.Veazey@ipdatatel.com>* Cell: 281-543-8330 On Mon, Oct 31, 2016 at 4:42 PM, Philippe Waroquiers < bugzilla_noreply@kde.org> wrote: > https://bugs.kde.org/show_bug.cgi?id=371770 > > Philippe Waroquiers <philippe.waroquiers@skynet.be> changed: > > What |Removed |Added > ------------------------------------------------------------ > ---------------- > CC| > |philippe.waroquiers@skynet. > | |be > > --- Comment #1 from Philippe Waroquiers <philippe.waroquiers@skynet.be> > --- > Equivalent request have already been done see e.g. bug 74899. > > There was even at a moment an experimental tool called omega doing this. > The tool was however never considered working reasonably well, as it is > difficult to detect exactly when the last pointer disappears (IIRC e.g. > because > copies of 'dead pointers' can be kept in registers or similar). > > We will keep 74899 as the place holder for this enhancement request (in > case > someone one day works again on the omega tool or equivalent). > > In the meantime, the alternative is to search the most probable last > pointer > or last scope having a pointer by doing leak search at regular intervals > e.g. > using a client request or by using gdb+vgdb and breakpoints. > > -- > You are receiving this mail because: > You reported the bug. |