Topic
  • 1 reply
  • Latest Post - ‏2013-03-25T11:34:44Z by jklotz
SystemAdmin
SystemAdmin
6902 Posts

Pinned topic how to analyze library load issue

‏2013-03-22T13:11:25Z |
Hello,
While running a process on AIX 6.1 (64 bit) i am getting core dump and stack trace is as below. looks like it failed to load library but i am not able to find which library it failed to load. Interestingly ldd command doesn't give any error and the same binary works fine on other AIX sever. Please help me to how to analyze this kind of issues.
pthread_kill(??, ??) at 0x900000000583470
_p_raise(??) at 0x900000000582ce8
raise.raise(??) at 0x900000000019a8c
abort() at 0x90000000008b964
std::myabort()() at 0x900000000519c4c
std::terminate()() at 0x900000000517f70
__catchThrownException() at 0x900000000535a30
initialize_one_library(??, ??) at 0x90000000009981c
grab_orig_libs(??) at 0x900000000098f44
__run_initial_ctors(??) at 0x900000000097a38
__C_runtime_startup() at 0x100000628
usl_exec_init_mods(??, ??, ??) at 0x9fffffff0003628

regards,
Updated on 2013-03-25T11:34:44Z at 2013-03-25T11:34:44Z by jklotz
  • jklotz
    jklotz
    26 Posts

    Re: how to analyze library load issue

    ‏2013-03-25T11:34:44Z  
    These are just some suggestions, as this kind of problem can be very subtle, but you could try to use truss to find the culprit.

    Or run nm / dump to search in libraries the one which contains the symbol you suspect where the problem is happening ( for example initialize_one_library or grab_orig_libs).