<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://jogamp.org/bugzilla/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.2"
          urlbase="https://jogamp.org/bugzilla/"
          
          maintainer="sgothel@jausoft.com"
>

    <bug>
          <bug_id>1415</bug_id>
          
          <creation_ts>2019-12-08 07:33:29 +0100</creation_ts>
          <short_desc>MacOS 10.14.6 + OpenJDK11U occasional freezes having multiple Windows created on a ExclusiveContextThread</short_desc>
          <delta_ts>2019-12-08 07:41:48 +0100</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>Jogl</product>
          <component>macosx</component>
          <version>2.4.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>macosx</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P4</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Sven Gothel">sgothel</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          
          
          <cf_type>ANNOTATION</cf_type>
          <cf_scm_refs>dd8f6f0c884161eb1099ff1ab8af20383984771d
5e6f75991d885f1e48760668f86b305824bd972a</cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>6440</commentid>
    <comment_count>0</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2019-12-08 07:33:29 +0100</bug_when>
    <thetext>Unit tests based on ExclusiveContextBase00, i.e.
- com.jogamp.opengl.test.junit.jogl.acore.ect.TestExclusiveContext01VSyncAnimAWT
- com.jogamp.opengl.test.junit.jogl.acore.ect.TestExclusiveContext02FPSAnimAWT
- com.jogamp.opengl.test.junit.jogl.acore.ect.TestExclusiveContext01VSyncAnimNEWT
- com.jogamp.opengl.test.junit.jogl.acore.ect.TestExclusiveContext02FPSAnimNEWT

Unit tests based on ExclusiveContextBase10, i.e.
- com.jogamp.opengl.test.junit.jogl.acore.ect.TestExclusiveContext11VSyncAnimNEWT
- com.jogamp.opengl.test.junit.jogl.acore.ect.TestExclusiveContext12FPSAnimNEWT

Erratic behavior exposed on MacOS &gt;= 10.14.6 - 10.15.6 using OpenJDK11U,
but not OpenJDK8.

Freeze occurs in case (*PostVis* or false==preVis):
- 4 windows were created, but not made visible (lazy pending native creation)
- moved ahead of native creation to their exclusive context thread (animator)
- then made visible and started rendering OpenGL content

Freeze does not occurs if (*PreVis* or true==preVis):
- 4 windows were opened, made visible and rendered OpenGL content ahead
- then moved to their exclusive context thread, i.e. animator

Freeze also does not occur if only one window is has been created,
regardless whether created and rendered pre or post exclusive context assignment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6442</commentid>
    <comment_count>1</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2019-12-08 07:35:21 +0100</bug_when>
    <thetext>*** Bug 1414 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6443</commentid>
    <comment_count>2</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2019-12-08 07:41:48 +0100</bug_when>
    <thetext>dd8f6f0c884161eb1099ff1ab8af20383984771d
ExclusiveContextBase00+10: Utilize one Animator per Window for clean ExclusiveContextThread
    
No, this does not resolve the issue - but is the proper test case.
ExclusiveContextBase10 also gets the preVis test.

+++

5e6f75991d885f1e48760668f86b305824bd972a

MacOS: Disable multiple Window creation on ExclusiveContextThread in test case</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>