Jurij Smakov <ju...@wooyd.org> writes: > On Wed, Aug 3, 2022 at 5:37 PM Dima Kogan <dko...@debian.org> wrote: > > Jurij Smakov <ju...@wooyd.org> writes: > > > I tried launching notion under rr, and then this assertion does not > > trigger, unfortunately. > > That's too bad. Thanks for trying it out. > > This issue is a race condition, and rr inherently limits the process to > one core. Can you try "rr record --chaos"? This randomizes the thread > switching, and is often effective and triggering these kinds of failures > under rr. > > Did not have much luck with --chaos either, the assertion does not trigger.
Hello everyone, I decided to dig a bit deeper into this issue. I found that the phtreads mutexes in libx11 were not being initialized by libc, but they were then used in syscalls. Rebuilding with -pthread fixed the issue, but it should also not be necessary to do so. This led me to believe that the hangs/crashes are caused by libc6. I have updated my system from libc6 2.33-8 to libc6 2.34-1 and I can no longer reproduce the bug. @Jurij: What happens if you update your libc6, could you give it a try? It would be good to get confirmation that the bug was in libc6. Regards, -- Göran Weinholt | https://weinholt.se/ Debian Developer | 73 de SA6CJK