I wasn't able to come up with a minimal example yet, but this was the reason of segfault in https://github.com/rust-lang/rust/pull/30095 Here's a patch fixing that segfault on 32 bit Linux - https://github.com/petrochenkov/rust/commit/b22567860df0e0dee6b157cb499ba0a3e9361d1f I.e. segfaults disappear when the deref coercion is not used. Update: Segfault reproduces on https://github.com/rust-lang/rust/tree/master if `impl<T> Deref for P<[T]>` is modified to use coercion (`fn deref(&self) -> &[T] { &self.ptr }`).