|
From: Christian P. <tr...@ge...> - 2005-08-12 10:38:05
|
On Friday 12 August 2005 12:14, Tom Hughes wrote: > In message <200...@ge...> > > Christian Parpart <tr...@ge...> wrote: > > On Friday 12 August 2005 09:51, Tom Hughes wrote: > >> In message <200...@ge...> > > > > [...] > > > >> You've cleverly cut out all the useful/interesting information from > >> that output... > > > > Why I (repeatily) did so, is, because it's a rather bigbig backtrace and > > I didn't wanna flood you with maybe not that interesting data as you > > might got shocked of the bloated backtrace or so; > > > > I attached the complete output (95% of them are VG so no flood et al I > > hope) > > Well that trace looks fairly straightforward to me - there is some > code in that release method that is accessing memory that was part > of the plugin and has been released. Presumably a global object given > that the memory being referenced is part of the .so rather than being > on the stack or the heap. That might be a hint there; thanks; is it also possible, that this ill address is once been valid and created b= y=20 the plugin and that their new/malloc method did return an address within it= s=20 own mmap space? If that's so, than it's a leak I didn't close and that's why I still have t= hat=20 old (orphaned) pointer around in this list; [.....] > >> > So, if I'm really right here, is there a way to get such a > >> > observation feature into VG for 3.1? > >> > >> What exactly is it you want 'observed' exactly? > > > > a message like "The memory accessed is within a dlopen()ed region alrea= dy > > released (dlclose()d)" right below the "invalid read" or alike; > > We don't actually know it was dlopened/closed as such - all we know is > that some memory was mapped and then unmapped again. traversing through the stack's backtrace shall tell _dlclose/_dlopen that=20 might help here I guess. > I guess we could remember that history for a while like we do with > free blocks but it seems like it would have very marginal benefit. I agree (partially :) Regards, Christian Parpart. =2D-=20 12:32:50 up 142 days, 1:40, 1 user, load average: 0.49, 1.87, 2.75 |