Closed dmik closed 1 year ago
Note that I could not reproduce it in a simple test case. The problem can only be observed within the huge Chromium context so far.
Actually, we already have another ticket for this task, #11. Closing this in favour of that.
As Chromium tests show (see https://github.com/bitwiseworks/qtwebengine-chromium-os2/issues/20#issue-686420732),
alignas(8)
is not always respected by GCC when allocating variables on the stack. Most of the time it works (i.e. variables get stack addresses ending with either 0x0 or 0x8) but occasionally something breaks and variables end up at "odd" addresses ending with 0x4 or 0xC. The Mojo component in Chromium is pretty strict about that and crashes the application on alignment mismatch.