Blender crash and closes when play animation in this scene #46269
Labels
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
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#46269
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Kubuntu 14.04 64 bits - Kubuntu 15.04 64 bits
i7 3770
GTX 960 4GB - 355.11 driver
Blender Version
Broken: Blender 2.73a - Blender 2.76 RC2
Short description of error
Blender crash and closes when I play animation in this scene:
http://www.blendswap.com/blends/view/78511
Sometimes it occurs soon after started playing, sometimes a few seconds later.
I think that scene license allows me to upload the file here, but not sure. You say if you need and if I have allowed re-upload the scene here. In blendswap scene is labeled as Internal but it isl Cycles.
Linux terminal reports "segmentation fault" (but in spanish). Tested in two different systems: Kubuntu Linux 14.04 and 15.04 (64 bits), same machine. Blender 2.73a and Blender 2.76 RC2. Always crash.
Crash logs for Blender 2.76 in Kubuntu 14.04 and 15.04:
http://www.pasteall.org/61340
http://www.pasteall.org/61341
Exact steps for others to reproduce the error
Open the scene.
Play the animation Alt+A, wait a while until Blender crash. Perhaps you orbit the scene while animation plays can accelerate crash happen.
Also moving the timeline Blender crash.
Changed status to: 'Open'
Added subscriber: @YAFU
Added subscriber: @mont29
We for sure need a .blend file here - but we most likely also need to know how to re-create the issue, since this heavily looks like a broken/corrupted file… In any case, we cannot do anything so far.
Here attached scene (zip). I hope I'm not breaking the license:
Pixels_Pacman_BlendSwap.zip
Unmodified .blend downloaded from:
http://www.blendswap.com/blends/view/78511
License: CC-BY-NC
https://creativecommons.org/licenses/by-nc/3.0/
Author: AnimationsVFX
By the way, if I disable display in viewport of either of the two modifiers (Boolean - Remesh) for "Sphere.000" the crash seems not occur. Crash occurs with the two modifiers enabled in "Sphere.000" while the animation is playing in viewport.
You note that the crash does not occur immediately since you start to play the animation. You play the animation for at least 30 seconds and better if you orbit in it.
Well, cannot get any crashing here (Debian64 testing), with latest master, either on intel integrated GPU or NVidia 850m (with 340 drivers), and an ASAN build… This .blend is awfully heavy though.
This is weird. On my machine this is an "always crash", "always reproducible."
Tested in two different 64-bit Kubuntu installations. For now I was using official Blender tar.bz2 (2.73a and 2.76 RC2). But I just compile/build from master, and the crash also occurs.
You analyzing these crash logs before I posted, you could give me some clue about what may be going wrong in my machine?
I do not usually have crashes with Blender. Only in this scene.
i7 3770, GTX 960 4GB, 12GB RAM (three modules of 4GB). When I bought the RAM, memtest was OK.
Ah, if you can build yourself, would be nice to build a debug build with ASAN enabled (see http://wiki.blender.org/index.php/Dev:Doc/Tools/Debugging/GCC_Address_Sanitizer too), backtrace should be much more useful that way. ;)
Ok, my knowledge about compiling blender are minimal. I just follow this guide:
http://wiki.blender.org/index.php/Dev:Doc/Building_Blender/Linux/Ubuntu/CMake
and I compile using pre-defined build target "make". I have no idea about cmake and flags. The truth, I understand very little about what explains the link you gave me. If you can give me some easy instruction about how to compile with this thing enabled (just for a simple user of Blender) I would be grateful. Perhaps modifying something in CMakeLists.txt file?
Anyway, I will continue researching about this and see if I can do it.
Well… Just install cmake-gui (from your package manager) if not yet done, open your Blender build file (double-clicking on
CMakeCache.txt in your build directory should open the editor), locate
CMAKE_CXX_FLAGS_DEBUGand
CMAKE_C_FLAGS_DEBUGdebug entries, add
-fsanitize=addressoption to both (so they should look like
-g -fsanitize=addressor something), and set
CMAKE_BUILD_TYPEto
Debug. Then you just have to hit
Generate` button, and you can close cmake-gui and rebuild Blender.Very nice that cmake-gui! Thanks. Anyway I'm getting errors when trying to compile. I will continue investigating.
By the way, I mention the following thing in case the data is useful. I downloaded different versions of Blender for testing. The crash does not occur in Blender 2.69. The crash occurs starting from Blender 2.70 (the crash occurred in all Blender 2.7x). Have there been any changes in those Modifiers in the transition 2.69 to 2.70?
I can not compile in Kubuntu 14.04. In 15.04 I had to disable compositor otherwise I get errors. Here is the log after crash:
log_asan.txt
Building in this way, the animation runs much slower and it takes longer to crash.
Just in case some newbie like me are looking at google about this "ASAN" thing, I clarify that to find "CMakeCache.txt" you need first to do "make". Then you find "CMakeCache.txt" in "build_linux" directory. I really do not know how to do "make" works without building binaries, just configuring and generating this "CMakeCache.txt". So I deleted the content of "bin" directory under "build_linux". When you open "CMakeCache.txt" with "cmake-gui", you tick the "Advanced" box. Make the changes and Generate. Then I did "make -j 8" inside "build_linux" folder (you replace "8" by the number of your CPU threads)
If build was successful, download the "asan_symbolize.py" from ASAN link above, copy the script inside "bin" folder. Make the script executable. Open the terminal in "bin" folder and run:
./blender 2>&1 | ./asan_symbolize.py
Anyway, I do not know if I've done all this right
Added subscriber: @Sergey
Thanks, looks like we have an interesting backtrace now. :)
@Sergey bug is in carve area it seems, maybe you can even understand it from that single backtrace?
This is quite hard to debug such issues having just a stack trace of address sanitizer.
Some questions which will give us some clues:
-t 1
command line argument)Hi.
I'll try to do a quick summary to not be confusing.
The behavior regarding whether Blender is installed from repositories or official Blender, is the same.
The scene "crash" in all Blender 2.7x (tested on 2.70, 2.72, 2.73, 2.75, 2.76 RC2, git master).
The scene works well in Blender 2.68 or 2.69.
Executing Blender 2.7x from terminal with "-t 1", the scene does not crash, play animation in viewport works well!
So, is this problem in my machine related to the new multithreaded features starting from Blender 2.70?
This is my CPU:
http://ark.intel.com/es/products/65719/Intel-Core-i7-3770-Processor-8M-Cache-up-to-3_90-GHz
In the next days I will try to test on another PC, but it has old AMD CPU.
No, this doesn't mean your computer is to blame, it's some threading conflict is happening somewhere which is always tricky to reproduce.
Changed status from 'Open' to: 'Archived'
Attached report of ASAN actually seems quite wrong. Seems there's some more major memory issue happening around and ASAN is simply being confused about where the bad address came from. Such issues we really need to be able to reproduce in order to solve them. This particular case is also being complicated because it involves 3rd party library which we don't maintain and which we're currently trying to get rid of.
So the plan here would be to put forces on finishing bmesh replacement for booleans, which will make it so only our code is involved into the issue, making it easier to troubleshoot. For until then i'll archive the report, it's linked from Campbell's TODO now. Thanks for it anyway!
Added subscriber: @ideasman42
Looking into this when testing the
newboolean
branch and don't think this is a boolean issue.I get crash in 2.83 package from ArchLinux repos, but not the official blender.org 2.83 build. The crash I'm getting is in the octree code.
@ideasman42 , wouldn't it be better idea to make a new report, with an updated instructions, .blend file and so on?