* Rafael Sadowski <[email protected]> [2019-09-05 21:15]:
> > The problem can also be reproduced in version 4.17 and 4.17.1 by running the
> > i3-msg append_layout from a terminal after i3 has started. In 4.16.1p0
> > there is
> > no abort either.
>
> I can't reproduce the pledge issue with i3-gaps-4.17, could you also
> test with i3-gaps-4.17 in -current, please.
Yes, I can reproduce with i3-gaps-4.17 in -current as well.
Maybe your X server doesn't have the SHM extension? Cairo checks the presence
of the SHM extension and will only do shmget if present.
With this I can't reproduce either:
Section "Extensions"
Option "MIT-SHM" "Disable"
EndSection
With some bisecting I found this change to cause the problem:
https://github.com/i3/i3/commit/01c1b5dec2ae5a3ce54c9e0f41daf540afbf052f
The change causes a second xcb connection to be used to create the placeholder
windows. There is a call to restore_connect() before pledge() in main(), which
might be intended to initialize the second connection. Apparently that is not
working.
Cheers,
Ralf