Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Servo is crashing when resizing the window #29809

Open
atbrakhi opened this issue May 29, 2023 · 0 comments
Open

Servo is crashing when resizing the window #29809

atbrakhi opened this issue May 29, 2023 · 0 comments

Comments

@atbrakhi
Copy link
Member

atbrakhi commented May 29, 2023

Steps to reproduce:

Seems to be happening only in MacOS 13.2.1

2023-05-29 11:10:53.303 servo[26478:1139021] failed assertion !fbAttachment.getTexture(AttachmentType::Normal)->isMisalignedIOSurface() at line 149 in buildRenderPassDescriptor
Caught signal 6 in thread "WebGL"
   0: <servo::backtrace::Print as core::fmt::Debug>::fmt
   1: core::fmt::write
             at /rustc/dc1d9d50fba2f6a1ccab8748a0050cde38253f60/library/core/src/fmt/mod.rs:1232:17
   2: std::io::Write::write_fmt
   3: servo::backtrace::print
   4: servo::crash_handler::install::handler
   5: _OSAtomicTestAndClearBarrier
   6: __pthread_atfork_prepare_handlers
   7: <unknown>
   8: <unknown>
   9: __ZN13GLDContextRec25buildRenderPassDescriptorEv
  10: __ZN13GLDContextRec15beginRenderPassEv
  11: __ZN13GLDContextRec12flushContextEb
  12: std::thread::local::LocalKey<T>::with
  13: surfman::platform::macos::cgl::context::<impl surfman::platform::macos::cgl::device::Device>::unbind_surface_from_context
  14: surfman_chains::BackBuffer<Device>::take_surface
  15: surfman_chains::SwapChain<Device>::resize
  16: canvas::webgl_thread::WebGLThread::handle_msg
  17: canvas::webgl_thread::WebGLThread::process
  18: std::sys_common::backtrace::__rust_begin_short_backtrace
  19: core::ops::function::FnOnce::call_once{{vtable.shim}}
  20: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
             at /rustc/dc1d9d50fba2f6a1ccab8748a0050cde38253f60/library/alloc/src/boxed.rs:1988:9
      <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
             at /rustc/dc1d9d50fba2f6a1ccab8748a0050cde38253f60/library/alloc/src/boxed.rs:1988:9
      std::sys::unix::thread::Thread::new::thread_start
             at /rustc/dc1d9d50fba2f6a1ccab8748a0050cde38253f60/library/std/src/sys/unix/thread.rs:108:17
  21: __pthread_deallocate
Servo was terminated by signal 6

(seems to be happening with some other examples as well: http://twgljs.org/examples/textures.html)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant