Bug 108

Summary: PBuffers cause JVM crash on ATI in Jogl 1.1 b05
Product: [JogAmp] Jogl Reporter: Sven Gothel <sgothel>
Component: coreAssignee: Sven Gothel <sgothel>
Status: VERIFIED INVALID    
Severity: normal    
Priority: P3    
Version: 1   
Hardware: All   
OS: all   
Type: DEFECT SCM Refs:
Workaround: ---

Description Sven Gothel 2010-03-24 07:46:54 CET


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

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

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

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

I tried adding an "if (pbuffer.isInitialized())" 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