United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-8008660 Failure in 2D Queue Flusher thread on Mac
JDK-8008660 : Failure in 2D Queue Flusher thread on Mac

Details
Type:
Bug
Submit Date:
2013-02-21
Status:
Resolved
Updated Date:
2013-12-06
Project Name:
JDK
Resolved Date:
2013-02-28
Component:
client-libs
OS:
os_x
Sub-Component:
java.awt
CPU:
Priority:
P3
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:

Related Reports
Backport:
Backport:
Duplicate:
Duplicate:
Duplicate:

Sub Tasks

Description
Issues appeares on some Mac machines.
All tests lead to JVM crash.
Looks like awt thread works incorrectly with OGL answers
See attached thread dump

*[E] CGLGraphicsConfig_getCGLConfigInfo: shared NSOpenGLPixelFormat
is NULL*
[I] OGLRenderQueue_flushBuffer: limit=16
[V] OGLRenderQueue_flushBuffer: opcode=90, rem=12
[V] OGLRenderQueue_flushBuffer: opcode=71, rem=8
[I] OGLSD_SetScratchContext
[E] OGLSD_SetScratchContext: cgl config info is null
[I] OGLContext_getOGLIdString

# Problematic frame:
# C  [libGL.dylib+0x197a]  glGetString+0xf

                                    

Comments
Possibly the same issue as https://jbs.oracle.com/bugs/browse/JDK-8008544
                                     
2013-02-21
The problem is in the  GraphicsConfigUtil. _getCGLConfigInfo:
1 Requested opengl attributes are too strict.
2 CGDisplayID is incorrectly used as a screennum.

                                     
2013-02-21
I wonder if this also is responsible for the reported crashes in virtualbox? It seems likely.
I am not sure if 8008544 is the same issue as the logs there look quite different.
The queue flusher thread is where we'll find all the problems talking to OGL
                                     
2013-02-27
Yes this is the problem with VirtualBox/VMWare(When the java is crashed on startup). 8008544 is another issue.
                                     
2013-02-28
URL:   http://hg.openjdk.java.net/jdk8/awt/jdk/rev/3dee850e2653
User:  serb
Date:  2013-02-28 13:06:55 +0000

                                     
2013-02-28
URL:   http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/3dee850e2653
User:  lana
Date:  2013-03-15 17:04:08 +0000

                                     
2013-03-15



Hardware and Software, Engineered to Work Together