Hi,
 
We are using Xerces C++ Parser 2.6 version, and are noticing high cpu issue, and when we attach gdb, it is pointing to malloc in XercesDOMParser object creation. Has anyone seen this issue ? Any idea on how to fix this ? The issue is intermittent, not easy to reproduce, but so far happened couple of times already. Once this issue happens, the process seems to be stuck doing nothing.
 
Any help would be appreciated.
 

(gdb) where

#0  0x005fd304 in malloc_consolidate () from /lib/tls/libc.so.6

#1  0x005fcaf9 in _int_malloc () from /lib/tls/libc.so.6

#2  0x005fbe9d in malloc () from /lib/tls/libc.so.6

#3  0x00de682e in operator new () from /usr/lib/libstdc++.so.5

#4  0x0035c474 in xercesc_2_6::MemoryManagerImpl::allocate () from /usr/local/cm/lib/libxerces-c.so.26

#5  0x003d1809 in xercesc_2_6::XMLBufferMgr::bidOnBuffer () from /usr/local/cm/lib/libxerces-c.so.26

#6  0x002d3244 in xercesc_2_6::AbstractDOMParser::AbstractDOMParser$base () from /usr/local/cm/lib/libxerces-c.so.26

#7  0x003c72c9 in xercesc_2_6::XercesDOMParser::XercesDOMParser () from /usr/local/cm/lib/libxerces-c.so.26

#8  0x080f78c4 in CSnmpAlarmReceiver::parseRawAlarm (curRawAlarm=

      {<_STL::_String_base<char, _STL::allocator<char> >> = {_M_start = 0xb72de038 "<Alarm Name=\"CALLMGMT-CISCOCALLMANAGER-MediaResourceListExhausted\" Sev=\"4\" Time=\"1142406838\"><Param Name=\"MediaResourceListName\" Type=\"String\" Value=\"MRG-DFW-ANN:MRG-DFW-MOH:MRG-DFW-Hard-Conf:MRG-DFW-"..., _M_finish = 0xb72de215 "", _M_end_of_storage = {<_STL::allocator<char>> = {<No data fields>}, _M_data = 0xb72de216 ""}}, static npos = 4294967295}, [EMAIL PROTECTED]) at SnmpAlarmReceiver.cpp:234

#9  0x080f86b6 in CSnmpAlarmReceiver::workerThread (pAlarmReceiver=0x8881c58) at SnmpAlarmReceiver.cpp:450

#10 0x008012e6 in ACE_Thread_Adapter::invoke_i (this=0x18) at Thread_Adapter.cpp:150

#11 0x00801251 in ACE_Thread_Adapter::invoke (this=0x887e3c8) at Thread_Adapter.cpp:93

#12 0x007c845e in ace_thread_adapter (args=0x1) at Base_Thread_Adapter.cpp:121

#13 0x006c7dec in start_thread () from /lib/tls/libpthread.so.0

#14 0x00667a2a in clone () from /lib/tls/libc.so.6

 

Thanks

-Priya

Reply via email to