-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Investigate bug report from D. K. Smith #773
Comments
Private (research) model requested and received. I'll hold this in private storage as |
The model was sucessfully loaded with no crash or error in the following configurations:
So I cannot reproduce the error with the given model file - I'll ask him for more information. |
One part of his bug was fixed in 16f46e7 but it wasn't tagged with an issue number because I noticed it in passing. |
I have received a file that crashes from DKS. Details are:
Tested against:
So there might be hint about how to fix it in the diff between 0.1.6 and 0,.2.0 |
The reason why 0.1.6 works is because it doesn't go through the step of re-finalizing connections: It subsequently crashes if a connection-finalizing operation is performed later in the editing cycle (e.g. change the name, no crash; then change a joint, crash - but the crash is related to finalizing connections). |
I created a simplified version of the model graph to visually inspect where exactly the cycle is in this particular model: It looks like |
3b24088 adds an even simpler bug reproduction, which is a file containing only two bodies and three joints. The simplest possible failing version would be a single body and two joints, but that is co-incidently caught by opensim-org/opensim-core#3299 Now that I have delved into the segfault debug trace, reproduced the bug in a way that's independent of mesh data, muscles, etc. I think it is safe to conclude that this particular bug is related to how OpenSim's sockets retain pointers for longer than needed. What's happening here is:
So the "hollistic" solutions to this (in OpenSim) are:
|
Non-"hollistic" solutions include:
But that comes with its own baggage. |
…nections (for customizations, #773)
Received in private email (search: "opensimcreator project Smith")
User reports that OSC is crashing whenever he loads his model file in it. And that the issue did not exist in v3.2 (assuming he means 0.3.2).
The text was updated successfully, but these errors were encountered: