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

Looped Java2Demo hangs Win95/98

XMLWordPrintable

    • 2d
    • x86
    • windows_95, windows_98, windows_nt

      Build : 'L' (still in fcs build 'I')
      OS : 95/98 (NT ok)
      app : Java2Demo (random demo locks}

      Just letting it loop with cmdline: -delay=20 -runs=999 -ccthread
      Hangs Win95/98 after indetermined nth loops.

      It seems the key is the -ccthread option that seems to invokes this condition.

      Steps to repro:
        1. launch J2D with: java -jar Java2Demo.jar -delay=20 -runs=999 -ccthread

        usually locking up after 2-3 loops on 98.

      -----------------
      As of fcs Build 'O' the indetermined number of loops it takes to lock is now simply 1 iteration.
      robert.h.kim@Eng 1999-11-22

      -----------------
      More info on reproducing the problem (Chet Haase, 12/23/99):
      I am now able to consistently cause the app (and the window system)
      to hang by simply running the "Rotate" app of the Java2Demo program,
      as follows:
      cd Java2Demo\src
      javac demos/Transforms/Rotate.java
      java demos/Transforms/Rotate
      Once the app is up, I cause it to re-render and ctrl-C it from the cmd-line.
      It doesn't hang every time, but more often than not.

      Note: I made a slight change to my version of the app to force it to stay
      in it's render loop a little longer, thus making the ctrl-C timeframe
      a little larger...


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

      Additional information from a similar bug closed as a duplicate of this bug:

      To reproduce, run the java2demo.
      Open the Options menu, and leave it open.
      When the demo reaches the end, it will hang the system completely.

      I was not able to get any debugging info, since I couldn't kill the demo
      except by ctrl-alt-del. Note: you have to press ctrl-alt-del twice to get
      the system to reboot.

      If you have a working Merlin win32 build, you could copy MSVCRTD.DLL into it
      (it isn't there in Win95, and we don't put it in the builds), but I don't
      have a working build. This would allow you to run in debug mode (-g).

      I am running Win95 on an old, slow PC (233 MHz pentium).
      The monitor is also old: I am running with 256 colors.

      Did not happen with Windows NT Server on the same machine.

      ---------

      Note that the user was running java2demo from the jdkx script, which
      automatically uses the parameters:
      -runs=1 -delay=5 -ccthread

      chet.haase@Eng 2001-08-06

            chaasesunw Chet Haase (Inactive)
            rckim Robert Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: