zed/crates/gpui
Conrad Irwin 391a61cdc2
Play guess who's to blame (#4078)
We're occasionally seeing a crash in MetalRenderer::draw.

Looking at the backtrace, it seems almost certainly to be happening in
the call to `ptr::copy_nonoverlapping` on line 604 (see `#Don't Panic!`
channel notes)

As we already have added bounds checking to the destination, it seems
most
likely (however improbable) that somehow we're getting an invalid Ptr
and
length from the SmallVec.

To try and make progress on this, let's try a Vec for a bit lest there
is a subtle issue in SmallVec (though I couldn't spot one).


Release Notes:

- (maybe) Fixes SEGFAULT in MetalRenderer::draw
2024-01-16 16:10:36 -07:00
..
docs Remove some todo!'s 2024-01-09 11:36:36 +02:00
src Play guess who's to blame (#4078) 2024-01-16 16:10:36 -07:00
tests Remove some todo!'s 2024-01-09 11:36:36 +02:00
build.rs Rebuild shader header when cbindgen sources have changed 2024-01-15 16:23:22 +01:00
Cargo.toml Revert "Use taffy to retrieve the parent for a given layout node" 2024-01-16 10:44:24 -05:00