IHTMLTxtRange::getBookmark Method May Cause an Access Violation in Mshtml!CMarkup::TreePosAtCp (320663)



The information in this article applies to:

  • Microsoft Internet Explorer 5.5 for Windows NT 4.0 SP 1
  • Microsoft Internet Explorer 5.5 for Windows NT 4.0 SP 2
  • Microsoft Internet Explorer 5.5 for Windows Millennium Edition SP 1
  • Microsoft Internet Explorer 5.5 for Windows Millennium Edition SP 2
  • Microsoft Internet Explorer 5.5 for Windows 98 Second Edition SP 1
  • Microsoft Internet Explorer 5.5 for Windows 98 Second Edition SP 2
  • Microsoft Internet Explorer 5.5 for Windows 98 SP 1
  • Microsoft Internet Explorer 5.5 for Windows 98 SP 2
  • Microsoft Internet Explorer 5.5 for Windows 95 SP 1
  • Microsoft Internet Explorer 5.5 for Windows 95 SP 2
  • Microsoft Internet Explorer 5.5 for Windows 2000 SP 1
  • Microsoft Internet Explorer 5.5 for Windows 2000 SP 2

This article was previously published under Q320663

SYMPTOMS

You may experience an access violation in Microsoft Internet Explorer 5.5 in Mshtml.dll when you use the IHTMLTxtRange::moveToBookmark method to save a bookmark, when you refresh the document, and then when you use the IHTMLTxtRange::getToBookmark method to retrieve the bookmark. The callstack may look similar to the following:

ChildEBP RetAddr Args to Child
 0012f494 70cc9aa5 0000031c 0012f4bc 00000000 mshtml!CMarkup::TreePosAtCp+0xf
 0012f4b4 70e0773d 0000031c 0133abd0 70cc8028 mshtml!CMarkupPointer::MoveToCp+0x1a
 0012f4f4 70e17a64 0015da34 013383c0 0012f674 mshtml!CMarkupPointer::MoveToBookmark+0x5c
 0012f510 004033c6 01338380 0015da34 013383c0 mshtml!CAutoRange::moveToBookmark+0x64
				

This access violation apparently does not occur with Internet Explorer 6.0.

RESOLUTION

For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

321232 MS02-023: May 15, 2002, Cumulative Patch for Internet Explorer

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Modification Type:MinorLast Reviewed:4/29/2003
Keywords:kbbug kbIE550PreSP3fix kbpending kbQFE KB320663