--===============1054164623==
Content-Type: multipart/signed;
boundary="nextPart3935615.uNUCGvdDTE";
protocol="application/pgp-signature";
micalg=pgp-sha1
Content-Transfer-Encoding: 7bit

--nextPart3935615.uNUCGvdDTE
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Thu October 20 2005 17:46, David Faure wrote:
> On Thursday 20 October 2005 03:58, me wrote:
> > Hi,
> >
> > While valdrind'ing another application I came across the following:
> >
> > =3D=3D21448=3D=3D Invalid free() / delete / delete[]
> > =3D=3D21448=3D=3D at 0x1B909743: free (vg_replace_malloc.c:152)
> > =3D=3D21448=3D=3D by 0xBD5D25: free_mem (in /lib/libc-2.3.5.so)
> > =3D=3D21448=3D=3D by 0xBD5999: __libc_freeres (in /lib/libc-2.3.5.so)
> > =3D=3D21448=3D=3D by 0x1B903753: _vgw(float, long double,...)(...)(l=

ong
> > double,...)(short) (vg_intercept.c:55) =3D=3D21448=3D=3D by 0xB5EE43=

: _Exit
> > (in /lib/libc-2.3.5.so)
> > =3D=3D21448=3D=3D by 0x1CDA7AB3: KUniqueApplication::start()
> > (kuniqueapplication.cpp:310) =3D=3D21448=3D=3D by 0x1CDA7B7A:
> > KUniqueApplication::initHack(bool) (kuniqueapplication.cpp:362) =3D=3D2=

1448=3D=3D
> > by 0x1CDA7F6A: KUniqueApplication::KUniqueApplication(bool, bool,
> > bool) (kuniqueapplication.cpp:319) =3D=3D21448=3D=3D by 0x8051C82:
> > Akregator::Application::Application() (main.cpp:41) =3D=3D21448=3D=3D =

by
> > 0x8051566: main (main.cpp:93)
> > =3D=3D21448=3D=3D Address 0x1D8165E0 is not stack'd, malloc'd or (rece=

ntly)
> > free'd
> >
> > The error appears to be caused by the statement:
> >
> > delete dc; // Clean up DCOP commmunication
> >
> > where "dc" is initialised by:
> >
> > dc =3D dcopClient();
> >
> > Should the that object be deleted at all?

>
> Which version of kdelibs is this with?


The application I was debugging was akgregator, so:

akregator --version
Qt: 3.3.4
KDE: 3.4.92 (beta2, >=3D 20051010)
Akregator: 1.2

and

gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ./configure : (reconfigured) ./configure=20
=2D-enable-languages=3Dc,c++,fortran,java,objc --no-create --no-recursion
Thread model: posix
gcc version 4.1.0 20051018 (experimental)

Cheers

Kevin

--nextPart3935615.uNUCGvdDTE
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iQCVAwUAQ1gZiEffMBZeBmpmAQJCgQQAg/H8fiiNVxPNTzJbf6cDOnU71hlJ8ERh
590QdwLJ/7JvyvTjSddr7TBqRJe41OiRlZPwZ2vObh75FOAkXzKhooPkyML XAnyl
BLfupNtuYk4/080v6x9Jtjcel/v4xpfEclNmHycIaVWp/x583iSolhNUi/TxYKOf
PIk+a1LQRaM=
=ssQF
-----END PGP SIGNATURE-----

--nextPart3935615.uNUCGvdDTE--

--===============1054164623==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


--===============1054164623==--