Bug 368 - VM-Crash when using TextRenderer in DisplayList on ATI GPU
Summary: VM-Crash when using TextRenderer in DisplayList on ATI GPU
Alias: None
Product: Jogl
Classification: JogAmp
Component: core (show other bugs)
Version: 1
Hardware: All windows
: P1 normal
Assignee: Sven Gothel
Depends on:
Reported: 2009-02-02 06:57 CET by Sven Gothel
Modified: 2010-03-24 07:51 CET (History)
0 users

See Also:
SCM Refs:
Workaround: ---

Sample program that crashes on the ATI GPU (2.84 KB, text/plain)
2009-02-02 07:02 CET, Sven Gothel

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Gothel 2010-03-24 07:51:43 CET

---- Reported by miq 2009-02-02 06:57:42 ----

I experience a VM crash on a computer with a Radeon HD 3650 AGB when I use the
JOGL-TextRenderer in a DisplayList. Rendering text outside the list works as
expected. The same program works on a bunch of other computers with NVidia and
Intel GPUs.

Here is the vm-dump:
# An unexpected error has been detected by Java Runtime Environment:
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x691b9c15, pid=2644, tid=2724
# Java VM: Java HotSpot(TM) Client VM (10.0-b23 mixed mode, sharing windows-x86)
# Problematic frame:
# C  [atioglxx.dll+0x199c15]
# An error report file with more information is saved as:
# D:\workspace-miq\(RAMSES) Ramses Module 3D Spektrum\hs_err_pid2644.log
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.

---- Additional Comments From miq 2009-02-02 07:02:07 ----

Created an attachment
Sample program that crashes on the ATI GPU

---- Additional Comments From kbr 2009-02-02 12:17:02 ----

The TextRenderer really isn't designed for use in display lists -- it may require flushing primitives to the 
graphics card in the middle of the rendering of a large amount of text -- but regardless the OpenGL 
implementation shouldn't crash, but should signal an OpenGL error. You should report this crash to ATI 
and provide them your test case. There is nothing to be done on the JOGL side to correct this. Closing as 
"will not fix".

---- Additional Comments From miq 2009-02-03 01:09:35 ----

Ok, thanks for your fast and thorough reply. I will change the code accordingly. 

Maybe it should be noted in the API documentation, that using the TextRenderer
in display lists may cause problems or is not recommended.

I will report the problem to ATI nevertheless.

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

This bug was previously known as _bug_ 368 at https://jogl.dev.java.net/bugs/show_bug.cgi?id=368
Imported an attachment (id=138)

The original submitter of attachment 138 [details] is unknown.
   Reassigning to the person who moved it here: sgothel@jausoft.com.