Crash report - Overlays -> Face Orientation causes crash. #59637

Closed
opened 2018-12-19 20:37:43 +01:00 by Casey Frost · 7 comments

System Information
Operating system: Windows 10 Pro
Graphics card: EVGA GTX 1070 SC

Blender Version
Broken: 2.80.0 Date: 2018-12-19 16:09 Hash: 1fc75dbbce
(example: 2.79b release)
(example: 2.80, edbf15d3c0, blender2.8, 2018-11-28, as found on the splash screen)
Worked: N/A

Short description of error

In edit mode, selecting Face Orientation from the Overlays drop down causes a crash.CrashReportFiles.zip

Exact steps for others to reproduce the error

Included Files:

  • Blend file with object I was working on
  • Photo for image empty
  • Photo of which vertices I had highlighted while performing the operation causing the crash.
  1. Open .blend file
  2. Load photo of BMW hubcap (wheel72) into image empty
  3. Refer to Capture image to highlight verts.
  • Note: odd face issue. The face overlap issue occurred after bridging edge loops. The file should load with the appropriate sections highlighted already. Refer to capture image for reference.
  1. Once the object is set up, use the Overlays drop down menu, and select "Face Orientation"
  2. At this point, I experience a crash.
**System Information** Operating system: Windows 10 Pro Graphics card: EVGA GTX 1070 SC **Blender Version** Broken: 2.80.0 Date: 2018-12-19 16:09 Hash: 1fc75dbbceea (example: 2.79b release) (example: 2.80, edbf15d3c044, blender2.8, 2018-11-28, as found on the splash screen) Worked: N/A **Short description of error** In edit mode, selecting Face Orientation from the Overlays drop down causes a crash.[CrashReportFiles.zip](https://archive.blender.org/developer/F6009372/CrashReportFiles.zip) **Exact steps for others to reproduce the error** Included Files: - Blend file with object I was working on - Photo for image empty - Photo of which vertices I had highlighted while performing the operation causing the crash. 1) Open .blend file 2) Load photo of BMW hubcap (wheel72) into image empty 3) Refer to Capture image to highlight verts. - Note: odd face issue. The face overlap issue occurred after bridging edge loops. The file should load with the appropriate sections highlighted already. Refer to capture image for reference. 4) Once the object is set up, use the Overlays drop down menu, and select "Face Orientation" 5) At this point, I experience a crash.
Author

Added subscriber: @HardRooster

Added subscriber: @HardRooster
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Philipp Oeser self-assigned this 2018-12-20 10:06:56 +01:00
Member

reg. Face Overlap issue: this is just a flipped normal [which can be fixed by making normals consistent (Shift+N)]

regarding the crash: confirmed, checking...

reg. Face Overlap issue: this is just a flipped normal [which can be fixed by making normals consistent (Shift+N)] regarding the crash: confirmed, checking...
Philipp Oeser removed their assignment 2018-12-20 11:23:06 +01:00
Clément Foucault was assigned by Philipp Oeser 2018-12-20 11:23:06 +01:00
Member

Added subscriber: @fclem

Added subscriber: @fclem
Member
  • was working Dec5th
  • is working in objectmode (also when you change to editmode then)
  • not related to selection (can also have everything unselected)
  • not related to flipped normals
  • does not happen when modifiers are not displayed in editmode
  • modifiers dont have to be generating (can be deforming also)
  • does not happen when you remove the second material slot (which has nothing associated anyways...)

Crashes here (where MPoly is NULL)
mlt->poly is 0
const MPoly *mp = &rdata->mpoly[mlt->poly];

1  mesh_create_loops_tris                draw_cache_impl_mesh.c 4385 0x2803be3 
2  DRW_mesh_batch_cache_create_requested draw_cache_impl_mesh.c 5508 0x280c216 
3  drw_batch_cache_generate_requested    draw_cache.c           3743 0x287c963 
4  drw_engines_cache_populate            draw_manager.c         1023 0x280fb50 
5  DRW_draw_render_loop_ex               draw_manager.c         1483 0x2810ca9 
6  DRW_draw_view                         draw_manager.c         1409 0x281090c 
7  view3d_draw_view                      view3d_draw.c          1334 0x1da864e 
8  view3d_main_region_draw               view3d_draw.c          1355 0x1da86fe 
9  ED_region_do_draw                     area.c                 529  0x222c8f3 
10 wm_draw_window_offscreen              wm_draw.c              580  0x1c70520 

I assume the most interesting part is that it doesnt crash when you remove the second material slot (makes me think this might even be related to #59656?)

Simpler file:
#59637.blend

@fclem: mind having a look?

- was working Dec5th - is working in objectmode (also when you change to editmode then) - not related to selection (can also have everything unselected) - not related to flipped normals - does not happen when modifiers are not displayed in editmode - modifiers dont have to be generating (can be deforming also) - does not happen when you remove the second material slot (which has nothing associated anyways...) Crashes here (where MPoly is NULL) mlt->poly is 0 const MPoly *mp = &rdata->mpoly[mlt->poly]; ``` 1 mesh_create_loops_tris draw_cache_impl_mesh.c 4385 0x2803be3 2 DRW_mesh_batch_cache_create_requested draw_cache_impl_mesh.c 5508 0x280c216 3 drw_batch_cache_generate_requested draw_cache.c 3743 0x287c963 4 drw_engines_cache_populate draw_manager.c 1023 0x280fb50 5 DRW_draw_render_loop_ex draw_manager.c 1483 0x2810ca9 6 DRW_draw_view draw_manager.c 1409 0x281090c 7 view3d_draw_view view3d_draw.c 1334 0x1da864e 8 view3d_main_region_draw view3d_draw.c 1355 0x1da86fe 9 ED_region_do_draw area.c 529 0x222c8f3 10 wm_draw_window_offscreen wm_draw.c 580 0x1c70520 ``` I assume the most interesting part is that it doesnt crash when you remove the second material slot (makes me think this might even be related to #59656?) Simpler file: [#59637.blend](https://archive.blender.org/developer/F6014927/T59637.blend) @fclem: mind having a look?

This issue was referenced by 217727cb35

This issue was referenced by 217727cb35651a674fbca1718f0d5fc7e2107306

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
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#59637
No description provided.