Page MenuHome

Instantiated Hair Object which has dupligroup children and hidden orig objects of group crash at render
Closed, ResolvedPublic

Description

System Information
Operating system and graphics card
Windows 10 64bit
GeForce GTX TITAN X

Blender Version
Broken: 2.78c e92f235283

Short description of error
Linked Particle Hair Object which duplicates objects or group, has child particles cause crashing when start rendering.

Exact steps for others to reproduce the error
at Source file:
Make Suzanne or something.
Make Plane and set Particle Hair. Set Suzanne as Duplicate Object. Set Children Simple or Interpolated.
Group them.

at Rendering file
Link Source's group.
try Render.
Crash.

that's all.
when setting Children None, blender doesn't crash.

Event Timeline

Yusuke Fujiwara (YusukeFujiwara) renamed this task from Linked Particle Hair Object which has child particle cause crush when render to Linked Particle Hair Object which has child particle cause crashing when render.May 17 2017, 12:57 AM
Yusuke Fujiwara (YusukeFujiwara) updated the task description. (Show Details)

Sorry, I couldn't find any crash log in my temp folder.

So I launched blender from cmd, and tried to cause this crash.
Then I got messages below.

C:\Program Files\Blender Foundation\Blender>blender
Read new prefs: C:\Users\ysksa\AppData\Roaming\Blender Foundation\Blender\2.78\config\userpref.blend
found bundled python: C:\Program Files\Blender Foundation\Blender\2.78\python
drop file C:\test\render.blend
read blend: C:\test\render.blend
Info: Read library: 'C:\test\source.blend', 'source.blend', parent '<direct>'
Info: Read library: 'C:\test\source.blend', '
source.blend', parent '<direct>'

(I pushed "Render" button at this point)

Error: EXCEPTION_ACCESS_VIOLATION

Bastien Montagne (mont29) lowered the priority of this task from 90 to 50.May 19 2017, 3:01 PM

Crashes in RE_addRenderInstance(), when retrieving 11th child particle (part_index = psys->child[obi->index - psys->totpart].parent; with obi->index == 20 and psys->totpart == 10).

Think this is a problem between preview and render number of childs, here clearly the 10 first ones are OK, but not beyond (file is set to 1 child per particle in preview, and 10 per particle in render)… Still digging to try to understand that mess better.

There is nothing related to data being linked actually, as you can see in attached file below, it's enough to instantiate a group with dupliob particle system, and then hide (on another layer e.g.) original objects of the group…

Still trying to figure out a fix for this mess…

Bastien Montagne (mont29) renamed this task from Linked Particle Hair Object which has child particle cause crashing when render to Instantiated Hair Object which has dupligroup children and hidden orig objects of group crash at render.May 19 2017, 7:31 PM

I've tried to use today's daily build. It doesn't crash!
I'm very happy. Thanks for your work!