Project

General

Profile

« Previous | Next » 

Revision f3685986

Added by peterzhu2118 (Peter Zhu) almost 3 years ago

Improve error message for segv in read_barrier_handler

If the page_body is a null pointer, then read_barrier_handler will
crash with an unrelated message. This commit improves the error message.

Before:

test.rb:1: [BUG] Couldn't unprotect page 0x0000000000000000, errno: Cannot allocate memory

After:

test.rb:1: [BUG] read_barrier_handler: segmentation fault at 0x14