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

David Edmundson <k...@davidedmundson.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REPORTED                    |CONFIRMED
     Ever confirmed|0                           |1

--- Comment #1 from David Edmundson <k...@davidedmundson.co.uk> ---
I think the crash is as follows:

    connect(runnable, &ReadProcSmapsRunnable::finished, this, [this, pid,
runnable]() {
        Q_EMIT processUpdated(pid, { { Process::VmPSS, runnable->pss() } });
        runnable->deleteLater();
    }, Qt::DirectConnection);



We set the context to "this" so we should auto disconnect when the Processes
object is destroyed...

*BUT*

Qt::DirectConnection

means that this is run in the runner thread

so "this" can be valid at the time of the signal being emitted and null by the
time we get to this emit.

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

Reply via email to