AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
  • 1.  how to analyze library load issue

    Posted Fri March 22, 2013 09:11 AM

    Originally posted by: SystemAdmin


    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,
    #AIX-Forum


  • 2.  Re: how to analyze library load issue

    Posted Mon March 25, 2013 07:35 AM

    Originally posted by: jklotz


    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).
    #AIX-Forum


  • 3.  Re: how to analyze library load issue

    Posted Tue March 29, 2016 07:48 AM

    Originally posted by: PreetiSoni


    Hi,

    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!

    Preeti

     

     


    #AIX-Forum