|
From: <fa...@ca...> - 2004-07-14 15:23:48
|
Works for me (gcc 3.4.1, CVS HEAD).=20 BTW, what is the current timing for a 2.1.2 release? Massif from CVS works much better... Thank you! - Matt > On Tue, 13 Jul 2004, Nicholas Nethercote wrote: >=20 > >> Results in the error: > >>=20 > >> =3D=3D27651=3D=3D Mismatched free() / delete / delete [] > >> =3D=3D27651=3D=3D at 0x3C01E87B: free (vg_replace_malloc.c:127) > >> =3D=3D27651=3D=3D by 0x3C0C78D0: operator delete(void*, std::nothro= w_t > >> const&) (del_opnt.cc:39) > > > > Looks like a Valgrind bug. It's not catching replacing delete(nothrow) with=20 > > its own version. > > > > To fix this requires knowing what the mangled name of delete(nothrow) is, but=20 > > I don't know how to work this out... the one for new(nothrow) is=20 > > _ZnwjRKSt9nothrow_t... maybe someone else can enlighten me. >=20 > Can you try the attached patch against the current Valgrind CVS HEAD? > (See valgrind.kde.org/cvs.html for how to obtain/build the CVS HEAD.) >=20 > If the patch works, I will commit it. >=20 > Thanks for your help. >=20 > N |