Igalia / chromium

Old repo. See https://crbug.com/578890 instead.
https://chromium.googlesource.com/chromium/src.git
BSD 3-Clause "New" or "Revised" License
115 stars 16 forks source link

Crash at startup when using gpu process + system gbm (on weston) #512

Closed nickdiego closed 4 years ago

nickdiego commented 5 years ago

GN Args:

enable_nacl=false
use_ozone=true
use_xkbcommon=true
use_system_minigbm=true
use_jumbo_build=true
is_debug=false
symbol_level=2
dcheck_always_on=true
cc_wrapper="ccache"

System info:

Arch Linux: Kernel (LTS) 4.19.13
Mesa (libgbm): 18.3.1
Graphics card:  Intel Corporation UHD Graphics 620 (rev 07) (prog-if 00 [VGA controller])
Weston: 5.0.0
Gnome: 3.30.1

Stack trace:

➜  src git:(dev) out/release/Ozone/chrome --ozone-platform=wayland --no-sandbox

[9363:9363:0109/151225.363063:ERROR:wayland_screen.cc(95)] Not implemented reached in virtual display::Display ui::WaylandScreen::GetDisplayMatching(const gfx::Rect &) const
[9363:9363:0109/151225.363235:ERROR:wayland_screen.cc(67)] Not implemented reached in virtual display::Display ui::WaylandScreen::GetDisplayForAcceleratedWidget(gfx::AcceleratedWidget) const
[9363:9363:0109/151225.363299:ERROR:desktop_window_tree_host_platform.cc(434)] Not implemented reached in virtual void views::DesktopWindowTreeHostPlatform::InitModalType(ui::ModalType)
[9363:9363:0109/151225.363333:ERROR:desktop_window_tree_host_platform.cc(444)] Not implemented reached in virtual bool views::DesktopWindowTreeHostPlatform::IsAnimatingClosed() const
[9363:9363:0109/151225.365283:ERROR:desktop_window_tree_host_platform.cc(457)] Not implemented reached in virtual void views::DesktopWindowTreeHostPlatform::SizeConstraintsChanged()
[9363:9363:0109/151225.385189:ERROR:wayland_screen.cc(72)] Not implemented reached in virtual gfx::Point ui::WaylandScreen::GetCursorScreenPoint() const
[9363:9363:0109/151225.386893:ERROR:desktop_window_tree_host_platform.cc(428)] Not implemented reached in virtual void views::DesktopWindowTreeHostPlatform::SetWindowIcons(const gfx::ImageSkia &, const gfx::ImageSkia &)
[9363:9363:0109/151225.386915:ERROR:desktop_window_tree_host_platform.cc(367)] Not implemented reached in virtual bool views::DesktopWindowTreeHostPlatform::SetWindowTitle(const base::string16 &)
[9363:9363:0109/151225.394820:ERROR:wayland_screen.cc(82)] Not implemented reached in virtual gfx::AcceleratedWidget ui::WaylandScreen::GetAcceleratedWidgetAtScreenPoint(const gfx::Point &) const
[9363:9363:0109/151225.399738:ERROR:desktop_window_tree_host_platform.cc(305)] Not implemented reached in virtual void views::DesktopWindowTreeHostPlatform::Activate()
[9363:9363:0109/151225.402291:ERROR:desktop_window_tree_host_platform.cc(216)] Not implemented reached in virtual bool views::DesktopWindowTreeHostPlatform::IsVisible() const
[9387:9387:0109/151225.917825:ERROR:sandbox_linux.cc(364)] InitializeSandbox() called with multiple threads in process gpu-process.
[9387:9387:0109/151225.945833:ERROR:gl_surface_egl.cc(537)] EGL Driver message (Critical) eglCreateImageKHR: dri2_create_image_khr_texture
[9387:9387:0109/151225.945865:ERROR:gl_image_egl.cc(36)] Error creating EGLImage: EGL_BAD_ALLOC
[9387:9387:0109/151225.945892:ERROR:gpu_memory_buffer_factory_native_pixmap.cc(131)] Failed to create GLImage 925x783, BGRA_8888, |internalformat|: GL_BGRA_EXT
[9387:9387:0109/151225.945911:ERROR:in_process_command_buffer.cc(1082)] Failed to create image for buffer.
[9387:9387:0109/151225.945960:ERROR:gles2_cmd_decoder.cc(18299)] [GroupMarkerNotSet(crbug.com/242999)!:B018560C28160000]GL ERROR :GL_INVALID_OPERATION : glBindTexImage2DCHROMIUM: no image found with the given ID
[9387:9387:0109/151225.946966:ERROR:gles2_cmd_decoder.cc(4851)] [GroupMarkerNotSet(crbug.com/242999)!:B018560C28160000]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawArrays: framebuffer incomplete
[9387:9387:0109/151225.946986:ERROR:gles2_cmd_decoder.cc(13039)] [GroupMarkerNotSet(crbug.com/242999)!:B018560C28160000]GL ERROR :GL_INVALID_VALUE : glScheduleOverlayPlaneCHROMIUM: unsupported texture format
Received signal 11 SEGV_MAPERR ffffffffffffffc0
#0 0x55f1c5a970af base::debug::StackTrace::StackTrace()
#1 0x55f1c5a96b81 base::debug::(anonymous namespace)::StackDumpSignalHandler()
#2 0x7f22eb1473c0 <unknown>
#3 0x55f1c2d2909b ui::GbmSurfacelessWayland::SubmitFrame()
#4 0x55f1c299ecf8 _ZN4base8internal7InvokerINS0_9BindStateIMN5media12PipelineImplEFvNS_9TimeDeltaEEJNS_7WeakPtrIS4_EES5_EEEFvvEE7RunOnceEPNS0_13BindStateBaseE
#5 0x55f1c5a662e0 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply()
#6 0x55f1c5a6df8e _ZN4base8internal7InvokerINS0_9BindStateIPFvNS_12_GLOBAL__N_121PostTaskAndReplyRelayEEJS4_EEEFvvEE7RunOnceEPNS0_13BindStateBaseE
#7 0x55f1c59b0135 base::debug::TaskAnnotator::RunTask()
#8 0x55f1c5a459a6 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl()
#9 0x55f1c59dad8a base::MessagePumpDefault::Run()
#10 0x55f1c5a461f9 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run()
#11 0x55f1c5a10b06 base::RunLoop::Run()
#12 0x55f1ca6d6374 content::GpuMain()
#13 0x55f1c546f7de content::ContentMainRunnerImpl::Run()
#14 0x55f1c54a4a56 service_manager::Main()
#15 0x55f1c546dba1 content::ContentMain()
#16 0x55f1c22871b3 ChromeMain
#17 0x7f22e9ae4223 __libc_start_main
#18 0x55f1c228702a _start
  r8: 0000000000000000  r9: 0000000000000080 r10: 00007ffeb8b9ab50 r11: 0022fe89bcb63108
 r12: 000016280c640688 r13: 000016280c5cf7e0 r14: 0000000000000000 r15: 00007ffeb8b9a750
  di: 00007ffeb8b9a750  si: 000016280c661ec0  bp: 00007ffeb8b9a8e0  bx: 0000000000000000
  dx: 000055f1c25e3170  ax: 00007ffeb8b9a778  cx: 000055f1c25e31a0  sp: 00007ffeb8b9a750
  ip: 000055f1c2d2909b efl: 0000000000010202 cgf: 002b000000000033 erf: 0000000000000005
 trp: 000000000000000e msk: 0000000000000000 cr2: ffffffffffffffc0
[end of stack trace]
Calling _exit(1). Core file will not be generated.
[9363:9363:0109/151225.946061:FATAL:wayland_buffer_manager.cc(386)] zwp_linux_buffer_params.create failed
#0 0x55cb2288a0af base::debug::StackTrace::StackTrace()
#1 0x55cb227bd4ca logging::LogMessage::~LogMessage()
#2 0x55cb1fb049be ui::WaylandBufferManager::CreateFailed()
#3 0x7f250c5676d0 ffi_call_unix64
#4 0x7f250c5670a0 ffi_call
#5 0x55cb23d16ed6 wl_closure_invoke
#6 0x55cb23d1586d dispatch_event
#7 0x55cb23d1541a wl_display_dispatch_queue_pending
#8 0x55cb23d14f41 wl_display_dispatch_queue
#9 0x55cb1fb0a033 ui::WaylandConnection::OnFileCanReadWithoutBlocking()
#10 0x55cb228b54e8 base::MessagePumpLibevent::OnLibeventNotification()
#11 0x55cb228c2f3d event_base_loop
#12 0x55cb228b572e base::MessagePumpLibevent::Run()
#13 0x55cb227cbc12 base::MessageLoopImpl::Run()
#14 0x55cb22803b06 base::RunLoop::Run()
#15 0x55cb222caa15 ChromeBrowserMainParts::MainMessageLoopRun()
#16 0x55cb2006eab4 content::BrowserMainLoop::RunMainMessageLoopParts()
#17 0x55cb20071033 content::BrowserMainRunnerImpl::Run()
#18 0x55cb2006b22b content::BrowserMain()
#19 0x55cb22262c28 content::ContentMainRunnerImpl::RunServiceManager()
#20 0x55cb222627f3 content::ContentMainRunnerImpl::Run()
#21 0x55cb22297a56 service_manager::Main()
#22 0x55cb22260ba1 content::ContentMain()
#23 0x55cb1f07a1b3 ChromeMain
#24 0x7f250c3a7223 __libc_start_main
#25 0x55cb1f07a02a _start

Received signal 6
#0 0x55cb2288a0af base::debug::StackTrace::StackTrace()
#1 0x55cb22889b81 base::debug::(anonymous namespace)::StackDumpSignalHandler()
#2 0x7f250da0a3c0 <unknown>
#3 0x7f250c3bad7f __GI_raise
#4 0x7f250c3a5672 __GI_abort
#5 0x55cb22888975 base::debug::BreakDebugger()
#6 0x55cb227bd6bc logging::LogMessage::~LogMessage()
#7 0x55cb1fb049be ui::WaylandBufferManager::CreateFailed()
#8 0x7f250c5676d0 ffi_call_unix64
#9 0x7f250c5670a0 ffi_call
#10 0x55cb23d16ed6 wl_closure_invoke
#11 0x55cb23d1586d dispatch_event
#12 0x55cb23d1541a wl_display_dispatch_queue_pending
#13 0x55cb23d14f41 wl_display_dispatch_queue
#14 0x55cb1fb0a033 ui::WaylandConnection::OnFileCanReadWithoutBlocking()
#15 0x55cb228b54e8 base::MessagePumpLibevent::OnLibeventNotification()
#16 0x55cb228c2f3d event_base_loop
#17 0x55cb228b572e base::MessagePumpLibevent::Run()
#18 0x55cb227cbc12 base::MessageLoopImpl::Run()
#19 0x55cb22803b06 base::RunLoop::Run()
#20 0x55cb222caa15 ChromeBrowserMainParts::MainMessageLoopRun()
#21 0x55cb2006eab4 content::BrowserMainLoop::RunMainMessageLoopParts()
#22 0x55cb20071033 content::BrowserMainRunnerImpl::Run()
#23 0x55cb2006b22b content::BrowserMain()
#24 0x55cb22262c28 content::ContentMainRunnerImpl::RunServiceManager()
#25 0x55cb222627f3 content::ContentMainRunnerImpl::Run()
#26 0x55cb22297a56 service_manager::Main()
#27 0x55cb22260ba1 content::ContentMain()
#28 0x55cb1f07a1b3 ChromeMain
#29 0x7f250c3a7223 __libc_start_main
#30 0x55cb1f07a02a _start
  r8: 0000000000000000  r9: 00007ffd5fba80d0 r10: 0000000000000008 r11: 0000000000000246
 r12: 00007ffd5fba8bc8 r13: 00007ffd5fba8380 r14: 00007ffd5fba8bc0 r15: 00007ffd5fba8bb8
  di: 0000000000000002  si: 00007ffd5fba80d0  bp: 00007ffd5fba8320  bx: 0000000000000006
  dx: 0000000000000000  ax: 0000000000000000  cx: 00007f250c3bad7f  sp: 00007ffd5fba80d0
  ip: 00007f250c3bad7f efl: 0000000000000246 cgf: 002b000000000033 erf: 0000000000000000
 trp: 0000000000000000 msk: 0000000000000000 cr2: 0000000000000000
[end of stack trace]
Calling _exit(1). Core file will not be generated.