https://bugs.kde.org/show_bug.cgi?id=406950

ella...@eskimo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |VERIFIED

--- Comment #5 from ella...@eskimo.com ---
I built kstars with your bug fix and then attempted to repro under valgrind. I
did not see any use after free errors. Great!

Note that running kstars under valgrind is somewhat frustrating. You do need a
release build or it's simply too slow, and I needed a number of suppressions to
deal with the 15 million errors generated in various system libraries
(especially DRM).

In addition, you need to be very patient with a number of the GUI actions. I
found that kstars would often deadlock when doing things like starting or
stopping the indi server, and I was forced to kill it (and crashed my window
manager) several times. Clicking around while the indi server connection
(slowly) processed would certainly put kstars in a bad state.

Here's an example where I had to manually terminate the process (the SEGV is
artificial):

==29697== Process terminating with default action of signal 11 (SIGSEGV):
dumping core
==29697==    at 0xB333D2D: __pthread_timedjoin_ex (pthread_join_common.c:89)
==29697==    by 0xBC2B8C2: std::thread::join() (in
/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.25)
==29697==    by 0x8D122E: INDI::BaseClient::disconnectServer() (in
/home/elladan/astro/dev/kstars/build/kstars/kstars/kstars)
==29697==    by 0x42D331: DriverManager::stopDevices(QList<DriverInfo*> const&)
(drivermanager.cpp:464)
==29697==    by 0x4A40B8: Ekos::Manager::cleanDevices(bool) (manager.cpp:984)
==29697==    by 0x4A4141: Ekos::Manager::stop() (manager.cpp:492)
==29697==    by 0xA42977E: QMetaObject::activate(QObject*, int, int, void**)
(in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.9.5)
==29697==    by 0x8CFEBA1: QAbstractButton::clicked(bool) (in
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.9.5)
==29697==    by 0x8CFEDB9: ??? (in
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.9.5)
==29697==    by 0x8D00199: ??? (in
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.9.5)
==29697==    by 0x8D0038C: QAbstractButton::mouseReleaseEvent(QMouseEvent*) (in
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.9.5)
==29697==    by 0x8C4C047: QWidget::event(QEvent*) (in
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.9.5)

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

Reply via email to