• 2 replies
  • Latest Post - ‏2016-03-29T11:47:35Z by PreetiSoni
6902 Posts

Pinned topic how to analyze library load issue

‏2013-03-22T13:11:25Z |
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

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

    Re: how to analyze library load issue

    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).
  • PreetiSoni
    1 Post

    Re: how to analyze library load issue



    I am getting exactly same issue. Would you please share, how you resolved the crash. For me to dd does not show any error.


    System detail: AIX 7.1 64 bit

    Stack trace:

    (dbx) where
    pthread_kill(??, ??) at 0x90000000084edb0
    _p_raise(??) at 0x90000000084e664
    raise.raise(??) at 0x9000000000390e8
    abort() at 0x900000000054564
    std::myabort()() at 0x90000000081800c
    std::terminate()() at 0x90000000081756c
    __catchThrownException() at 0x900000000803bac
    initialize_one_library(??, ??) at 0x9000000000e2b5c
    grab_orig_libs(??) at 0x9000000000e21c4
    __run_initial_ctors(??) at 0x9000000000e0cb4
    __C_runtime_startup() at 0x100000628
    usl_exec_init_modsx(??, ??, ??) at 0x9fffffff000b16c
    call_chkpntblk.usl_exec_init_mods() at 0x9fffffff0001184


    Thanks in advance!