Add CHECKs to help diagnose a crash seen internally.

bug: 62855731
Test: test.py
Change-Id: I7904257174ce11a138ca769172dbc2e33e10ef76
1 file changed