mash: Startup crash in gpu::GpuMemoryBufferImplOzoneNativePixmap::CreateFromHandle |
||||||||
Issue descriptioncanary 59.0.3041.0, platform 9387.0.0 -- note that chrome is 1 week old Repro: * Download latest link canary * Flip mash flag in about:flags * Chrome goes into restart loop, flashing cursor on black screen go/crash/f8b1d15480000000 Product, version ChromeOS, 9387.0.0 Process type Magic Signature gpu::GpuMemoryBufferImplOzoneNativePixmap::CreateFromHandleedit bugs&comments Stable Signature gpu::GpuMemoryBufferImplOzoneNativePixmap::CreateFromHandle-c8339873edit bugs&comments Report Time Wed, 22 Mar 2017 16:23:57 GMT Client ID31d2b323b8954a8ab7bf09f61ed9a258 FilesminidumpDownloadlogDownloadView file Thread 0 CRASHED [SIGSEGV @ 0x00000000 ] MAGIC SIGNATURE THREAD Stack Quality100% 0x00005c28699cc184 (chrome -gpu_memory_buffer_impl_ozone_native_pixmap.cc:72 ) gpu::GpuMemoryBufferImplOzoneNativePixmap::CreateFromHandle(gfx::GpuMemoryBufferHandle const&, gfx::Size const&, gfx::BufferFormat, gfx::BufferUsage, base::Callback<void (gpu::SyncToken const&), (base::internal::CopyMode)1, (base::internal::RepeatMode)1> const&) 0x00005c28699cb948 (chrome -gpu_memory_buffer_impl.cc:55 ) gpu::GpuMemoryBufferImpl::CreateFromHandle(gfx::GpuMemoryBufferHandle const&, gfx::Size const&, gfx::BufferFormat, gfx::BufferUsage, base::Callback<void (gpu::SyncToken const&), (base::internal::CopyMode)1, (base::internal::RepeatMode)1> const&) 0x00005c2869ac2f1a (chrome -client_gpu_memory_buffer_manager.cc:153 ) ui::ClientGpuMemoryBufferManager::CreateGpuMemoryBuffer(gfx::Size const&, gfx::BufferFormat, gfx::BufferUsage, int) 0x00005c286c062e67 (chrome -resource_provider.cc:1389 ) cc::ResourceProvider::ScopedWriteLockGpuMemoryBuffer::GetGpuMemoryBuffer() 0x00005c286c05b098 (chrome -zero_copy_raster_buffer_provider.cc:40 ) cc::(anonymous namespace)::RasterBufferImpl::Playback(cc::RasterSource const*, gfx::Rect const&, gfx::Rect const&, unsigned long, float, cc::RasterSource::PlaybackSettings const&) 0x00005c286c085ae9 (chrome -tile_manager.cc:129 ) cc::(anonymous namespace)::RasterTaskImpl::RunOnWorkerThread() 0x00005c286bfeda20 (chrome -single_thread_task_graph_runner.cc:154 ) cc::SingleThreadTaskGraphRunner::RunTaskWithLockAcquired() 0x00005c286bfedbdf (chrome -single_thread_task_graph_runner.cc:117 ) non-virtual thunk to cc::SingleThreadTaskGraphRunner::Run() 0x00005c286b2da867 (chrome -simple_thread.cc:68 ) base::SimpleThread::ThreadMain() 0x00005c286b2d6b4c (chrome -platform_thread_posix.cc:71 ) base::(anonymous namespace)::ThreadFunc(void*) 0x00007432487fb557 (libpthread-2.23.so -pthread_create.c:333 ) start_thread 0x000074324752d08c (libc-2.23.so + 0x000f708c ) clone sadrul, do you know if this is fixed already? If not, can you find an owner?
,
Mar 22 2017
Changes to ClientNativePixmapFactory landed this morning in https://codereview.chromium.org/2705333006. I wonder if it's the problem?
,
Mar 22 2017
The build of chrome I think is ~1wk old? (see original post) I also looked at that CL at first, but I couldn't find any change in there that would affect the behaviour.
,
Mar 22 2017
I can consistently repro this crash with ToT chrome r458750 on cave (not pixel). * stop ui * Edit /etc/chrome_dev.conf to add --mash * start ui Stack is a little mangled, two failures are mixed: Received signal 11 SEGV_MAPERR 000000000000 #0 0x5d506c49401d base::debug::StackTrace::StackTrace() #1 0x5d506c494460 base::debug::(anonymous namespace)::StackDumpSignalHandler() #2 0x75963fc16530 <unknown> #3 0x5d506a72d26a gpu::GpuMemoryBufferImplOzoneNativePixmap::CreateFromHandle() #4 0x5d506a72c778 gpu::GpuMemoryBufferImpl::CreateFromHandle() #5 0x5d506a850c1f [15635:15635:0322/151911.146073:ERROR:layer_tree_host_impl.cc(2248)] Forcing zero-copy tile initialization as worker context is missing Received signal 11 SEGV_MAPERR 000000000000 #0 0x60d39c77801d ui::ClientGpuMemoryBufferManager::CreateGpuMemoryBuffer() #6 0x5d506d4bd730 base::debug::StackTrace::StackTrace()cc::ResourceProvider::ScopedWriteLockGpuMemoryBuffer::GetGpuMemoryBuffer() ##17 0x0x60d39c7784605d506d4b7e0e base::debug::(anonymous namespace)::StackDumpSignalHandler() #2 0x76bd0cae6530 <unknown> #3 0x60d39aa1126a cc::(anonymous namespace)::RasterBufferImpl::Playback() #8 0x5d506d4e55bc cc::(anonymous namespace)::RasterTaskImpl::RunOnWorkerThread() #9 0x5d506d43cdf0 gpu::GpuMemoryBufferImplOzoneNativePixmap::CreateFromHandle() #4 0x60d39aa10778 gpu::GpuMemoryBufferImpl::CreateFromHandle() #5 0x60d39ab34c1f cc::SingleThreadTaskGraphRunner::RunTaskWithLockAcquired() #10 0x5d506d43cff0 ui::ClientGpuMemoryBufferManager::CreateGpuMemoryBuffer() #6 0x60d39d7a1730 cc::ResourceProvider::ScopedWriteLockGpuMemoryBuffer::GetGpuMemoryBuffer() #7 0x60d39d79be0e cc::SingleThreadTaskGraphRunner::Run() #11 0x5d506c5018d5 cc::(anonymous namespace)::RasterBufferImpl::Playback() #8 0x60d39d7c95bc cc::(anonymous namespace)::RasterTaskImpl::RunOnWorkerThread() #9 0x60d39d720df0 [1:5:0322/151911.236040:ERROR:layer_tree_host_impl.cc(2248)] Forcing zero-copy tile initialization as worker context is missing base::SimpleThread::ThreadMain() #12 0x5d506c4fd626 cc::SingleThreadTaskGraphRunner::RunTaskWithLockAcquired() #10 0x60d39d720ff0 base::(anonymous namespace)::ThreadFunc() #13 0x75963fc0c578 <unknown> #14 0x75963e9376dd clone I get the same failure when running autotest desktopui_MashLogin. This is probably the source of all the HWTest failures in the lab, so the issue is probably ~3 weeks old.
,
Mar 22 2017
,
Mar 23 2017
I made a mistake, the board in the original description was samus (Chromebook Pixel 2015, Broadwell) not link. I cannot repro on link with Chrome 59.0.3041.0. However, I still think this is worth tracking down, since we're going to have to fix it eventually, and it is blocking me being able to put our autotest back in the Chrome OS CQ/PFQ.
,
Mar 23 2017
Maybe you can temporarily add samus to the list of boards to skip? https://cs.corp.google.com/chromeos_public/src/third_party/autotest/files/client/site_tests/desktopui_MashLogin/desktopui_MashLogin.py?l=29-30
,
Mar 23 2017
I suspect it is crashing on many boards, https://wmatrix.googleplex.com/unfiltered?hide_missing=True&releases=tot&tests=desktopui_MashLogin&days_back=1
,
Mar 27 2017
Any updates on this? It would be great if we could get the test actually passing again.
,
Mar 29 2017
I just verified this still happens on samus with ToT chrome r460396 (today) and canary test image OS 9411.0.0 (today). I don't think it's related to chrome vs. chrome os version skew. Luckily it's easy to repro.
,
Mar 29 2017
,
Mar 30 2017
,
Apr 14 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/74d8cb5db7109d9f5426136662b6dd614494c545 commit 74d8cb5db7109d9f5426136662b6dd614494c545 Author: rjkroege <rjkroege@chromium.org> Date: Fri Apr 14 03:17:18 2017 Always create ClientNativePixmapFactory in chrome --mash With the enabling of the --enable-native-gpu-memory-buffers on selected ChromeOS devices where the combination of kernel and graphics hardware permit it, every Chrome process attempting to rastersize requires an ozone gfx::ClientNativePixmapFactory instance or it will crash when first attempting to allocate a graphics buffer. Given that aura is the standard mus client library for non-renderer processes and is assumed by all ozone platforms, modify aura::Env to create such an instance and resolve the situation where chrome --mash fails on selected ChromeOS devices. BUG= 704169 Review-Url: https://codereview.chromium.org/2803523002 Cr-Commit-Position: refs/heads/master@{#464666} [modify] https://crrev.com/74d8cb5db7109d9f5426136662b6dd614494c545/content/browser/browser_main_loop.cc [modify] https://crrev.com/74d8cb5db7109d9f5426136662b6dd614494c545/ui/aura/env.cc [modify] https://crrev.com/74d8cb5db7109d9f5426136662b6dd614494c545/ui/aura/env.h [modify] https://crrev.com/74d8cb5db7109d9f5426136662b6dd614494c545/ui/gfx/client_native_pixmap_factory.cc [modify] https://crrev.com/74d8cb5db7109d9f5426136662b6dd614494c545/ui/gfx/client_native_pixmap_factory.h
,
Apr 14 2017
,
May 30 2017
,
Aug 1 2017
,
Jan 22 2018
,
Feb 26 2018
|
||||||||
►
Sign in to add a comment |
||||||||
Comment 1 by sadrul@chromium.org
, Mar 22 2017Owner: rjkroege@chromium.org