Originally posted by: SystemAdmin
Hi All,
I have struck with an strange problem.
I have wrote an application program in c++ which uses ACE third party.In my program i created one semaphore using ACE_Semaphore class.I have compiled this with xlC(visual Age version 8) and linked all shared library using (xlC_r).Now during compilation i am getting this warning.
""../aix51_32/3rdparty/stlport/462/rev1/inc/stl/_alloc.h", line 239.28: 1540-2910 (I) The template "void *_STL::__node_alloc<1,0>::_M_allocate(unsigned long)" uses a file organization for tempinc, but tempinc is not being used.
"../aix51_32/3rdparty/stlport/462/rev1/inc/stl/_alloc.h", line 224.7: 1540-0424 (I) "template class _STL::__node_alloc" is declared on line 224 of "../aix51_32/3rdparty/stlport/462/rev1/inc/stl/_alloc.h". "
But target file is upto date.When i execute my program then it got segmentation fault during semaphore instantation.This program is working fine in Win,Linux,HP and solaris.Can Any one help me out from this.
Note:
The target file which I created is again an shared library.And i use this library in Informatica API.So actual program execution started from Informatica DTM process and in between my shared library comes and I got this error.The whole program working fine on WIN,linux,Hp and solaris but crashed on AIX.
Stack trace of core:
pth_signal.pthread_kill(??, ??) at 0xd0126be8
pth_signal._p_raise(??) at 0xd01266a4
raise.raise(??) at 0xd030f240
abort.abort() at 0xd033d41c
fatalSignalHandler__FiP9siginfo_tPv() at 0x1008984c
malloc_y.malloc_y(0x14, 0x0, 0x3f9febbc, 0xf0a40d5a, 0x74, 0xfffffffe, 0x1014c0c7, 0x8080) at 0xd02fbde0
malloc_common.malloc_common_54_36(??) at 0xd02f940c
_Fancy_malloc__FUl(??) at 0xd053bb50
newop.__nw__FUl(??) at 0xd053b784
__ct__7QStringFPCc() at 0xd6038af8
InitDerived()(0x3fbb09f8), line 364 in "infacxmodule.cpp"
unnamed block in p_TransProc_procInit(infa_ct_mdprocedure_struct*)(0x3f873d7c), line 85 in "p_TransProc.cpp"
p_TransProc_procInit(infa_ct_mdprocedure_struct*)(0x3f873d7c), line