JDK-6446852 : JVM crashes in AWT when moving the mouse to the staroffice-bean window
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 1.4.2_12
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2006-07-07
  • Updated: 2014-02-27
  • Resolved: 2006-10-18
Related Reports
Duplicate :  
Relates :  
Description
JDK crashes in AWT callstack when using StarOffce8+, staroffice bean and simply moving the mouse somewhere in the window

These are the releases we tested so far:

1.4.2_03 OK
1.4.2_10 OK
1.4.2_11 *crash* in awt
1.4.2_12 *crash* in awt
1.5.0_06 OK
1.5.0_07 OK

As a prerequisite one has to have a winxp-sp2, and staroffice8 installaled.

To reproduce, one can run this program:

-------------------------------------------------------------------------------

package test;


import java.io.*;
import java.awt.*;
import java.awt.event.*;
import com.sun.star.comp.beans.OOoBean;
import com.sun.star.uno.UnoRuntime;


import java.awt.*;

public class Test
{

    public static void main(String [] args)
    {
        try {
        Frame f = new Frame();
        final OOoBean b = new OOoBean();
        f.add(b, BorderLayout.CENTER);
        f.pack();
        f.setSize(500, 400);
        f.setVisible(true);
        b.loadFromURL("private:factory/swriter", null);
        f.validate();

        f.addWindowListener(new WindowAdapter() {
                public void windowClosing( java.awt.event.WindowEvent e){
                    b.stopOOoConnection();
                    System.exit(0);

                }});
        }
        catch (Exception e)
        {
            e.printStackTrace();
        }
    }
}

-------------------------------------------------------------------------------

using this script:

set SODIR=C:\Program Files\Sun\StarOffice 8 <-- !!!! Modify to youre neeeds !!!!
set JAVA_HOME=C:\j2sdk1.4.2_12              <-- !!!! Modify to youre neeeds !!!!

%JAVA_HOME%\bin\java -showversion -cp "%SODIR%\program\classes\officebean.jar;%SODIR%\program\classes\sandbox.jar;%SODIR%\program\classes\ridl.jar;%SODIR%\program\classes\unoil.jar;%SODIR%\program\classes\jurt.jar;%SODIR%\program\classes\juh.jar;%SODIR%\program\classes\jut.jar;%SODIR%\program\classes\java_uno.jar;."  test.Test

Comments
EVALUATION Regression no longer present in 1.4.2_13. closing out bug as escalation has been resolved.
18-10-2006

EVALUATION I was able to reproduce the crash on my WinXP+SP1 desktop. It occurs with 1.4.2_11 and can't be reproduced with 1.4.2_10, so it looks like a regression. I'm also attaching hotspot log file to the bug report.
10-07-2006