Originally posted by: Erra
Hello,
One of our Customer is getting Coredump when our application is trying to load a library(one of our products library) using dlopen() on AIX 6.1.
Our application and our shared library are built on AIX 5.3 machine using xlC compiler.
we have tried executing the same application on our in-house AIX 6.1 machine and we didn't get any issues . Everything working fine.
Problem is with the Customer's Environment.
Customer OSlevel is 6100-02
Here is the stack trace. It shows, core dump occured in __Init().
dbx) where
_Init()() at 0xd12bbfbc
strstrea.locale()(??) at 0xd12c3320
strstrea.basic_streambuf()(??) at 0xd12cd0c0
iostream.basic_filebuf(FILE*)(??, ??) at 0xd12ccfb4
Init()(??) at 0xd12ccdd0
__sinit00000164_x_2fbuild_2fvacpp_2f101_2fC_2b_2b_2ert_2e101_2eaix_2dprod_2dopt_2fcpprt_2fsxl_2fstat ics_2ecpp()() at 0xd12b6bb0
__catchThrownException() at 0xd0c32b6c
initialize_one_library(??, ??) at 0xd01a8ebc
grab_orig_libs(??) at 0xd01a8678
loadAndInit(??, ??, ??) at 0xd01aaa50
dlopen(??, ??) at 0xd0196648
cliv2_tdicu_init(), line 130 in "loadtdicu.c"
LoadDeps(), line 16882 in "cliv2.c"
DBCHINI(ReturnCode = 0x2ff21518, dummyptr = (nil), dbcptr = 0x30869000), line 9409 in "cliv2.c"
btqInitCapRC(ReturnCode = 0x2ff21518), line 1904 in "btqmfun.c"
btqInitMain(ReturnCode = 0x2ff21518), line 2181 in "btqmfun.c"
main(argc = 1, argv = 0x2ff21a30), line 1854 in "btqmain.c"
(dbx)
we have used dlopen as
dlopen(ourlibrary,RTLD_GLOBAL | RTLD_LAZY);
Could you let me know what could be the problem.
Is this a know issue OR Customer Machine is missing any filesets.
Thanks in advance.
regards,
Srikrishna Erra.
#AIX-Forum