Crashing after baking ( or clearing and baking ) simple smoke sim #57601

Closed
opened 2018-11-03 13:04:38 +01:00 by Mal Duffin · 12 comments
Member

System Information
Windows 10, GTX 1070

Blender Version
Broken: Blender 2.8 Alpha 2, 74737091c0

Short description of error

Blender crashes either the first time baking, or after a few bake, clear and re-bakes.

Exact steps for others to reproduce the error

  1. Start a new Scene

  2. Select the default cube ( probably already selected )

  3. Open the Physics Tab

  4. Select "Smoke" and Type "Domain"

  5. Shift A and add a UV Sphere

  6. In the Physics Tab, select "Smoke" and "Flow"

  7. Reselect the Cube, and go to the Cache tab in the Physics section

Note that the buttons for caching can't be selected until you save.

  1. Save the scene
  2. Select "Bake"

If Blender doesn't crash...

  1. Select "Free All Bakes"
  2. GOTO 9 :)

I've attached the simple .blend file, start at 9) if you're using it.Smoke_Baking_Crash.blend

**System Information** Windows 10, GTX 1070 **Blender Version** Broken: Blender 2.8 Alpha 2, 74737091c00 **Short description of error** Blender crashes either the first time baking, or after a few bake, clear and re-bakes. **Exact steps for others to reproduce the error** 1) Start a new Scene 2) Select the default cube ( probably already selected ) 3) Open the Physics Tab 4) Select "Smoke" and Type "Domain" 5) Shift A and add a UV Sphere 6) In the Physics Tab, select "Smoke" and "Flow" 7) Reselect the Cube, and go to the Cache tab in the Physics section Note that the buttons for caching can't be selected until you save. 8) Save the scene 9) Select "Bake" If Blender doesn't crash... 10) Select "Free All Bakes" 11) GOTO 9 :) I've attached the simple .blend file, start at 9) if you're using it.[Smoke_Baking_Crash.blend](https://archive.blender.org/developer/F5349373/Smoke_Baking_Crash.blend)
Author
Member

Added subscriber: @MalDuffin

Added subscriber: @MalDuffin

#57602 was marked as duplicate of this issue

#57602 was marked as duplicate of this issue

Added subscriber: @Klaus-4

Added subscriber: @Klaus-4

Also happens when baking hair dynamics or soft body physics. I get an immediate crash when pressing the "bake" button.

Tested on Blender 2.8 c4c62e6df5, Windows 10, GTX Titan X

Also happens when baking hair dynamics or soft body physics. I get an immediate crash when pressing the "bake" button. Tested on Blender 2.8 c4c62e6df55, Windows 10, GTX Titan X
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Confirmed.
Not sure this is a leftover from #56352, needs further investigation...

1  customdata_typemap_is_valid                                                                                                                                                                               customdata.c    1421 0x26fafc3      
2  CustomData_get_layer_index                                                                                                                                                                                customdata.c    1618 0x26fb84b      
3  CustomData_has_layer                                                                                                                                                                                      customdata.c    1999 0x26fd2a2      
4  mesh_calc_modifiers                                                                                                                                                                                       DerivedMesh.c   1593 0x267cde4      
5  mesh_build_data                                                                                                                                                                                           DerivedMesh.c   1992 0x267ea04      
6  makeDerivedMesh                                                                                                                                                                                           DerivedMesh.c   2097 0x267ee40      
7  BKE_object_handle_data_update                                                                                                                                                                             object_update.c 213  0x280b8ba      
8  BKE_object_eval_uber_data                                                                                                                                                                                 object_update.c 342  0x280be9c      
9  std::__invoke_impl<void, void ( *&)(Depsgraph *, Scene *, Object *), Depsgraph *, Scene *&, Object *&>                                                                                                    invoke.h        60   0x2bf620a      
10 std::__invoke<void ( *&)(Depsgraph *, Scene *, Object *), Depsgraph *, Scene *&, Object *&>                                                                                                               invoke.h        95   0x2bf4f66      
11 std::_Bind<void ( *(std::_Placeholder<1>, Scene *, Object *))(Depsgraph *, Scene *, Object *)>::__call<void, Depsgraph *&&, 0ul, 1ul, 2ul>(std::tuple<Depsgraph *&&>&&, std::_Index_tuple<0ul, 1ul, 2ul>) functional      400  0x2bf3b22      
12 std::_Bind<void ( *(std::_Placeholder<1>, Scene *, Object *))(Depsgraph *, Scene *, Object *)>::operator()<Depsgraph *, void>(Depsgraph *&&)                                                              functional      484  0x2bf1e51      
13 std::_Function_handler<void (Depsgraph *), std::_Bind<void ( *(std::_Placeholder<1>, Scene *, Object *))(Depsgraph *, Scene *, Object *)>>::_M_invoke(std::_Any_data const&, Depsgraph *&&)               std_function.h  297  0x2bef463      
14 std::function<void (Depsgraph *)>::operator()(Depsgraph *) const                                                                                                                                          std_function.h  687  0x2c06379      
15 DEG::deg_task_run_func                                                                                                                                                                                    deg_eval.cc     94   0x2c05b0c      
16 task_scheduler_thread_run                                                                                                                                                                                 task.c          441  0x2bc9a9f      
17 start_thread                                                                                                                                                                                                                   0x7ffff4cc958e 
18 clone                                                                                                                                                                                                                          0x7ffff4bf0513 
Confirmed. Not sure this is a leftover from #56352, needs further investigation... ``` 1 customdata_typemap_is_valid customdata.c 1421 0x26fafc3 2 CustomData_get_layer_index customdata.c 1618 0x26fb84b 3 CustomData_has_layer customdata.c 1999 0x26fd2a2 4 mesh_calc_modifiers DerivedMesh.c 1593 0x267cde4 5 mesh_build_data DerivedMesh.c 1992 0x267ea04 6 makeDerivedMesh DerivedMesh.c 2097 0x267ee40 7 BKE_object_handle_data_update object_update.c 213 0x280b8ba 8 BKE_object_eval_uber_data object_update.c 342 0x280be9c 9 std::__invoke_impl<void, void ( *&)(Depsgraph *, Scene *, Object *), Depsgraph *, Scene *&, Object *&> invoke.h 60 0x2bf620a 10 std::__invoke<void ( *&)(Depsgraph *, Scene *, Object *), Depsgraph *, Scene *&, Object *&> invoke.h 95 0x2bf4f66 11 std::_Bind<void ( *(std::_Placeholder<1>, Scene *, Object *))(Depsgraph *, Scene *, Object *)>::__call<void, Depsgraph *&&, 0ul, 1ul, 2ul>(std::tuple<Depsgraph *&&>&&, std::_Index_tuple<0ul, 1ul, 2ul>) functional 400 0x2bf3b22 12 std::_Bind<void ( *(std::_Placeholder<1>, Scene *, Object *))(Depsgraph *, Scene *, Object *)>::operator()<Depsgraph *, void>(Depsgraph *&&) functional 484 0x2bf1e51 13 std::_Function_handler<void (Depsgraph *), std::_Bind<void ( *(std::_Placeholder<1>, Scene *, Object *))(Depsgraph *, Scene *, Object *)>>::_M_invoke(std::_Any_data const&, Depsgraph *&&) std_function.h 297 0x2bef463 14 std::function<void (Depsgraph *)>::operator()(Depsgraph *) const std_function.h 687 0x2c06379 15 DEG::deg_task_run_func deg_eval.cc 94 0x2c05b0c 16 task_scheduler_thread_run task.c 441 0x2bc9a9f 17 start_thread 0x7ffff4cc958e 18 clone 0x7ffff4bf0513 ```
Member

Added subscriber: @PiloeGAO

Added subscriber: @PiloeGAO
Sergey Sharybin was assigned by Philipp Oeser 2018-11-05 11:04:50 +01:00

Added subscriber: @brecht

Added subscriber: @brecht

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

Fixed by 0c8aa85069.

Fixed by 0c8aa85069.
Author
Member

Hi Brecht,

It would be great if the results of the last baked frame could be seen as the timeline is updating ( so that the artist could proof the results as baking is taking place, so that they can cancel and re-do ).

Currently they would have to wait until the end of the bake, and then play, to see the results.

Hi Brecht, It would be great if the results of the last baked frame could be seen as the timeline is updating ( so that the artist could proof the results as baking is taking place, so that they can cancel and re-do ). Currently they would have to wait until the end of the bake, and then play, to see the results.

@MalDuffin, agreed, but at the moment we are focusing on getting physics functional to 2.79 level. Seeing the baked results update requires deeper changes.

@MalDuffin, agreed, but at the moment we are focusing on getting physics functional to 2.79 level. Seeing the baked results update requires deeper changes.
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
5 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#57601
No description provided.