Crash generating material preview icons with a Normal Map node that uses Tangent Space and specific UV #57664

Closed
opened 2018-11-06 21:27:01 +01:00 by Julien Duroure · 13 comments
Member

System Information
Linux Mint 19, Nvidia 860M

Blender Version
Broken: build of Nov. 6th ( 798cdaeeb6)

Short description of error
Crash when clicking on shader tab in properties

Exact steps for others to reproduce the error

  • Open file in attachment
  • Go to shader tab on properties
  • Crash

In attachment:

  • File
  • Sys info
  • crash.txt

system-info.txt
boombox.crash.txt
boombox.blend

**System Information** Linux Mint 19, Nvidia 860M **Blender Version** Broken: build of Nov. 6th ( 798cdaeeb69) **Short description of error** Crash when clicking on shader tab in properties **Exact steps for others to reproduce the error** * Open file in attachment * Go to shader tab on properties * Crash In attachment: * File * Sys info * crash.txt [system-info.txt](https://archive.blender.org/developer/F5413497/system-info.txt) [boombox.crash.txt](https://archive.blender.org/developer/F5413503/boombox.crash.txt) [boombox.blend](https://archive.blender.org/developer/F5413499/boombox.blend)
Author
Member

Added subscriber: @JulienDuroure

Added subscriber: @JulienDuroure

#58186 was marked as duplicate of this issue

#58186 was marked as duplicate of this issue

#57791 was marked as duplicate of this issue

#57791 was marked as duplicate of this issue
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Can confirm this.
Rendering material icon preview images fail and it seems to be tied to using Tangent Space Normal Map (if I disconnect the normal map node alltogether or change it to anything else than Tangent Space I get no crash)

hitting assert here
BLI_assert(CustomData_number_of_layers(&rdata->cd.output.ldata, CD_TANGENT) == rdata->cd.layers.tangent_len);

1   raise                                                               0x7ffff467153f 
2   abort                                                               0x7ffff465b895 
3   mesh_render_data_create_ex              draw_cache_impl_mesh.c 902  0x27bd5fa      
4   DRW_mesh_batch_cache_get_surface_shaded draw_cache_impl_mesh.c 5240 0x27da55e      
5   DRW_cache_mesh_surface_shaded_get       draw_cache.c           3116 0x284cac3      
6   DRW_cache_object_surface_material_get   draw_cache.c           749  0x28452d8      
7   EEVEE_materials_cache_populate          eevee_materials.c      1532 0x2822ec9      
8   EEVEE_render_cache                      eevee_render.c         188  0x282665c      
9   DRW_render_object_iter                  draw_manager.c         1895 0x27e654f      
10  eevee_render_to_image                   eevee_engine.c         429  0x280fb06      
11  DRW_render_to_image                     draw_manager.c         1851 0x27e6369      
12  RE_engine_render                        external_engine.c      739  0x22e69dc      
13  do_render_3d                            pipeline.c             1102 0x22ee2c1      
14  RE_PreviewRender                        pipeline.c             2622 0x22f2ac0      
15  shader_preview_render                   render_preview.c       862  0x21f9eb6      
16  shader_preview_startjob                 render_preview.c       900  0x21f9fe7      
17  icon_preview_startjob                   render_preview.c       1099 0x21fa8cf      
18  common_preview_startjob                 render_preview.c       1118 0x21fa95a      
19  icon_preview_startjob_all_sizes         render_preview.c       1196 0x21fac53
Can confirm this. Rendering material icon preview images fail and it seems to be tied to using Tangent Space Normal Map (if I disconnect the normal map node alltogether or change it to anything else than Tangent Space I get no crash) hitting assert here `BLI_assert(CustomData_number_of_layers(&rdata->cd.output.ldata, CD_TANGENT) == rdata->cd.layers.tangent_len);` ``` 1 raise 0x7ffff467153f 2 abort 0x7ffff465b895 3 mesh_render_data_create_ex draw_cache_impl_mesh.c 902 0x27bd5fa 4 DRW_mesh_batch_cache_get_surface_shaded draw_cache_impl_mesh.c 5240 0x27da55e 5 DRW_cache_mesh_surface_shaded_get draw_cache.c 3116 0x284cac3 6 DRW_cache_object_surface_material_get draw_cache.c 749 0x28452d8 7 EEVEE_materials_cache_populate eevee_materials.c 1532 0x2822ec9 8 EEVEE_render_cache eevee_render.c 188 0x282665c 9 DRW_render_object_iter draw_manager.c 1895 0x27e654f 10 eevee_render_to_image eevee_engine.c 429 0x280fb06 11 DRW_render_to_image draw_manager.c 1851 0x27e6369 12 RE_engine_render external_engine.c 739 0x22e69dc 13 do_render_3d pipeline.c 1102 0x22ee2c1 14 RE_PreviewRender pipeline.c 2622 0x22f2ac0 15 shader_preview_render render_preview.c 862 0x21f9eb6 16 shader_preview_startjob render_preview.c 900 0x21f9fe7 17 icon_preview_startjob render_preview.c 1099 0x21fa8cf 18 common_preview_startjob render_preview.c 1118 0x21fa95a 19 icon_preview_startjob_all_sizes render_preview.c 1196 0x21fac53 ```
Campbell Barton was assigned by Philipp Oeser 2018-11-07 13:13:00 +01:00
Member

Added subscriber: @ideasman42

Added subscriber: @ideasman42
Member

Also this doesnt seem to be an issue if you dont specifically assign a UV map in the Normal Map node (if you leave the field blank)

@ideasman42: since you were active here (df70e3de63, 429f6bee28 -- although I'm not sure those commits have anything to with it): mind having a look?

Also this doesnt seem to be an issue if you **dont** specifically assign a UV map in the Normal Map node (if you leave the field blank) @ideasman42: since you were active here (df70e3de63, 429f6bee28 -- although I'm not sure those commits have anything to with it): mind having a look?
Philipp Oeser changed title from Crash when clicking on shader tab in properties to Crash generating material preview icons with a Normal Map node that uses Tangent Space and specific UV 2018-11-07 13:14:33 +01:00
Member

Added subscriber: @mikhluz

Added subscriber: @mikhluz
Member

Added subscriber: @fclem

Added subscriber: @fclem
Member

if @ideasman42 is too busy, maybe @fclem could also have a look?

if @ideasman42 is too busy, maybe @fclem could also have a look?
Member

Turns out there is an older task that was reported earlier, lets continue disscussion in #56545

Turns out there is an older task that was reported earlier, lets continue disscussion in #56545
Member

Closed as duplicate of #56545

Closed as duplicate of #56545
Author
Member

Added subscriber: @timknip

Added subscriber: @timknip
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#57664
No description provided.