Keil Logo

DS-5: ERROR(CMD16-COR97): Failed to Load Image "Foo.so"


Information in this knowledgebase article applies to:

  • ARM Development Studio 5

SYMPTOM

What does the following error mean?

ERROR(CMD16-COR97):
! Failed to load image "foo.so"
! Range 0x00008144..0x000081C3 overlaps with range 0x00008148..0x00008167 currently in map

CAUSE

This means that the debugger tried to load debug symbols from a file and the address of some of those symbols overlaps with symbols that are already loaded. The most likely cause of this is that, within Eclipse, you specified shared library symbols in the Symbol files on host field of the Debug Configuration dialog box. This field is intended for adding symbols files with an offset of 0, which is very unlikely to be correct for shared libraries.

RESOLUTION

If you want to load the debug symbols for a shared library then you can use the set solib-search-path command in the Command view to add the search path to the folder on your host computer containing the shared libraries. For example:

set solib-search-path "C:\myLibraries"

Having set the search path you can then issue the sharedlibrary command so that the debugger can load the relevant shared library symbols.

To perform these steps automatically each time you connect, write the commands into a script file, and then use the Run Script option in the debugger launcher panel in Eclipse.

Last Reviewed: Monday, February 8, 2021


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.