blender with --debug-gpu-force-workarounds crashes #70321

Closed
opened 2019-09-28 12:27:57 +02:00 by Jean First · 4 comments

System Information
Operating system: Darwin-17.7.0-x86_64-i386-64bit 64 Bits
Graphics card: AMD Radeon R9 M370X OpenGL Engine ATI Technologies Inc. 4.1 ATI-1.68.23

Blender Version
Broken: version: 2.81 (sub 12), branch: master, commit date: 2019-09-28 07:31, hash: 7ea1b8451e
Worked: (optional)

Short description of error
starting blender with --debug-gpu-force-workarounds and then switching to the material editor crashes blender on osx 10.13.6

Exact steps for others to reproduce the error

  1. start blender with --debug-gpu-force-workarounds
  2. switch to the material editor
  1 # Blender 2.81 (sub 12), Commit date: 2019-09-28 07:31, Hash 7ea1b8451e56
  2 bpy.context.space_data.context = 'MATERIAL'  # Property
  3
  4 # backtrace
  5 0   blender                             0x0000000106a26b77 BLI_system_backtrace + 55
  6 1   blender                             0x0000000106750c8a sig_handle_crash + 362
  7 2   libsystem_platform.dylib            0x00007fff5399ef5a _sigtramp + 26
  8 3   ???                                 0x000000000000010c 0x0 + 268
  9 4   blender                             0x000000010bdae19b GPU_pass_compile + 347
 10 5   blender                             0x000000010bdbad49 GPU_material_compile + 25
 11 6   blender                             0x000000010a4fd88f DRW_shader_create_from_material + 175
 12 7   blender                             0x000000010a51d7c7 EEVEE_materials_cache_populate + 967
 13 8   blender                             0x000000010a520c26 EEVEE_render_cache + 230
 14 9   blender                             0x000000010a4f33d1 DRW_render_object_iter + 465
 15 10  blender                             0x000000010a514a77 eevee_render_to_image + 71
 16 11  blender                             0x000000010a4f305c DRW_render_to_image + 828
 17 12  blender                             0x0000000106abaf86 RE_engine_render + 1110
 18 13  blender                             0x000000010bbae053 shader_preview_render + 1091
 19 14  blender                             0x000000010bbad867 common_preview_startjob + 551
 20 15  blender                             0x000000010bbad19f icon_preview_startjob_all_sizes + 319
 21 16  blender                             0x0000000106c636c7 do_job_thread + 39
 22 17  libsystem_pthread.dylib             0x00007fff539a8661 _pthread_body + 340
 23 18  libsystem_pthread.dylib             0x00007fff539a850d _pthread_body + 0
 24 19  libsystem_pthread.dylib             0x00007fff539a7bf9 thread_start + 13
**System Information** Operating system: Darwin-17.7.0-x86_64-i386-64bit 64 Bits Graphics card: AMD Radeon R9 M370X OpenGL Engine ATI Technologies Inc. 4.1 ATI-1.68.23 **Blender Version** Broken: version: 2.81 (sub 12), branch: master, commit date: 2019-09-28 07:31, hash: `7ea1b8451e` Worked: (optional) **Short description of error** starting blender with `--debug-gpu-force-workarounds` and then switching to the material editor crashes blender on osx 10.13.6 **Exact steps for others to reproduce the error** 1. start blender with `--debug-gpu-force-workarounds` 2. switch to the material editor ``` 1 # Blender 2.81 (sub 12), Commit date: 2019-09-28 07:31, Hash 7ea1b8451e56 2 bpy.context.space_data.context = 'MATERIAL' # Property 3 4 # backtrace 5 0 blender 0x0000000106a26b77 BLI_system_backtrace + 55 6 1 blender 0x0000000106750c8a sig_handle_crash + 362 7 2 libsystem_platform.dylib 0x00007fff5399ef5a _sigtramp + 26 8 3 ??? 0x000000000000010c 0x0 + 268 9 4 blender 0x000000010bdae19b GPU_pass_compile + 347 10 5 blender 0x000000010bdbad49 GPU_material_compile + 25 11 6 blender 0x000000010a4fd88f DRW_shader_create_from_material + 175 12 7 blender 0x000000010a51d7c7 EEVEE_materials_cache_populate + 967 13 8 blender 0x000000010a520c26 EEVEE_render_cache + 230 14 9 blender 0x000000010a4f33d1 DRW_render_object_iter + 465 15 10 blender 0x000000010a514a77 eevee_render_to_image + 71 16 11 blender 0x000000010a4f305c DRW_render_to_image + 828 17 12 blender 0x0000000106abaf86 RE_engine_render + 1110 18 13 blender 0x000000010bbae053 shader_preview_render + 1091 19 14 blender 0x000000010bbad867 common_preview_startjob + 551 20 15 blender 0x000000010bbad19f icon_preview_startjob_all_sizes + 319 21 16 blender 0x0000000106c636c7 do_job_thread + 39 22 17 libsystem_pthread.dylib 0x00007fff539a8661 _pthread_body + 340 23 18 libsystem_pthread.dylib 0x00007fff539a850d _pthread_body + 0 24 19 libsystem_pthread.dylib 0x00007fff539a7bf9 thread_start + 13 ```
Author

Added subscriber: @robbott

Added subscriber: @robbott
Clément Foucault was assigned by Jean First 2019-09-28 12:29:54 +02:00

Added subscriber: @mano-wii

Added subscriber: @mano-wii

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'

Please make sure your drivers are up to date.
--debug-gpu-force-workarounds is not a solution to problems, it is only supposed to be used for bug investigation, if it caused another bug, then other alternatives need to be suggested.

Anyway a possible solution to the crash was committed (bb0b46f78c).
Just test tomorrow's build.

Please make sure your drivers are up to date. `--debug-gpu-force-workarounds` is not a solution to problems, it is only supposed to be used for bug investigation, if it caused another bug, then other alternatives need to be suggested. Anyway a possible solution to the crash was committed (bb0b46f78c). Just test tomorrow's build.
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
2 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#70321
No description provided.