Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4888520

EXCEPTION_ACCESS_VIOLATION when closing application using _g build after using D

XMLWordPrintable

    • tiger
    • x86
    • windows_2000



      Name: dk106046 Date: 07/10/2003

      Windows 2000 with Service Pack 3

      java version "1.4.1_03"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_03-b02)
      Java HotSpot(TM) Client VM (build 1.4.1_03-b02-debug, mixed mode)

      1. Start two instances of the test case DragOne which is supplied below.
       start java_g DragOne
       java_g DragOne

      2. Using the second instance of DragOne, select the blue item from the colors branch, press the left mouse button to start a drag.

      3. Drop the blue item in the top field of the first instance of the test case, by releasing the left mouse button.

      4. The text blue appears in the field.

      5. Now Close the second instance of DragOne test case, this was the one from which the Drag was started.

      6. The following is displayed in the DOS box.

      An unexpected exception has been detected in native code outside the VM.
      Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x77A82B91
      Function=CoDisconnectObject+0x1662
      Library=C:\WINNT\system32\ole32.dll

      Current Java thread:
              at sun.awt.windows.WToolkit.eventLoop(Native Method)
              at sun.awt.windows.WToolkit.run(WToolkit.java:253)
              at java.lang.Thread.run(Thread.java:536)

      Dynamic libraries:
      0x00400000 - 0x00407000 c:\java\sun\jdk1.4.1_03\bin\java_g.exe
      0x77F80000 - 0x77FFA000 C:\WINNT\system32\ntdll.dll
      0x77DB0000 - 0x77E0B000 C:\WINNT\system32\ADVAPI32.dll
      0x77E80000 - 0x77F31000 C:\WINNT\system32\KERNEL32.dll
      0x77D30000 - 0x77DA1000 C:\WINNT\system32\RPCRT4.dll
      0x10200000 - 0x10260000 C:\WINNT\System32\MSVCRTD.dll
      0x08000000 - 0x083DD000 c:\java\sun\jdk1.4.1_03\jre\bin\client\jvm_g.dll
      0x77E10000 - 0x77E6F000 C:\WINNT\system32\USER32.dll
      0x77F40000 - 0x77F79000 C:\WINNT\system32\GDI32.dll
      0x77570000 - 0x775A0000 C:\WINNT\System32\WINMM.dll
      0x75E60000 - 0x75E7A000 C:\WINNT\System32\IMM32.DLL
      0x6CA60000 - 0x6CA68000 C:\WINNT\System32\LPK.DLL
      0x66650000 - 0x666A4000 C:\WINNT\System32\USP10.dll
      0x10000000 - 0x10009000 c:\java\sun\jdk1.4.1_03\jre\bin\hpi_g.dll
      0x009F0000 - 0x00A03000 c:\java\sun\jdk1.4.1_03\jre\bin\verify_g.dll
      0x00A10000 - 0x00A2F000 c:\java\sun\jdk1.4.1_03\jre\bin\java_g.dll
      0x00A30000 - 0x00A44000 c:\java\sun\jdk1.4.1_03\jre\bin\zip_g.dll
      0x186C0000 - 0x18868000 C:\java\sun\jdk1.4.1_03\jre\bin\awt_g.dll
      0x77800000 - 0x7781E000 C:\WINNT\System32\WINSPOOL.DRV
      0x76620000 - 0x76630000 C:\WINNT\system32\MPR.DLL
      0x77A50000 - 0x77B45000 C:\WINNT\system32\ole32.dll
      0x18870000 - 0x188F6000 C:\java\sun\jdk1.4.1_03\jre\bin\fontmanager_g.dll
      0x72800000 - 0x72846000 C:\WINNT\System32\ddraw.dll
      0x78000000 - 0x78046000 C:\WINNT\system32\MSVCRT.dll
      0x728A0000 - 0x728A6000 C:\WINNT\System32\DCIMAN32.dll
      0x72CF0000 - 0x72D84000 C:\WINNT\System32\D3DIM700.DLL
      0x6E420000 - 0x6E426000 C:\WINNT\System32\INDICDLL.dll
      0x77920000 - 0x77943000 C:\WINNT\system32\imagehlp.dll
      0x72A00000 - 0x72A2D000 C:\WINNT\system32\DBGHELP.dll
      0x690A0000 - 0x690AB000 C:\WINNT\System32\PSAPI.DLL

      Local Time = Tue Jul 08 10:34:41 2003
      Elapsed Time = 39
      #
      # The exception above was detected in native code outside the VM
      #
      # Java VM: Java HotSpot(TM) Client VM (1.4.1_03-b02-debug mixed mode)
      #
      # An error report file has been saved as hs_err_pid1796.log.
      # Please refer to the file for further information.
      #


      Note.
      This defect only happens when using the java_g build.
      This defect also happens on Sun's 1.4.0_01-b03-debug build.

      DragOne.java
      --------------------------------------------------------------
      import java.awt.*;
      import java.awt.datatransfer.*;
      import javax.swing.*;

      public class DragOne {

        public static void main(String args[]) {

          JFrame frame = new JFrame("First Drag");
          frame.setDefaultCloseOperation
            (JFrame.EXIT_ON_CLOSE);

          Container contentPane = frame.getContentPane();

          JTree tree = new JTree();
          JScrollPane pane = new JScrollPane(tree);
          contentPane.add(pane, BorderLayout.CENTER);
          tree.setDragEnabled(true);

          JTextField tf = new JTextField();
          tf.setDragEnabled(true);
          contentPane.add(tf, BorderLayout.NORTH);

          frame.setSize(300, 300);
          frame.show();
        }
      }
      --------------------------------------------------------------

      [This bug is being submitted as a courtesy, in order to maintain uniformity between Sun & IBM JDKs. It has been fixed in IBM JDKs. Please contact ###@###.### if you have questions.]
      ======================================================================

            agerasimsunw Alexander Gerasimov (Inactive)
            dkorbel David Korbel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: