I'm programing an app for mp3 decoder using MP3DEC codec offered by TI. Before calling the ALG_Create() function, I want to alloc continuoous memory for the input data buffer and output data buffer. So I call Memory_contigAlloc() . Then compiles it and obtain the executable app. When run it on my OMAP3530, it failed with error: segmentation fault. I think it occurred when calling Memory_contigAlloc() . How can I solve this problem? Could you give an approach? Thanks & regards.