Log In
New Account
Home My Page Projects Blender 2.x BF release
Summary Activity Tracker SCM Files

Blender 2.6 Bug Tracker: Browse

[#25871] crash rendering particle system

Date:
2011-01-30 18:09
Priority:
3
State:
Closed
Submitted by:
Doug Hammond (dougal2)
Assigned to:
Ton Roosendaal (ton)
Category:
Rendering
Status:
Fixed / Closed
Relates to:
[#25911]
Duplicates:
Patches:
 
Summary:
crash rendering particle system
Detailed description
blender: source/blender/render/intern/raytrace/reorganize.h:504: void VBVH_optimalPackSIMD<Node, TestCost>::calc_costs(Node*) [with Node = OVBVHNode, TestCost = PackCost]: Assertion `node->cut_cost[0] != (__builtin_inff())' failed.
Aborted



Steps to reproduce:
1. Open the attached file
2. Increase number of particles to 8000
3. Go to frame 113
4. Bake to current frame
5. Render

Followup

Message
  • Date: 2011-01-30 18:17
  • Sender: Ton Roosendaal
  • Hey Andre,

    Hope you're around for this one? Thanks!
  • Date: 2011-01-30 21:56
  • Sender: Andre Susano Pinto
  • Ton,

    I really dont have much time nowadays.
    Lets say if I dont find time by the next sunday. That might mean I wont have time at all.
  • Date: 2011-02-04 14:49
  • Sender: Shinsuke Irie
  • How to reproduce from scratch:

    1. Start Blender
    2. Add new mesh (e.g. Plane)
    3. Add new material
    4. Add new texture
    5. Enable "Normal" and "Displace" at texture panel
    6. Enable "Mirror" (and "Transparency", if necessary) at material panel

    Then, Blender should crash with the above error message.

    Confirmed with r34641.
  • Date: 2011-02-04 19:53
  • Sender: Shinsuke Irie
  • @Andre
    I attached "simple_crash.blend". I can reproduce the crash if I open it and just click the "Mirror" and "Transparency" check boxes.

    My evnironment is:
    * OS: Ubuntu 10.10 amd64
    * CPU: Core i7 870

    I also tested in VertualBox and can reproduce it there:
    * OS: Ubuntu 10.10 i386
    * Enable only single core

    If you have Ubuntu 10.10 box, you can test my Blender's binary by installing from my PPA:

    https://launchpad.net/~irie/+archive/blender

    I applied some patches to the binary in this PPA, but they shouldn't affect this issue because I can also reproduce using another binary built without the patches.
  • Date: 2011-02-04 20:02
  • Sender: Shinsuke Irie
  • Oops, I made a typo...

    s/VertualBox/VirtualBox/
  • Date: 2011-02-04 20:12
  • Sender: Andre Susano Pinto
  • Hehe no problem with the typos :p

    Hmm well I tried that bug on the day repository was down, so i was using gitorious copy, which was only in rev34520.
    Apparently that doesn't crashes on that version.

    Well I am compiling the latest trunk now...


    Hmm i tested on my
  • Date: 2011-02-05 02:23
  • Sender: Andre Susano Pinto
  • Thanks Shinsuke, your scene was pretty useful :)

    If anyone needs to render stuff for now: Try change the bumpmap mode to: original or compatible.
    I think it should fix it.

    I will try to hunt down why the other options lead the creation of VlakFaces that don't really exist (eg.: dont have bounding box)
    And my assert was catching that.

    I think this is the commit related with the crash:
    http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=34548
  • Date: 2011-02-05 11:03
  • Sender: M.G. Kishalmi
  • here's the (so far) most simple way to reproduce:

    new plane + material + texture
    map texture to normal + displace
    set bump method to default or best quality
    set bump space to viewspace

    couldn't get it to crash in any other bumpspace,
    but noticed the following:
    displace has no effect in the new bump methods.

    since André seems to lack time, I'm on it :)
  • Date: 2011-02-05 14:07
  • Sender: Ton Roosendaal
  • The issue was that displacement calls the texture system without derivatives.
    I added a fix for this. Let me know if it still fails!
  • Date: 2011-02-11 15:45
  • Sender: Campbell Barton
  • Closed duplicate [#26035], includes mesh example, perhaps useful to test as well.
    re-opening.
  • Date: 2011-02-11 17:45
  • Sender: Shinsuke Irie
  • Initially posted file (group-particle-crash.blend) still causes crash. The new example [#26035] also uses the particle system for water drops.
  • Date: 2011-02-19 13:38
  • Sender: Ton Roosendaal
  • Closing this report (because it's fixed). The other report is a real BVH problem.
 

Attached Files:

Name Date Download
group-particle-crash.blend 2011-01-30 18:09 Download
simple_crash.blend 2011-02-04 19:53 Download

Changes:

Field Old Value Date By
status_idOpen2011-02-19 13:38ton
close_dateNone2011-02-19 13:38ton
StatusReopened2011-02-19 13:38ton
status_idClosed2011-02-11 15:45campbellbarton
close_date2011-02-05 14:072011-02-11 15:45campbellbarton
StatusFixed / Closed2011-02-11 15:45campbellbarton
status_idOpen2011-02-05 14:07ton
close_dateNone2011-02-05 14:07ton
assigned_tojaguarandi2011-02-05 14:07ton
StatusInvestigate2011-02-05 14:07ton
File Added14884: simple_crash.blend2011-02-04 19:53irie
assigned_tonone2011-01-30 18:17ton
CategoryNone2011-01-30 18:17ton
StatusNew2011-01-30 18:17ton
detailsblender: source/blender/render/intern/raytrace/reorganize.h:504: void VBVH_optimalPackSIMD<Node, TestCost>::calc_costs(Node*) [with Node = OVBVHNode, TestCost = PackCost]: Assertion `node->cut_cost[0] != (__builtin_inff())\' failed. Aborted Steps to reproduce: 1. Open the attached file 2. Increase number of particles to 8000 3. Bake to current frame 4. Render2011-01-30 18:10dougal2
File Added14801: group-particle-crash.blend2011-01-30 18:09dougal2