r7899: fixed a crash bug in the RAW-CONTEXT test