Commit fb56b04
Use --disable-setuid-sandbox instead of --no-sandbox on Linux CI
--no-sandbox in CEF 146 no-sandbox mode skips the infrastructure that
registers the Mojo IPC bootstrap fd (global descriptor key 7) for child
processes, causing all subprocesses to crash with "Failed global descriptor
lookup: 7". Previous workarounds (--single-process, --no-zygote, in-process
services) eliminated subprocess spawns but --single-process introduced a
new deadlock with CEF's external pump mode.
Fix: drop --no-sandbox and use --disable-setuid-sandbox instead. This
tells Chrome to skip the setuid helper binary (not shipped) and fall back
to the user-namespace sandbox, which correctly sets up the Mojo IPC fd
for every subprocess. User namespaces are available on GitHub Actions
Ubuntu 24.04 runners.
Also revert the short-lived async CreateBrowser() pump-loop hack which is
no longer needed.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 1da62d7 commit fb56b04
3 files changed
Lines changed: 16 additions & 55 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
806 | 806 | | |
807 | 807 | | |
808 | 808 | | |
809 | | - | |
810 | | - | |
811 | | - | |
812 | | - | |
813 | | - | |
814 | | - | |
815 | | - | |
816 | | - | |
817 | | - | |
| 809 | + | |
| 810 | + | |
818 | 811 | | |
819 | 812 | | |
820 | 813 | | |
821 | | - | |
822 | | - | |
823 | | - | |
824 | | - | |
825 | | - | |
826 | | - | |
827 | | - | |
828 | | - | |
829 | | - | |
830 | | - | |
831 | | - | |
832 | | - | |
833 | | - | |
834 | | - | |
835 | | - | |
836 | | - | |
837 | | - | |
838 | | - | |
839 | 814 | | |
840 | 815 | | |
841 | 816 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
147 | | - | |
148 | | - | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
149 | 151 | | |
150 | 152 | | |
151 | 153 | | |
152 | 154 | | |
153 | 155 | | |
154 | 156 | | |
155 | | - | |
156 | | - | |
| 157 | + | |
157 | 158 | | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
| 159 | + | |
| 160 | + | |
168 | 161 | | |
169 | 162 | | |
170 | 163 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
117 | | - | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
118 | 120 | | |
119 | 121 | | |
120 | 122 | | |
121 | | - | |
122 | | - | |
| 123 | + | |
123 | 124 | | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
| 125 | + | |
| 126 | + | |
134 | 127 | | |
135 | 128 | | |
136 | 129 | | |
| |||
0 commit comments