[ http://issues.apache.org/jira/browse/XERCESC-1359?page=comments#action_59803 ] cargilld commented on XERCESC-1359: -----------------------------------
Hi, Can you provide some additional information about this problem? Specifically: -is it failing on the first parse? -does it fail for all documents or just a particular document? -if it is a particular document, can you trying running that document with the ThreadTest sample (specify -parser=dom to get XercesDOMParser) to see if that works? -can you post the code that you are using? -where are you calling XMLPlatform::Initialize and XMLPlatform::Terminate (ie. is each thread calling them)? Thanks, David > AbstractDOMParser cores on parse, try to allocate memory in a multithreaded > application > --------------------------------------------------------------------------------------- > > Key: XERCESC-1359 > URL: http://issues.apache.org/jira/browse/XERCESC-1359 > Project: Xerces-C++ > Type: Bug > Versions: 2.6.0 > Environment: AIX 5.2, Visual Age 6.0 > Reporter: Khomkrit Kaowthumrong > Priority: Critical > > The XercesDOMParser cores on a parse. It seems to be failing on the allocate > in the MemoryManagerImpl. This happens only in a multithreaded application. > If only a single thread exists then it is okay. > pthread_kill(??, ??) at 0x900000001518158 > _p_raise(??) at 0x900000001517b84 > raise.raise(??) at 0x90000000003b73c > abort() at 0x900000000048c44 > myabort__3stdFv() at 0x9000000015341e4 > terminate__3stdFv() at 0x900000001532834 > unexpected__3stdFv() at 0x900000001532794 > __nw__FUl(??) at 0x900000001534b04 > allocate(unsigned long)(0x11005dc30, 0x280a0), line 46 in > "MemoryManagerImpl.cpp" > XMemory.operator new(unsigned long,xercesc_2_6::MemoryManager*)(0x28098, > 0x11005dc30), line 66 in "XMemory.cpp" > unnamed block $b11085, line 424 in "ReaderMgr.cpp" > ReaderMgr.createReader(const > xercesc_2_6::InputSource&,bool,xercesc_2_6::XMLReader::RefFrom,xercesc_2_6::XMLReader::Types,xercesc_2_6::XMLReader::Sources,bool)(0x117fec470, > 0x112babb30, 0x100000000000001, 0x100000001, 0x100000001, 0x100000001, 0x0), > line 424 in "ReaderMgr.cpp" > scanReset(const xercesc_2_6::InputSource&)(0x117fec3b8, 0x112babb30), line > 1251 in "IGXMLScanner2.cpp" > scanDocument(const xercesc_2_6::InputSource&)(0x117fec3b8, 0x112babb30), line > 185 in "IGXMLScanner.cpp" > AbstractDOMParser.parse(const xercesc_2_6::InputSource&)(0x117feac18, > 0x112babb30), line 464 in "AbstractDOMParser.cpp" -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]