Skip to content

panic: MESA: error: dri3_alloc_render_buffer:1634 xcb_dri3_pixmap_from_buffer[s] failed #596

@fred-wang

Description

@fred-wang

This seems a bit flaky

Reduced testcase (I haven't minimized manually):

<!DOCTYPE html>
<script>
function main() {try { x2.submit(); var v48 = window.frames;} catch (e) {}
try { v48.resizeBy(0,21285);} catch (e) {}
}
</script>
<body onload="main()">
<form id="x2" novalidate="nofollow" target="rtl">

System: Linux
Version: Servo 0.0.1-aac6aa6c7
Command: ./servo/servo

MESA: error: dri3_alloc_render_buffer:1634 xcb_dri3_pixmap_from_buffer[s] failed
MESA: error: X error: 11
Attempting to create a 1791x38453 window/document (thread main, at /home/runner/.cargo/git/checkouts/webrender-a8b399ecb6c2da85/428d64d/webrender/src/render_api.rs:1430)
   0: servoshell::backtrace::print
   1: servoshell::panic_hook::panic_hook
   2: std::panicking::rust_panic_with_hook
   3: std::panicking::begin_panic_handler::{{closure}}
   4: std::sys::backtrace::__rust_end_short_backtrace
   5: __rustc::rust_begin_unwind
   6: core::panicking::panic_fmt
   7: webrender::render_api::window_size_sanity_check
   8: servo::webview::WebView::resize
   9: core::ops::function::FnOnce::call_once{{vtable.shim}}
  10: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
  11: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
  12: egui::containers::frame::Frame::show_dyn
  13: egui::containers::panel::CentralPanel::show_inside_dyn
  14: egui::containers::panel::CentralPanel::show_dyn
  15: egui::context::Context::run
  16: servoshell::desktop::minibrowser::Minibrowser::update
  17: <servoshell::desktop::app::App as winit::application::ApplicationHandler<servoshell::desktop::events_loop::AppEvent>>::window_event
  18: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut
  19: winit::platform_impl::linux::x11::EventLoop<T>::drain_events::{{closure}}
  20: winit::platform_impl::linux::x11::event_processor::EventProcessor::process_xevent
  21: winit::platform_impl::linux::x11::EventLoop<T>::run_on_demand
  22: servoshell::main
  23: std::sys::backtrace::__rust_begin_short_backtrace
  24: main
  25: __libc_start_call_main
             at ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
  26: __libc_start_main_impl
             at ./csu/../csu/libc-start.c:360:3
  27: _start

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions