<?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>108</bug_id>
          
          <creation_ts>2004-08-31 08:20:54 +0200</creation_ts>
          <short_desc>PBuffers cause JVM crash on ATI in Jogl 1.1 b05</short_desc>
          <delta_ts>2010-03-24 07:46:54 +0100</delta_ts>
          <reporter_accessible>0</reporter_accessible>
          <cclist_accessible>0</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>Jogl</product>
          <component>core</component>
          <version>1</version>
          <rep_platform>All</rep_platform>
          <op_sys>all</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</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>DEFECT</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>124</commentid>
    <comment_count>0</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2010-03-24 07:46:54 +0100</bug_when>
    <thetext>


---- Reported by raverboy 2004-08-31 08:20:54 ----

On ATI, PBuffers cause a nasty JVM crash in recent versions of jogl.
It&apos;s possible that I&apos;m just confused about how they should work, so:

canvas is a &quot;GLDrawableFactory.getFactory().createGLCanvas(new GLCapabilities
());&quot;
&quot;canvas.canCreateOffscreenDrawable();&quot; returns true.
&quot;canvas.createOffscreenDrawable(glCaps, 256, 256);&quot; returns a GLPbuffer

But when I call &quot;pbuffer.display();&quot; in my &quot;display(GLDrawable gld)&quot; method, it 
crashes hard.

I tried adding an &quot;if (pbuffer.isInitialized())&quot; before the call to .display(), 
but that one seems to always returns false.


The test case I used is available at:
http://www.wurmonline.com/newclient/PBufferTest.java

The error log is available at:
http://www.wurmonline.com/newclient/hs_err_pid320.log

A .jnlp to launch the compiled test case is available at:
http://www.wurmonline.com/newclient/pbuffertest.jnlp



---- Additional Comments From raverboy 2004-09-10 03:41:52 ----

I got my code wrong. See discussion here:

http://www.javagaming.org/cgi-bin/JGNetForums/YaBB.cgi?
board=jogl;action=display;num=1094376532



--- Bug imported by sgothel@jausoft.com 2010-03-24 07:46 EDT  ---

This bug was previously known as _bug_ 108 at https://jogl.dev.java.net/bugs/show_bug.cgi?id=108
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>