]> git.lizzy.rs Git - rust.git/commit
Auto merge of #45866 - JohnColanduoni:issue-45731, r=alexcrichton
authorbors <bors@rust-lang.org>
Wed, 8 Nov 2017 14:54:03 +0000 (14:54 +0000)
committerbors <bors@rust-lang.org>
Wed, 8 Nov 2017 14:54:03 +0000 (14:54 +0000)
commit6e2977499bc9075fcc50f03e155303db53583f90
tree2a4bcceee000885f2660113c5f6641a753d75ea6
parent4bb96f651964e9c21e6e1647febd10ce71b2554d
parent8581b59fb39b0072665de59b1a70e708b251d4b0
Auto merge of #45866 - JohnColanduoni:issue-45731, r=alexcrichton

Disable `mmap`  in `libbacktrace` on Apple platforms

Fixes #45731

libbacktrace uses mmap if available to map ranges of the files containing debug information. On macOS `mmap` will succeed even if the mapped range does not exist, and a SIGBUS (with an unusual EXC_BAD_ACCESS code 10) will occur when the program attempts to page in the memory. To combat this we force `libbacktrace` to be built with the simple `read` based fallback on Apple platforms.