Hi, Im using xerces 3.1.1 and when I run my application in multithreaded mode it crashes inconsistently. when I enabled windbg as my postmortem debugger and the stack trace showed that it crashes in "transcode" function.
This is the stack trace WARNING: Stack unwind information not available. Following frames may be wrong. 047fda24 77e668fd ntdll!KiFastSystemCallRet *** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.6195_x-ww_44262B86\MSVCR80.dll - 047fda38 78131720 kernel32!ExitProcess+0x14 047fda7c 78131a5c MSVCR80!amsg_exit+0x5e *** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\WINDOWS\system32\USER32.dll - 047fdb3c 7739f047 MSVCR80!exit+0xd 047fdb4c 7739f061 USER32!MessageBoxTimeoutW+0x1d9 *** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\WINDOWS\system32\ADVAPI32.dll - 047fdb64 7d1f1243 USER32!MessageBoxTimeoutW+0x1f3 *** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\WINDOWS\system32\xerces-c_3_1_vc80.dll - 047fdba8 1201e45e ADVAPI32!MakeAbsoluteSD+0x878 047fdbc4 7c82e688 xerces_c_3_1_vc80!xercesc_3_1::Win32TransService::Win32TransService+0x20e 047fdc5c 7c82d7cd ntdll!RtlQueryEnvironmentVariable_U+0x164 047fdc74 7c82d93e ntdll!RtlLogStackBackTrace+0x269 047fdd18 773c42c8 ntdll!LdrGetProcedureAddress+0x35 047fdd38 773c42a4 USER32!MessageBoxExA+0x1b 047fdd54 78139882 USER32!MessageBoxA+0x45 047fdd98 78131c2c MSVCR80!rand_s+0x4fb 047fddb4 7816a7ef MSVCR80!c_exit+0x1bd 047fddc4 1201e45e MSVCR80!purecall+0x22 047fde2c 7c829f6c xerces_c_3_1_vc80!xercesc_3_1::Win32TransService::Win32TransService+0x20e 047fde3c 1201dbdc ntdll!RtlAllocateHeap+0x126 047fde78 7c829f28 xerces_c_3_1_vc80!xercesc_3_1::XMLUTF8Transcoder::transcodeTo+0x18c *** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\WINDOWS\system32\ACECLNT_tcp.dll - 047fe0a8 100498b2 ntdll!RtlAllocateHeap+0xe2 I am calling XMLstring::Release after at the end of the block where the string is used. so I don't think I ran out of memory to cause this error. what else could be the reason? Thanks Arul -- View this message in context: http://apache-xml-project.6118.n7.nabble.com/application-crashing-sporadically-due-to-transcode-function-tp40701.html Sent from the Xerces - C - Users mailing list archive at Nabble.com.