Crash as soon as press material button in properties panel #55555
Labels
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
10 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#55555
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Windows 10 64 bits - Compiled source with last version at 20/06/2018 16:00 using MSVSC 2017 Debug mode
To reproduce:
Log details: P733
Doing some debug, the function GPU_texture_bind() is failing because text field is NULL.
The line with error is this:
Added subscriber: @antoniov
#55567 was marked as duplicate of this issue
Added subscribers: @ignatz, @lichtwerk
Added subscriber: @fclem
I cannot reproduce (linux 970m, 390.59 drivers)
This has been reported a couple of times btw., see #55541, #55553, #55523, #55567 (I've closed these before because of 2.8 policy)
But I assume this is MacOS/Windows issue?
Seeing @fclem already talking about it in IRC, assigning to him?
The problem is only in Windows and Mac:
Tested:
Commit
30c383fd35
worksThe commit that introduced the error is this:
8c77c36539
Added subscriber: @LazyDodo
Only in Windows and maybe in Mac.
This issue was referenced by
c45a3b80e2
Changed status from 'Open' to: 'Resolved'
@fclem I'm not sure if this is related, but now I get the same error when press F12 using Eevee. The error is not all the times (maybe 90% of times).
Hmmm then it seems that
8c77c36539
is wrong in some way.There must be some threading issue with the context creation process. Maybe we need some mutex in GHOST for the initialization of the context at least.
Changed status from 'Resolved' to: 'Open'
Added subscriber: @mano-wii
It's a classic race condition, here's what's up
sometimes:
Render success!
most of the time:
Something like P737 fixes it, but feels kinda hacky (I suppose this might also be an issue on other platforms which this patch doesn't address), @mano-wii any opinions here? maybe have make it a requirement that createOffscreenContext restores the context it was on when it was called?
Well my latest refactor in this area was to assure that a context is only made current on the thread that will use it (first time made active in GHOST_ContextWGL::initContext). So maybe I overlooked something.
Changed status from 'Open' to: 'Resolved'
I tried doing the same thing, and that blew up a tiny bit, to share resources the creating thread needs exclusive access to the main context currently bound to the main thread. WM_opengl_context_create has a comment about it, guess i'm not the first one to try and fail at this :)
Think best way forward is have createOffscreenContext create the context, but restore the calling context when it's done. Implemented this in D3499 and F12 , Background renders and the material tab all work now.
thanks @LazyDodo
Added subscriber: @StephenHamacek
Thanks, mac build fixed for me too.
Added subscriber: @KristiCentinaro
I wanted to report seeing this with the latest build as of 7/8/2018. I used both Windows x64 versions available and consistently saw the same result.
System: Windows 10 Home
Steps to reproduce:
App would then crash.
Added subscriber: @lileo
macOS : Blender(7/8/2018)
blender --factory-startup
Select Light icon in properties panel
Crash
Added subscriber: @mezgino85
so , what i have to do to fix this Bug??
Crashed when pressing material icon
WIN 10 , 64 B
renderer: 'Quadro 2000M/PCIe/SSE2'
vendor: 'NVIDIA Corporation'
version: '4.5.0 NVIDIA 347.88'
Added subscriber: @brecht
@mezgino85, see my reply in #68003 (Report Bug).