[quote]Native crashes are a real pain, I agree.
Please give as much info as possible. Make sure you are using the debug version, and if there are any messages – try to correct them. Include the stack dump also. A more detailed idea of exactly what you are doing would also help. Have you tried the program on any other Operating Systems? What OS are you using?
Will.
[/quote]
Thanks for your quick response.
I’m using Windows (Odejava/java3d).
OK I’m trying to set up a ragdoll with 25 bones.
Bones (bodies) are connected with joints using jointballs. And a jointmotor
to control the joint around 3 axes using eular mode.
It’s working fine with less bones, I’m able to move him to different poses using the jointmotor. So in theory it works fine. The crash seems to happens when he falll to the floor and every bone touches the floor (a geomplane)
At first I though it was the motors doing it, but when I remove them it’s the same (lasts a little longer before the crash though).
This is the errorlog
[b]An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_STACK_OVERFLOW (0xc00000fd) occurred at PC=0x48F4004
Function=[Unknown.]
Library=E:\jdks\j2sdk1.4.2_03\jre\bin\odejava.dll
NOTE: We are unable to locate the function name symbol for the error
just occurred. Please refer to release documentation for possible
reason and solutions.
Current Java thread:
at org.odejava.ode.OdeJNI.dWorldStep(Native Method)
at org.odejava.ode.Ode.dWorldStep(Ode.java:558)
at org.odejava.World.step(World.java:201)
at net.mikkelp.ode.odeeditor.OdeWindow.actionPerformed(OdeWindow.java:151)
at j3d.animation.ActionBehavior.processStimulus(ActionBehavior.java:44)
at javax.media.j3d.BehaviorScheduler.doWork(BehaviorScheduler.java:172)
- locked <0x105eb100> (a javax.media.j3d.BehaviorRetained)
- locked <0x105eb100> (a javax.media.j3d.BehaviorRetained)
at javax.media.j3d.J3dThread.run(J3dThread.java:250)
Dynamic libraries:
0x00400000 - 0x00407000 E:\jdks\j2sdk1.4.2_03\bin\javaw.exe
0x7C900000 - 0x7C9B2000 C:\WINDOWS\system32\ntdll.dll
0x7C800000 - 0x7C8F8000 C:\WINDOWS\system32\kernel32.dll
0x77DC0000 - 0x77E6B000 C:\WINDOWS\system32\ADVAPI32.dll
0x77E70000 - 0x77F01000 C:\WINDOWS\system32\RPCRT4.dll
0x77D30000 - 0x77DC0000 C:\WINDOWS\system32\USER32.dll
0x77F10000 - 0x77F56000 C:\WINDOWS\system32\GDI32.dll
0x77C00000 - 0x77C58000 C:\WINDOWS\system32\MSVCRT.dll
0x08000000 - 0x08138000 E:\jdks\j2sdk1.4.2_03\jre\bin\client\jvm.dll
0x76B30000 - 0x76B5E000 C:\WINDOWS\system32\WINMM.dll
0x10000000 - 0x10007000 E:\jdks\j2sdk1.4.2_03\jre\bin\hpi.dll
0x003E0000 - 0x003EE000 E:\jdks\j2sdk1.4.2_03\jre\bin\verify.dll
0x008A0000 - 0x008B9000 E:\jdks\j2sdk1.4.2_03\jre\bin\java.dll
0x003F0000 - 0x003FD000 E:\jdks\j2sdk1.4.2_03\jre\bin\zip.dll
0x02EA0000 - 0x02FAF000 E:\jdks\j2sdk1.4.2_03\jre\bin\awt.dll
0x72FB0000 - 0x72FD6000 C:\WINDOWS\system32\WINSPOOL.DRV
0x76370000 - 0x7638D000 C:\WINDOWS\system32\IMM32.dll
0x774D0000 - 0x7760D000 C:\WINDOWS\system32\ole32.dll
0x5B250000 - 0x5B288000 C:\WINDOWS\system32\uxtheme.dll
0x03010000 - 0x03060000 E:\jdks\j2sdk1.4.2_03\jre\bin\fontmanager.dll
0x73710000 - 0x73759000 C:\WINDOWS\system32\ddraw.dll
0x73B70000 - 0x73B76000 C:\WINDOWS\system32\DCIMAN32.dll
0x738F0000 - 0x739C0000 C:\WINDOWS\system32\D3DIM700.DLL
0x746E0000 - 0x7472B000 C:\WINDOWS\system32\MSCTF.dll
0x032A0000 - 0x032AC000 C:\WINDOWS\system32\msvcrta.dll
0x77110000 - 0x7719C000 C:\WINDOWS\system32\OLEAUT32.dll
0x71A80000 - 0x71A97000 C:\WINDOWS\system32\WS2_32.dll
0x71A70000 - 0x71A78000 C:\WINDOWS\system32\WS2HELP.dll
0x032B0000 - 0x036AF000 C:\WINDOWS\resources\Themes\luna\luna.msstyles
0x03BF0000 - 0x03C47000 E:\jdks\j2sdk1.4.2_03\jre\bin\J3D.dll
0x6DF20000 - 0x6E048000 C:\WINDOWS\system32\d3d8.dll
0x6DF10000 - 0x6DF16000 C:\WINDOWS\system32\d3d8thk.dll
0x77BF0000 - 0x77BF8000 C:\WINDOWS\system32\VERSION.dll
0x5D5A0000 - 0x5D637000 C:\WINDOWS\system32\COMCTL32.dll
0x03D70000 - 0x03D75000 E:\jdks\j2sdk1.4.2_03\jre\bin\jawt.dll
0x69500000 - 0x698C1000 C:\WINDOWS\system32\nvoglnt.dll
0x048A0000 - 0x04910000 E:\jdks\j2sdk1.4.2_03\jre\bin\odejava.dll
0x7C9C0000 - 0x7D1D7000 C:\WINDOWS\system32\shell32.dll
0x77F60000 - 0x77FD6000 C:\WINDOWS\system32\SHLWAPI.dll
0x773C0000 - 0x774C2000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll
0x60930000 - 0x60984000 C:\WINDOWS\system32\netapi32.dll
0x71AF0000 - 0x71B02000 C:\WINDOWS\system32\MPR.dll
0x75F40000 - 0x75F47000 C:\WINDOWS\System32\drprov.dll
0x71BE0000 - 0x71BEE000 C:\WINDOWS\System32\ntlanman.dll
0x71CA0000 - 0x71CB7000 C:\WINDOWS\System32\NETUI0.dll
0x71C60000 - 0x71CA0000 C:\WINDOWS\System32\NETUI1.dll
0x71C50000 - 0x71C57000 C:\WINDOWS\System32\NETRAP.dll
0x71BC0000 - 0x71BD3000 C:\WINDOWS\System32\SAMLIB.dll
0x75F50000 - 0x75F59000 C:\WINDOWS\System32\davclnt.dll
0x77910000 - 0x77A05000 C:\WINDOWS\system32\SETUPAPI.dll
0x77B30000 - 0x77B52000 C:\WINDOWS\system32\appHelp.dll
0x76FC0000 - 0x7703F000 C:\WINDOWS\system32\CLBCATQ.DLL
0x77040000 - 0x77108000 C:\WINDOWS\system32\COMRes.dll
0x76970000 - 0x76978000 C:\WINDOWS\system32\LINKINFO.dll
0x76980000 - 0x769A5000 C:\WINDOWS\system32\ntshrui.dll
0x76B10000 - 0x76B21000 C:\WINDOWS\system32\ATL.DLL
0x769B0000 - 0x76A64000 C:\WINDOWS\system32\USERENV.dll
0x76C80000 - 0x76CA8000 C:\WINDOWS\system32\imagehlp.dll
0x59F30000 - 0x59FD1000 C:\WINDOWS\system32\DBGHELP.dll
0x76BE0000 - 0x76BEB000 C:\WINDOWS\system32\PSAPI.DLL
Heap at VM Abort:
Heap
def new generation total 576K, used 265K [0x10010000, 0x100b0000, 0x104f0000)
eden space 512K, 51% used [0x10010000, 0x10052310, 0x10090000)
from space 64K, 0% used [0x100a0000, 0x100a0228, 0x100b0000)
to space 64K, 0% used [0x10090000, 0x10090000, 0x100a0000)
tenured generation total 3156K, used 2658K [0x104f0000, 0x10805000, 0x14010000)
the space 3156K, 84% used [0x104f0000, 0x10788930, 0x10788a00, 0x10805000)
compacting perm gen total 9984K, used 9941K [0x14010000, 0x149d0000, 0x18010000)
the space 9984K, 99% used [0x14010000, 0x149c5470, 0x149c5600, 0x149d0000)
Local Time = Sun Mar 13 04:04:53 2005
Elapsed Time = 28
The exception above was detected in native code outside the VM
Java VM: Java HotSpot™ Client VM (1.4.2_03-b02 mixed mode)