Sean,

   Thanks for your test program. We can reproduce the
bug and
4717253 -
D3D: May crash in buildGA when texture is not used under JDK1.3.1

is submitted for it.

It is caused by env->ReleasePrimitiveArrayCritical(..)
without checking NULL arguments in native code.

There are 2 workarounds:

(1) Use JDK1.4.1
or
(2) Under JDK1.3.1, use
    java -Dj3d.displaylist=false apps

Note:

Although only OpenGL support displaylist,
in the Java layer it is still optimize for OpenGL by building
displaylist which may consists multiple primitive call.

In case DirectX version, the underlying native code is
handle by building a link list of VertexBuffer for a single
displayList ID defined in the upper java layer. Additional
optimization is done by merging primitive of the same type
in the neighbourhood of the link list.

It will be fixed in the next release.

Thanks.

- Kelvin
------------------------
Java 3D Team
Sun Microsystems Inc.


>Date: Tue, 16 Jul 2002 18:15:18 -0700
>From: Sean Sylvis <[EMAIL PROTECTED]>
>Subject: RE:      Re: [JAVA3D] J3D.dll Exception
>To: Kelvin Chung <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
>MIME-version: 1.0
>X-MIMEOLE: Produced By Microsoft Exchange V6.0.5762.3
>Content-transfer-encoding: quoted-printable
>Content-class: urn:content-classes:message
>Thread-topic: Re: [JAVA3D] J3D.dll Exception
>Thread-index: AcIs8W/f8FjP4OXkTeWJYAYOD8BuogAPH0Bg
>X-MS-Has-Attach:
>X-MS-TNEF-Correlator:
>
>
>No, I don't think so. The geometry I am creating is only Cylinders (from the
com.sun.j3d.utils.geometry package), which I think uses GeomBuffer QuadStrips
that are turned into a TriangleStripArray.
>
>I will send a test case as soon as I am able to create one (although creating
one will probably give a solution for the exception).
>
>Thanks,
>
>Sean
>
>
>> -----Original Message-----
>> From: Kelvin Chung [mailto:[EMAIL PROTECTED]]
>> Sent: Tuesday, July 16, 2002 10:50 AM
>> To: [EMAIL PROTECTED]
>> Subject: Re: [JAVA3D] J3D.dll Exception
>>
>>
>> Hi Sean,
>>
>>    The following bug may be related:
>>
>>     4707919 -  D3D: crash when QuadArray vertex count > 43690
>>
>> If it is not applicable in your case, please send us a test
>> case and we'll take a look to fix this in the next release.
>>
>> Thanks.
>>
>> - Kelvin
>> ----------------
>> Java 3D Team
>> Sun Microsystems Inc.
>>
>> >Date: Mon, 15 Jul 2002 20:22:10 -0700
>> >From: Sean Sylvis <[EMAIL PROTECTED]>
>> >Subject: [JAVA3D] J3D.dll Exception
>> >To: [EMAIL PROTECTED]
>> >MIME-version: 1.0
>> >X-MIMEOLE: Produced By Microsoft Exchange V6.0.5762.3
>> >Content-class: urn:content-classes:message
>> >Delivered-to: [EMAIL PROTECTED]
>> >Thread-topic: J3D.dll Exception
>> >Thread-index: AcIsd/iPr0IayulPSMeHA8Ic69oDGA==
>> >X-MS-Has-Attach: yes
>> >X-MS-TNEF-Correlator:
>> >
>> >
>> >I am running Java3D 1.3 DirectX.
>> >
>> >Has anyone experienced an exception in the J3D.dll similar
>> to the attached?
>> >
>> >My application is modifying the scene graph -- removing
>> branches, adding new
>> branches, and creating new geometry. When the application is
>> running quickly --
>> removing a subbranch, create new geometry (i.e. a Cylinder),
>> and add branch with
>> geometry to scene graph every second -- this exception gets thrown.
>> >
>> >Sound familiar to anyone?
>> >
>> >Sean
>>
>> ==============================================================
>> =============
>> To unsubscribe, send email to [EMAIL PROTECTED] and
>> include in the body
>> of the message "signoff JAVA3D-INTEREST".  For general help,
>> send email to
>> [EMAIL PROTECTED] and include in the body of the message "help".
>>

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to