On 2024-12-04, Ingo Klöcker <kloec...@kde.org> wrote:
> Given that iterators are involved I suspect that shadowIdentities is modified 
> while it is being iterated over which invalidates the iterator it. There are 
> some signals emitted in this loop so that there's is a lot of potential for 
> additional calls to KIdentityManager by connected slots including reentrancy 
> of KIdentityManager::commit().

If Ingo is right, bruteforcing it by putting a non-recursive mutex
around all calls to the hash should lead to a deadlock rather than a
crash :)

/Sune

Reply via email to