[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#159381: dselect: memory leaks (valgrind does its job ;)



Now thats a quick reply!

On Mon, Sep 02, 2002 at 06:45:06PM -0500, Adam Heath wrote:
> On Tue, 3 Sep 2002, Bastian Kleineidam wrote:
> > I am trying the "update, select, exit" procedure now, but it is very slow,
> > eating a lot of memory.
> > Filing this bug for now.
> 
> it'll take 1.1 gigs of memory.
Yeah, nothing like a good swap partition :)

Well, just for completeness:
==31350== 114 bytes in 5 blocks are definitely lost in loss record 16 of 32
==31350==    at 0x400434EB: malloc (vg_clientfuncs.c:100)
==31350==    by 0x8057D5E: m_malloc (/home/calvin/src/dpkg-1.10.5/lib/mlib.c:50)
==31350==    by 0x80570CC: writedb (/home/calvin/src/dpkg-1.10.5/lib/dump.c:280)
==31350==    by 0x8056178: checkpoint (/home/calvin/src/dpkg-1.10.5/lib/dbmodify.c:196)
==31350== 

Seems that oldfn and newfn in dump.c::writedb are not freed.

cu, Bastian
-- 
     Bastian Kleineidam

 reflexionsniveau AT web.de
   calvin AT users.sf.net
    calvin AT debian.org

Attachment: pgp43eKoa1JfI.pgp
Description: PGP signature


Reply to: