[kinfocenter] [Bug 414200] Info Center crashes on exit

2020-01-17 Thread Harald Sitter
https://bugs.kde.org/show_bug.cgi?id=414200

Harald Sitter  changed:

   What|Removed |Added

 Resolution|--- |DUPLICATE
 CC||sit...@kde.org
 Status|REPORTED|RESOLVED

--- Comment #14 from Harald Sitter  ---
This is almost certainly a side effect of bug 413003. When kinfocenter doesn't
crash because you opened the energy info twice, it would crash on exit when
solid tries to clean up its internal pointers only to find that some were
deleted already. There are no other modules using solid in the way energy does,
so it's a fairly safe bet that this is a duplicate of 413003.

*** This bug has been marked as a duplicate of bug 413003 ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[kinfocenter] [Bug 414200] Info Center crashes on exit

2020-01-10 Thread Anthony Fieroni
https://bugs.kde.org/show_bug.cgi?id=414200

--- Comment #13 from Anthony Fieroni  ---
Git commit 3ff3aaa6640c0fb14bba5430110b20237105c203 by Anthony Fieroni.
Committed on 10/01/2020 at 08:36.
Pushed by anthonyfieroni into branch 'master'.

Clarify referencing of DeviceInterface

https://phabricator.kde.org/D26117

Signed-off-by: Anthony Fieroni 

M  +0-3src/solid/devices/frontend/device.cpp
M  +1-1src/solid/devices/frontend/device_p.h
M  +1-0src/solid/devices/frontend/deviceinterface.cpp

https://commits.kde.org/solid/3ff3aaa6640c0fb14bba5430110b20237105c203

-- 
You are receiving this mail because:
You are watching all bug changes.

[kinfocenter] [Bug 414200] Info Center crashes on exit

2020-01-08 Thread Christoph Feck
https://bugs.kde.org/show_bug.cgi?id=414200

Christoph Feck  changed:

   What|Removed |Added

 CC||bugsefor...@gmx.com

--- Comment #12 from Christoph Feck  ---
*** Bug 416015 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[kinfocenter] [Bug 414200] Info Center crashes on exit

2020-01-01 Thread fresa
https://bugs.kde.org/show_bug.cgi?id=414200

fresa  changed:

   What|Removed |Added

 CC||arichikaari...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[kinfocenter] [Bug 414200] Info Center crashes on exit

2019-12-27 Thread Christoph Feck
https://bugs.kde.org/show_bug.cgi?id=414200

Christoph Feck  changed:

   What|Removed |Added

 CC||james.j.j.tudhope@protonmai
   ||l.com

--- Comment #9 from Christoph Feck  ---
*** Bug 414842 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[kinfocenter] [Bug 414200] Info Center crashes on exit

2019-12-27 Thread Christoph Feck
https://bugs.kde.org/show_bug.cgi?id=414200

Christoph Feck  changed:

   What|Removed |Added

 CC||opensuse.lietuviu.kalba@gma
   ||il.com

--- Comment #8 from Christoph Feck  ---
*** Bug 414915 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[kinfocenter] [Bug 414200] Info Center crashes on exit

2019-12-27 Thread Christoph Feck
https://bugs.kde.org/show_bug.cgi?id=414200

Christoph Feck  changed:

   What|Removed |Added

 CC||guerrerogallegojose@outlook
   ||.com

--- Comment #7 from Christoph Feck  ---
*** Bug 415532 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[kinfocenter] [Bug 414200] Info Center crashes on exit

2019-12-09 Thread Yancy Burns
https://bugs.kde.org/show_bug.cgi?id=414200

Yancy Burns  changed:

   What|Removed |Added

 CC||beow...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[kinfocenter] [Bug 414200] Info Center crashes on exit

2019-12-03 Thread Christoph Feck
https://bugs.kde.org/show_bug.cgi?id=414200

Christoph Feck  changed:

   What|Removed |Added

   See Also||https://bugs.kde.org/show_b
   ||ug.cgi?id=413003

-- 
You are receiving this mail because:
You are watching all bug changes.

[kinfocenter] [Bug 414200] Info Center crashes on exit

2019-12-03 Thread Christoph Feck
https://bugs.kde.org/show_bug.cgi?id=414200

Christoph Feck  changed:

   What|Removed |Added

 CC||blurh...@outlook.com

--- Comment #5 from Christoph Feck  ---
*** Bug 414594 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[kinfocenter] [Bug 414200] Info Center crashes on exit

2019-12-03 Thread Christoph Feck
https://bugs.kde.org/show_bug.cgi?id=414200

Christoph Feck  changed:

   What|Removed |Added

 CC||john4deidre2...@xtra.co.nz

--- Comment #4 from Christoph Feck  ---
*** Bug 414483 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[kinfocenter] [Bug 414200] Info Center crashes on exit

2019-12-01 Thread Matt Fagnani
https://bugs.kde.org/show_bug.cgi?id=414200

--- Comment #3 from Matt Fagnani  ---
Created attachment 124237
  --> https://bugs.kde.org/attachment.cgi?id=124237&action=edit
valgrind log from kinfocenter run when clicking Energy Information then closing

I ran valgrind --log-file=valgrind-kinfocenter-energy-close-2.txt
--track-origins=yes kinfocenter &  I reproduced the crash in the same way as in
my previous comment. The valgrind log showed an invalid read in wl_proxy_unref
at wayland-client.c:229 and an invalid write in wl_proxy_unref at
wayland-client.c:230 in libwayland-client. They appeared to be use-after-free
errors like those I've previously reported for kwin_wayland, plasmashell,
konsole, powerdevil, etc. ( https://bugs.kde.org/show_bug.cgi?id=409688 )
Several Conditional jump or move depends on uninitialised value(s) messages
were shown.

An invalid read in Solid::DevicePrivate::~DevicePrivate() at device.cpp:222
occurred within freed memory. An invalid read at the address 0x8 in data at
qpointer.h:86 was like the trace of the crashing thread. The use-after-free
error in Solid::DevicePrivate::~DevicePrivate() might have led to the invalid
pointer being used with the segmentation fault as a result. 

==3962== Invalid read of size 8
==3962==at 0x1801AE84: Solid::DevicePrivate::~DevicePrivate()
(device.cpp:222)
==3962==by 0x1801AFFC: Solid::DevicePrivate::~DevicePrivate()
(device.cpp:225)
==3962==by 0x1801C606: Solid::DeviceManagerPrivate::~DeviceManagerPrivate()
(devicemanager.cpp:58)
==3962==by 0x1801E27C: Solid::DeviceManagerPrivate::~DeviceManagerPrivate()
(devicemanager.cpp:63)
==3962==by 0x5AFC390: QThreadStorageData::finish(void**)
(qthreadstorage.cpp:200)
==3962==by 0x5CA1500: QCoreApplicationPrivate::cleanupThreadData()
(qcoreapplication.cpp:520)
==3962==by 0x560E7B4: QGuiApplicationPrivate::~QGuiApplicationPrivate()
(qguiapplication.cpp:1611)
==3962==by 0x4FCC3BC: QApplicationPrivate::~QApplicationPrivate()
(qapplication.cpp:181)
==3962==by 0x5CD0D46: cleanup (qscopedpointer.h:60)
==3962==by 0x5CD0D46: ~QScopedPointer (qscopedpointer.h:107)
==3962==by 0x5CD0D46: QObject::~QObject() (qobject.cpp:891)
==3962==by 0x5CA113D: QCoreApplication::~QCoreApplication()
(qcoreapplication.cpp:892)
==3962==by 0x560EE20: QGuiApplication::~QGuiApplication()
(qguiapplication.cpp:649)
==3962==by 0x4FCE50D: QApplication::~QApplication() (qapplication.cpp:773)
==3962==  Address 0x1a7bd5d0 is 16 bytes inside a block of size 24 free'd
==3962==at 0x483AEFC: operator delete(void*) (vg_replace_malloc.c:586)
==3962==by 0x6903688: QV4::MemoryManager::sweep(bool, void (*)(char
const*)) (qv4mm.cpp:926)
==3962==by 0x6903708: QV4::MemoryManager::~MemoryManager() (qv4mm.cpp:1173)
==3962==by 0x6A89059: QV4::ExecutionEngine::~ExecutionEngine()
(qv4engine.cpp:659)
==3962==by 0x6987517: QJSEngine::~QJSEngine() (qjsengine.cpp:379)
==3962==by 0x6AC7F39: QQmlEngine::~QQmlEngine() (qqmlengine.cpp:1072)
==3962==by 0x635A94A: _M_release (shared_ptr_base.h:155)
==3962==by 0x635A94A: _M_release (shared_ptr_base.h:148)
==3962==by 0x635A94A: ~__shared_count (shared_ptr_base.h:730)
==3962==by 0x635A94A: ~__shared_ptr (shared_ptr_base.h:1169)
==3962==by 0x635A94A: ~shared_ptr (shared_ptr.h:103)
==3962==by 0x635A94A: ~QmlObjectSharedEnginePrivate
(qmlobjectsharedengine.cpp:41)
==3962==by 0x635A94A: operator() (unique_ptr.h:81)
==3962==by 0x635A94A: ~unique_ptr (unique_ptr.h:284)
==3962==by 0x635A94A:
KDeclarative::QmlObjectSharedEngine::~QmlObjectSharedEngine()
(qmlobjectsharedengine.cpp:74)
==3962==by 0x635AA7C:
KDeclarative::QmlObjectSharedEngine::~QmlObjectSharedEngine()
(qmlobjectsharedengine.cpp:76)
==3962==by 0x5CCFDAB: QObjectPrivate::deleteChildren() (qobject.cpp:2016)
==3962==by 0x500BD58: QWidget::~QWidget() (qwidget.cpp:1696)
==3962==by 0x4A93BE5: KCModule::~KCModule() (in
/usr/lib64/libKF5ConfigWidgets.so.5.64.0)
==3962==by 0x488C92C: KCModuleQml::~KCModuleQml() (kcmoduleqml.cpp:208)
==3962==  Block was alloc'd at
==3962==at 0x4839E86: operator new(unsigned long) (vg_replace_malloc.c:344)
==3962==by 0x1801B4DB:
Solid::Device::asDeviceInterface(Solid::DeviceInterface::Type const&) const
(device.cpp:189)
==3962==by 0x2877DACE: as (device.h:232)
==3962==by 0x2877DACE: BatteryModel::data(QModelIndex const&, int) const
(batterymodel.cpp:75)
==3962==by 0x68F874A: data (qabstractitemmodel.h:458)
==3962==by 0x68F874A: value (qqmladaptormodel.cpp:414)
==3962==by 0x68F874A: QQmlDMCachedModelData::metaCall(QMetaObject::Call,
int, void**) (qqmladaptormodel.cpp:282)
==3962==by 0x6A0A043: readProperty (qqmlpropertycache_p.h:328)
==3962==by 0x6A0A043: loadProperty(QV4::ExecutionEngine*, QObject*,
QQmlPropertyData const&) (qv4qobjectwrapper.cpp:178)
==3962==by 0x6A0BB3B:
QV4::QObjectWrapper::virtualResolveLookupGetter(QV4::Object const*,
QV4::ExecutionEngine*, QV4::Look

[kinfocenter] [Bug 414200] Info Center crashes on exit

2019-12-01 Thread Matt Fagnani
https://bugs.kde.org/show_bug.cgi?id=414200

Matt Fagnani  changed:

   What|Removed |Added

 CC||matthew.fagn...@utoronto.ca

-- 
You are receiving this mail because:
You are watching all bug changes.

[kinfocenter] [Bug 414200] Info Center crashes on exit

2019-12-01 Thread Matt Fagnani
https://bugs.kde.org/show_bug.cgi?id=414200

--- Comment #2 from Matt Fagnani  ---
Created attachment 124236
  --> https://bugs.kde.org/attachment.cgi?id=124236&action=edit
New crash information added by DrKonqi

kinfocenter (5.17.3) using Qt 5.12.5

- What I was doing when the application crashed:

I was running Plasma 5.17.3 on Wayland in Fedora 31. I started kinfocenter. I
clicked Energy Information. I closed kinfocenter. Dr. Konqi showed a
segmentation fault in QPointer::data (this=0x28) at
/usr/include/qt5/QtCore/qpointer.h:85. The pointer this=0x28 might've been
invalid.

-- Backtrace (Reduced):
#6  QPointer::data (this=0x28) at
/usr/include/qt5/QtCore/qpointer.h:85
#7  Solid::DeviceInterfacePrivate::backendObject (this=0x20) at
/usr/src/debug/kf5-solid-5.64.0-1.fc31.x86_64/src/solid/devices/frontend/deviceinterface.cpp:110
#8  0x7f752345be8d in Solid::DevicePrivate::~DevicePrivate
(this=0x55cf51c995b0, __in_chrg=) at
/usr/src/debug/kf5-solid-5.64.0-1.fc31.x86_64/src/solid/devices/frontend/device.cpp:222
#9  0x7f752345bffd in Solid::DevicePrivate::~DevicePrivate
(this=0x55cf51c995b0, __in_chrg=) at
/usr/src/debug/kf5-solid-5.64.0-1.fc31.x86_64/src/solid/devices/frontend/device.cpp:219
#10 0x7f752345d607 in Solid::DeviceManagerPrivate::~DeviceManagerPrivate
(this=0x55cf5189d5c0, __in_chrg=) at
/usr/include/c++/9/bits/atomic_base.h:413

-- 
You are receiving this mail because:
You are watching all bug changes.

[kinfocenter] [Bug 414200] Info Center crashes on exit

2019-11-24 Thread Chaitanya
https://bugs.kde.org/show_bug.cgi?id=414200

Chaitanya  changed:

   What|Removed |Added

 CC||chaitanya211...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.