Skip to content

Instantly share code, notes, and snippets.

@adamkewley
Created January 3, 2023 09:24
Show Gist options
  • Select an option

  • Save adamkewley/19d248c1a3bf2c09ced58a500b8bfff0 to your computer and use it in GitHub Desktop.

Select an option

Save adamkewley/19d248c1a3bf2c09ced58a500b8bfff0 to your computer and use it in GitHub Desktop.
Model file that segfaults OpenSim 4.4
<?xml version="1.0" encoding="UTF-8" ?>
<OpenSimDocument Version="40000">
<Model name="model">
<!--The model's ground reference frame.-->
<Ground name="ground">
<!--The geometry used to display the axes of this Frame.-->
<FrameGeometry name="frame_geometry">
<!--Path to a Component that satisfies the Socket 'frame' of type Frame.-->
<socket_frame>..</socket_frame>
<!--Scale factors in X, Y, Z directions respectively.-->
<scale_factors>0.20000000000000001 0.20000000000000001 0.20000000000000001</scale_factors>
</FrameGeometry>
</Ground>
<ForceSet>
<objects>
<ActivationCoordinateActuator>
</ActivationCoordinateActuator>
</objects>
<groups />
</ForceSet>
</Model>
</OpenSimDocument>
@adamkewley

Copy link
Copy Markdown
Author

L16 is the source: it doesn't specify a coordinate property and the source code doesn't handle that case gracefully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment