Unable to execute Toggle Edit Mode - error changing modes #94458

Open
opened 2021-12-29 11:24:14 +01:00 by Vladimir · 10 comments

System Information
Operating system: Linux-5.15.11-1-MANJARO-x86_64-with-glibc2.33 64 Bits
Graphics card: Mesa DRI Intel(R) HD Graphics 4600 (HSW GT2) Intel Open Source Technology Center 4.5 (Core Profile) Mesa 21.3.2

Blender Version
Broken: version: 3.1.0 Alpha, branch: makepkg (modified), commit date: 2021-12-29 03:51, hash: ba38b06a97

Short description of error
[Please fill out a short description of the error here]

It happens when I try to toggle to Edit Mode on second scene if first scene has edit mode a object

Exact steps for others to reproduce the error

  1. Open file
  2. Select scene "Scene.001" and try to toggle to Edit Mode
  3. Get a error

It is issue or planned (user) error? Getting the error don't full inform an user. Why the error happens? A user may be confused :)

P.S. For fix the error need in scene "Scene.002" to disable Edit Mode and than can be to switch to edit mode in "Scene.001"

edit-mode.blend

**System Information** Operating system: Linux-5.15.11-1-MANJARO-x86_64-with-glibc2.33 64 Bits Graphics card: Mesa DRI Intel(R) HD Graphics 4600 (HSW GT2) Intel Open Source Technology Center 4.5 (Core Profile) Mesa 21.3.2 **Blender Version** Broken: version: 3.1.0 Alpha, branch: makepkg (modified), commit date: 2021-12-29 03:51, hash: `ba38b06a97` **Short description of error** [Please fill out a short description of the error here] It happens when I try to toggle to Edit Mode on second scene if first scene has edit mode a object **Exact steps for others to reproduce the error** 1) Open file 2) Select scene "Scene.001" and try to toggle to Edit Mode 3) Get a error It is issue or planned (user) error? Getting the error don't full inform an user. Why the error happens? A user may be confused :) P.S. For fix the error need in scene "Scene.002" to disable Edit Mode and than can be to switch to edit mode in "Scene.001" [edit-mode.blend](https://archive.blender.org/developer/F12780274/edit-mode.blend)
Author

Added subscriber: @Wovchick

Added subscriber: @Wovchick

#98760 was marked as duplicate of this issue

#98760 was marked as duplicate of this issue
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.

In 3.0 onwards I even get a crash with the following steps:

  1. Open file
  2. Select scene "Scene.001" and try to toggle to Edit Mode
  3. Get a error
  4. Select scene "Scene.002", go to objectmode
  5. Try to Select scene "Scene.001" again
  6. crash
1   BLI_mempool_len                                   BLI_mempool.c                         452  0x105ba175 
2   bmiter__elem_of_mesh_begin                        bmesh_iterators.c                     378  0x431fd89  
3   BM_iter_init                                      bmesh_iterators_inline.h              151  0x433ffca  
4   BM_iter_new                                       bmesh_iterators_inline.h              167  0x433ffca  
5   BM_mesh_elem_index_validate                       bmesh_mesh.c                          485  0x433ffca  
6   BM_mesh_elem_index_ensure_ex                      bmesh_mesh.c                          350  0x433d0f1  
7   BM_mesh_elem_index_ensure                         bmesh_mesh.c                          462  0x433f5d5  
8   mesh_render_data_create                           draw_cache_extract_mesh_render_data.c 481  0x45d86b8  
9   blender::draw::mesh_buffer_cache_create_requested draw_cache_extract_mesh.cc            702  0x45d2bf8  
10  mesh_buffer_cache_create_requested                draw_cache_extract_mesh.cc            899  0x45d3fe6  
11  DRW_mesh_batch_cache_create_requested             draw_cache_impl_mesh.c                2071 0x4619340  
12  drw_batch_cache_generate_requested                draw_cache.c                          3437 0x45cf908  
13  drw_engines_cache_populate                        draw_manager.c                        1091 0x454f83b  
14  DRW_draw_render_loop_ex                           draw_manager.c                        1699 0x455115b  
15  DRW_draw_view                                     draw_manager.c                        1611 0x4550cf9  
16  view3d_draw_view                                  view3d_draw.c                         1560 0x55d5558  
17  view3d_main_region_draw                           view3d_draw.c                         1582 0x55d55ff  
18  ED_region_do_draw                                 area.c                                558  0x4b41e7b  
19  wm_draw_window_offscreen                          wm_draw.c                             731  0x41cbcfe  
20  wm_draw_window                                    wm_draw.c                             881  0x41cc2d3  
... <More>   
Can confirm. In 3.0 onwards I even get a crash with the following steps: 1. Open file 2. Select scene "Scene.001" and try to toggle to Edit Mode 3. Get a error 4. Select scene "Scene.002", go to objectmode 5. Try to Select scene "Scene.001" again 6. crash ``` 1 BLI_mempool_len BLI_mempool.c 452 0x105ba175 2 bmiter__elem_of_mesh_begin bmesh_iterators.c 378 0x431fd89 3 BM_iter_init bmesh_iterators_inline.h 151 0x433ffca 4 BM_iter_new bmesh_iterators_inline.h 167 0x433ffca 5 BM_mesh_elem_index_validate bmesh_mesh.c 485 0x433ffca 6 BM_mesh_elem_index_ensure_ex bmesh_mesh.c 350 0x433d0f1 7 BM_mesh_elem_index_ensure bmesh_mesh.c 462 0x433f5d5 8 mesh_render_data_create draw_cache_extract_mesh_render_data.c 481 0x45d86b8 9 blender::draw::mesh_buffer_cache_create_requested draw_cache_extract_mesh.cc 702 0x45d2bf8 10 mesh_buffer_cache_create_requested draw_cache_extract_mesh.cc 899 0x45d3fe6 11 DRW_mesh_batch_cache_create_requested draw_cache_impl_mesh.c 2071 0x4619340 12 drw_batch_cache_generate_requested draw_cache.c 3437 0x45cf908 13 drw_engines_cache_populate draw_manager.c 1091 0x454f83b 14 DRW_draw_render_loop_ex draw_manager.c 1699 0x455115b 15 DRW_draw_view draw_manager.c 1611 0x4550cf9 16 view3d_draw_view view3d_draw.c 1560 0x55d5558 17 view3d_main_region_draw view3d_draw.c 1582 0x55d55ff 18 ED_region_do_draw area.c 558 0x4b41e7b 19 wm_draw_window_offscreen wm_draw.c 731 0x41cbcfe 20 wm_draw_window wm_draw.c 881 0x41cc2d3 ... <More> ```

Added subscriber: @PeterMOUEZA

Added subscriber: @PeterMOUEZA

This comment was removed by @PeterMOUEZA

*This comment was removed by @PeterMOUEZA*

So the bug still exists

So the bug still exists

Added subscriber: @lee2key

Added subscriber: @lee2key

In 3.2.2 I got the same problem if I add the Geometry Nodes modifier to the object, go to edit mode, then go to second scene and go edit mode there.

In 3.2.2 I got the same problem if I add the Geometry Nodes modifier to the object, go to edit mode, then go to second scene and go edit mode there.
Philipp Oeser removed the
Interest
EEVEE & Viewport
label 2023-02-09 15:13:00 +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
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#94458
No description provided.