mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-29 06:33:52 +03:00
391a61cdc2
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 |
||
---|---|---|
.. | ||
docs | ||
src | ||
tests | ||
build.rs | ||
Cargo.toml |