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

Win32: crash when setting a DropTarget on a FileDialog

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.4.0
    • 1.4.0
    • client-libs
    • None
    • beta
    • generic
    • windows_nt
    • Verified



      Name: dsR10078 Date: 02/22/2001

      ###@###.###

      Regression test java/awt/Component/ComponentLeakTest/ComponentLeakTest.html
      crashes on Win32 when setting a DropTarget on a FileDialog:

      #Test Results (version 2)
      #Thu Feb 22 15:19:35 MSK 2001
      #checksum:6d206766afd38614
      #-----testdescription-----
      $file=K:\\das\\merlin-ws\\test\\java\\awt\\Component\\ComponentLeakTest\\ComponentLeakTest.html
      $root=K:\\das\\merlin-ws\\test\\java\\awt
      author=David Mendenhall: area=memory
      keywords=bug4097573 bug4119609 bug4149812 bug4136116 bug4171960 bug4170095 bug4294016 bug4343272
      run=USER_SPECIFIED applet ComponentLeakTest.html\r\n
      source=ComponentLeakTest.html
      title=This test verifies that java.awt objects are being garbage collected correctly

      #-----environment-----

      #-----testresult-----
      description=file:///K:/das/merlin-ws/test/java/awt/Component/ComponentLeakTest/ComponentLeakTest.html
      end=Thu Feb 22 15:19:35 MSK 2001
      environment=regtest
      execStatus=Failed. Unexpected exit from test [exit code: 1]
      javatestOS=Windows NT 4.0 (x86)
      javatestVersion=JT_2.1.3i
      script=com.sun.javatest.regtest.RegressionScript
      sections=script_messages build applet
      start=Thu Feb 22 15:19:23 MSK 2001
      status=Failed. Unexpected exit from test [exit code: 1]
      test=Component/ComponentLeakTest/ComponentLeakTest.html
      work=Z:\\bug\\b4389284\\regression\\JTwork\\Component\\ComponentLeakTest

      #section:script_messages
      ----------messages:(1/80)----------
      JDK under test: java full version "1.4.0-beta-b52" (P:/JDK1.4.0beta-b52/win32)

      #section:build
      ----------messages:(3/106)----------
      command: build ComponentLeakTest
      reason: Named class compiled on demand
      elapsed time (seconds): 0.094
      result: Passed. No need to compile: ComponentLeakTest.java

      #section:applet
      ----------messages:(3/139)----------
      command: applet ComponentLeakTest.html
      reason: User specified action: run applet ComponentLeakTest.html
      elapsed time (seconds): 11.172
      ----------System.out:(64/3393)*----------

      An unexpected exception has been detected in native code outside the VM.
      Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x5007f9c1
      Function name=Java_sun_awt_windows_WComponentPeer_addNativeDropTarget
      Library=P:\\JDK1.4.0beta-b52\\win32\\jre\\bin\\awt.dll

      Current Java thread:
      at sun.awt.windows.WComponentPeer.addNativeDropTarget(Native Method)
      at sun.awt.windows.WComponentPeer.addDropTarget(WComponentPeer.java:595)
      at java.awt.dnd.DropTarget.addNotify(DropTarget.java:457)
      at java.awt.Component.addNotify(Component.java:5227)
      at java.awt.Container.addNotify(Container.java:1843)
      at java.awt.Window.addNotify(Window.java:382)
      at java.awt.Dialog.addNotify(Dialog.java:342)
      at java.awt.FileDialog.addNotify(FileDialog.java:187)
      at ComponentLeakTest.start(ComponentLeakTest.java:83)
      at com.sun.javatest.regtest.AppletWrapper$AppletThread.run(AppletWrapper.java:145)
      at java.lang.Thread.run(../../../src/share/classes/java/lang/Thread.java:579)

      Dynamic libraries:
      0x00400000 - 0x00405000 P:\\JDK1.4.0beta-b52\\win32\\bin\\java.exe
      0x77F60000 - 0x77FBE000 C:\\WINNT\\System32\\ntdll.dll
      0x77DC0000 - 0x77DFF000 C:\\WINNT\\system32\\ADVAPI32.dll
      0x77F00000 - 0x77F5E000 C:\\WINNT\\system32\\KERNEL32.dll
      0x77E70000 - 0x77EC4000 C:\\WINNT\\system32\\USER32.dll
      0x77ED0000 - 0x77EFC000 C:\\WINNT\\system32\\GDI32.dll
      0x77E10000 - 0x77E67000 C:\\WINNT\\system32\\RPCRT4.dll
      0x78000000 - 0x78040000 C:\\WINNT\\system32\\MSVCRT.dll
      0x50410000 - 0x50505000 P:\\JDK1.4.0beta-b52\\win32\\jre\\bin\\hotspot\\jvm.dll
      0x77FD0000 - 0x77FFA000 C:\\WINNT\\System32\\WINMM.dll
      0x77FC0000 - 0x77FC8000 C:\\WINNT\\System32\\mmdrv.dll
      0x6BC00000 - 0x6BC17000 C:\\WINNT\\System32\\sb16snd.dll
      0x71590000 - 0x71617000 C:\\WINNT\\system32\\COMCTL32.dll
      0x6BE00000 - 0x6BE10000 C:\\WINNT\\System32\\sbawe32.drv
      0x50210000 - 0x50217000 P:\\JDK1.4.0beta-b52\\win32\\jre\\bin\\hpi.dll
      0x503E0000 - 0x503ED000 P:\\JDK1.4.0beta-b52\\win32\\jre\\bin\\verify.dll
      0x50250000 - 0x50265000 P:\\JDK1.4.0beta-b52\\win32\\jre\\bin\\java.dll
      0x50400000 - 0x5040D000 P:\\JDK1.4.0beta-b52\\win32\\jre\\bin\\zip.dll
      0x77BF0000 - 0x77BF7000 C:\\WINNT\\System32\\rpcltc1.dll
      0x50360000 - 0x50366000 P:\\JDK1.4.0beta-b52\\win32\\jre\\bin\\nio.dll
      0x776B0000 - 0x776C4000 C:\\WINNT\\system32\\WS2_32.dll
      0x776A0000 - 0x776A7000 C:\\WINNT\\system32\\WS2HELP.dll
      0x50020000 - 0x50109000 P:\\JDK1.4.0beta-b52\\win32\\jre\\bin\\awt.dll
      0x77C00000 - 0x77C18000 C:\\WINNT\\System32\\WINSPOOL.DRV
      0x76AB0000 - 0x76AB5000 C:\\WINNT\\System32\\IMM32.dll
      0x77B20000 - 0x77BD6000 C:\\WINNT\\system32\\ole32.dll
      0x501C0000 - 0x5020F000 P:\\JDK1.4.0beta-b52\\win32\\jre\\bin\\fontmanager.dll
      0x76430000 - 0x76438000 C:\\WINNT\\System32\\MCD32.DLL
      0x77130000 - 0x77156000 C:\\WINNT\\System32\\ddraw.dll
      0x6C000000 - 0x6C02E000 C:\\WINNT\\System32\\RICHED32.DLL
      0x77C40000 - 0x77D7C000 C:\\WINNT\\system32\\SHELL32.dll
      0x76AC0000 - 0x76ADD000 C:\\WINNT\\System32\\imagehlp.dll
      0x71DC0000 - 0x71DCA000 C:\\WINNT\\System32\\PSAPI.DLL

      Local Time = Thu Feb 22 15:19:35 2001
      Elapsed Time = 8
      #
      # The exception above was detected in native code outside the VM
      #
      # Java VM: Java HotSpot(TM) Client VM (B52 mixed mode)
      #
      # An error report file has been saved as hs_err_pid567.log.
      # Please refer to the file for further information.
      #
      ----------System.err:(0/0)----------
      result: Failed. Unexpected exit from test [exit code: 1]


      test result: Failed. Unexpected exit from test [exit code: 1]

      ======================================================================

            dassunw Das Das (Inactive)
            dassunw Das Das (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: