attica_kde.so closing crash

Jeremy Whiting jpwhiting at kde.org
Mon Nov 17 01:09:46 GMT 2014


I'm not deleting anything in the destructor except m_wallet which is a
KWallet. The crash is in the base class destructor QNetworkAccessManager.
I'll try valgrind. good idea.

On Sun, Nov 16, 2014 at 4:38 PM, Albert Astals Cid <aacid at kde.org> wrote:

> El Dilluns, 17 de novembre de 2014, a les 00:33:17, Thomas Lübking va
> escriure:
> > On Sonntag, 16. November 2014 21:50:03 CEST, Jeremy Whiting wrote:
> > > #10 0x00007ffff4e59150 in QObjectPrivate::deleteChildren
> (this=0xa12a10)
> > > at
> > >
> /home/jeremy/devel/kde/src/qt5/qtbase/src/corelib/kernel/qobject.cpp:1950
> > > #11 0x00007ffff4e57768 in QObject::~QObject (this=0xa0eff0,
> > > __in_chrg=<optimized out>) at
> > >
> /home/jeremy/devel/kde/src/qt5/qtbase/src/corelib/kernel/qobject.cpp:1030
> >
> > You do not happen to delete a bechilded member in the destructor
> explicitly,
> > are you?
> >
> > Ie, sth. like
> >
> > KdePlatformDependent() : QObject() {
> >    m_accessmanager = new AccessManager(this);
> > }
> >
> > ~KdePlatformDependent() {
> >    delete m_accessmanager;
> > }
>
> Why would this be wrong?
>
> Cheers,
>   Albert
>
> >
> > Cheers,
> > Thomas
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20141116/117cb89a/attachment.htm>


More information about the kde-core-devel mailing list