<?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>1212</bug_id>
          
          <creation_ts>2015-09-01 04:24:41 +0200</creation_ts>
          <short_desc>OSX: Crash using CALayer at UnsetJAWTRootSurfaceLayer0(..) w/ Java 1.8.0_60</short_desc>
          <delta_ts>2015-09-27 01:26:00 +0200</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>Nativewindow</product>
          <component>macosx</component>
          <version>2.3.2</version>
          <rep_platform>All</rep_platform>
          <op_sys>macosx</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P1</priority>
          <bug_severity>critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sven Gothel">sgothel</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          
          
          <cf_type>---</cf_type>
          <cf_scm_refs>85b32bac4f031dbdb55caa380d5a20440aecbbbd</cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>5058</commentid>
    <comment_count>0</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2015-09-01 04:24:41 +0200</bug_when>
    <thetext>- OSX 10.10.5
- Java 1.8.0_60

Crash using CALayer at UnsetJAWTRootSurfaceLayer0(..) 
as called within MacOSXJAWTWindow.invalidateNative() (caller: destroy())
on the MainThread.

It has been observed that the 
JAWT_SurfaceLayers protocol instance &apos;surfaceLayers&apos; has been pulled beforehand.

&apos;surfaceLayers&apos; is fetched from the locked JAWT instance
via JAWT_DrawingSurfaceInfo&apos;s platformInfo.

It now seems required to retain the instance 
at GetJAWTSurfaceLayersHandle0 and release it
at UnsetJAWTRootSurfaceLayer0 to keep it alive.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5059</commentid>
    <comment_count>1</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2015-09-01 05:20:03 +0200</bug_when>
    <thetext>85b32bac4f031dbdb55caa380d5a20440aecbbbd
  - Fixed as described
  
Manually executed &apos;ant junit.run&apos; on OSX, no failures or errors.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>