You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Shang, Crystal" <Cs...@rsasecurity.com> on 2002/04/06 02:08:47 UTC

XalanDOMString::trancode() crashes

Hi,

The following code crashes on my system:

	XalanDOMString myString = XalanDOMString("Xalan String");
  	myString .transcode();

The call stack is as follows:
	NTDLL! 77f762e8()
	NTDLL! 77f83274()
	KERNEL32! 77f12dfd()
	_CrtIsValidHeapPointer(const void * 0x009963a0) line 1606
	_free_dbg(void * 0x009963a0, int 0x00000001) line 1011 + 9 bytes
	operator delete(void * 0x009963a0) line 49 + 16 bytes
	std::allocator<char>::deallocate(void * 0x009963a0, unsigned int
0x00000008) line 64 + 38 bytes
	std::vector<char,std::allocator<char>
>::~vector<char,std::allocator<char> >() line 60
	XALAN_XPATH::DoXPathEvaluation(DOMSupport * 0x0012fe64,
XalanDocument * 0x009966a0) line 99 -- this is where transcode() is being
called.

Am I doing things in the right sequence/configuration? Is this a bug? Do I
need to have Dinkum C++ library fixes installed?

Thanks a lot!

- Crystal