Originally posted by: SystemAdmin
my application can run in aix5.3,but 3 days later, when a thread allocates memory,the thread blocks and CPU is 100%.i use vc8.0.
stack info of the blocked thread:
<hr />
tid# 1008079<hr />
0xd03acca4 malloc_y(0xd01fdb54, 0x100f61cf, 0x30da7150, 0xf10036d0, 0xd01fdb54, 0x100f61cf, 0x30da7160, 0xf100
36d0) + 0x1c
0xd01fdb50 _Fancy_malloc(unsigned long)(??) + 0xc8
0xd01fd784 operator new(unsigned long)(??) + 0x64
0xd01fd6e4 operator new[](unsigned long)(??) + 0xc
0xd3ed1a48 XMLTranscoder::XMLTranscoder(const unsigned short*,unsigned int)() + 0x84
0xd3edb8e4 XML88591Transcoder::XML88591Transcoder(const unsigned short*,unsigned int)() + 0x14
0xd3ed3c0c ENameMapFor<XML88591Transcoder>::makeNew(unsigned int) const() + 0x5c
0xd3ed17f4 XMLTransService::makeNewTranscoderFor(const unsigned short*,XMLTransService::Codes&,unsigned int)()
+ 0x8c
0xd3ed7f10 XMLReader::XMLReader(const unsigned short*,const unsigned short*,BinInputStream*,const unsigned sho
rt*,XMLReader::RefFrom,XMLReader::Types,XMLReader::Sources,bool)() + 0x2a0
0xd3e934d8 ReaderMgr::createReader(const InputSource&,bool,XMLReader::RefFrom,XMLReader::Types,XMLReader::Sour
ces)() + 0x164
0xd3fd19c0 XMLScanner::scanReset(const InputSource&)() + 0x230
0xd3ef4088 XMLScanner::scanDocument(const InputSource&)() + 0x5c
0xd3e8c0b4 AbstractDOMParser::parse(const InputSource&)() + 0x68
0x1033e9a4 GDKT::XmlTreeParser::string2Tree(const char*,const char*)(0x310bedf8, 0x310b92a8, 0x130f466c) + 0x1
0c
0x115eba38 GDKT::BackAlarmSyncAcceptSkeleton::onRecvAlarmFromChannels(gdktMsgrp&,const gdktCommServerId&,const
gdktCommConnId&)(0x308e0718, 0x30da8ef0, 0x30da8f4c, 0x30da8f54) + 0x220
0x115f3268 GDKT::BackAlarmSyncAcceptSkeleton::run(gdktMsgrp&,const gdktCommServerId&,const gdktCommConnId&)(0x
308e0718, 0x30da8ef0, 0x30da8f4c, 0x30da8f54) + 0x12c
0x1018f170 GDKT::BackServerMsgReactor::skeletonMsgrpDispatch(gdktMsgrp&,const gdktCommServerId&,const gdktComm
ConnId&)(0x2ff20574, 0x30da8ef0, 0x30da8f4c, 0x30da8f54) + 0xfbc
0x1019a598 GDKT::BackServerMsgReactor::recvCallback(gdktCommServerId,gdktCommConnId,const gdktPacket&)(0x2ff20
574, 0x4, 0x41c6, 0x1d, 0x446b, 0x30da9090) + 0x7c
0x103143b0 gdktCommConnection::ReasPacket(const gdktCell*)(0x30c9e1a8, 0x30ea79d0) + 0x280
0x10324d48 gdktCommConnection::recvMonitor()(0x30c9e1a8) + 0x248
0x10327e60 gdktThreadProxy<gdktCommConnection>::Run()(0x30038f38) + 0x54
0x10333be4 gdktThreadPool::RunIt(gdktThreadInfo*)(0x30da48d8) + 0x70
0x10333e50 gdktThreadPool::ThreadProxy(void*)(0x30da48d8) + 0x188
0xd0111640 _pthread_body(??) + 0x118
I compile it with -qthread, it can run 7 days also,but if compile it without -qthread,it can run 3 days only.
Message was edited by: hi_renjun
#AIX-Forum