Yongsik Kim

Assert failure with OpenGLES/OpenVG + EGL with BSP 110300

Discussion created by Yongsik Kim on Jun 29, 2011

Hello.

 

I have problem with new BSP 110300 version, such as,

 

- when I run my OpenGLES or OpenVG code I get this 'ASSERT FAILURE' message and it crashes!

- CPU is i.MX515.

 

malloc.c:3096: sYSMALLOc: Assertion `(old_top == (((mbinptr) (((char *) &((av)->bins[((1) - 1) * 2])) - __builtin_offsetof (struct malloc_chunk, fd)))) && old_size == 0) || ((unsigned long) (old_size) >= (unsigned long)((((__builtin_offsetof (struct malloc_chunk, fd_nextsize))+((2 * (sizeof(size_t))) - 1)) & ~((2 * (sizeof(size_t))) - 1))) && ((old_top)->size & 0x1) && ((unsigned long)old_end & pagemask) == 0)' failed.

 

All of those code worked very well with older BSPs such as 100711 ER version.

 

Is there somebody who experienced such a problem?

 

OR is there some tweaks that must be done when we migrate

from older BSPs (which uses gcc 4.1.2) to newer BSPs (which uses gcc 4.4.4 with multilib) ??

 

Please help me!!!!!

 

thanks.

Outcomes