Hello all,
I did some more digging and it seems frmMain::OnSelRightClick is
trying to unlock a mutex it doesn't own, which can result in undefined
behaviour in POSIX.
I've attached a patch that moves the unlock inside the if where the
mutex is locked. This seems to fix the crash, at least on my end, but
I couldn't say if it affects thread safety at all.
Again, I hope this helps.
Kind regards,
Wander Nauta