Crash when canceling transform operation with the mirror options set #103906

Closed
opened 2023-01-16 03:47:44 +01:00 by bigmark · 10 comments

System Information
Operating system: Windows-10-10.0.22621-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 2060 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 527.56

Blender Version
Broken: version: 3.5.0 Alpha, branch: master, commit date: 2023-01-14 21:18, hash: cc332264ae
Worked: 3.2.2, haven't tried any other version though. maybe it's only 3.5.0 that has it.

Caused by 3b761901b6

Short description of error
a sudden crash happens, almost as if you pressed the X.

Exact steps for others to reproduce the error
you can do this on any file in 3.5.0 alpha. go in edit mode on an object, enable X, Y or Z mirroring. move, rotate or scale the object and cancel it. it will then crash blender. hehehehaw.

Crash occurs below - the val field on the transform data struct is uninitialized:

blender.exe!transdata_restore_basic(TransDataBasic * td_basic) Line 815	C
blender.exe!restoreTransObjects(TransInfo * t) Line 869	C
blender.exe!transformEnd(bContext * C, TransInfo * t) Line 2039	C
blender.exe!transform_modal(bContext * C, wmOperator * op, const wmEvent * event) Line 434	C
blender.exe!wm_handler_operator_call(bContext * C, ListBase * handlers, wmEventHandler * handler_base, wmEvent * event, PointerRNA * properties, const char * kmi_idname) Line 2406	C++
**System Information** Operating system: Windows-10-10.0.22621-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 2060 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 527.56 **Blender Version** Broken: version: 3.5.0 Alpha, branch: master, commit date: 2023-01-14 21:18, hash: `cc332264ae` Worked: 3.2.2, haven't tried any other version though. maybe it's only 3.5.0 that has it. Caused by 3b761901b6 **Short description of error** a sudden crash happens, almost as if you pressed the X. **Exact steps for others to reproduce the error** you can do this on any file in 3.5.0 alpha. go in edit mode on an object, enable X, Y or Z mirroring. move, rotate or scale the object and cancel it. it will then crash blender. hehehehaw. Crash occurs below - the `val` field on the transform data struct is uninitialized: ``` blender.exe!transdata_restore_basic(TransDataBasic * td_basic) Line 815 C blender.exe!restoreTransObjects(TransInfo * t) Line 869 C blender.exe!transformEnd(bContext * C, TransInfo * t) Line 2039 C blender.exe!transform_modal(bContext * C, wmOperator * op, const wmEvent * event) Line 434 C blender.exe!wm_handler_operator_call(bContext * C, ListBase * handlers, wmEventHandler * handler_base, wmEvent * event, PointerRNA * properties, const char * kmi_idname) Line 2406 C++ ```
Author

Added subscriber: @bigmark

Added subscriber: @bigmark
Author

2023-01-15 21-49-53.mp4 here's an incredibly in depth tutorial on how to recreate this bug.

[2023-01-15 21-49-53.mp4](https://archive.blender.org/developer/F14151668/2023-01-15_21-49-53.mp4) here's an incredibly in depth tutorial on how to recreate this bug.
Jesse Yurkovich changed title from proportional editing mirror bug. to Crash when canceling transform operation with the mirror options set 2023-01-16 04:42:38 +01:00

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

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

Added subscribers: @mano-wii, @deadpin

Added subscribers: @mano-wii, @deadpin

CC @mano-wii Mind having a look?

CC @mano-wii Mind having a look?

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Germano Cavalcante self-assigned this 2023-01-16 16:14:04 +01:00

This issue was referenced by debd912bef

This issue was referenced by debd912bef5ac0ba89eb4adae6756614eb9dfe4f

Added subscriber: @Baardaap

Added subscriber: @Baardaap

I think it's actually caused by 760f2636c0 Transform: improve safety when restoring data

I think it's actually caused by 760f2636c0 Transform: improve safety when restoring data
Author

oh and also, it crashes when you have proportional editing on

oh and also, it crashes when you have proportional editing on
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
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#103906
No description provided.