Applying a mirror modifier with bisect enabled on object with a multires modifier prevents saving file and crashes blender afterwards #87055

Closed
opened 2021-03-30 18:16:47 +02:00 by Tiago Marinho · 8 comments

System Information
Operating system: Windows 10
Graphics card: RTX 3080

Blender Version
Broken: 2.92, 36deb8a48e, master, 2021-03-18, as found on the splash screen
Worked: Never

Short description of error
Applying a mirror modifier with Bisect enabled on an object having an unapplied Multiresolution modifier before it corrupts the file and crashes blender as soon as any action is performed after the fact.

Exact steps for others to reproduce the error
Based on the default startup or an attached .blend file (as simple as possible).

  1. Open the attached .blend file
  2. Apply the already added Mirror modifier
  3. Try saving the file
  4. Click anywhere

What happens

Blender most of the time crashes instantly when applying the mirror modifier, but if it doesn't, trying to save the file after applying the modifier results in an error saying "invalid args". Clicking anywhere after applying the modifier crashes Blender instantly everytime.

What was expected to happen

The mesh blender generates after applying the modifier, before crashing on the following action, seems to be fine; so this behavior should be kept the same. Only the crash itself should be fixed.

Hana 3.1 - rig fix - reshape issue 2.blend

**System Information** Operating system: Windows 10 Graphics card: RTX 3080 **Blender Version** Broken: 2.92, 36deb8a48ef2, master, 2021-03-18, as found on the splash screen Worked: Never **Short description of error** Applying a mirror modifier with Bisect enabled on an object having an unapplied Multiresolution modifier before it corrupts the file and crashes blender as soon as any action is performed after the fact. **Exact steps for others to reproduce the error** Based on the default startup or an attached .blend file (as simple as possible). 1. Open the attached .blend file 2. Apply the already added Mirror modifier 3. Try saving the file 4. Click anywhere **What happens** Blender most of the time crashes instantly when applying the mirror modifier, but if it doesn't, trying to save the file after applying the modifier results in an error saying "invalid args". Clicking anywhere after applying the modifier crashes Blender instantly everytime. **What was expected to happen** The mesh blender generates after applying the modifier, before crashing on the following action, seems to be fine; so this behavior should be kept the same. Only the crash itself should be fixed. [Hana 3.1 - rig fix - reshape issue 2.blend](https://archive.blender.org/developer/F9914738/Hana_3.1_-_rig_fix_-_reshape_issue_2.blend)
Author

Added subscriber: @tiagomeraki

Added subscriber: @tiagomeraki
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

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

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

Can confirm, will check.

Can confirm, will check.
Member

Hm, will dare setting this to high priority, not exactly sure which module is responsible, since it is multires, will add sculpt & paint.

BLI_assert(!"Cannot write chunks bigger than INT_MAX.");
1   raise                                                  0x7ffff77c39d5 
2   abort                                                  0x7ffff77ac8a4 
3   _BLI_assert_abort               BLI_assert.c      56   0xd2884b5      
4   writedata                       writefile.c       540  0x3b38191      
5   BLO_write_raw                   writefile.c       1285 0x3b39bcf      
6   BLO_write_float3_array          writefile.c       1392 0x3b39fff      
7   write_mdisps                    customdata.c      5037 0x394e2f6      
8   CustomData_blend_write          customdata.c      5087 0x394e505      
9   mesh_blend_write                mesh.c            242  0x34e8285      
10  write_file_handle               writefile.c       1025 0x3b39237      
11  BLO_write_file_mem              writefile.c       1277 0x3b39b84      
12  BKE_memfile_undo_encode         blender_undo.c    144  0x4bffe40      
13  memfile_undosys_step_encode     memfile_undo.c    101  0x48f10d9      
14  undosys_step_encode             undo_system.c     159  0x4c60932      
15  BKE_undosys_step_push_with_type undo_system.c     568  0x4c61e75      
16  BKE_undosys_step_push           undo_system.c     613  0x4c62053      
17  ED_undo_push                    ed_undo.c         155  0x48eebaf      
18  ED_undo_push_op                 ed_undo.c         413  0x48ef78e      
19  wm_operator_finished            wm_event_system.c 992  0x3a263a1      
20  wm_operator_invoke              wm_event_system.c 1386 0x3a27456  
Hm, will dare setting this to high priority, not exactly sure which module is responsible, since it is multires, will add sculpt & paint. ``` BLI_assert(!"Cannot write chunks bigger than INT_MAX."); ``` ``` 1 raise 0x7ffff77c39d5 2 abort 0x7ffff77ac8a4 3 _BLI_assert_abort BLI_assert.c 56 0xd2884b5 4 writedata writefile.c 540 0x3b38191 5 BLO_write_raw writefile.c 1285 0x3b39bcf 6 BLO_write_float3_array writefile.c 1392 0x3b39fff 7 write_mdisps customdata.c 5037 0x394e2f6 8 CustomData_blend_write customdata.c 5087 0x394e505 9 mesh_blend_write mesh.c 242 0x34e8285 10 write_file_handle writefile.c 1025 0x3b39237 11 BLO_write_file_mem writefile.c 1277 0x3b39b84 12 BKE_memfile_undo_encode blender_undo.c 144 0x4bffe40 13 memfile_undosys_step_encode memfile_undo.c 101 0x48f10d9 14 undosys_step_encode undo_system.c 159 0x4c60932 15 BKE_undosys_step_push_with_type undo_system.c 568 0x4c61e75 16 BKE_undosys_step_push undo_system.c 613 0x4c62053 17 ED_undo_push ed_undo.c 155 0x48eebaf 18 ED_undo_push_op ed_undo.c 413 0x48ef78e 19 wm_operator_finished wm_event_system.c 992 0x3a263a1 20 wm_operator_invoke wm_event_system.c 1386 0x3a27456 ```

This issue was referenced by d35974cd87

This issue was referenced by d35974cd870b0caf5292f1188bef10881685c480

This issue was referenced by 72fec0f7c5

This issue was referenced by 72fec0f7c5865a30aa348bc6e76271ba9a5a606e

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Campbell Barton self-assigned this 2021-04-20 07:19:19 +02: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#87055
No description provided.