JDK-8127883 : HelloModality, on Linux using es2 pipe, exits with X Window System error 'GLXBadDrawable'
  • Type: Bug
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: fx2.1
  • Priority: P2
  • Status: Resolved
  • Resolution: Duplicate
  • Submitted: 2012-02-21
  • Updated: 2015-06-17
  • Resolved: 2012-02-23
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
fx2.1Resolved
Related Reports
Blocks :  
Duplicate :  
Relates :  
Description
This is a Linux on es2 pipe bug, and works fine on Windows (es2 pipe). I noticed this problem once I fixed RT-18892. This problem is always reproducible with the following steps:

1) Run helloworld/HelloModality
2) Click on "Create Dialog" button to create a new Stage
3) Click the "Dismiss" button in the newly created Stage
4) Now you should see that the program is terminated with GLXBadDrawable error

 jjfx -Dprism.order=es2  helloworld/HelloModality 
The program 'java' received an X Window System error.
This probably reflects a bug in the program.
The error was 'GLXBadDrawable'.
  (Details: serial 133 error_code 146 request_code 135 minor_code 26)
  (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.)
cyang@cyang-Latitude-E6510:~/java/javafx/210/jfx/rt-closed/toys/HelloWorld$ 

Comments
Fixed by the fix to RT-19485
23-02-2012