JDK-8127002 : ComboBox crashes JVM on OS X
  • Type: Bug
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: fx2.1
  • Priority: P2
  • Status: Resolved
  • Resolution: Cannot Reproduce
  • Submitted: 2012-02-04
  • Updated: 2015-06-17
  • Resolved: 2012-02-16
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
Relates :  
Relates :  
Description
I am developing a Swing application that uses JFXPanels.  When I click on a JavaFX ComboBox the JVM crashes with the following error message:

Assertion failed: ([NSOpenGLContext currentContext] == self->currentContext), function -[GlassView3D end:], file /HUDSON/workspace/2.1/label/macosx-universal-14/glass/glass-mat-lib-macosx/src/com/sun/mat/ui/GlassView3D.m, line 523.


Thread 24 Crashed:: Java: QuantumRenderer-0
0   libsystem_kernel.dylib        	0x00007fff876f3ce2 __pthread_kill + 10
1   libsystem_c.dylib             	0x00007fff91c6e7d2 pthread_kill + 95
2   libsystem_c.dylib             	0x00007fff91c5fa7a abort + 143
3   libsystem_c.dylib             	0x00007fff91c925de __assert_rtn + 146
4   libmat.jnilib                 	0x000000011d02ca06 -[GlassView3D end:] + 100
5   libmat.jnilib                 	0x000000011d029bb4 Java_com_sun_glass_ui_mac_MacView__1end + 210
6   ???                           	0x000000010f56cd6e 0 + 4552314222
7   ???                           	0x000000010f56185a 0 + 4552267866
8   ???                           	0x000000010f56185a 0 + 4552267866
9   ???                           	0x000000010f56185a 0 + 4552267866
10  ???                           	0x000000010f561d34 0 + 4552269108
11  ???                           	0x000000010f561e8d 0 + 4552269453
12  ???                           	0x000000010f561a82 0 + 4552268418
13  ???                           	0x000000010f561a82 0 + 4552268418
14  ???                           	0x000000010f561d34 0 + 4552269108
15  ???                           	0x000000010f56185a 0 + 4552267866
16  ???                           	0x000000010f561d34 0 + 4552269108
17  ???                           	0x000000010f561d34 0 + 4552269108
18  ???                           	0x000000010f55c438 0 + 4552246328
19  libclient64.dylib             	0x000000010d86b77a 0x10d7c0000 + 702330
20  libclient64.dylib             	0x000000010d877808 0x10d7c0000 + 751624
21  libclient64.dylib             	0x000000010d8776fe 0x10d7c0000 + 751358
22  libclient64.dylib             	0x000000010d87769e 0x10d7c0000 + 751262
23  libclient64.dylib             	0x000000010d877540 0x10d7c0000 + 750912
24  libclient64.dylib             	0x000000010d877355 0x10d7c0000 + 750421
25  libclient64.dylib             	0x000000010d7d3884 0x10d7c0000 + 80004
26  libsystem_c.dylib             	0x00007fff91c6c8bf _pthread_start + 335
27  libsystem_c.dylib             	0x00007fff91c6fb75 thread_start + 13

Comments
Note that in b14 the drop down fails to appear at all. Instead the following exception is printed to the console: java.lang.RuntimeException: Error creating framebuffer object with size 66x123 (status code is 0x0) at com.sun.prism.es2.ES2RTTexture.create(ES2RTTexture.java:216) at com.sun.prism.es2.ES2ResourceFactory.createRTTexture(ES2ResourceFactory.java:53) at com.sun.prism.es2.ES2SwapChain.createGraphics(ES2SwapChain.java:190) at com.sun.prism.es2.ES2SwapChain.createGraphics(ES2SwapChain.java:24) at com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:67) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) at com.sun.prism.render.RenderJob.run(RenderJob.java:37) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:97) at java.lang.Thread.run(Thread.java:680)
26-02-2012

I can't reproduce this anymore, testing with 2.1.0 b13 now.
21-02-2012

I can not reproduce with the sample I created. If Scott still can reproduce this issue, then we will need his particular test case.
16-02-2012

I have attached a sample project trying to replicate the issue. The project uses JFX panel with 2 combo boxes, 1 Swing, the other JFX. I was unable to reproduce the issue.
16-02-2012

This is another FX embedded case and similar to RT-18837, except here we have Swing, not SWT. Will give Anthony time to look at RT-18837 first.
14-02-2012

This looks similar to RT-18837
05-02-2012

Same problem with java version "1.6.0_30" Java(TM) SE Runtime Environment (build 1.6.0_30-b12-404-11M3614) Java HotSpot(TM) 64-Bit Server VM (build 20.5-b03-404, mixed mode)
04-02-2012