Add a signal handler for SIGSEGV that reports the current thread name and backtrace.

This commit is contained in:
Josh Matthews 2016-05-31 17:13:15 -04:00
parent a5778fb5da
commit d4a5b45242
4 changed files with 50 additions and 1 deletions

7
ports/cef/Cargo.lock generated
View file

@ -1864,6 +1864,7 @@ name = "servo"
version = "0.0.1"
dependencies = [
"android_glue 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
"backtrace 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
"browserhtml 0.1.7 (git+https://github.com/browserhtml/browserhtml?branch=gh-pages)",
"canvas 0.0.1",
"canvas_traits 0.0.1",
@ -1888,6 +1889,7 @@ dependencies = [
"profile_traits 0.0.1",
"script 0.0.1",
"script_traits 0.0.1",
"sig 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"style 0.0.1",
"url 1.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"util 0.0.1",
@ -1997,6 +1999,11 @@ dependencies = [
"winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "sig"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "simd"
version = "0.1.0"