D25454: Prevent a crash when deleting a device Interface
Méven Car
noreply at phabricator.kde.org
Fri Nov 22 08:59:28 GMT 2019
meven created this revision.
meven added a reviewer: Frameworks.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
meven requested review of this revision.
REVISION SUMMARY
Double free of DeviceInterfacePrivate::m_backendObject
BUG: 414200
FIXED-IN: 5.65
#7 QPointer<QObject>::data (this=0x28) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qpointer.h:85
#8 Solid::DeviceInterfacePrivate::backendObject (this=0x20) at /home/meven/kde/src/solid/src/solid/devices/frontend/deviceinterface.cpp:110
#9 0x00007efd423e4cbd in Solid::DevicePrivate::~DevicePrivate (this=0x55b4921e4820, __in_chrg=<optimized out>) at /home/meven/kde/src/solid/src/solid/devices/frontend/device.cpp:222
#10 0x00007efd423e4e2d in Solid::DevicePrivate::~DevicePrivate (this=0x55b4921e4820, __in_chrg=<optimized out>) at /home/meven/kde/src/solid/src/solid/devices/frontend/device.cpp:219
#11 0x00007efd423e6437 in Solid::DeviceManagerPrivate::~DeviceManagerPrivate (this=0x55b4921c93e0, __in_chrg=<optimized out>) at /usr/include/c++/9/bits/atomic_base.h:413
#12 0x00007efd423e80ad in Solid::DeviceManagerPrivate::~DeviceManagerPrivate (this=0x55b4921c93e0, __in_chrg=<optimized out>) at /home/meven/kde/src/solid/src/solid/devices/frontend/devicemanager.cpp:49
REPOSITORY
R245 Solid
BRANCH
prevent-crash
REVISION DETAIL
https://phabricator.kde.org/D25454
AFFECTED FILES
src/solid/devices/frontend/device.cpp
To: meven, #frameworks
Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20191122/82ed5aee/attachment.html>
More information about the Kde-frameworks-devel
mailing list