Page 1 of 1

OpenSim crashing issues

Posted: Thu Apr 17, 2008 7:46 pm
by kblazek
OpenSim's been crashing quite frequently while in the middle of CMC during the following:

- while simulating slow walking if I run my own CMC settings file, using the various parameters that May sent out. I should mention, though, that in the settings file that OpenSim generates for me, there are no objects in the AnalysisSet, so there are settings I can't do anything about. If I run May's CMC settings file directly, everything works.

- while simulating running, even if I run May's settings file directly, OpenSim will crash after going through about 2 seconds' worth of simulation. Everything looks fine just before the crash.

A typical error message is below: anyone have any advice?

Thanks!
Katerina


#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# Internal Error (0xe06d7363), pid=3972, tid=3164
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode)
# Problematic frame:
# C [kernel32.dll+0x12a5b]
#

--------------- T H R E A D ---------------

Current thread (0x0afdd948): JavaThread "Thread-4" [_thread_in_native, id=3164]

siginfo: ExceptionCode=0xe06d7363, ExceptionInformation=0x19930520 0x0f64bfa0 0x0fb0f6d8

Registers:
EAX=0x0f64a8ac, EBX=0x7c3cc1bb, ECX=0x00000000, EDX=0x0f64bfa0
ESP=0x0f64a8a8, EBP=0x0f64a8fc, ESI=0x0f64a93c, EDI=0x0f64a93c
EIP=0x7c812a5b, EFLAGS=0x00000206

Top of Stack: (sp=0x0f64a8a8)
0x0f64a8a8: 7c3a0f2c e06d7363 00000001 00000000
0x0f64a8b8: 7c812a5b 00000003 19930520 0f64bfa0
0x0f64a8c8: 0fb0f6d8 7c3ee2f9 00000000 0f64a904
0x0f64a8d8: 7c3c4f9e 0000002c 147bcb20 0f64a904
0x0f64a8e8: 7c3c560c 14b9e100 7c3c5617 0000002c
0x0f64a8f8: 14944a2c 0f64a93c 7c37a7bc e06d7363
0x0f64a908: 00000001 00000003 0f64a930 00000003
0x0f64a918: 14944a28 e06d7363 00000001 00000000

Instructions: (pc=0x7c812a5b)
0x7c812a4b: 8d 7d c4 f3 a5 5f 8d 45 b0 50 ff 15 08 15 80 7c
0x7c812a5b: 5e c9 c2 10 00 85 ff 0f 8e 36 93 ff ff 8b 55 fc


Stack: [0x0f610000,0x0f650000), sp=0x0f64a8a8, free space=234k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [kernel32.dll+0x12a5b]
C [MSVCR71.dll+0x1a7bc]
C [osimTools.dll+0x2e66c]
C [osimSimulation.dll+0x34fc9]
C [osimSimulation.dll+0xbd3b]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j org.opensim.modeling.opensimModelJNI.CMCTool_run(JLorg/opensim/modeling/CMCTool;)Z+0
j org.opensim.modeling.CMCTool.run()Z+5
j org.opensim.tracking.CMCToolModel$CMCToolWorker.construct()Ljava/lang/Object;+8
j org.opensim.swingui.SwingWorker$2.run()V+8
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub

--------------- P R O C E S S ---------------

Java Threads: ( => current thread )
=>0x0afdd948 JavaThread "Thread-4" [_thread_in_native, id=3164]
0x0ac8dd40 JavaThread "AWT-EventQueue-1" [_thread_in_Java, id=2424]
0x00038e40 JavaThread "DestroyJavaVM" [_thread_blocked, id=2504]
0x0b134488 JavaThread "TimerQueue" daemon [_thread_blocked, id=212]
0x0b050b48 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=2664]
0x0af8ebd0 JavaThread "AWT-Windows" daemon [_thread_in_native, id=2892]
0x0af8e760 JavaThread "AWT-Shutdown" [_thread_blocked, id=3600]
0x0aca60e0 JavaThread "Timer-0" daemon [_thread_blocked, id=2780]
0x0ac94ac0 JavaThread "CLI Requests Server" daemon [_thread_in_native, id=3208]
0x0acacad8 JavaThread "Active Reference Queue Daemon" daemon [_thread_blocked, id=2392]
0x00a94150 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=1776]
0x00a92e48 JavaThread "CompilerThread0" daemon [_thread_blocked, id=1772]
0x00a920e0 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=4016]
0x00a88f48 JavaThread "Finalizer" daemon [_thread_blocked, id=700]
0x00a87ae8 JavaThread "Reference Handler" daemon [_thread_blocked, id=2632]

Other Threads:
0x00a48098 VMThread [id=4036]
0x00a91e18 WatcherThread [id=3160]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
def new generation total 3456K, used 588K [0x02ad0000, 0x02e90000, 0x02fb0000)
eden space 3072K, 6% used [0x02ad0000, 0x02b03090, 0x02dd0000)
from space 384K, 99% used [0x02e30000, 0x02e8fff8, 0x02e90000)
to space 384K, 0% used [0x02dd0000, 0x02dd0000, 0x02e30000)
tenured generation total 45376K, used 41997K [0x02fb0000, 0x05c00000, 0x06ad0000)
the space 45376K, 92% used [0x02fb0000, 0x058b35f0, 0x058b3600, 0x05c00000)
compacting perm gen total 20736K, used 20549K [0x06ad0000, 0x07f10000, 0x0aad0000)
the space 20736K, 99% used [0x06ad0000, 0x07ee1690, 0x07ee1800, 0x07f10000)
No shared spaces configured.

Dynamic libraries:
0x00400000 - 0x0040c000 C:\Program Files\OpenSim 1.1\jdk\jre\bin\java.exe
0x7c900000 - 0x7c9b0000 C:\WINNT\system32\ntdll.dll
0x7c800000 - 0x7c8f5000 C:\WINNT\system32\kernel32.dll
0x77dd0000 - 0x77e6b000 C:\WINNT\system32\ADVAPI32.dll
0x77e70000 - 0x77f02000 C:\WINNT\system32\RPCRT4.dll
0x77fe0000 - 0x77ff1000 C:\WINNT\system32\Secur32.dll
0x77c10000 - 0x77c68000 C:\WINNT\system32\MSVCRT.dll
0x6d6e0000 - 0x6d874000 C:\Program Files\OpenSim 1.1\jdk\jre\bin\client\jvm.dll
0x7e410000 - 0x7e4a0000 C:\WINNT\system32\USER32.dll
0x77f10000 - 0x77f57000 C:\WINNT\system32\GDI32.dll
0x76b40000 - 0x76b6d000 C:\WINNT\system32\WINMM.dll
0x6d2f0000 - 0x6d2f8000 C:\Program Files\OpenSim 1.1\jdk\jre\bin\hpi.dll
0x76bf0000 - 0x76bfb000 C:\WINNT\system32\PSAPI.DLL
0x6d6b0000 - 0x6d6bc000 C:\Program Files\OpenSim 1.1\jdk\jre\bin\verify.dll
0x6d370000 - 0x6d38d000 C:\Program Files\OpenSim 1.1\jdk\jre\bin\java.dll
0x6d6d0000 - 0x6d6df000 C:\Program Files\OpenSim 1.1\jdk\jre\bin\zip.dll
0x0ffd0000 - 0x0fff8000 C:\WINNT\system32\rsaenh.dll
0x769c0000 - 0x76a73000 C:\WINNT\system32\USERENV.dll
0x5b860000 - 0x5b8b4000 C:\WINNT\system32\netapi32.dll
0x6d530000 - 0x6d543000 C:\Program Files\OpenSim 1.1\jdk\jre\bin\net.dll
0x71ab0000 - 0x71ac7000 C:\WINNT\system32\WS2_32.dll
0x71aa0000 - 0x71aa8000 C:\WINNT\system32\WS2HELP.dll
0x71a50000 - 0x71a8f000 C:\WINNT\System32\mswsock.dll
0x76f20000 - 0x76f47000 C:\WINNT\system32\DNSAPI.dll
0x76fb0000 - 0x76fb8000 C:\WINNT\System32\winrnr.dll
0x76f60000 - 0x76f8c000 C:\WINNT\system32\WLDAP32.dll
0x76fc0000 - 0x76fc6000 C:\WINNT\system32\rasadhlp.dll
0x76d60000 - 0x76d79000 C:\WINNT\system32\iphlpapi.dll
0x76d40000 - 0x76d58000 C:\WINNT\system32\MPRAPI.dll
0x77cc0000 - 0x77cf2000 C:\WINNT\system32\ACTIVEDS.dll
0x76e10000 - 0x76e35000 C:\WINNT\system32\adsldpc.dll
0x76b20000 - 0x76b31000 C:\WINNT\system32\ATL.DLL
0x774e0000 - 0x7761d000 C:\WINNT\system32\ole32.dll
0x77120000 - 0x771ab000 C:\WINNT\system32\OLEAUT32.dll
0x76e80000 - 0x76e8e000 C:\WINNT\system32\rtutils.dll
0x71bf0000 - 0x71c03000 C:\WINNT\system32\SAMLIB.dll
0x77920000 - 0x77a13000 C:\WINNT\system32\SETUPAPI.dll
0x662b0000 - 0x66308000 C:\WINNT\system32\hnetcfg.dll
0x71a90000 - 0x71a98000 C:\WINNT\System32\wshtcpip.dll
0x6d070000 - 0x6d1d7000 C:\Program Files\OpenSim 1.1\jdk\jre\bin\awt.dll
0x73000000 - 0x73026000 C:\WINNT\system32\WINSPOOL.DRV
0x76390000 - 0x763ad000 C:\WINNT\system32\IMM32.dll
0x73760000 - 0x737a9000 C:\WINNT\system32\ddraw.dll
0x73bc0000 - 0x73bc6000 C:\WINNT\system32\DCIMAN32.dll
0x73940000 - 0x73a10000 C:\WINNT\system32\D3DIM700.DLL
0x74720000 - 0x7476b000 C:\WINNT\system32\MSCTF.dll
0x7c9c0000 - 0x7d1d7000 C:\WINNT\system32\shell32.dll
0x77f60000 - 0x77fd6000 C:\WINNT\system32\SHLWAPI.dll
0x773d0000 - 0x774d3000 C:\WINNT\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\comctl32.dll
0x5d090000 - 0x5d12a000 C:\WINNT\system32\comctl32.dll
0x6d2b0000 - 0x6d2ed000 C:\Program Files\OpenSim 1.1\jdk\jre\bin\fontmanager.dll
0x6d550000 - 0x6d559000 C:\Program Files\OpenSim 1.1\jdk\jre\bin\nio.dll
0x10000000 - 0x10011000 C:\WINNT\system32\ctagent.dll
0x605d0000 - 0x605d9000 C:\WINNT\system32\mslbui.dll
0x0f700000 - 0x0f7db000 C:\Program Files\OpenSim 1.1\bin\osimJavaJNI.dll
0x0f7e0000 - 0x0f863000 C:\Program Files\OpenSim 1.1\bin\osimCommon.dll
0x12000000 - 0x121b4000 C:\Program Files\OpenSim 1.1\bin\xerces-c_2_7.dll
0x7c360000 - 0x7c3b6000 C:\WINNT\system32\MSVCR71.dll
0x0f870000 - 0x0f8ba000 C:\Program Files\OpenSim 1.1\bin\SimTKcommon.dll
0x10020000 - 0x10b5d000 C:\Program Files\OpenSim 1.1\bin\SimTKlapack.dll
0x7c3c0000 - 0x7c43c000 C:\WINNT\system32\MSVCP71.dll
0x0f8c0000 - 0x0f9c9000 C:\Program Files\OpenSim 1.1\bin\SimTKmath.dll
0x0f9d0000 - 0x0fa66000 C:\Program Files\OpenSim 1.1\bin\osimSimulation.dll
0x0fa70000 - 0x0fab3000 C:\Program Files\OpenSim 1.1\bin\osimAnalyses.dll
0x0fac0000 - 0x0fb36000 C:\Program Files\OpenSim 1.1\bin\osimTools.dll
0x0fb40000 - 0x0fb66000 C:\Program Files\OpenSim 1.1\bin\osimActuators.dll
0x0fb70000 - 0x0fb91000 C:\Program Files\OpenSim 1.1\bin\osimSimmKinematicsEngine.dll
0x0fbb0000 - 0x0fbe1000 C:\Program Files\OpenSim 1.1\bin\osimSdfastEngine.dll
0x0fd10000 - 0x0fd2f000 C:\Program Files\OpenSim 1.1\bin\osimSimbodyEngine.dll
0x0fd30000 - 0x0fdbc000 C:\Program Files\OpenSim 1.1\bin\SimTKsimbody.dll
0x71b20000 - 0x71b32000 C:\WINNT\system32\MPR.dll
0x75f60000 - 0x75f67000 C:\WINNT\System32\drprov.dll
0x71c10000 - 0x71c1e000 C:\WINNT\System32\ntlanman.dll
0x71cd0000 - 0x71ce7000 C:\WINNT\System32\NETUI0.dll
0x71c90000 - 0x71cd0000 C:\WINNT\System32\NETUI1.dll
0x71c80000 - 0x71c87000 C:\WINNT\System32\NETRAP.dll
0x75f70000 - 0x75f79000 C:\WINNT\System32\davclnt.dll
0x77b40000 - 0x77b62000 C:\WINNT\system32\appHelp.dll
0x5a500000 - 0x5a54e000 C:\Program Files\MSN Messenger\fsshext.8.1.0178.00.dll
0x78130000 - 0x781cb000 C:\WINNT\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.1433_x-ww_5cf844d2\MSVCR80.dll
0x4ec50000 - 0x4edf3000 C:\WINNT\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.2600.2180_x-ww_522f9f82\gdiplus.dll
0x76fd0000 - 0x7704f000 C:\WINNT\system32\CLBCATQ.DLL
0x77050000 - 0x77115000 C:\WINNT\system32\COMRes.dll
0x77c00000 - 0x77c08000 C:\WINNT\system32\VERSION.dll
0x0ff00000 - 0x0ff84000 C:\Program Files\TortoiseSVN\bin\tortoisesvn.dll
0x771b0000 - 0x7725a000 C:\WINNT\system32\WININET.dll
0x77a80000 - 0x77b14000 C:\WINNT\system32\CRYPT32.dll
0x77b20000 - 0x77b32000 C:\WINNT\system32\MSASN1.dll
0x6eec0000 - 0x6eee2000 C:\Program Files\TortoiseSVN\bin\libapr_tsvn.dll
0x6ee60000 - 0x6ee88000 C:\Program Files\TortoiseSVN\bin\libaprutil_tsvn.dll
0x6ee50000 - 0x6ee5d000 C:\Program Files\TortoiseSVN\bin\libapriconv_tsvn.dll
0x0ffc0000 - 0x0ffcc000 C:\Program Files\TortoiseSVN\bin\intl3_svn.dll
0x10b70000 - 0x10bf7000 C:\WINNT\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.1433_x-ww_5cf844d2\MSVCP80.dll
0x76780000 - 0x76789000 C:\WINNT\system32\SHFOLDER.dll
0x6ee40000 - 0x6ee46000 C:\Program Files\TortoiseSVN\iconv\_tbl_simple.so
0x6e060000 - 0x6e067000 C:\Program Files\TortoiseSVN\iconv\windows-1252.so
0x6ed50000 - 0x6ed56000 C:\Program Files\TortoiseSVN\iconv\utf-8.so
0x76980000 - 0x76988000 C:\WINNT\system32\LINKINFO.dll
0x76990000 - 0x769b5000 C:\WINNT\system32\ntshrui.dll
0x113c0000 - 0x1140e000 C:\Program Files\OpenSim 1.1\bin\vtkCommonJava.dll
0x11410000 - 0x11523000 C:\Program Files\OpenSim 1.1\bin\vtkCommon.dll
0x11530000 - 0x115b3000 C:\Program Files\OpenSim 1.1\bin\vtkFilteringJava.dll
0x115c0000 - 0x11739000 C:\Program Files\OpenSim 1.1\bin\vtkFiltering.dll
0x11740000 - 0x1177e000 C:\Program Files\OpenSim 1.1\bin\vtkIOJava.dll
0x11780000 - 0x1195a000 C:\Program Files\OpenSim 1.1\bin\vtkIO.dll
0x10c40000 - 0x10c59000 C:\Program Files\OpenSim 1.1\bin\vtkDICOMParser.dll
0x10c80000 - 0x10c9a000 C:\Program Files\OpenSim 1.1\bin\vtkpng.dll
0x10c60000 - 0x10c6f000 C:\Program Files\OpenSim 1.1\bin\vtkzlib.dll
0x11960000 - 0x1197c000 C:\Program Files\OpenSim 1.1\bin\vtkjpeg.dll
0x11980000 - 0x119be000 C:\Program Files\OpenSim 1.1\bin\vtktiff.dll
0x119c0000 - 0x119db000 C:\Program Files\OpenSim 1.1\bin\vtkexpat.dll
0x73b50000 - 0x73b67000 C:\WINNT\system32\AVIFIL32.dll
0x77be0000 - 0x77bf5000 C:\WINNT\system32\MSACM32.dll
0x75a70000 - 0x75a91000 C:\WINNT\system32\MSVFW32.dll
0x119e0000 - 0x119f3000 C:\Program Files\OpenSim 1.1\bin\vtkMPEG2Encode.dll
0x11a00000 - 0x11a3b000 C:\Program Files\OpenSim 1.1\bin\vtkImagingJava.dll
0x11a40000 - 0x11c43000 C:\Program Files\OpenSim 1.1\bin\vtkImaging.dll
0x11c50000 - 0x11cdc000 C:\Program Files\OpenSim 1.1\bin\vtkGraphicsJava.dll
0x121c0000 - 0x12546000 C:\Program Files\OpenSim 1.1\bin\vtkGraphics.dll
0x11ce0000 - 0x11d37000 C:\Program Files\OpenSim 1.1\bin\vtkRenderingJava.dll
0x11d40000 - 0x11ef5000 C:\Program Files\OpenSim 1.1\bin\vtkRendering.dll
0x10ca0000 - 0x10caa000 C:\Program Files\OpenSim 1.1\bin\vtkftgl.dll
0x5ed00000 - 0x5edcc000 C:\WINNT\system32\OPENGL32.dll
0x68b20000 - 0x68b40000 C:\WINNT\system32\GLU32.dll
0x11f00000 - 0x11f53000 C:\Program Files\OpenSim 1.1\bin\vtkfreetype.dll
0x6d3d0000 - 0x6d3d6000 C:\Program Files\OpenSim 1.1\jdk\jre\bin\jawt.dll
0x11f60000 - 0x11f93000 C:\Program Files\OpenSim 1.1\bin\vtkHybridJava.dll
0x12550000 - 0x12684000 C:\Program Files\OpenSim 1.1\bin\vtkHybrid.dll

VM Arguments:
jvm_args: -Xms24m -Xmx64m -Dnetbeans.logger.console=true -ea -Dsun.java2d.ddoffscreen=false -Dsun.java2d.gdiblit=false -Dnetbeans.osenv=C:\DOCUME~1\Katerina\LOCALS~1\Temp\nbenv2 -Dnetbeans.osenv.nullsep=true -Djdk.home=jdk -Dnetbeans.home=C:\Program Files\OpenSim 1.1\platform6 -Dnetbeans.dirs=C:\Program Files\OpenSim 1.1\opensim -Dnetbeans.user=C:\Documents and Settings\Katerina\Application Data\.opensim\1.1.1 -Dnetbeans.system_http_proxy=DIRECT -Dnetbeans.system_http_non_proxy_hosts= -Dsun.awt.keepWorkingSetOnMinimize=true
java_command: org/netbeans/Main --branding opensim
Launcher Type: SUN_STANDARD

Environment Variables:
CLASSPATH=.;C:\Program Files\Java\j2re1.4.2\lib\ext\QTJava.zip
PATH=C:\Program Files\OpenSim 1.1\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\system32\wbem;C:\Program Files\Microsoft SQL Server\90\Tools\binn
USERNAME=Katerina
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 15 Model 2 Stepping 5, GenuineIntel



--------------- S Y S T E M ---------------

OS: Windows XP Build 2600 Service Pack 2

CPU:total 2 family 15, cmov, cx8, fxsr, mmx, sse, sse2, ht

Memory: 4k page, physical 2097151k(2097151k free), swap 4194303k(4194303k free)

vm_info: Java HotSpot(TM) Client VM (1.5.0_06-b05) for windows-x86, built on Nov 10 2005 11:12:14 by "java_re" with MS VC++ 6.0




RE: OpenSim crashing issues

Posted: Thu Apr 17, 2008 7:58 pm
by mql
Hi Katerina,
Sorry to hear about the problems. It sounds like CMC runs fine for walking, with the files I sent. But it crashes for running, with the files I sent.

It also sounds like it crashes for walking when you try to run it using the CMC tool (not the files I sent). Which crash causes the error message you included (walking or running)?

Does RRA finish ok for the running data?

- May

RE: OpenSim crashing issues

Posted: Thu Apr 17, 2008 11:59 pm
by samner
Hi Katerina,

So I was having problems with RRA, and then I remembered that in the IK solution from last week, I did not have the subtalar and mtp joints locked. Did you check this? If not, that may help.

To lock these joints open the model file (*.osim) in a text editor and search for the section the looks like the code below. Then make sure the "locked" tag is true for left & right subtalar and mtp angles. Then re-do IK and RRA. Hope this helps!

<SimbodyCoordinate name="subtalar_angle_r">
<default_value> 0.00 </default_value>
<initial_value> 0.00 </initial_value>
<tolerance> 0.00000001 </tolerance>
<stiffness> 0.00 </stiffness>
<range> -1.57079633 1.57079633 </range>
<keys> a_key </keys>
<clamped> true </clamped>
<locked> true </locked>
<restraint_function/>
<min_restraint_function/>
<max_restraint_function/>
<restraint_active> false </restraint_active>
<constraint_function/>
</SimbodyCoordinate>


RE: OpenSim crashing issues

Posted: Fri Apr 18, 2008 12:08 am
by mql
(Good observation, Sam!) Yes, definitely lock the subtalar and mtp joints. For the slow walking example we did in class, I think that the motion in these joints was small enough that it was ok to lock them *after* inverse kinematics.

But I bet the motions were much larger after inverse kinematics for running. So, yes, lock them *before* running IK and see if that helps.

In general, you want to decide on which model dof to lock before even scaling, but I think we overlooked this in class. So sorry for the problems.

- May

RE: OpenSim crashing issues

Posted: Fri Apr 18, 2008 9:43 am
by aymanh
Katerina and all,

The GUI is supposed to create a settings (*_setup.xml) file. After that it's the exact same code executing either from the command line or the GUI. So, I'd like to separate the issues/crashes as either "GUI issues" if the file we end up with is bad (these are easy to reproduce and fix) or "CMC issues" which are much harder to reproduce and to fix as they may happen midway through CMC after minutes or hours for various reasons (including locking the joints or that the model is not strong enough to reproduce the motion, ..etc.).

The questions for Katerina:
1. Does slow walking work from the GUI?
a) using May's file.
b) using a file created entirely in the GUI.
2. Same question as 1. but for running.

Thanks for your help tracking these issues and for making OpenSim better for future users.

Best regards,
-Ayman

RE: OpenSim crashing issues

Posted: Fri Apr 18, 2008 12:44 pm
by kblazek
Hi Ayman and everyone else,

to clarify:

Slow walking RRA and CMC work for me when running them with May's setup file for the whole of the movement (when we have GRF's); RRA is fine with a setup file created by the GUI, but CMC crashes at the first timestep if I run it with a setup file created only by the GUI (but with the same settings as May's file).

For slow running, RRA will run for the whole movement using May's setup file, but CMC crashes halfway through. RRA from a GUI setup file will also run for the whole movement, but CMC crashes as well.

I'm going to try running OpenSim from the command line and see if I can figure out what's wrong.

Thanks!
Katerina

RE: OpenSim crashing issues

Posted: Fri Apr 18, 2008 12:56 pm
by mql
Katerina,
Thanks for the clarification.

You might also try to do the following for your running trial: Run CMC, and as it runs, keep an eye on the times in the message window. Try to note the time when it crashes. Then change your final time in the CMC setup file to some time *just* before the crash. It ought to run just fine for that shorter duration. Take a look at the output files. Was it tracking the kinematics well until the crash, or did it look like there were large errors? Were the residual or reserve actuators maxing out at any time--if so, increase the min/max allowed for those actuators and see if it still happens.


- May

RE: OpenSim crashing issues

Posted: Sat Apr 19, 2008 8:09 am
by aymanh
May and all,

I believe I got to the real bottom of the "space in the path" problem. The problem is specific to the list of files for Actuators. Since the list is written to the XML file space separated under the XML tag <actuator_set_files>, whenever a file has a space in the path e.g.
"C:/Program Files/OpenSim/actuators.xml"
It gets interpretted as 2 files
"C:/Program"
"Files/OpenSim/actuators.xml"
and that causes the crash downstream.
The workaround for now is to replace the filenames under this tag <actuator_set_files> to use relative path and make sure it does not have spaces in it. You can verify you got the right files by opening the CMC or Forward tool dialog and going to the "Actuators and External loads" and edit the list of Actuator files.

Hope this helps,
-Ayman

Hope that