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

Resizing a Java 3D canvas on Win95 crashes the application -- 1.2 JDK

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • P4
    • None
    • 1.1, 1.2.0
    • client-libs
    • x86
    • generic

    Description


      travis.bryson@Eng 1998-08-26

      Resizing a Java 3D canvas on Win95 crashes the application every time. This
      doesn't happen on Windows NT or Solaris. There is an access violation generated in opengl32.dll.

      I have included a simple sample program in the comments section that
      reproduces this bug. The sample program does not use any Java 3D. The
      sample program works on Windows NT but crashes on Win95 when a window
      resize is attempted. I have also included commented out Solaris code
      to run the program on Solaris, where it works fine. I have been using
      JDK 1.2 Beta 4. The sample program only makes a single native call,
      which sets the pixel format and creates and attaches an OpenGL context
      to the window at startup. It brings up a blank Frame that will generate
      an access violation when a resize is subsequently attempted.

      Java 3D extends Canvas into a Canvas3D and renders into it using native
      OpenGL. The sun.awt.Win32DrawingSurface interface is used to get the
      window handle. The sample program does the same thing.

      Java 3D on top of OpenGL/Win95 is not usable for real applications on the
      Win95 platform until this problem is fixed. Many of our customers have
      complained about this bug. The sample program uses a Frame, but the same
      thing happens with appletviewer, also. I haven't tried it on Win98.

      An alternate way to reproduce this bug is to download Java3D/OpenGL for
      win32 and resize any example program on Win95.

      The win95 stack trace looks like an uninformative kernel trap:
        ! OpenGL32
        ! Kernel32
        ! Kernel32

      Attachments

        Activity

          People

            dmendenhsunw David Mendenhall (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: