ctrl+Z closes the whole blender #60849

Closed
opened 2019-01-25 07:59:15 +01:00 by Bartosz Szentak · 12 comments

System Information
Operating system: win 8 Pro
Graphics card: nVidia GTX 660T

Blender Version
2.8 beta from 14.01.2019

Short description of error

I add object monkey head, apply quick smoke to it. Then hit ctrl+Z a few times trying to undo quick smoke, but instead the whole blender shuts down. Without asking to save file.

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

**System Information** Operating system: win 8 Pro Graphics card: nVidia GTX 660T **Blender Version** 2.8 beta from 14.01.2019 **Short description of error** I add object monkey head, apply quick smoke to it. Then hit ctrl+Z a few times trying to undo quick smoke, but instead the whole blender shuts down. Without asking to save file. **Exact steps for others to reproduce the error** Based on the default startup or an attached .blend file (as simple as possible).

Added subscriber: @Sundaram

Added subscriber: @Sundaram

This comment was removed by @Sundaram

*This comment was removed by @Sundaram*

This happens only in edit mode

This happens only in edit mode
Member

Added subscriber: @JacquesLucke

Added subscriber: @JacquesLucke
Member

I can't reproduce it, please be more precise in you description.
Which object has to be in edit mode?

Also: Please test the newest version of Blender and check if the problem still exists.

I can't reproduce it, please be more precise in you description. Which object has to be in edit mode? Also: Please test the newest version of Blender and check if the problem still exists.

Added subscriber: @matc

Added subscriber: @matc

Broken
2.80, 2019-01-25, bfa8fcc542

Steps to reproduce
Open default startup .blend
With "Cube" selected switch into Editmode
Run "Quick Smoke" operator
Hit Ctrl+Z. -> Null pointer exception

Nulll pointer exception
static void mesh_undosys_step_decode(struct bContext *C, UndoStep *us_p, int UNUSED(dir))
us_p->name is "Toggle Editmode"

Additional info
Does not happen when operator (bpy.ops.object.quick_smoke()) is invoked from Python Console window.

**Broken** 2.80, 2019-01-25, bfa8fcc542bf **Steps to reproduce** Open default startup .blend With "Cube" selected switch into Editmode Run "Quick Smoke" operator Hit Ctrl+Z. -> Null pointer exception **Nulll pointer exception** static void mesh_undosys_step_decode(struct bContext *C, UndoStep *us_p, int UNUSED(dir)) us_p->name is "Toggle Editmode" **Additional info** Does not happen when operator (bpy.ops.object.quick_smoke()) is invoked from Python Console window.

I narrowed the problem down to obj.name = "Smoke Domain" (Line 375) in object_quick_effects.py.

        # add the smoke domain object
        bpy.ops.mesh.primitive_cube_add()
        obj = context.active_object
        obj.name = "Smoke Domain"

Removing the last line will make the problem disappear.

I narrowed the problem down to `obj.name = "Smoke Domain"` (Line 375) in object_quick_effects.py. ``` # add the smoke domain object bpy.ops.mesh.primitive_cube_add() obj = context.active_object obj.name = "Smoke Domain" ``` Removing the last line will make the problem disappear.

Added subscriber: @ZedDB

Added subscriber: @ZedDB

I can not reproduce this.
@matc can you still reproduce this with the latest beta?

I can not reproduce this. @matc can you still reproduce this with the latest beta?

I can't reproduce it. My guess is that 78719abc01f1 fixed this as well.

I can't reproduce it. My guess is that [78719abc01f1 ](https://developer.blender.org/rB78719abc01f11fee9652711ca64f83d0c777bb4f) fixed this as well.

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Sebastian Parborg self-assigned this 2019-03-08 15:49:02 +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#60849
No description provided.