Description of problem: Trying to get a screenshot from phantomjs when running selenium tests when running inside wayland. Version-Release number of selected component: java-1.8.0-openjdk-headless-1.8.0.111-5.b16.fc26 Additional info: reporter: libreport-2.9.0 backtrace_rating: 3 cmdline: java -Dphantomjs.binary.path=/home/mtiihone/angular-main-app/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs -jar /home/mtiihone/angular-main-app/node_modules/protractor/node_modules/webdriver-manager/selenium/selenium-server-standalone-3.0.1.jar -port 45038 crash_function: signalHandler executable: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.111-5.b16.fc26.x86_64/jre/bin/java global_pid: 16023 kernel: 4.10.0-0.rc4.git1.2.fc26.x86_64 runlevel: N 5 type: CCpp uid: 1000
Created attachment 1242667 [details] File: backtrace
Created attachment 1242668 [details] File: cgroup
Created attachment 1242669 [details] File: core_backtrace
Created attachment 1242670 [details] File: dso_list
Created attachment 1242671 [details] File: environ
Created attachment 1242672 [details] File: limits
Created attachment 1242673 [details] File: maps
Created attachment 1242674 [details] File: mountinfo
Created attachment 1242675 [details] File: namespaces
Created attachment 1242676 [details] File: open_fds
Created attachment 1242677 [details] File: proc_pid_status
Created attachment 1242678 [details] File: var_log_messages
There is an issue with java.awt.Robot.createScreenCapture() when running on wayland. #11 Java_sun_awt_X11_XRobotPeer_getRGBPixelsImpl (env=0x7f2628017258, cls=<optimized out>, xgc=<optimized out>, x=0, y=0, width=3840, height=2160, pixelArray=0x7f2698b284c8) at /usr/src/debug/java-1.8.0-openjdk-1.8.0.111-5.b16.fc26.x86_64/openjdk/jdk/src/solaris/native/sun/awt/awt_Robot.c:268 Seems to suggest it's originating from that call. Marking as duplicate of 1402819. The workaround so far is running Gnome on X until there is proper wayland support in OpenJDK. *** This bug has been marked as a duplicate of bug 1402819 ***