Some material node groups in 2.80, from 2.7x files, crash in 2.80 #59081

Closed
opened 2018-12-09 19:30:10 +01:00 by iszotic · 6 comments

System Information
Operating system: Kubuntu 18.04.1
Graphics card: RX 480 8gb

Blender Version
Broken: 2.80-e79bb957fc3

Worked: Ungroup, or copy the nodes inside the group and paste them outside of the group. Then group them again and set the ranges, names, types of inputs and outputs of the group node, also replace the other users of the problematic group used in all materials. This workaround is pretty tedious, works in 2.79b

Short description of error

Some material node groups in 2.80 from 2.7x files crashes in 2.80 but not in 2.79b

Exact steps for others to reproduce the error

To test if the appended node group is broken, translate and undo repeatedly, after the 3rd time it should crash 2.80, or also try changing the links or deleting nodes, or if you import the material that contains the broken node group it should crash when you select it in the material slot selector.
The appended blend file contains node groups that break in 2.8 but not in 2.79b or 2.78c

PS: I'm sorry I don't have an exact way of reproducing this error.
material test.blend

**System Information** Operating system: Kubuntu 18.04.1 Graphics card: RX 480 8gb **Blender Version** Broken: 2.80-e79bb957fc3 Worked: Ungroup, or copy the nodes inside the group and paste them outside of the group. Then group them again and set the ranges, names, types of inputs and outputs of the group node, also replace the other users of the problematic group used in all materials. This workaround is pretty tedious, works in 2.79b **Short description of error** Some material node groups in 2.80 from 2.7x files crashes in 2.80 but not in 2.79b **Exact steps for others to reproduce the error** To test if the appended node group is broken, translate and undo repeatedly, after the 3rd time it should crash 2.80, or also try changing the links or deleting nodes, or if you import the material that contains the broken node group it should crash when you select it in the material slot selector. The appended blend file contains node groups that break in 2.8 but not in 2.79b or 2.78c PS: I'm sorry I don't have an exact way of reproducing this error. [material test.blend](https://archive.blender.org/developer/F5902016/material_test.blend)
Author

Added subscriber: @iszotic

Added subscriber: @iszotic

Added subscriber: @brhumphe

Added subscriber: @brhumphe

Confirmed on windows 879877295d. It happened the first couple of times I opened the file, but then it stopped happening until I ran blender with --debug. It seems to consistently happen with --debug enabled.. When it does crash, it crashes when undoing a group node move operation.

After the following operation

bpy.ops.node.translate_attach(TRANSFORM_OT_translate={"value":(317.672, 405.974, 0), "constraint_axis":(False, False, False), "constraint_matrix":(1, 0, 0, 0, 1, 0, 0, 0, 1), "constraint_orientation":'GLOBAL', "mirror":False, "proportional":'DISABLED', "proportional_edit_falloff":'SMOOTH', "proportional_size":1, "snap":False, "snap_target":'CLOSEST', "snap_point":(0, 0, 0), "snap_align":False, "snap_normal":(0, 0, 0), "gpencil_strokes":False, "cursor_transform":False, "texture_space":False, "remove_on_cancel":False, "release_confirm":True, "use_accurate":False}, NODE_OT_attach={}, NODE_OT_insert_offset={})

and then using ctrl-z to undo it, blender crashes. Here's the console output:

c:\blender-git-2.80\build_windows__x64_vc15_Release\bin\Release>blender.exe --debug
Switching to fully guarded memory allocator.
Blender 2.80 (sub 35)
Build: Sun 12/09/2018 01:10 PM Windows
argv[0] = blender.exe
argv[1] = --debug
read file C:\Users\moogl_000\AppData\Roaming\Blender Foundation\Blender\2.80\config\userpref.blend
  Version 280 sub 35 date 2018-12-09 18:24 hash 879877295d0
Read prefs: C:\Users\moogl_000\AppData\Roaming\Blender Foundation\Blender\2.80\config\userpref.blend
read file C:\Users\moogl_000\AppData\Roaming\Blender Foundation\Blender\2.80\config\startup.blend
  Version 280 sub 34 date 2018-11-28 00:27 hash 4c6e7ef11f3
AL lib: (EE) UpdateDeviceParams: Failed to set 48000hz, got 44100hz instead
found bundled python: c:\blender-git-2.80\build_windows__x64_vc15_Release\bin\Release\2.80\python
Read blend: C:\Users\moogl_000\Downloads\material test.blend
read file C:\Users\moogl_000\Downloads\material test.blend
  Version 280 sub 35 date 2018-12-08 17:06 hash e79bb957fc3
Memoryblock idp_generic_copy: double free
Confirmed on windows 879877295d0. It happened the first couple of times I opened the file, but then it stopped happening until I ran blender with `--debug`. It seems to consistently happen with `--debug` enabled.. When it does crash, it crashes when undoing a group node move operation. After the following operation ``` bpy.ops.node.translate_attach(TRANSFORM_OT_translate={"value":(317.672, 405.974, 0), "constraint_axis":(False, False, False), "constraint_matrix":(1, 0, 0, 0, 1, 0, 0, 0, 1), "constraint_orientation":'GLOBAL', "mirror":False, "proportional":'DISABLED', "proportional_edit_falloff":'SMOOTH', "proportional_size":1, "snap":False, "snap_target":'CLOSEST', "snap_point":(0, 0, 0), "snap_align":False, "snap_normal":(0, 0, 0), "gpencil_strokes":False, "cursor_transform":False, "texture_space":False, "remove_on_cancel":False, "release_confirm":True, "use_accurate":False}, NODE_OT_attach={}, NODE_OT_insert_offset={}) ``` and then using `ctrl-z` to undo it, blender crashes. Here's the console output: ``` c:\blender-git-2.80\build_windows__x64_vc15_Release\bin\Release>blender.exe --debug Switching to fully guarded memory allocator. Blender 2.80 (sub 35) Build: Sun 12/09/2018 01:10 PM Windows argv[0] = blender.exe argv[1] = --debug read file C:\Users\moogl_000\AppData\Roaming\Blender Foundation\Blender\2.80\config\userpref.blend Version 280 sub 35 date 2018-12-09 18:24 hash 879877295d0 Read prefs: C:\Users\moogl_000\AppData\Roaming\Blender Foundation\Blender\2.80\config\userpref.blend read file C:\Users\moogl_000\AppData\Roaming\Blender Foundation\Blender\2.80\config\startup.blend Version 280 sub 34 date 2018-11-28 00:27 hash 4c6e7ef11f3 AL lib: (EE) UpdateDeviceParams: Failed to set 48000hz, got 44100hz instead found bundled python: c:\blender-git-2.80\build_windows__x64_vc15_Release\bin\Release\2.80\python Read blend: C:\Users\moogl_000\Downloads\material test.blend read file C:\Users\moogl_000\Downloads\material test.blend Version 280 sub 35 date 2018-12-08 17:06 hash e79bb957fc3 Memoryblock idp_generic_copy: double free ```
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Philipp Oeser self-assigned this 2018-12-14 17:11:20 +01:00
Member

Should be fixed by 1e18efa1df.

Closing (but feel free to comment again if issues persist -- tomorrows build should have the fix)

Should be fixed by 1e18efa1df. Closing (but feel free to comment again if issues persist -- tomorrows build should have the fix)
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#59081
No description provided.