-
Bug
-
Resolution: Unresolved
-
P3
-
11, 21
-
None
-
linux
If the java/awt/FullScreen/AltTabCrashTest/AltTabCrashTest.java test fails, it leaves the host in a bad state, which leads to all tests that run after AltTabCrashTest.java to throw AWTError.
There are several jobs like this.
1. AltTabCrashTest.java fails
command: main AltTabCrashTest -auto -changedm
reason: User specified action: run main/othervm/timeout=100 AltTabCrashTest -auto -changedm
STDOUT:
STDERR:
Running in automatic mode using Robot
The test will change display mode
Alt+tabber Iteration: 4
Issuing alt+tab
TEST RESULT: Failed. Unexpected exit from test [exit code: 1]
2. The next test after it, java/awt/FullScreen/BufferStrategyExceptionTest/BufferStrategyExceptionTest.java, also fails. Now it throws AWTError:
java.awt.AWTError: Can't connect to X11 window server using ':0' as the value of the DISPLAY variable.
at java.desktop/sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at java.desktop/sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:105)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:319)
at java.desktop/sun.awt.X11GraphicsEnvironment.initStatic(X11GraphicsEnvironment.java:64)
at java.desktop/sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:59)
at java.desktop/sun.awt.PlatformGraphicsInfo.createGE(PlatformGraphicsInfo.java:37)
at java.desktop/java.awt.GraphicsEnvironment$LocalGE.createGE(GraphicsEnvironment.java:93)
at java.desktop/java.awt.GraphicsEnvironment$LocalGE.<clinit>(GraphicsEnvironment.java:84)
at java.desktop/java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:106)
at BufferStrategyExceptionTest.main(BufferStrategyExceptionTest.java:60)
3. All the following tests fail for the same reason, specifically
java.awt.AWTError: Can't connect to X11 window server using ':0' as the value of the DISPLAY variable.
There are several jobs like this.
1. AltTabCrashTest.java fails
command: main AltTabCrashTest -auto -changedm
reason: User specified action: run main/othervm/timeout=100 AltTabCrashTest -auto -changedm
STDOUT:
STDERR:
Running in automatic mode using Robot
The test will change display mode
Alt+tabber Iteration: 4
Issuing alt+tab
TEST RESULT: Failed. Unexpected exit from test [exit code: 1]
2. The next test after it, java/awt/FullScreen/BufferStrategyExceptionTest/BufferStrategyExceptionTest.java, also fails. Now it throws AWTError:
java.awt.AWTError: Can't connect to X11 window server using ':0' as the value of the DISPLAY variable.
at java.desktop/sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at java.desktop/sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:105)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:319)
at java.desktop/sun.awt.X11GraphicsEnvironment.initStatic(X11GraphicsEnvironment.java:64)
at java.desktop/sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:59)
at java.desktop/sun.awt.PlatformGraphicsInfo.createGE(PlatformGraphicsInfo.java:37)
at java.desktop/java.awt.GraphicsEnvironment$LocalGE.createGE(GraphicsEnvironment.java:93)
at java.desktop/java.awt.GraphicsEnvironment$LocalGE.<clinit>(GraphicsEnvironment.java:84)
at java.desktop/java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:106)
at BufferStrategyExceptionTest.main(BufferStrategyExceptionTest.java:60)
3. All the following tests fail for the same reason, specifically
java.awt.AWTError: Can't connect to X11 window server using ':0' as the value of the DISPLAY variable.
- relates to
-
JDK-8345011 java/awt/Toolkit/BadDisplayTest/BadDisplayTest.java causes the 'DISPLAY' variable to be set to a junk value
- Open