Page MenuHome

Blender crashes when rendering this file on CPU and GPU
Closed, InvalidPublic

Description

When rendering on any frame higher than number 8. Blender chrases automatically on CPU and GPU. I have tried eliminating different options such as motion blur, etc. But the crashes repeat. Doesn´t happen when you do an Open GL render, so I guess it´s just a cycles thing.

Imac Late 2012
Processor: Intel Core i5 3,2
Ram: 8 gb
NVDIA Geforce 680MX 2048 Mb Vram

Details

Type
Bug

Event Timeline

Jorge Losilla Martínez (pecador) raised the priority of this task from to Needs Triage by Developer.

The file needs the Animation Nodes addon 1.0. You can download on :

https://github.com/JacquesLucke/animation_nodes/releases

Maybe ist also a bug in my addon, because when I remove all nodes it does not crash. I will try to simplify the file later today.

Well the thing it´s that only happens when rendering with Cycles or Internal. AFAIK works perfectly with Open GL rendering

yes. maybe my code leaves the mesh in an invalid state or so. I don't know why that happens sometimes and sometimes not but thats another thing.
At least it would be helpful if you could also try to simplify your file.

Aaron Carlisle (Blendify) lowered the priority of this task from Needs Triage by Developer to Needs Information from User.Oct 29 2015, 3:13 PM

Does this happen with loading factory settings without animation nodes? Because it is likely a threading issue which is on the to-do list.

This is the traceback I get from gdb. (note: this is my first attempt to debug blender)

[New Thread 0x7fff667ff700 (LWP 21329)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffb0e03700 (LWP 21290)]
0x0000000000f74710 in ccg_ehash_free ()
(gdb) bt
#0  0x0000000000f74710 in ccg_ehash_free ()
#1  0x0000000000f6917b in ccgSubSurf_free ()
#2  0x00000000010d4bec in subsurf_make_derived_from_derived ()
#3  0x0000000000e9b498 in applyModifier ()
#4  0x0000000000f7a707 in mesh_calc_modifiers ()
#5  0x0000000000f7b410 in mesh_build_data ()
#6  0x0000000000f7b52d in makeDerivedMesh ()
#7  0x0000000001066475 in BKE_object_handle_data_update ()
#8  0x0000000001060d70 in BKE_object_handle_update_ex ()
#9  0x000000000109c986 in scene_update_object_func ()
#10 0x00000000012cd32c in task_scheduler_thread_run ()
#11 0x00007ffff52a86aa in start_thread (arg=0x7fffb0e03700)
    at pthread_create.c:333
#12 0x00007ffff3854eed in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Oh and now I'm getting another error:

[New Thread 0x7fff5a7fc700 (LWP 21410)]
[New Thread 0x7fff5bfff700 (LWP 21411)]
[New Thread 0x7fff60fff700 (LWP 21412)]
[New Thread 0x7fff59ffb700 (LWP 21413)]
[New Thread 0x7fff7a7fc700 (LWP 21414)]
[New Thread 0x7fff79ffb700 (LWP 21415)]
[New Thread 0x7fff797fa700 (LWP 21416)]
[New Thread 0x7fffcbfff700 (LWP 21417)]
[Thread 0x7fffcbfff700 (LWP 21417) exited]
[New Thread 0x7fff812df700 (LWP 21418)]
Attempt to free NULL pointer
*** Error in `/home/jacques/blender-git/build_linux/bin/blender': free(): invalid pointer: 0x00007fff5c16bc70 ***

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffb1604700 (LWP 21356)]
0x00007ffff3783267 in __GI_raise (sig=sig@entry=6)
    at ../sysdeps/unix/sysv/linux/raise.c:55
55	../sysdeps/unix/sysv/linux/raise.c: Datei oder Verzeichnis nicht gefunden.

I have no idea what causes this crash but maybe you are right..

Another file with the same issue.

The thing agains is that only happens with cycles rendering. Open GL works perfectly.

Can you try to use the scene simplification to disable the subsurf modifiers in the viewport?
That seems to solve the problem on my pc..

https://github.com/JacquesLucke/animation_nodes/issues/306

Aaron Carlisle (Blendify) claimed this task.

It seems that now one could reproduce this without the addon. Sounds like a treading issue which alot of addons have with blender which is something that can be improved in the future