crashed after change delete and choise another material #59557

Closed
opened 2018-12-18 11:29:40 +01:00 by Andrey · 13 comments

System Information
Operating system: windows 10
Graphics card: MSI GTX 950 Gaming

Blender Version
Broken: 2.80 BETA

OFTEN crashed after change material (select in list - in node editor or in right panel)
also in render cycles.

sory, but cant send you all scene, then you can reproduce error, model is not my own, only model, that i made.....
scene_7.blend

**System Information** Operating system: windows 10 Graphics card: MSI GTX 950 Gaming **Blender Version** Broken: 2.80 BETA **OFTEN crashed after change material (select in list - in node editor or in right panel)** also in render cycles. sory, but cant send you all scene, then you can reproduce error, model is not my own, only model, that i made..... [scene_7.blend](https://archive.blender.org/developer/F5991670/scene_7.blend)
Author

Added subscriber: @Wireinet

Added subscriber: @Wireinet
Member

Added subscriber: @JacquesLucke

Added subscriber: @JacquesLucke
Member

Can you reproduce the crash in a new scene or does it only happen in this file?

Which version of Blender are you using exactly (the hash on the splash screen)?

Currently I can't reproduce a crash.

Can you reproduce the crash in a new scene or does it only happen in this file? Which version of Blender are you using exactly (the hash on the splash screen)? Currently I can't reproduce a crash.
Author

hm..i cant reproduce too..
hash 4c31bed6b4

ok - include the scene-i find the way to reproduce.
open scene, open shading tab, select (if not yet) wall, in bottom node editor try to change material like in this screenshot https://yadi.sk/i/j-7WKUVIw268RQ
after that - boom! crashed! everytime.

test.blend

hm..i cant reproduce too.. hash 4c31bed6b46 ok - include the scene-i find the way to reproduce. open scene, open shading tab, select (if not yet) wall, in bottom node editor try to change material like in this screenshot https://yadi.sk/i/j-7WKUVIw268RQ after that - boom! crashed! everytime. [test.blend](https://archive.blender.org/developer/F5992306/test.blend)
Member

The Blender version you are using is already more than two weeks old. Please check if the bug still happens in the newest version.

The Blender version you are using is already more than two weeks old. Please check if the bug still happens in the newest version.
Author

ок! Thanks! I try it later and report you.

ок! Thanks! I try it later and report you.
Author

I tried. Its the same. sorry.
i download build from December 18, 13:41:27 - hash: 8839152abf.
you can use (for test) my scene, that i uploaded earlier.

I tried. Its the same. sorry. i download build from December 18, 13:41:27 - hash: 8839152abf5. you can use (for test) my scene, that i uploaded earlier.

Added subscriber: @dfelinto

Added subscriber: @dfelinto
Clément Foucault was assigned by Dalai Felinto 2018-12-18 21:19:44 +01:00

The issue seems to be with material preview "rendering" the preview_sphere object (from the preview .blend) and trying to use a material that is trying to use a UV that is not there.
That leads to the following assert:

BLI_assert failed: //source/blender/draw/intern/draw_cache_impl_mesh.c:1031, mesh_render_data_create_ex(), at 'CustomData_number_of_layers(&rdata->cd.output.ldata, CD_TANGENT) == rdata->cd.layers.tangent_len'
Full backtrace: P876

(For the records, early on I get a warning which may be related):
//blender/intern/mikktspace/mikktspace.c:1524:21: runtime error: shift exponent 32 is too large for 32-bit type 'unsigned int'


There are multiple ways of reproducing this. For example:
material_preview_bug.blend

Just open this file and rename the UV in the mesh panel.

The issue seems to be with material preview "rendering" the `preview_sphere` object (from the preview .blend) and trying to use a material that is trying to use a UV that is not there. That leads to the following assert: `BLI_assert failed: //source/blender/draw/intern/draw_cache_impl_mesh.c:1031, mesh_render_data_create_ex(), at 'CustomData_number_of_layers(&rdata->cd.output.ldata, CD_TANGENT) == rdata->cd.layers.tangent_len'` Full backtrace: [P876](https://archive.blender.org/developer/P876.txt) (For the records, early on I get a warning which may be related): `//blender/intern/mikktspace/mikktspace.c:1524:21: runtime error: shift exponent 32 is too large for 32-bit type 'unsigned int'` - - - There are multiple ways of reproducing this. For example: [material_preview_bug.blend](https://archive.blender.org/developer/F5996343/material_preview_bug.blend) Just open this file and rename the UV in the mesh panel.
Author

Thank you for interest to problem - yes...i see - i reproduce this bug - i have the same

Thank you for interest to problem - yes...i see - i reproduce this bug - i have the same
Member

Does it still crash for you?
Sometimes the preview is black when I try it, but it does not crash.

Does it still crash for you? Sometimes the preview is black when I try it, but it does not crash.

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

The problem was fixed indeed. The crash no longer happens.

The problem was fixed indeed. The crash no longer happens.
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#59557
No description provided.