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

1.1.6 : getImage(URL) fails when using MSVCRT.DLL version 4.20.6164

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 1.1.6
    • client-libs
    • x86
    • windows_nt



      Name: diC59631 Date: 08/12/98


      This is from Oracle, a Java licensee.
      The Oracle bug number is 697005.
       
      This bug occurs with JDK 1.1.6FCS. but didn't occur with JDK1.1.4.
      Please consider this a regression problem, and examine it ASAP.
       
      We now don't have a simple Java test case that can reproduce this problem, so
      I can only describle this bug's behavior.
       
      It occurs everytime when calling Java method to load a new component,
      which is installed image. The reason is: JDK is already packaged with a old
      version of MSVCRT.DLL (version 4.20.6164) and it conflicts with the image
      loading. If we change it to version 4.20.6201, it works fine. But if the old
      version MSVCRT.DLL already resided in the memory, even we change it to the new
      version, the application still hangs. Since we have no way to take it out
      from memory except reboot the machine.
      (Review ID: 36762)
      ======================================================================

      More information from the submitter:
      "The bug happen while loading an image. The Java method is being called
      is: getDefaultToolkit().getImage(URL). We tried to reduce the size of this
      program to make a simple test case, but the bug is unreproducible in the
      simple Java test case."
      david.mendenhall@eng 1998-08-20


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

      more technical inforamation from Oracle:

      so far this bug only happened when we ran a big application. There is no
      small java test case that can reproduce this bug. But everytime, the
      application is hung at the same place (trying to load a new image). Here
      is the thread dump that you asked:

      Full thread dump:
          "Thread-36" (TID:0xe51000, sys_thread_t:0x931f70, Win32ID:0xa0,
      state:CW)
      prio=5
              
      oracle.sysman.oii.oiif.oiifr.OiifrProgressThread.run(OiifrProgressThread.java:5
      2)
          "Thread-6" (TID:0xf16f70, sys_thread_t:0x90e780, Win32ID:0x84, state:CW)
      prio=5
             
      java.lang.ClassLoader.getSystemResourceAsStream(ClassLoader.java:359)
              java.lang.Class.getResourceAsStream(Class.java:629)
             
      oracle.ewt.graphics.ImageUtils._getImageResource(ImageUtils.java:262)
              oracle.ewt.graphics.ImageUtils.getImageResource(ImageUtils.java:131)
              
      oracle.sysman.oii.oiif.oiifm.OiifmImage.getImageFromString(OiifmImage.java:134)

             
      oracle.sysman.oii.oiif.oiifm.OiifmImage.getImage(OiifmImage.java:124)
              
      oracle.sysman.oii.oiif.oiifp.OiifpWizInstallPanel.onCurrentItem(OiifpWizInstall
      Panel.java:243)
              
      oracle.sysman.oii.oiic.OiicInstallActionsPhase.executeProductPhases(OiicInstall
      ActionsPhase.java:1126)
              
      oracle.sysman.oii.oiic.OiicInstallActionsPhase.doInstalls(OiicInstallActionsPha
      se.java:1038)
              
      oracle.sysman.oii.oiic.OiicInstallActionsPhase$OiInstRun.run(OiicInstallActions
      Phase.java:1563)
              java.lang.Thread.run(Thread.java:474)
          "Thread-5" (TID:0xf16ca8, sys_thread_t:0x923c90, Win32ID:0xc8, state:CW)
      prio=6
              
      oracle.sysman.oii.oiif.oiifr.OiifrProgressAnimation.run(OiifrAnimationPanel.jav
      a:164)
          "Thread-3" (TID:0xf23548, sys_thread_t:0x8d6db0, Win32ID:0xce, state:CW)
      prio=10
              java.io.BufferedWriter.<init>(BufferedWriter.java:98)
              java.io.BufferedWriter.<init>(BufferedWriter.java:85)
              java.io.PrintWriter.<init>(PrintWriter.java:110)
              java.io.PrintWriter.<init>(PrintWriter.java:94)
              
      oracle.sysman.oii.oiit.OiitLockHeartbeat.writeDateIntoFile(OiitLockHeartbeat.ja
      va:135)
              
      oracle.sysman.oii.oiit.OiitLockHeartbeat$HeartBeatThread.run(OiitLockHeartbeat.
      java:66)
          "Thread-2" (TID:0xf7b450, sys_thread_t:0x8d0a10, Win32ID:0xbd, state:CW)
      prio=10
              java.io.BufferedWriter.<init>(BufferedWriter.java:98)
              java.io.BufferedWriter.<init>(BufferedWriter.java:85)
              java.io.PrintWriter.<init>(PrintWriter.java:110)
              java.io.PrintWriter.<init>(PrintWriter.java:94)
              
      oracle.sysman.oii.oiit.OiitLockHeartbeat.writeDateIntoFile(OiitLockHeartbeat.ja
      va:135)
              
      oracle.sysman.oii.oiit.OiitLockHeartbeat$HeartBeatThread.run(OiitLockHeartbeat.
      java:66)
          "AutoScroller" (TID:0xf75850, sys_thread_t:0x8bf7e0, Win32ID:0xd7,
      state:CW) prio=5
              java.lang.Object.wait(Object.java:315)
              oracle.ewt.timer.Timer._waitTilScheduled(Timer.java:409)
              oracle.ewt.timer.Timer.run(Timer.java:277)
              java.lang.Thread.run(Thread.java:474)
          "AWT-Finalizer" (TID:0xf786c8, sys_thread_t:0x8bfd00, Win32ID:0xb7,
      state:CW) prio=8
              java.lang.Object.wait(Object.java:315)
              sun.awt.AWTFinalizer.run(AWTFinalizer.java:48)
          "TaskScheduler timer" (TID:0xf6dce0, sys_thread_t:0x8a8ca0,
      Win32ID:0xcf,
      state:CW) prio=5
              java.lang.Object.wait(Object.java:315)
              oracle.ewt.timer.Timer._waitTilScheduled(Timer.java:409)
              oracle.ewt.timer.Timer.run(Timer.java:277)
              java.lang.Thread.run(Thread.java:474)
          "Screen Updater" (TID:0xf6db00, sys_thread_t:0x89d1d0, Win32ID:0xc2,
      state:R) prio=4
              java.lang.Thread.setPriority(Thread.java:713)
              sun.awt.ScreenUpdater.run(ScreenUpdater.java:97)
          "AWT-Windows" (TID:0xf66a88, sys_thread_t:0x88fc10, Win32ID:0x3f,
      state:MW) prio=5
              sun.awt.windows.WToolkit.run(WToolkit.java:107)
              java.lang.Thread.run(Thread.java:474)
          "AWT-EventQueue-0" (TID:0xf668b8, sys_thread_t:0x88fa40, Win32ID:0xd5,
      state:MW) prio=5
              oracle.ewt.lwAWT.SharedPainter.paint(SharedPainter.java:586)
              oracle.ewt.lwAWT.BufferedFrame.paint(BufferedFrame.java:563)
              oracle.ewt.lwAWT.BufferedFrame.update(BufferedFrame.java:550)
              sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:111)
              java.awt.Component.dispatchEventImpl(Component.java:1849)
              java.awt.Container.dispatchEventImpl(Container.java:926)
              java.awt.Window.dispatchEventImpl(Window.java:501)
              java.awt.Component.dispatchEvent(Component.java:1728)
              java.awt.EventDispatchThread.run(EventDispatchThread.java:81)
          "Finalizer thread" (TID:0xf60088, sys_thread_t:0x87ea50, Win32ID:0xb8,
      state:MW) prio=2
              java.awt.image.ColorModel.finalize(ColorModel.java:121)
          "main" (TID:0xf600b0, sys_thread_t:0x87da60, Win32ID:0xc1, state:CW)
      prio=5
              java.lang.Object.wait(Object.java:315)
              
      oracle.sysman.oii.oiif.oiifb.OiifbSyncObject.sync(OiifbSyncObject.java:30)
              
      oracle.sysman.oii.oiic.OiicInstallActionsPhase.doOperation(OiicInstallActionsPh
      ase.java:358)
              
      oracle.sysman.oii.oiif.oiifb.OiifbLinearIterator.iterate(OiifbLinearIterator.ja
      va:116)
              
      oracle.sysman.oii.oiic.OiicPullSession.doOperation(OiicPullSession.java:395)
              
      oracle.sysman.oii.oiic.OiicSessionWrapper.doOperation(OiicSessionWrapper.java:5
      9)
              
      oracle.sysman.oii.oiif.oiifb.OiifbLinearIterator.iterate(OiifbLinearIterator.ja
      va:116)
              oracle.sysman.oii.oiic.OiicInstaller.run(OiicInstaller.java:203)
              oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:319)
      Monitor Cache Dump:
          oracle.ewt.timer.Timer@F6DD28/1001340: <unowned>
              Waiters: 1
          oracle.sysman.oii.oiif.oiifb.OiifbSyncObject@ED26C0/1338300: <unowned>
              Waiters: 1
          oracle.ewt.timer.Timer@F75838/1018A20: <unowned>
              Waiters: 1
          sun.awt.AWTFinalizer@F786C8/1023250: <unowned>
              Waiters: 1
          <unknown key> (0x931f70): <unowned>
              Waiters: 1
          oracle.sysman.oii.oiif.oiifm.OiifmImage@E4EEE8/17A30A8: owner "Thread-6"
      (0x90e780, 1 entry)
      Registered Monitor Dump:
          Verifier lock: <unowned>
          Thread queue lock: owner "Thread-5" (0x923c90, 1 entry)
          Name and type hash table lock: <unowned>
          String intern lock: owner "Thread-5" (0x923c90, 1 entry)
          JNI pinning lock: <unowned>
          JNI global reference lock: owner "Thread-5" (0x923c90, 1 entry)
          BinClass lock: owner "Thread-5" (0x923c90, 1 entry)
          Class loading lock: owner "Thread-6" (0x90e780, 1 entry)
          Java stack lock: <unowned>
          Code rewrite lock: <unowned>
          Heap lock: owner "Thread-5" (0x923c90, 1 entry)
          Has finalization queue lock: owner "Thread-5" (0x923c90, 1 entry)
          Finalize me queue lock: owner "Thread-5" (0x923c90, 1 entry)
              Waiters: 3
          Monitor registry: <unowned>
       

            mmartaksunw Michael Martak (Inactive)
            dindrigo Daniel Indrigo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: