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

Crash in splash screen code when displaying to a Cygwin X server through ssh

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 6
    • client-libs
    • x86
    • linux_redhat_3.0

      Setup: a cygwin X server running on WinXP, from this machine 'ssh -X you@linux'
      to a linux machine, and display SwingSet2 (the one with the new splash screen).
      (I could not reproduce this when displaying from a solaris-sparc system,
      but the splash screen was not rendered correctly - the transparent
      parts were rendered black, same as with linux)

      In jdk6, it crashes:
      Stack: [0x404d4000,0x406d3000), sp=0x406d2a1c, free space=2042k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      C [libc.so.6+0x816cc]
      C [libc.so.6+0x81424] __libc_free+0xb4
      C [libsplashscreen.so+0xd22f] SplashCleanupPlatform+0x6f
      C [libsplashscreen.so+0xadca] SplashCleanup+0x2a
      C [libsplashscreen.so+0xaeb2] SplashDone+0x22
      C [libsplashscreen.so+0xdabc] SplashScreenThread+0xac
      C [libpthread.so.0+0x6c6f]

      (hs log file attached)

      It doesn't crash on jdk7 presumably because of a known
      exception which happens earlier:
      Exception in thread "main" java.lang.NullPointerException
              at sun.awt.X11.XToolkit.getScreenInsets(XToolkit.java:712)
              at java.awt.Window.init(Window.java:369)
              at java.awt.Window.<init>(Window.java:320)
              at java.awt.Frame.<init>(Frame.java:428)
              at java.awt.Frame.<init>(Frame.java:386)
              at javax.swing.JFrame.<init>(JFrame.java:187)
              at SwingSet2.createFrame(SwingSet2.java:859)
              at SwingSet2.<init>(SwingSet2.java:199)
              at SwingSet2.main(SwingSet2.java:230)

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: