This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Omap3530 Memory Usage

Other Parts Discussed in Thread: OMAP3530

I have been having random glibc errors:

*** glibc detected *** ./cap_encode_omap3530.x470MV: free(): invalid next size (
normal): 0x000eae90 ***
or
*** glibc detected ***: double free or corruption ( !prev): 0x000eafa0 ***

 

which is suspiciously like this thread:

http://e2e.ti.com/forums/p/2394/9226.aspx#9226

I also noticed by utilizing the top utility that this application is using a lot of memory.(94% +)

 

Does anyone have any ideas about tracking these kind of errors down?

 

msj

 

 

  • msj said:
    *** glibc detected ***: double free or corruption ( !prev): 0x000eafa0 ***

    This sounds like your application is trying to free some memory that has already been deallocated.  You could try to use a debugger like ddd to pinpoint where in your code this may be occuring.  For instructions on using ddd, look here http://www.ti.com/litv/pdf/spraap9.

    msj said:
    I also noticed by utilizing the top utility that this application is using a lot of memory.(94% +)

    Without knowing more about your application, it's hard to say what's causing the high memory usage, but this could also be an issue with incorrect allocation of memory.