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
I would recommend first using the official 4.1 release which was made available at the end of February. It'll have several bug fixes and improvements over the beta release, with a particular emphasis on Vybrid features. Also make sure you try the lwevent example at C:\Freescale\Freescale_MQX_4_1\mqx\examples\lwevent to see how to implement the lwevent into your particular application.