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

Switching to GTK L&F on-the-fly leads to X Window System error RenderBadPicture

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b56
    • CPU:
      x86_64
    • OS:
      linux

      Backports

        Description

        FULL PRODUCT VERSION :
        java version "1.8.0_20"
        Java(TM) SE Runtime Environment (build 1.8.0_20-b26)
        Java HotSpot(TM) 64-Bit Server VM (build 25.20-b23, mixed mode)

        FULL OS VERSION :
        Linux feather 3.13.0-34-generic #60-Ubuntu SMP Wed Aug 13 15:45:27 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

        A DESCRIPTION OF THE PROBLEM :
        JVM crash on Linux, terminated by X11, when invoking UIManager.setLookAndFeel("com.sun.java.swing.plaf.gtk.GTKLookAndFeel");

        THE PROBLEM WAS REPRODUCIBLE WITH -Xint FLAG: Yes

        THE PROBLEM WAS REPRODUCIBLE WITH -server FLAG: Yes

        STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
        run my https://github.com/vorburger/CrashTestDummy - I've created a simple full example reliable reproducing it

        I'm willing to help further debug this if required (provided I'm given due credit somewhere)

        EXPECTED VERSUS ACTUAL BEHAVIOR :
        JVM should "never* crash ;)
        ERROR MESSAGES/STACK TRACES THAT OCCUR :
            The program 'java' received an X Window System error.
            This probably reflects a bug in the program.
            The error was 'RenderBadPicture (invalid Picture parameter)'.
              (Details: serial 251 error_code 143 request_code 139 minor_code 6)
              (Note to programmers: normally, X errors are reported asynchronously;
               that is, you will receive the error a while after causing it.
               To debug your program, run it with the --sync command line
               option to change this behavior. You can then get a meaningful
               backtrace from your debugger if you break on the gdk_x_error() function.)

        REPRODUCIBILITY :
        This bug can be reproduced often.

        ---------- BEGIN SOURCE ----------
        see https://github.com/vorburger/CrashTestDummy - I've created a simple full example reliable reproducing it
        ---------- END SOURCE ----------

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                azvegint Alexander Zvegintsev
                Reporter:
                webbuggrp Webbug Group
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: