Josh Matthews
Josh Matthews
#39629 should reduce the number of untracked allocations here, since we only create the font database once.
How to measure this: * use a branch based on https://github.com/servo/servo/pull/41066 * build servo with `./mach build --features servo_allocator/allocation-tracking` * run servo with `UNTRACKED_LOG_FILE=untracked ./mach run` * after the homepage...
To fix this: * make `ImageCache::memory_report` return `Vec` * update `ImageCacheImpl::memory_report` to return a new Report for the fontdb member (use `self.fontdb.conditional_size_of(ops)` for the measurement) * add an implementation of...
Yeah, that will require adding a new `evict_rasterized_image` method to the ImageCache trait which can be called from `unbind_from_tree` in https://github.com/servo/servo/blob/b207be05d9d0cab85f7c3959861e9697d5c054c7/components/script/dom/svg/svgsvgelement.rs#L208. The image cache can be retrieved from via `self.owner_window().image_cache()`.
I think your problem here is trying to use `./mach run` instead of running the servo binary directly. Mach [uses Popen.wait](https://github.com/servo/servo/blob/d47da6b09ef2b5db0d41228f9fde9000421d33ae/python/servo/command_base.py#L235), which I think will interact poorly with the outer...
That's an exciting panic: ``` │ [2025-11-06T13:18:35Z ERROR script::dom::bindings::error] Error at :0:0 InvalidAccessError: The object does not support the operation or argument. │ Trying to unregister unknown media controls (thread...
Try updating past gatreamer 1.24.9?
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/4146 may also be relevant, and it wasn't fixed until gstreamer 1.24.12. Now, Ubuntu 22.04 is Jammy Jellyfish (https://releases.ubuntu.com/jammy/), and https://launchpad.net/ubuntu/+source/gstreamer1.0 says that we're building with gstreamer 1.20.1 (assuming I'm...
If we are being held back by the gstreamer version available in Ubuntu LTS, we may need to look into building it ourselves: https://discourse.gstreamer.org/t/whats-the-best-way-to-update-gstreamer-on-ubuntu/2423/3
@TaiAurori Could you try the examples in https://github.com/servo/media/ to see if any of them trigger the same error? If so, that would make it much easier to provide a minimal...