Crash when entering wireframe mode with "single" color shading #56998

Closed
opened 2018-10-02 03:27:47 +02:00 by Sam · 11 comments

System Information
Windows 10 64bit (Home)
Nvidia GeForce GTX 660 (opengl driver: 4.5.0 NVIDIA 388.13)

Blender Version
Broken: 2.80 (sub 24), hash: be0e58d980

Short description of error
Blender crashes when entering wireframe mode when "single" color is selected in overlay popover. I found steps to crash it in edit mode consistently, but it also happens in object mode sometimes.

Exact steps for others to reproduce the error

  • Open Blender
  • Load factory settings
  • Enter edit mode
  • Leave edit mode

Set "single" color in overlay popover


Repeat the following until crash (usually happens on first try, but not always):

  • Enter edit mode
  • Enter wireframe mode (crash happens here)
  • Enter object mode
  • Leave edit mode
**System Information** Windows 10 64bit (Home) Nvidia GeForce GTX 660 (opengl driver: 4.5.0 NVIDIA 388.13) **Blender Version** Broken: 2.80 (sub 24), hash: be0e58d980d **Short description of error** Blender crashes when entering wireframe mode when "single" color is selected in overlay popover. I found steps to crash it in edit mode consistently, but it also happens in object mode sometimes. **Exact steps for others to reproduce the error** - Open Blender - Load factory settings - Enter edit mode - Leave edit mode # Set "single" color in overlay popover ``` ``` Repeat the following until crash (usually happens on first try, but not always): - Enter edit mode - Enter wireframe mode (crash happens here) - Enter object mode - Leave edit mode
Author

Added subscriber: @Sam200

Added subscriber: @Sam200
Sam changed title from Crash when entering wireframe with "single" color shading to Crash when entering wireframe mode with "single" color shading 2018-10-02 03:28:11 +02:00
Member

Added subscribers: @fclem, @lichtwerk

Added subscribers: @fclem, @lichtwerk
Clément Foucault was assigned by Philipp Oeser 2018-10-02 09:55:10 +02:00
Member

Can confirm a crash here (linux, 970m with 396.45 drivers)

Is v_first_ofs supposed to be NULL here ? backtrace:

1   ??                                                             0x7fffc91b4506 
2   ??                                                             0x7fffc91c5fe6 
3   ??                                                             0x7fffc8d7eb19 
4   GPU_batch_draw_range_ex               gpu_batch.c         631  0x25a7f3c      
5   draw_geometry_execute_ex              draw_manager_exec.c 850  0x2602328      
6   draw_geometry_execute                 draw_manager_exec.c 857  0x2602367      
7   draw_shgroup                          draw_manager_exec.c 1212 0x26034ce      
8   drw_draw_pass_ex                      draw_manager_exec.c 1285 0x26037c4      
9   DRW_draw_pass                         draw_manager_exec.c 1318 0x2603945      
10  workbench_forward_draw_scene          workbench_forward.c 613  0x267a221      
11  workbench_transparent_draw_background transparent_mode.c  66   0x263fb32      
12  drw_engines_draw_background           draw_manager.c      1013 0x25f77ba      
13  DRW_draw_render_loop_ex               draw_manager.c      1496 0x25f8953      
14  DRW_draw_view                         draw_manager.c      1409 0x25f8551      
15  view3d_draw_view                      view3d_draw.c       1259 0x1b2559f      
16  view3d_main_region_draw               view3d_draw.c       1280 0x1b2564f      
17  ED_region_do_draw                     area.c              529  0x1fa4435      
18  wm_draw_window_offscreen              wm_draw.c           537  0x19e8844      
19  wm_draw_window                        wm_draw.c           663  0x19e8dd8      
20  wm_draw_update                        wm_draw.c           817  0x19e92e4    

@fclem : mind having a look?

Can confirm a crash here (linux, 970m with 396.45 drivers) Is `v_first_ofs` supposed to be NULL [here ](https://developer.blender.org/diffusion/B/browse/blender2.8/source/blender/gpu/intern/gpu_batch.c;6b51e15973f2fca77387dc08dac83ae3f2c8aeb2$631)? backtrace: ``` 1 ?? 0x7fffc91b4506 2 ?? 0x7fffc91c5fe6 3 ?? 0x7fffc8d7eb19 4 GPU_batch_draw_range_ex gpu_batch.c 631 0x25a7f3c 5 draw_geometry_execute_ex draw_manager_exec.c 850 0x2602328 6 draw_geometry_execute draw_manager_exec.c 857 0x2602367 7 draw_shgroup draw_manager_exec.c 1212 0x26034ce 8 drw_draw_pass_ex draw_manager_exec.c 1285 0x26037c4 9 DRW_draw_pass draw_manager_exec.c 1318 0x2603945 10 workbench_forward_draw_scene workbench_forward.c 613 0x267a221 11 workbench_transparent_draw_background transparent_mode.c 66 0x263fb32 12 drw_engines_draw_background draw_manager.c 1013 0x25f77ba 13 DRW_draw_render_loop_ex draw_manager.c 1496 0x25f8953 14 DRW_draw_view draw_manager.c 1409 0x25f8551 15 view3d_draw_view view3d_draw.c 1259 0x1b2559f 16 view3d_main_region_draw view3d_draw.c 1280 0x1b2564f 17 ED_region_do_draw area.c 529 0x1fa4435 18 wm_draw_window_offscreen wm_draw.c 537 0x19e8844 19 wm_draw_window wm_draw.c 663 0x19e8dd8 20 wm_draw_update wm_draw.c 817 0x19e92e4 ``` @fclem : mind having a look?

I can't get it to crash on linux + 960m.

v_first_ofs is supposed to be null pretty much every time. it is its default value.
@lichtwerk can you try running with --debug-gpu and also try running with v_first_ofs = NULL all the time.

I can't get it to crash on linux + 960m. v_first_ofs is supposed to be null pretty much every time. it is its default value. @lichtwerk can you try running with --debug-gpu and also try running with v_first_ofs = NULL all the time.
Member

Hi @fclem!
P786 for the output of --debug-gpu (wall of text!)
P787 for the blender.crash.txt. (incl. op log repo steps)
(not sure these help..)

How would I "try running with v_first_ofs = NULL all the time"?

Hi @fclem! [P786](https://archive.blender.org/developer/P786.txt) for the output of --debug-gpu (wall of text!) [P787](https://archive.blender.org/developer/P787.txt) for the blender.crash.txt. (incl. op log repo steps) (not sure these help..) How would I "try running with v_first_ofs = NULL all the time"?

Added subscriber: @pratiksolanki

Added subscriber: @pratiksolanki

i have a version which is not crashing , or less crashing
here is its hash : b6c1443742

i have a version which is not crashing , or less crashing here is its hash : b6c14437427

@Sam200 Could you test latest version to see if it is more stable?

@Sam200 Could you test latest version to see if it is more stable?
Author

It no longer crashes on the latest build. You guys are doing a good job on 2.8. I'm loving it.

It no longer crashes on the latest build. You guys are doing a good job on 2.8. I'm loving it.
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Member

Lets close this then

Lets close this then
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#56998
No description provided.