on freescale vybrid when the eglCreateContext() is called there is an abort exception generated. what has been noted is a while loop runs few times and when event_chk_ptr points to NULL, it tried to read and write. I have attached a debugger screen shot as well.
MQX version used - Freescale_MQX_4_1_0_Beta
configuration built is vybrid_autoevb_a5 with ARM GCC