When trying to run layout tests with SwiftShader I see GPU process crashing with the following call stack:
sw::Renderer::executeTask(int) at /usr/local/google/home/sergeyu/c/src/out/a/../../third_party/swiftshader/src/Renderer/Renderer.cpp:982
sw::Renderer::taskLoop(int) at /usr/local/google/home/sergeyu/c/src/out/a/../../buildtools/third_party/libc++/trunk/include/atomic:926
(inlined by) ?? at /usr/local/google/home/sergeyu/c/src/out/a/../../third_party/swiftshader/src/Common/Thread.hpp:304
(inlined by) sw::Renderer::taskLoop(int) at /usr/local/google/home/sergeyu/c/src/out/a/../../third_party/swiftshader/src/Renderer/Renderer.cpp:768
sw::Renderer::threadLoop(int) at /usr/local/google/home/sergeyu/c/src/out/a/../../third_party/swiftshader/src/Renderer/Renderer.cpp:761
sw::Socket::select(int) at /usr/local/google/home/sergeyu/c/src/out/a/../../third_party/swiftshader/src/Common/Socket.cpp:74
sw::Renderer::executeTask() attempts to call generated code, but it fails because that code is in memory region that doesn't have EXEC permission. The problem is that we don't have allocateExecutable() implemented for Fuchsia.
Comment 1 by capn@chromium.org
, Dec 16