<?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>1204</bug_id>
          
          <creation_ts>2015-08-27 20:37:51 +0200</creation_ts>
          <short_desc>Crash on Windows w/ Intel Driver Version 9.18.10.3220 or 9.18.xx while destroying offscreen FBO GLAutoDrawable</short_desc>
          <delta_ts>2015-09-27 01:11:16 +0200</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>Jogl</product>
          <component>core</component>
          <version>2.3.2</version>
          <rep_platform>All</rep_platform>
          <op_sys>windows</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>---</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sven Gothel">sgothel</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          <cc>sgothel</cc>
          
          <cf_type>---</cf_type>
          <cf_scm_refs></cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>5019</commentid>
    <comment_count>0</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2015-08-27 20:37:51 +0200</bug_when>
    <thetext>Destroying an &apos;offscreen FBO GLAutoDrawable&apos; may crash 
on described machine/driver,
due to double-free of pending resources (driver bug).

This seems to be related to the performing thread&apos;s lifecycle,
and JOGL&apos;s initialization (GLProfile.initSingleton())  
may influence this issue (when and from which thread).

The &apos;offscreen FBO GLAutoDrawable&apos; only differs from others 
by its performing thread .. and its &apos;early usage&apos;.

If skipping its usage (manual probing),
later on usage of &apos;offscreen FBO&apos; seem to work as expected.

A workaround is to not destroy this 
manual &apos;offscreen FBO GLAutoDrawable&apos;,
or do keep its operating thread alive.
The latter methodology is utilized by JOGL&apos;s own initialization
to avoid driver issues.

More details will follow ..</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5062</commentid>
    <comment_count>1</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2015-09-02 03:50:34 +0200</bug_when>
    <thetext>Not Working (crash):
    Version: 4.0.0 - Build 9.18.10.3220
    Vendor: Intel^M
    Renderer: Intel(R) HD Graphics 4400

Driver is from  7/23/2013 (lenovo website)

I could reproduce this issue once
using a friends laptop, which is to no avail anymore.

+++

Working:
    Version: 4.3.0 - Build 10.18.14.4264
    Vendor: Intel
    Renderer: Intel(R) HD Graphics 4600

Driver is 15.36.23.4264 (10.18.14.4264)
from win64_153624.exe.

+++

- No crash found w/ current Intel driver.
- Determined to be a driver issue
- Workaround: 
  - Install new driver - or - 
  - Don&apos;t destroy the offscreen drawable then :-/

We could add a quirk for this specific renderer,
assuming the versions &lt; 10 may cause the issue.
However, this is pretty vague.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5063</commentid>
    <comment_count>2</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2015-09-02 03:54:32 +0200</bug_when>
    <thetext>Additional note, working machine:
 - Windows 8.1 64bit
 - Java 1.8.0_60 64bit
 - GPU Intel:
   Version: 4.3.0 - Build 10.18.14.4264
   Renderer: Intel(R) HD Graphics 4600

Passed all unit tests of current JOGL
  master/commit d3db8fc5f03f280cef0d485b93dc8de5a2db9399</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>