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

what(): Error: index out of range #415

Closed
PavelBlend opened this Issue Jan 23, 2019 · 1 comment

Comments

Projects
None yet
2 participants
@PavelBlend
Copy link

PavelBlend commented Jan 23, 2019

System Information

Blender Version: 2.79b f4dc9f9d68b
FLIP Fluids Version: 9.0.5.2
Operating System: Windows 7 64 bit
CPU: A8 5600K 3.60GHz 4 Core
GFX: -
RAM: 8 GB

Describe the bug

The simulation causes the blender to close unexpectedly (18 frame).
Log:

Frame: 18 (Step 4)
Step time: 0.0256712 (100% of frame)

23-Jan-2019 20h32m44s BEGIN       Update Obstacle Objects
23-Jan-2019 20h32m44s COMPLETE    Update Obstacle Objects
23-Jan-2019 20h32m44s BEGIN       Update Liquid Level Set
23-Jan-2019 20h32m44s COMPLETE    Update Liquid Level Set
23-Jan-2019 20h32m44s BEGIN       Advect Velocity Field
23-Jan-2019 20h32m44s COMPLETE    Advect Velocity Field
23-Jan-2019 20h32m44s BEGIN       Save Velocity Field
23-Jan-2019 20h32m44s COMPLETE    Save Velocity Field
23-Jan-2019 20h32m44s BEGIN       Apply Body Forces
23-Jan-2019 20h32m44s COMPLETE    Apply Body Forces
23-Jan-2019 20h32m44s BEGIN       Solve Pressure System
23-Jan-2019 20h32m44s COMPLETE    Solve Pressure System
23-Jan-2019 20h32m44s BEGIN       Constrain Velocity Field
23-Jan-2019 20h32m45s COMPLETE    Constrain Velocity Field
23-Jan-2019 20h32m45s BEGIN       Update Marker Particle Velocities
23-Jan-2019 20h32m45s COMPLETE    Update Marker Particle Velocities
23-Jan-2019 20h32m45s BEGIN       Delete Saved Velocity Field
23-Jan-2019 20h32m45s COMPLETE    Delete Saved Velocity Field
23-Jan-2019 20h32m45s BEGIN       Advect Marker Particles
terminate called after throwing an instance of 'std::out_of_range'
  what():  Error: index out of range.
i: 7 j: 21 k: -4

To Reproduce

bug_in_18_frame.zip
Run the simulation and wait for 18 frames to bake.

@rlguy

This comment has been minimized.

Copy link
Owner

rlguy commented Jan 23, 2019

Hi PavelBlend,

Thanks for the report! I was able to reproduce this bug. This bug was introduced when changing the collision system to handle thinner obstacles. The bug caused particles to be able to escape the domain which is what the Error: index out of range means.

This bug has been fixed and will be included in the next update which will be available either this Friday (Jan 25th) or next Friday (Feb 1st).

- Ryan

@rlguy rlguy added the bug label Jan 23, 2019

@rlguy rlguy closed this Jan 23, 2019

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