-
Notifications
You must be signed in to change notification settings - Fork 2
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
CT: Assertion failed: recalculateVelocityAndAcceleration ... #56
Comments
Still occurring intermittently as of 5/18/202. |
Right, we'll take a look at it. |
Well, I got some time to work on the sim again! I have a pretty good idea of what may be happening: I don't think this would happen in a real situation, but it could be possible with the fuzz flag and some good hours of execution (I actually ran the sim here for a couple of hours and nothing happened). @tmildemberger, do you think that makes any sense? If this is really the issue, we should probably:
|
Before 366a306 there was a method to swap x and y coordinates of the displacement and velocity of every mass when the amplitude direction changed. It was removed because I thought it wouldn't be possible to press the button to change the amplitude direction while dragging a mass. But... I have just tested the sim for a while on my phone and this was not the only problem caused by forgetting about the existence of multitouch (I'll better investigate the other oddities I found out to be possible using more than one pointer and open the appropriate issues). Maybe it's a good idea to bring this method back, as that will be enough to solve the failing of the assertion when dragging a mass while changing the amplitude direction using multitouch, but I'm still not sure if this will solve the intermittent failure detected in CT. |
Multitouch is always a little tricky. Using query parameter |
This issue is a symptom of a more general problem, a lack of support for mulitouch, see #80. In fact, the implementation assumes that there is no multitouch. E.g. That said... In the above commit, I added some additional info to the assertion messages. For example:
|
|
Latest stack trace:
|
It's likely to be a long time before this is fixed. It may be masking other problems, and it would be nice not to have to continually inspect in CT. So for now, I've commented out the failing assertion, and added a TODO that references this issue. |
In the above commit, I commented out a similar failing assertion for acceleration, marked with a TODO. |
In the above commit, I commented out the entire |
Can this be closed for phetsims/qa#832? |
Please keep this open. The problem is still very much present. The reporting in CT has been silenced (by commenting out assertions) since there's no one to work on this. |
@pixelzoom, since the assertions have been silenced here can we add the label blocks-sim-publication and deferred to indicate we will not work on this until the sim is re-prioritized? Please remove the labels if you disagree. |
Intermittent failure in CT (Continuous Testing):
Here's the assertion in OneDimensionModel.js:
The text was updated successfully, but these errors were encountered: