mac: DumpWithoutCrashing on IOSurface mach errors
Add DumpWithoutCrashing whenever we fail IOSurfaceLookupFromMachPort. Remove the CHECKs, since this was frequent enough to affect stability. Change anonymous image creation to not use mach ports, but add an attempt to locally open via mach port for debugging purposes. For non-anonymous image creation, where the image will be passed via a mach port to the client process, attempt to open the mach port before passing to the client. If this open fails, then do not send the mach port to the client. This may determine if the problem is independent of the process attempting to open. Bug: IOSurfaceLookupFromMachPort Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Change-Id: I8d201ca2d370efac58a9a690100fbf63f0bc6a27 Reviewed-on: https://chromium-review.googlesource.com/905239 Commit-Queue: ccameron <ccameron@chromium.org> Reviewed-by:Victor Miura <vmiura@chromium.org> Cr-Commit-Position: refs/heads/master@{#534898}
Showing
Please register or sign in to comment