New issue
Advanced search Search tips

Issue 736863 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 735986
Owner:
Closed: Jun 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 1
Type: Bug-Regression



Sign in to add a comment

Windows: ASSERT(mResource) in FramebufferAttachment::getRenderTargetImpl

Project Member Reported by marshall@chromium.org, Jun 26 2017

Issue description

Chrome Version: 60.0.3112.40
OS: Windows 10 64-bit

What steps will reproduce the problem?
(1) Run a Chromium-based application.

What is the expected result?
The GPU process should start successfully.

What happens instead?
Hit the ASSERT(mResource) in FramebufferAttachment::getRenderTargetImpl. Call stack:

 	libGLESv2.dll!common_assert_to_message_box<wchar_t>(const wchar_t * const expression, const wchar_t * const file_name, const unsigned int line_number, void * const return_address) Line 351	C++
 	libGLESv2.dll!common_assert<wchar_t>(const wchar_t * const expression, const wchar_t * const file_name, const unsigned int line_number, void * const return_address) Line 386	C++
 	libGLESv2.dll!_wassert(const wchar_t * expression, const wchar_t * file_name, unsigned int line_number) Line 404	C++
>	libGLESv2.dll!gl::FramebufferAttachment::getRenderTargetImpl(rx::FramebufferAttachmentRenderTarget * * rtOut) Line 201	C++
 	libGLESv2.dll!gl::FramebufferAttachment::getRenderTarget<rx::RenderTarget11>(rx::RenderTarget11 * * rtOut) Line 115	C++
 	libGLESv2.dll!rx::Clear11::clearFramebuffer(const rx::ClearParameters & clearParams, const gl::FramebufferState & fboData) Line 380	C++
 	libGLESv2.dll!rx::Framebuffer11::clearImpl(rx::ContextImpl * context, const rx::ClearParameters & clearParams) Line 127	C++
 	libGLESv2.dll!rx::FramebufferD3D::clear(rx::ContextImpl * context, unsigned int mask) Line 101	C++
 	libGLESv2.dll!gl::Framebuffer::clear(rx::ContextImpl * context, unsigned int mask) Line 895	C++
 	libGLESv2.dll!gl::Context::clear(unsigned int mask) Line 2794	C++
 	libGLESv2.dll!gl::Clear(unsigned int mask) Line 292	C++
 	libGLESv2.dll!glClear(unsigned int mask) Line 96	C++
 	libcef.dll!gl::GLApiBase::glClearFn(unsigned int mask) Line 2679	C++
 	libcef.dll!gl::RealGLApi::glClearFn(unsigned int mask) Line 424	C++
 	libcef.dll!gpu::gles2::GLES2DecoderImpl::ResizeOffscreenFramebuffer(const gfx::Size & size) Line 5144	C++
 	libcef.dll!gpu::gles2::GLES2DecoderImpl::Initialize(const scoped_refptr<gl::GLSurface> & surface, const scoped_refptr<gl::GLContext> & context, bool offscreen, const gpu::gles2::DisallowedFeatures & disallowed_features, const gpu::gles2::ContextCreationAttribHelper & attrib_helper) Line 3556	C++
 	libcef.dll!gpu::GpuCommandBufferStub::Initialize(gpu::GpuCommandBufferStub * share_command_buffer_stub, const GPUCreateCommandBufferConfig & init_params, std::unique_ptr<base::SharedMemory,std::default_delete<base::SharedMemory> > shared_state_shm) Line 779	C++
 	libcef.dll!gpu::GpuCommandBufferStub::Create(gpu::GpuChannel * channel, gpu::GpuCommandBufferStub * share_command_buffer_stub, const GPUCreateCommandBufferConfig & init_params, gpu::IdType<gpu::CommandBuffer,unsigned __int64,0> command_buffer_id, gpu::IdType<gpu::SyncPointOrderData,unsigned int,0> sequence_id, int stream_id, int route_id, std::unique_ptr<base::SharedMemory,std::default_delete<base::SharedMemory> > shared_state_shm) Line 231	C++
 	libcef.dll!gpu::GpuChannel::CreateCommandBuffer(const GPUCreateCommandBufferConfig & init_params, int route_id, std::unique_ptr<base::SharedMemory,std::default_delete<base::SharedMemory> > shared_state_shm) Line 1096	C++
 	libcef.dll!gpu::GpuChannel::OnCreateCommandBuffer(const GPUCreateCommandBufferConfig & init_params, int route_id, base::SharedMemoryHandle shared_state_handle, bool * result, gpu::Capabilities * capabilities) Line 1026	C++
 	libcef.dll!base::DispatchToMethodImpl<gpu::GpuChannel *,void (__thiscall gpu::GpuChannel::*)(GPUCreateCommandBufferConfig const &,int,base::SharedMemoryHandle,bool *,gpu::Capabilities *),std::tuple<GPUCreateCommandBufferConfig,int,base::SharedMemoryHandle> &,std::tuple<bool,gpu::Capabilities>,0,1,2,0,1>(gpu::GpuChannel * const & obj, void(gpu::GpuChannel::*)(const GPUCreateCommandBufferConfig &, int, base::SharedMemoryHandle, bool *, gpu::Capabilities *) method, std::tuple<GPUCreateCommandBufferConfig,int,base::SharedMemoryHandle> & in, std::tuple<bool,gpu::Capabilities> * out, base::IndexSequence<0,1,2> __formal, base::IndexSequence<0,1> __formal) Line 119	C++
 	libcef.dll!base::DispatchToMethod<gpu::GpuChannel *,void (__thiscall gpu::GpuChannel::*)(GPUCreateCommandBufferConfig const &,int,base::SharedMemoryHandle,bool *,gpu::Capabilities *),std::tuple<GPUCreateCommandBufferConfig,int,base::SharedMemoryHandle> &,std::tuple<bool,gpu::Capabilities> >(gpu::GpuChannel * const & obj, void(gpu::GpuChannel::*)(const GPUCreateCommandBufferConfig &, int, base::SharedMemoryHandle, bool *, gpu::Capabilities *) method, std::tuple<GPUCreateCommandBufferConfig,int,base::SharedMemoryHandle> & in, std::tuple<bool,gpu::Capabilities> * out) Line 126	C++
 	libcef.dll!IPC::MessageT<GpuChannelMsg_CreateCommandBuffer_Meta,std::tuple<GPUCreateCommandBufferConfig,int,base::SharedMemoryHandle>,std::tuple<bool,gpu::Capabilities> >::Dispatch<gpu::GpuChannel,gpu::GpuChannel,void,void (__thiscall gpu::GpuChannel::*)(GPUCreateCommandBufferConfig const &,int,base::SharedMemoryHandle,bool *,gpu::Capabilities *)>(const IPC::Message * msg, gpu::GpuChannel * obj, gpu::GpuChannel * sender, void * __formal, void(gpu::GpuChannel::*)(const GPUCreateCommandBufferConfig &, int, base::SharedMemoryHandle, bool *, gpu::Capabilities *) func) Line 173	C++
 	libcef.dll!gpu::GpuChannel::OnControlMessageReceived(const IPC::Message & msg) Line 913	C++
 	libcef.dll!gpu::GpuChannel::HandleMessageHelper(const IPC::Message & msg) Line 983	C++
 	libcef.dll!gpu::GpuChannel::HandleOutOfOrderMessage(const IPC::Message & msg) Line 1001	C++
 	libcef.dll!base::internal::FunctorTraits<void (__thiscall gpu::GpuChannel::*)(IPC::Message const &),void>::Invoke<base::WeakPtr<gpu::GpuChannel> const &,IPC::Message const &>(void(gpu::GpuChannel::*)(const IPC::Message &) method, const base::WeakPtr<gpu::GpuChannel> & receiver_ptr, const IPC::Message & <args_0>) Line 215	C++
 	libcef.dll!base::internal::InvokeHelper<1,void>::MakeItSo<void (__thiscall gpu::GpuChannel::*const &)(IPC::Message const &),base::WeakPtr<gpu::GpuChannel> const &,IPC::Message const &>(void(gpu::GpuChannel::*)(const IPC::Message &) & functor, const base::WeakPtr<gpu::GpuChannel> & weak_ptr, const IPC::Message & <args_0>) Line 305	C++
 	libcef.dll!base::internal::Invoker<base::internal::BindState<void (__thiscall gpu::GpuChannel::*)(IPC::Message const &),base::WeakPtr<gpu::GpuChannel>,IPC::Message>,void __cdecl(void)>::RunImpl<void (__thiscall gpu::GpuChannel::*const &)(IPC::Message const &),std::tuple<base::WeakPtr<gpu::GpuChannel>,IPC::Message> const &,0,1>(void(gpu::GpuChannel::*)(const IPC::Message &) & functor, const std::tuple<base::WeakPtr<gpu::GpuChannel>,IPC::Message> & bound, base::IndexSequence<0,1> __formal) Line 361	C++
 	libcef.dll!base::internal::Invoker<base::internal::BindState<void (__thiscall gpu::GpuChannel::*)(IPC::Message const &),base::WeakPtr<gpu::GpuChannel>,IPC::Message>,void __cdecl(void)>::Run(base::internal::BindStateBase * base) Line 339	C++
 	libcef.dll!base::Callback<void __cdecl(void),0,0>::Run() Line 91	C++
 	libcef.dll!base::debug::TaskAnnotator::RunTask(const char * queue_function, base::PendingTask * pending_task) Line 61	C++
 	libcef.dll!base::MessageLoop::RunTask(base::PendingTask * pending_task) Line 410	C++
 	libcef.dll!base::MessageLoop::DeferOrRunPendingTask(base::PendingTask pending_task) Line 423	C++
 	libcef.dll!base::MessageLoop::DoWork() Line 508	C++
 	libcef.dll!base::MessagePumpDefault::Run(base::MessagePump::Delegate * delegate) Line 33	C++
 	libcef.dll!base::MessageLoop::Run() Line 361	C++
 	libcef.dll!base::RunLoop::Run() Line 112	C++
 	libcef.dll!content::GpuMain(const content::MainFunctionParams & parameters) Line 296	C++
 	libcef.dll!content::RunNamedProcessTypeMain(const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & process_type, const content::MainFunctionParams & main_function_params, content::ContentMainDelegate * delegate) Line 412	C++
 	libcef.dll!content::ContentMainRunnerImpl::Run() Line 705	C++
 	libcef.dll!content::ContentServiceManagerMainDelegate::RunEmbedderProcess() Line 42	C++
 	libcef.dll!service_manager::MainRun(service_manager::MainParams & params) Line 480	C++
 	libcef.dll!service_manager::Main(service_manager::MainParams & params) Line 527	C++
 	libcef.dll!content::ContentMain(const content::ContentMainParams & params) Line 19	C++

Please use labels and text to provide additional information.
Does not reproduce with 60.0.3112.10.

For graphics-related bugs, please copy/paste the contents of the about:gpu
page at the end of this report.
Attaching about:gpu from 59.0.3071.109 (Official Build) (64-bit) running on the same machine.
 
about_gpu.pdf
130 KB Download

Comment 1 by vmi...@chromium.org, Jun 27 2017

Cc: geoffl...@chromium.org
Owner: jmad...@chromium.org
jmadill@ could you triage?
Mergedinto: 735986
Status: Duplicate (was: Untriaged)
Sorry for all the trouble. This should be fixed with the next beta rollout.

Sign in to add a comment