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

David Edmundson <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
     Ever confirmed|0                           |1
             Status|REPORTED                    |CONFIRMED

--- Comment #2 from David Edmundson <[email protected]> ---
I think I've found it.

This is not thread safe:

```
    if (d->readPids) {
        d->readPids->wait();
    }
```

Because in another thread we do:

CGroupPrivate::ReadPidsRunnable::run()
{
....
         m_cgroupPrivate->readPids = nullptr;
}

This could happen between the two lines in the first paste.

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

Reply via email to