Hi Roger/Team, Answer answer to your above questions:
Thats the back trace what we get. Only two call chains. Yes, the fault happens once the program is executed when XMLPlatformUtils::Initialize() is called. Its a single threaded, multi process application. The libxerces.a is linked statically under the process execution. Steps to build lib: ./configure --disable-threads --enable-transcoder-iconv CC=gcc-4.3 CXX=g++-4.3 make clean make Its occurring on the first invocation itself --Venkatesh On Thu, Nov 3, 2016 at 10:55 PM, <rle...@codelibre.net> wrote: > On 2016-11-03 16:40, Venkatesh Thanneermalai wrote: > >> Hi Team, >> >> Please help on the below issue that we are facing. >> >>> SIGSEGV Protection Violation during PlatformUtils::XMLInitialize >>> >> > I don't see a full backtrace here, or the code which caused the fault. > There's not much here to work with, so the following are totally generic > suggestions: > > Can you reduce this down to minimal reproducible example? > > Is the fault occurring before or after main() is entered, i.e. during > static initialisation? > > Is it occurring on the first invocation or upon subsequent invocations? > > Are there any thread- or exception-related issues in your code? Maybe try > wrapping the Initialize and Terminate calls with a mutex and/or RAII > wrapper? > > Is it possible that the malloc arena has been corrupted before calling > PlatformUtils::XMLInitialize which then results in the error you see? > > > Roger > > -- It ain't over till it's over'