Hi -
Issue was found on RedHat, SuSe ES 9 and 10 Linux Platform
We have 2 different products. They both work perfect independently.
But when product1 loads product2 Shared library, everything goes wrong. core dump happens to be in libstdc++.
Product1 is using STLport while Product2 is using Native STL libstd++ library.
I want to check thread-safety of each and every library and binary of both products. Is there a tool on Linux similar to "footprints" on HPUX, which dumps compiler/linker options.
"footprints" on hp-ux can dump compiler options of the binary.
I tried objdump/nm but don't know how to check thread-safety of particular library.
core dump stack trace.
#0 0x0037a7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1 0x003ba955 in raise () from /lib/tls/libc.so.6
#2 0x003bc319 in abort () from /lib/tls/libc.so.6
#3 0xb7ad87fe in PmAbortProcess () from /home/pc85_32/Informatica/PowerCenter8.5.1//server/bin/libpmuti.so
#4 0x081be6de in fatalSignalHandler ()
#5 <signal handler called>
#6 0xaff704a1 in std::locale:
perator= () from /usr/lib/libstdc++.so.5
#7 0xaff68fab in std::ios_base::_M_init () from /usr/lib/libstdc++.so.5
#8 0xaff6727b in std::basic_ios<char, std::char_traits<char> >::init () from /usr/lib/libstdc++.so.5
#9 0xb0116752 in SivTech::SystemInit::UpgradeMgr::compareVersions () from /home/pc85_32/Informatica/DataQuality/lib/libathanor_realtime.so
#10 0xb0116596 in SivTech::SystemInit::UpgradeMgr::sortFiles () from /home/pc85_32/Informatica/DataQuality/lib/libathanor_realtime.so
#11 0xb0118602 in SivTech::SystemInit::UpgradeMgr::runUpgrade () from /home/pc85_32/Informatica/DataQuality/lib/libathanor_realtime.so
#12 0xb0105933 in SivTech::Engine::EngineMgr::EngineMgr () from /home/pc85_32/Informatica/DataQuality/lib/libathanor_realtime.so
#13 0xb010e6be in ACE_Singleton<SivTech::Engine::EngineMgr, ACE_Recursive_Thread_Mutex>::instance ()
from /home/pc85_32/Informatica/DataQuality/lib/libathanor_realtime.so
#14 0xb0110cc8 in SivTech::Server::Service::createEngine () from /home/pc85_32/Informatica/DataQuality/lib/libathanor_realtime.so
#15 0xb011a2b8 in createRealtimeEngine () from /home/pc85_32/Informatica/DataQuality/lib/libathanor_realtime.so
#16 0xb013c802 in loadQualityPlans () from /home/pc85_32/Informatica/PowerCenter8.5.1//server/bin/libIDQTransform.so
#17 0xb013f608 in commonPartitionInit () from /home/pc85_32/Informatica/PowerCenter8.5.1//server/bin/libIDQTransform.so
#18 0xb0140205 in p_DataQualityProcess_partitionInit () from /home/pc85_32/Informatica/PowerCenter8.5.1//server/bin/libIDQTransform.so
#19 0x0843a784 in SMGEPWidget::runtimeActivateImpl ()
#20 0x083f8b19 in SWidget::runtimeActivate ()
#21 0x083f8b80 in SWidget::runtimeActivate ()
#22 0x0837d739 in STransformationRunnable::init ()
#23 0x0837f535 in STransformationRunnable::handleRequest ()
#24 0x08208e5d in SWorker::run ()
#25 0x081e44c4 in SDTMRunnable::MainEntryPoint ()
#26 0xb7fe56c1 in runit () from /home/pc85_32/Informatica/PowerCenter8.5.1//server/bin/libpmcef.so
#27 0x005b73ae in start_thread () from /lib/tls/libpthread.so.0
#28 0x00459aee in clone () from /lib/tls/libc.so.6
- Ajit