Bug 108 - PBuffers cause JVM crash on ATI in Jogl 1.1 b05
Summary: PBuffers cause JVM crash on ATI in Jogl 1.1 b05
Status: VERIFIED INVALID
Alias: None
Product: Jogl
Classification: JogAmp
Component: core (show other bugs)
Version: 1
Hardware: All all
: P3 normal
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2004-08-31 08:20 CEST by Sven Gothel
Modified: 2010-03-24 07:46 CET (History)
0 users

See Also:
Type: DEFECT
SCM Refs:
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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