Shift-D in edit mode, with normal map node connected to material causes exception #78334
Labels
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
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#78334
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce GTX 970/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 451.48
Ryzen 1700 , 32Gb 2400 DDR4
Blender Version
Broken: version: 2.90.0 Alpha, branch: master, commit date: 2020-06-25 21:53, hash:
62aa103d48
Worked: 2.83
Duplicating an object in edit mode using shift-D causes a crash when a normal map node ( With or without inputs populated) is connected to any of the appropriate inputs on a BSDF shader (Principled/Glossy/Volume..haven't tested others).
Unable to replicate in 2.83.0 LTS.
Frequent, but inconsistent startup crashes when restarting 2.9 after reproducing the exception. Sometimes on start, sometimes on opening file, sometimes ok.
Exact steps for others to reproduce the error
1- Blank startup file
2- Create Cube
3- Create/Assign Material
4- Create and connect normal map node to normal input of BSDF
5- Enter edit mode
6- Select cube in vertex, edge or face mode
7- Shift-D to duplicate selection
After repeated reproduction of the exception, opening the file showed corrupted geometry. The cube was completely sheared into what seemed infinity.
Opening the same file in 2.83 gave no issues. Opening it again in 2.93 resolved the shearing.
Must be something funky going on with the temp directory files?
Thanks for the awesome work on Blender <3
shift-D_EditMode_Exception.blend
2.9-shift-D_EditMode_Exception.crash.txt
Added subscriber: @mOOngaze
Added subscriber: @VincentBlankfield
Same as #78361 similar to #78054.
Seems to be introduced in
8f97a64dec
Test that covers all the issues:
Tab
to quickly switch to and from edit mode. Expect crash while holding it.Ctrl+R
. Expect crash when the loop cut is added.Shift+D
to duplicate. Expect crash when duplicate is created.3b and 3c will also crash with the default cube in the default scene, as long as the viewport is in rendered/lookdev mode and the cube has a normal map connected to the normal input of it's BSDF (empty normal map node will do).
In case of 3b and 3c the crash occurs in
BLI_mempool.c:352 void *BLI_mempool_alloc(BLI_mempool *pool)
:In case of 3a it crashes not so frequently in random places (after
8f97a64dec
).Added subscriber: @lichtwerk
I have confirmed #78361 (Blender crashes on many modeling operations (loopcut, extrude, duplication, ...) on mesh with normal map node connected to material), so will treat this as a duplicate (even though this is older) -- thx reporting and investigating @VincentBlankfield !
Closed as duplicate of #78361