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

Java2Demo crashes on debug build

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.4.0
    • 1.4.0
    • client-libs
    • None
    • 2d
    • beta
    • generic
    • generic

      Run Java2Demo on a debug build and it will crash with the following stacktrace:
      FATAL ERROR in native method: Calling other JNI functions in the scope of Get/ReleasePrimitiveArrayCritical or Get/ReleaseStringCritical
              at sun.java2d.loops.Blit.Blit(Native Method)
              at sun.java2d.SunGraphics2D.renderImage(SunGraphics2D.java:2602)
              at sun.java2d.SunGraphics2D.renderImage(SunGraphics2D.java:2563)
              at sun.java2d.SunGraphics2D.renderingPipeImage(SunGraphics2D.java:2394)
              at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:1928)
              at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:2758)
              at sun.awt.image.ImageRepresentation.drawToBufImage(ImageRepresentation.java:716)
              at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:2914)
              at TextureChooser.getImageTexture(TextureChooser.java:84)
              at TextureChooser.<init>(TextureChooser.java:61)
              at GlobalControls.<init>(GlobalControls.java:95)
              at Java2Demo.<init>(Java2Demo.java:111)
              at Java2Demo.main(Java2Demo.java:466)
      SIGABRT 6* abort (generated by abort(3) routine)
          si_signo [6]: SIGABRT 6* abort (generated by abort(3) routine)
          si_errno [0]: Erreur 0
          si_code [-1]: SI_LWP [pid: 8035, uid: 59261]
              stackpointer=ffbed718

        which makes debugging of may Swing applications impossible.

        The bug is first reproduced on build
      java version "1.4.0beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0beta-b21)
      Java HotSpot(TM) Client VM (build 1.3.0rc3-Z, interpreted mode)

        It's reproducible on Solaris and Win32. To make it reproduce on
        Win32 run java_g with -classic

            tdv Dmitri Trembovetski (Inactive)
            tdv Dmitri Trembovetski (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: