The mirror modifier crashes Blender #95212

Closed
opened 2022-01-26 07:14:20 +01:00 by kursad k · 10 comments
Member

System Information
Operating system: Windows 10

Blender Version
Broken: 3.1.0 c4bedeb018
Worked: release 3.0
Caused by cfa53e0fbe

Short description of error
Enabling the mirror modifier on this object crashes Blender. This scene does not crash with the mirror mod in the v3.0 release

Exact steps for others to reproduce the error

  • Load the blend file
  • Select the only object in the scene

Enable the mirror modifier (try multiple times if crash does not happen on first attempt)

del.crash.txt

del.zip

Stack trace:
blender.exe         :0x00007FF6246F6330  split_loop_nor_fan_do
blender.exe         :0x00007FF6246F4680  loop_split_worker
blender.exe         :0x00007FF6299F5C60  tbb::internal::function_task<Task>::execute
tbb.dll             :0x00007FFD4255F690  tbb::recursive_mutex::scoped_lock::internal_try_acquire
tbb.dll             :0x00007FFD4255F690  tbb::recursive_mutex::scoped_lock::internal_try_acquire
blender.exe         :0x00007FF624AC76B0  tbb::internal::task_group_base::wait
blender.exe         :0x00007FF6246F8600  BKE_mesh_normals_loop_split
blender.exe         :0x00007FF629B51A60  BKE_mesh_mirror_apply_mirror_on_axis_for_modifier
blender.exe         :0x00007FF624A64470  modifyMesh
blender.exe         :0x00007FF6247FADF0  modifier_modify_mesh_and_geometry_set
blender.exe         :0x00007FF6247F9A50  mesh_calc_modifiers
blender.exe         :0x00007FF6247F9820  mesh_build_data
blender.exe         :0x00007FF6247FBE50  makeDerivedMesh
blender.exe         :0x00007FF62478AE10  BKE_object_handle_data_update
blender.exe         :0x00007FF62478ABA0  BKE_object_eval_uber_data
blender.exe         :0x00007FF62497A000  blender::deg::`anonymous namespace'::evaluate_node
blender.exe         :0x00007FF624979FB0  blender::deg::`anonymous namespace'::deg_task_run_func
blender.exe         :0x00007FF6299F5C60  tbb::internal::function_task<Task>::execute
tbb.dll             :0x00007FFD4255F690  tbb::recursive_mutex::scoped_lock::internal_try_acquire
tbb.dll             :0x00007FFD4255F690  tbb::recursive_mutex::scoped_lock::internal_try_acquire
tbb.dll             :0x00007FFD425551B0  tbb::interface7::internal::isolate_within_arena
tbb.dll             :0x00007FFD4255A470  tbb::task_scheduler_init::terminate
tbb.dll             :0x00007FFD4255DBD0  tbb::thread_bound_filter::try_process_item
tbb.dll             :0x00007FFD4255DBD0  tbb::thread_bound_filter::try_process_item
ucrtbase.dll        :0x00007FFDEDB41430  configthreadlocale
KERNEL32.DLL        :0x00007FFDEEB47020  BaseThreadInitThunk
ntdll.dll           :0x00007FFDF01BCEA0  RtlUserThreadStart
**System Information** Operating system: Windows 10 **Blender Version** Broken: 3.1.0 c4bedeb0186b Worked: release 3.0 Caused by cfa53e0fbe **Short description of error** Enabling the mirror modifier on this object crashes Blender. This scene does not crash with the mirror mod in the v3.0 release **Exact steps for others to reproduce the error** - Load the blend file - Select the only object in the scene # Enable the mirror modifier (try multiple times if crash does not happen on first attempt) [del.crash.txt](https://archive.blender.org/developer/F12824616/del.crash.txt) [del.zip](https://archive.blender.org/developer/F12824617/del.zip) ```lines=10 Stack trace: blender.exe :0x00007FF6246F6330 split_loop_nor_fan_do blender.exe :0x00007FF6246F4680 loop_split_worker blender.exe :0x00007FF6299F5C60 tbb::internal::function_task<Task>::execute tbb.dll :0x00007FFD4255F690 tbb::recursive_mutex::scoped_lock::internal_try_acquire tbb.dll :0x00007FFD4255F690 tbb::recursive_mutex::scoped_lock::internal_try_acquire blender.exe :0x00007FF624AC76B0 tbb::internal::task_group_base::wait blender.exe :0x00007FF6246F8600 BKE_mesh_normals_loop_split blender.exe :0x00007FF629B51A60 BKE_mesh_mirror_apply_mirror_on_axis_for_modifier blender.exe :0x00007FF624A64470 modifyMesh blender.exe :0x00007FF6247FADF0 modifier_modify_mesh_and_geometry_set blender.exe :0x00007FF6247F9A50 mesh_calc_modifiers blender.exe :0x00007FF6247F9820 mesh_build_data blender.exe :0x00007FF6247FBE50 makeDerivedMesh blender.exe :0x00007FF62478AE10 BKE_object_handle_data_update blender.exe :0x00007FF62478ABA0 BKE_object_eval_uber_data blender.exe :0x00007FF62497A000 blender::deg::`anonymous namespace'::evaluate_node blender.exe :0x00007FF624979FB0 blender::deg::`anonymous namespace'::deg_task_run_func blender.exe :0x00007FF6299F5C60 tbb::internal::function_task<Task>::execute tbb.dll :0x00007FFD4255F690 tbb::recursive_mutex::scoped_lock::internal_try_acquire tbb.dll :0x00007FFD4255F690 tbb::recursive_mutex::scoped_lock::internal_try_acquire tbb.dll :0x00007FFD425551B0 tbb::interface7::internal::isolate_within_arena tbb.dll :0x00007FFD4255A470 tbb::task_scheduler_init::terminate tbb.dll :0x00007FFD4255DBD0 tbb::thread_bound_filter::try_process_item tbb.dll :0x00007FFD4255DBD0 tbb::thread_bound_filter::try_process_item ucrtbase.dll :0x00007FFDEDB41430 configthreadlocale KERNEL32.DLL :0x00007FFDEEB47020 BaseThreadInitThunk ntdll.dll :0x00007FFDF01BCEA0 RtlUserThreadStart ```
Author
Member

Added subscriber: @kursadk

Added subscriber: @kursadk
Member

Added subscribers: @HooglyBoogly, @PratikPB2123

Added subscribers: @HooglyBoogly, @PratikPB2123
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Member

Hi, thanks for the report. Can get the crash with your steps.
Issue came with cfa53e0fbe
cc @HooglyBoogly

Hi, thanks for the report. Can get the crash with your steps. Issue came with cfa53e0fbe cc @HooglyBoogly
Hans Goudey self-assigned this 2022-01-26 15:13:40 +01:00
Hans Goudey removed their assignment 2022-01-27 07:21:25 +01:00
Member

Hmm, I can't reproduce this, on either a debug build or a release build. What I did:

  • Extract the blend file
  • Open the file
  • Click the monitor icon in the modifier header (no crash)
  • Enter edit mode (no crash)
  • Add a camera and render the scene (no crash)

That's a bit peculiar. Does this this happen consistently for you? Also with the latest daily build?

Hmm, I can't reproduce this, on either a debug build or a release build. What I did: - Extract the blend file - Open the file - Click the monitor icon in the modifier header (no crash) - Enter edit mode (no crash) - Add a camera and render the scene (no crash) That's a bit peculiar. Does this this happen consistently for you? Also with the latest daily build?
Member

@HooglyBoogly , crash sometimes does not occur on first try.

Try toggling (monitor icon) multiple times if it does not crash on first attempt.

@HooglyBoogly , crash sometimes does not occur on first try. Try toggling (monitor icon) multiple times if it does not crash on first attempt.
Member

I toggled the monitor off and on for a while on debug and release builds didn't get a crash. However, I have found that the normals look completely wrong compared to 2.93, so clearly there's something going wrong here. Maybe the two issues are related.
{F12828003 size=full}

I toggled the monitor off and on for a while on debug and release builds didn't get a crash. However, I have found that the normals look completely wrong compared to 2.93, so clearly there's something going wrong here. Maybe the two issues are related. {[F12828003](https://archive.blender.org/developer/F12828003/image.png) size=full}
Author
Member

In #95212#1295689, @HooglyBoogly wrote:
Hmm, I can't reproduce this, on either a debug build or a release build. What I did:

That's a bit peculiar. Does this this happen consistently for you? Also with the latest daily build?

It happens consistently for me, I cant even open the file without crashing if the modifier is already enabled on the object. Here is the crash log from it.

1_27_2022.crash.txt


blender.exe --version
Blender 3.1.0 Alpha
        build date: 2022-01-27
        build time: 00:58:42
        build commit date: 2022-01-26
        build commit time: 21:12
        build hash: 0e86c60c28b6
        build platform: Windows
        build type: release
        build c flags: /W3 /w34062 /w34115 /w34189 /wd4018 /wd4146 /wd4065 /wd4127 /wd4181 /wd4200 /wd4244 /wd4267 /wd4305 /wd4800 /wd4828 /wd4996 /wd4661 /we4013 /we4133 /we4431 /w35038 /DWIN32 /D_WINDOWS /W3 /nologo /J /Gd /MP /bigobj /Zc:inline -openmp
        build c++ flags: /W3 /w34062 /w34115 /w34189 /wd4018 /wd4146 /wd4065 /wd4127 /wd4181 /wd4200 /wd4244 /wd4267 /wd4305 /wd4800 /wd4828 /wd4996 /wd4661 /we4013 /we4133 /we4431 /w35038 /DWIN32 /D_WINDOWS /W3  /EHsc /nologo /J /Gd /MP /EHsc /bigobj /Zc:inline /permissive- /Zc:twoPhase- -openmp /Zc:__cplusplus
        build link flags: /MACHINE:X64  /SUBSYSTEM:CONSOLE /STACK:2097152 /ignore:4049 /ignore:4217 /ignore:4221
        build system: CMake

> In #95212#1295689, @HooglyBoogly wrote: > Hmm, I can't reproduce this, on either a debug build or a release build. What I did: > That's a bit peculiar. Does this this happen consistently for you? Also with the latest daily build? It happens consistently for me, I cant even open the file without crashing if the modifier is already enabled on the object. Here is the crash log from it. [1_27_2022.crash.txt](https://archive.blender.org/developer/F12828074/1_27_2022.crash.txt) ``` blender.exe --version Blender 3.1.0 Alpha build date: 2022-01-27 build time: 00:58:42 build commit date: 2022-01-26 build commit time: 21:12 build hash: 0e86c60c28b6 build platform: Windows build type: release build c flags: /W3 /w34062 /w34115 /w34189 /wd4018 /wd4146 /wd4065 /wd4127 /wd4181 /wd4200 /wd4244 /wd4267 /wd4305 /wd4800 /wd4828 /wd4996 /wd4661 /we4013 /we4133 /we4431 /w35038 /DWIN32 /D_WINDOWS /W3 /nologo /J /Gd /MP /bigobj /Zc:inline -openmp build c++ flags: /W3 /w34062 /w34115 /w34189 /wd4018 /wd4146 /wd4065 /wd4127 /wd4181 /wd4200 /wd4244 /wd4267 /wd4305 /wd4800 /wd4828 /wd4996 /wd4661 /we4013 /we4133 /we4431 /w35038 /DWIN32 /D_WINDOWS /W3 /EHsc /nologo /J /Gd /MP /EHsc /bigobj /Zc:inline /permissive- /Zc:twoPhase- -openmp /Zc:__cplusplus build link flags: /MACHINE:X64 /SUBSYSTEM:CONSOLE /STACK:2097152 /ignore:4049 /ignore:4217 /ignore:4221 build system: CMake ```

This issue was referenced by 834b966b41

This issue was referenced by 834b966b419ca50f0675e49720dff36822838acb
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Hans Goudey self-assigned this 2022-01-27 18:03:09 +01:00
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
4 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#95212
No description provided.