Bug#1016363: Bug#1016516: notion: Notion fails on startup (in sid)
- To: Jurij Smakov <jurij@wooyd.org>
- Cc: Dima Kogan <dkogan@debian.org>, 1016516@bugs.debian.org, Arnout Engelen <arnout@bzzt.net>, 1016363@bugs.debian.org
- Subject: Bug#1016363: Bug#1016516: notion: Notion fails on startup (in sid)
- From: Göran Weinholt <goran@weinholt.se>
- Date: Tue, 09 Aug 2022 10:31:15 +0200
- Message-id: <[🔎] 875yj17r8s.fsf@teapot.weinholt.se>
- Reply-to: Göran Weinholt <goran@weinholt.se>, 1016363@bugs.debian.org
- In-reply-to: <CAARZkXt-JgOjW3EwW6Dd1UPBfKYX7Z6dY9hvRnVjiS1R8uHYTA@mail.gmail.com> (Jurij Smakov's message of "Tue, 9 Aug 2022 08:33:47 +0100")
- References: <165942651054.4305.12090338874714913333.reportbug@paddy> <87k07q4k9d.fsf@debian.org> <CAARZkXs_inOSmvnMQo5T0MA6LLwEWJOLKqwD8YzZ4F_6fm6sEw@mail.gmail.com> <8735ed46w0.fsf@debian.org> <CAARZkXtguWM9mV5OR=Pr0nHPtpaWw6AKKo=0kydC-zrE-trYUA@mail.gmail.com> <8735e7unj1.fsf@teapot.weinholt.se> <CAARZkXt-JgOjW3EwW6Dd1UPBfKYX7Z6dY9hvRnVjiS1R8uHYTA@mail.gmail.com> <YuTA32tZWIJl4Vbc@ikki.ethgen.ch>
Jurij Smakov <jurij@wooyd.org> writes:
> On Mon, Aug 8, 2022 at 9:50 AM Göran Weinholt <goran@weinholt.se> wrote:
>
> @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.
>
> I can confirm that upgrading libc6 (in my case, to Debian's 2.34-3 package) fixes the problem.
Thank you very much. There is the possibility that libc6 2.34 just hides
the problem. Adam Jackson wrote:
| glibc 2.34 merged several libraries into libc.so.6, including
| libpthread, which would probably explain that.
<https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues/157#note_1500695>
I have a suggested fix for libX11 here, which adds -pthread to the
compilation and linking commands:
<https://gitlab.freedesktop.org/weinholt/libx11/-/commit/a8d4cbc3a46e625c6c4fb4120d2fff56eebcf91c>
It seems harmless, but I've tested it very little.
The discussion is complicated a bit by the fact that there are clients
with genuine bugs (calls to libX11 during event processing), and other
clients that break just because they themselves don't build with
-pthread.
Either way, notion (and glxgears, etc) stopped working because Debian sid
for a short while had glibc 2.33 and a libx11 that called XInitThreads()
without using -pthread, resulting in pthread mutexes being used when
uninitialized.
Regards,
--
Göran Weinholt | https://weinholt.se/
Debian Developer | 73 de SA6CJK
Reply to: