Hi,

   If you are using Solaris version and JDK1.3 or above
use

 kill -3 processID

to examine (or send us) the stack trace of all the threads
currently in the system and which thread cause the deadlock.

If you are using Window version, use Ctrl-Break
to dump all the thread stack to examine the problem.

If instead of the application hangs, but the OS freeze
(which mean you can't bring out the task manager to kill
the Java process). Then the problem is in the native
code. Try upgrade the driver (together with BIOS) of
graphics card and try switch between OGL and D3D
version of Java3D to see if things get better.

Besides, make sure you are using J3D v1.2.1 or later
since there are bugs in v1.2 which would cause the
deadlock. It would be great if you can send us a
test case to investigate the problem.

Thanks

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



>X-Unix-From: [EMAIL PROTECTED]  Tue May 15 09:43:34 2001
>MIME-Version: 1.0
>Date: Tue, 15 May 2001 18:36:54 +0200
>From: "Illarramendi Amilibia, Aitor" <[EMAIL PROTECTED]>
>Subject: [JAVA3D] Detaching a BranchGroup
>To: [EMAIL PROTECTED]
>
Hi everybody:

    I'm suffering an extrange problem.

    Supose I've designed this SceneGraph up to down tree:

                                Universe(BranchGraph)
                                            |
                                    BranchGroup
                                            |

----------------------------------------------------------------------------
------
        |                         |
|
TransformGroup      Several BranchGroups                    BranchGroup (1)
(View Platform)    (static objects in the scene)         (Dinamic parent
branch it could have different branches or leaves)

|

|

|

----------------------------------------------------------------------------
----------------------------------------------------------------------------
------------------------------------------
                                      |
|
|
                                BranchGroup (2)
Several BranchGroups of the same type as the one before
Static BranchGroups
                         (Added in execution)
after creating them for
                                      |
BranchGroup(1)
                                      |
                                      |

----------------------------------------------------------------------------
----------------------------------------------------------------------------
-----
      |                                                        |
|                                     |                                |
Box object                                        TransformGroup
Translate finality Behavior     Collision Behavior        Pick Behavior
(from com.sun.j3d.utils.geometry)
(Activates a proccess)



  Well it's all, I think.

  If I apply a detach over BranchGroup(1) with the interest of "deleting"
the branch and all child from the scene, Supose I want to put a new
different BranchGroup with other objects, I haven�t got no problem, even if
I have BranchGroups(2) pending (the second BranchGroups are my problem).

  But when I want to detach one BranchGroup(2), branches where I locate a
Box with some behaviors and a transform group, objects that interact with
the user, I get my application freezed.

  I am trying to catch the exception it could give, for example
CapabilityNotSetException, but they are all ok I don�t catch any exception
from that, I catch Exception and Error too, but I never catch any exception,
only the applycation freezes and I can�t do any more.

  Possibly to have active behaviors, principally the pick behavior wich is
the one tha shoots the detach could be my problem?

  Forgive me about my poor english please, I've had a terrible day today.

Thanks for advance.

        Aitor Illarramendi Amilibia

Ingeniero de software
Detecci�n, Mando y Control
 <http://www.indra.es/>  Indra.bmp

Carretera de Loeches, 9
28850 - Torrej�n de Ardoz, Madrid (ESPA�A)
Tel: +34-91-396.82.47
Fax: +34-91-396.81.14
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
www.indra.es <http://www.indra.es/>

===========================================================================
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