Sample Program
import java.applet.*;
import java.awt.*;
public class sample1 extends Applet implements Runnable
{
public static void main(String args[])
{
Frame frame = new Frame("sampleFrame");
frame.show();
frame.hide();
}
public void run()
{
}
}
The Problem
To demonstrate the problem, run "jdb sample1" and then enter the
following jdb commands:
stop in sample1.main
run
next
dump Frame
The dump command will cause a crash in java_g.exe with an invalid memory
reference.
Our Diagnosis
After building a debuggable version of Agent.dll, we know that the error
occurs in agent.c, in the function named
sun_tools_debug_Agent_getSlotObject, line 287 in the 1.1.2 beta version
of the source code delivered to us on 09APR97.
import java.applet.*;
import java.awt.*;
public class sample1 extends Applet implements Runnable
{
public static void main(String args[])
{
Frame frame = new Frame("sampleFrame");
frame.show();
frame.hide();
}
public void run()
{
}
}
The Problem
To demonstrate the problem, run "jdb sample1" and then enter the
following jdb commands:
stop in sample1.main
run
next
dump Frame
The dump command will cause a crash in java_g.exe with an invalid memory
reference.
Our Diagnosis
After building a debuggable version of Agent.dll, we know that the error
occurs in agent.c, in the function named
sun_tools_debug_Agent_getSlotObject, line 287 in the 1.1.2 beta version
of the source code delivered to us on 09APR97.
- duplicates
-
JDK-4046675 jdb crash stepping into constructor with a String literal argument
- Closed