Microsoft KB Archive/261088

From BetaArchive Wiki

Article ID: 261088

Article Last Modified on 6/14/2006



APPLIES TO

  • Microsoft Internet Explorer 5.0
  • Microsoft Internet Explorer 4.01 Service Pack 1
  • Microsoft Java Virtual Machine



This article was previously published under Q261088

SYMPTOMS

When you run the simple applet described in the "More Information" section of this article, Internet Explorer 5 stops responding (crashes).

CAUSE

An infinite loop is entered, which causes the stack to overflow while in native code.

STATUS

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

This problem was corrected in Windows 2000 Service Pack 1.


MORE INFORMATION

Steps to Reproduce Behavior

To reproduce this problem, you can compile the following code:

import java.applet.Applet;
import java.awt.TextArea;
import java.awt.event.TextListener;
import java.awt.event.TextEvent;

public class CrashIE extends Applet implements TextListener {
  private TextArea field = new TextArea();

  public void init() {
    field.addTextListener(this);
    add(field);
    field.setText("Hello!");
  }

  public void textValueChanged(TextEvent evt) {
    field.setText("");
  }
}
                


You can also view the applet when you use this HTML:

<applet code=CrashIE width=1 height=1></applet>
                

REFERENCES

For additional information about the latest service pack for Windows 2000, click the article number below to view the article in the Microsoft Knowledge Base:

260910 How to Obtain the Latest Windows 2000 Service Pack


For support information about Visual J++ and the SDK for Java, visit the following Microsoft Web site:


Additional query words: crash crashes

Keywords: kbbug kbfix kbjavavm33xxfix kbwin2000sp1fix kbjnative kbawtpkg KB261088