Blender crashes when rendering this file on CPU and GPU #46634

Closed
opened 2015-10-29 06:49:00 +01:00 by Jorge Losilla Martínez · 16 comments

basic.blend

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

[basic.blend](https://archive.blender.org/developer/F247993/basic.blend) 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

Changed status to: 'Open'

Changed status to: 'Open'

Added subscriber: @JorgeLosilla

Added subscriber: @JorgeLosilla

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

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

The file needs the Animation Nodes addon 1.0. You can download on : https://github.com/JacquesLucke/animation_nodes/releases
Member

Added subscriber: @JacquesLucke

Added subscriber: @JacquesLucke
Member

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.

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

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

Added subscriber: @Blendify

Added subscriber: @Blendify
Member

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.

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.
Member

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

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

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

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 ```
Member

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..

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..

vcxzdas.blend

Another file with the same issue.

[vcxzdas.blend](https://archive.blender.org/developer/F251809/vcxzdas.blend) Another file with the same issue.

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

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

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..
scene simplify.PNG

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

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.. ![scene simplify.PNG](https://archive.blender.org/developer/F253519/scene_simplify.PNG) https://github.com/JacquesLucke/animation_nodes/issues/306
Member

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Aaron Carlisle self-assigned this 2015-11-10 15:47:56 +01:00
Member

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

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
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#46634
No description provided.