Crash with Boids containing Fight Rule #74224

Closed
opened 2020-02-26 10:07:02 +01:00 by Thomas Freye · 9 comments

System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: Quadro K3100M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 426.32

Blender Version
Broken: version: 2.82 (sub 7), branch: master, commit date: 2020-02-12 16:20, hash: 77d23b0bd7

Short description of error
When start an animation with two Objects containing a particle system with boid physics
and one of them should fight the other, blender will crash.

Exact steps for others to reproduce the error

  • Add -> Mesh -> Plane
  • Add Particle System to "Plane"
  • Particle Settings:
    Emission
	 Number:      3
	 Frame Start: 1
	 End:         1
       Lifetime:    2000
    Velocity
       Normal:      0 m/s
    Physics
       Physics Tape: Boids
       Boid Brain
           Delete the default Rules (Separate and Flock)
    Field Weights
           Gravity:   0
  • Add -> Mesh -> Plane
  • Move "Plane.001" 3 units on x-axis (g,x,3,enter)
  • Add Particle System to "Plane.001"
  • Particle Settings:
    Emission
	 Number:      3
	 Frame Start: 1
	 End:         1
       Lifetime:    2000
    Velocity
       Normal:      0 m/s
    Physics
       Physics Tape: Boids
	 Relations:
                   Add:
                      Target Object: "Plane"
                      System: 1
                      Mode:  Enemy			   
              Boid Brain
                    Delete the default Rules (Separate and Flock)
	      Add Rule: "Fight"
    Field Weights
       Gravity:   0
  • Start Animation - Blender will crash after a couple of seconds!

Boid_Test.blend

**System Information** Operating system: Windows-10-10.0.18362-SP0 64 Bits Graphics card: Quadro K3100M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 426.32 **Blender Version** Broken: version: 2.82 (sub 7), branch: master, commit date: 2020-02-12 16:20, hash: `77d23b0bd7` **Short description of error** When start an animation with two Objects containing a particle system with boid physics and one of them should fight the other, blender will crash. **Exact steps for others to reproduce the error** - Add -> Mesh -> Plane - Add Particle System to "Plane" - Particle Settings: ``` Emission ``` Number: 3 Frame Start: 1 End: 1 ``` Lifetime: 2000 Velocity Normal: 0 m/s Physics Physics Tape: Boids Boid Brain Delete the default Rules (Separate and Flock) Field Weights Gravity: 0 ``` - Add -> Mesh -> Plane - Move "Plane.001" 3 units on x-axis (g,x,3,enter) - Add Particle System to "Plane.001" - Particle Settings: ``` Emission ``` Number: 3 Frame Start: 1 End: 1 ``` Lifetime: 2000 Velocity Normal: 0 m/s Physics Physics Tape: Boids ``` Relations: ``` Add: Target Object: "Plane" System: 1 Mode: Enemy Boid Brain Delete the default Rules (Separate and Flock) ``` Add Rule: "Fight" ``` Field Weights Gravity: 0 ``` - Start Animation - Blender will crash after a couple of seconds! [Boid_Test.blend](https://archive.blender.org/developer/F8372074/Boid_Test.blend)
Author

Added subscriber: @ThomasFreye

Added subscriber: @ThomasFreye
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Member

Can confirm.
For me, blender hangs
#66383 (Boids particle system crash) might be related, checking if this is a duplicate...

Can confirm. For me, blender hangs #66383 (Boids particle system crash) might be related, checking if this is a duplicate...
Member

Testing a bit more:

when one can get it to hang, this is where the time is spent:
image.png

Also could get it to assert once:

BLI_assert failed: /blender/source/blender/blenlib/intern/kdtree_impl.h:132, BLI_kdtree_3d_insert(), at 'tree->nodes_len <= tree->nodes_len_capacity'
Testing a bit more: when one can get it to hang, this is where the time is spent: ![image.png](https://archive.blender.org/developer/F8373250/image.png) Also could get it to assert once: ``` BLI_assert failed: /blender/source/blender/blenlib/intern/kdtree_impl.h:132, BLI_kdtree_3d_insert(), at 'tree->nodes_len <= tree->nodes_len_capacity' ```

Added subscriber: @BlenderInsight

Added subscriber: @BlenderInsight

Can confirm that it do this on 2.82 on my system as well. Sometimes in few seconds... sometimes direct, but it crashes. It doesn't matter if I use Halo, object or collections as enemies.

Can confirm that it do this on 2.82 on my system as well. Sometimes in few seconds... sometimes direct, but it crashes. It doesn't matter if I use Halo, object or collections as enemies.

This issue was referenced by 25b2b6724d

This issue was referenced by 25b2b6724d19d6f1f46b0489f58d03215127aeef
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Jacques Lucke self-assigned this 2020-04-01 16:22:27 +02:00
Sign in to join this conversation.
5 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: blender/blender#74224
No description provided.