Crash on redo/undo #79049

Closed
opened 2020-07-18 11:26:31 +02:00 by Marshall Dale Tavares · 8 comments

System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 451.48

Blender Version
Broken: version: 2.90.0 Alpha, branch: master, commit date: 2020-07-17 19:20, hash: aa8279648e
2.83.2

Worked: (optional)
2.79b, for what it's worth

Short description of error
Seemingly/semi random crash on undo/redo. Has nothing to do with RAM usage.

Exact steps for others to reproduce the error
New file,
select the starting cube,
tab to edit mode
select and move any vertex
tab twice to go to object mode then back into edit mode
move any vertex
tab back to object mode

ctrl z back to the starting state of the file, then ctrl shift z back to the final step. Repeat this step maybe two or three times, and blender closes, no error message.
It's quite reliable.

**System Information** Operating system: Windows-10-10.0.18362-SP0 64 Bits Graphics card: GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 451.48 **Blender Version** Broken: version: 2.90.0 Alpha, branch: master, commit date: 2020-07-17 19:20, hash: `aa8279648e` 2.83.2 Worked: (optional) 2.79b, for what it's worth **Short description of error** Seemingly/semi random crash on undo/redo. Has nothing to do with RAM usage. **Exact steps for others to reproduce the error** New file, select the starting cube, tab to edit mode select and move any vertex tab twice to go to object mode then back into edit mode move any vertex tab back to object mode ctrl z back to the starting state of the file, then ctrl shift z back to the final step. Repeat this step maybe two or three times, and blender closes, no error message. It's quite reliable.

Added subscriber: @Phos

Added subscriber: @Phos

Added subscriber: @rjg

Added subscriber: @rjg

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

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

The crash occurs when accessing but->poin in ui_but_value_get. Since this appears to be caused by improper undo/redo handling I've tagged this as Data, Assets and I/O.

ui_but_value_get(uiBut * but) Line 2374	C
ui_but_is_pushed_ex(uiBut * but, double * value) Line 2000	C
ui_but_update_select_flag(uiBut * but, double * value) Line 2084	C
ui_but_update_ex(uiBut * but, const bool validate) Line 3481	C
ui_but_update(uiBut * but) Line 3649	C
ui_but_update_and_icon_set(uiBut * but, int icon) Line 4601	C
uiDefIconBut(uiBlock * block, int type, int retval, int icon, int x, int y, short width, short height, void * poin, float min, float max, float a1, float a2, const unsigned char * tip) Line 4986	C
uiDefIconButBit(uiBlock * block, int type, int bit, int retval, int icon, int x, int y, short width, short height, void * poin, float min, float max, float a1, float a2, const unsigned char * tip) Line 5022	C
uiDefIconButBitS(uiBlock * block, int type, int bit, int retval, int icon, int x, int y, short width, short height, short * poin, float min, float max, float a1, float a2, const unsigned char * tip) Line 5209	C
uiTemplateEditModeSelection(uiLayout * layout, bContext * C) Line 146	C
uiTemplateHeader3D_mode(uiLayout * layout, bContext * C) Line 238	C
UILayout_template_header_3D_mode_call(bContext * C, ReportList * reports, PointerRNA * _ptr, ParameterList * _parms) Line 3424	C
RNA_function_call(bContext * C, ReportList * reports, PointerRNA * ptr, FunctionRNA * func, ParameterList * parms) Line 7573	C
pyrna_func_call(BPy_FunctionRNA * self, _object * args, _object * kw) Line 6328	C
The crash occurs when accessing `but->poin` in `ui_but_value_get`. Since this appears to be caused by improper undo/redo handling I've tagged this as Data, Assets and I/O. ``` ui_but_value_get(uiBut * but) Line 2374 C ui_but_is_pushed_ex(uiBut * but, double * value) Line 2000 C ui_but_update_select_flag(uiBut * but, double * value) Line 2084 C ui_but_update_ex(uiBut * but, const bool validate) Line 3481 C ui_but_update(uiBut * but) Line 3649 C ui_but_update_and_icon_set(uiBut * but, int icon) Line 4601 C uiDefIconBut(uiBlock * block, int type, int retval, int icon, int x, int y, short width, short height, void * poin, float min, float max, float a1, float a2, const unsigned char * tip) Line 4986 C uiDefIconButBit(uiBlock * block, int type, int bit, int retval, int icon, int x, int y, short width, short height, void * poin, float min, float max, float a1, float a2, const unsigned char * tip) Line 5022 C uiDefIconButBitS(uiBlock * block, int type, int bit, int retval, int icon, int x, int y, short width, short height, short * poin, float min, float max, float a1, float a2, const unsigned char * tip) Line 5209 C uiTemplateEditModeSelection(uiLayout * layout, bContext * C) Line 146 C uiTemplateHeader3D_mode(uiLayout * layout, bContext * C) Line 238 C UILayout_template_header_3D_mode_call(bContext * C, ReportList * reports, PointerRNA * _ptr, ParameterList * _parms) Line 3424 C RNA_function_call(bContext * C, ReportList * reports, PointerRNA * ptr, FunctionRNA * func, ParameterList * parms) Line 7573 C pyrna_func_call(BPy_FunctionRNA * self, _object * args, _object * kw) Line 6328 C ```

Wanted to zero in on which versions this applies to (more specific than a build from two years ago at the very least), I can't reproduce the problem on 2.82a but can on 2.83.0

Wanted to zero in on which versions this applies to (more specific than a build from two years ago at the very least), I can't reproduce the problem on 2.82a but can on 2.83.0

Added subscriber: @buhr

Added subscriber: @buhr

Note this is a likely duplicate of #78392.

Note this is a likely duplicate of #78392.

Closed as duplicate of #78392

Closed as duplicate of #78392
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
3 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#79049
No description provided.