Do not depend on RVM hacks. Avoid forbidden operations on trap context.