mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Attach more signals to the backtrace signal handler.
This commit is contained in:
parent
44ed0f29a4
commit
dda334968f
5 changed files with 8 additions and 5 deletions
|
@ -70,7 +70,10 @@ fn install_crash_handler() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
signal!(Sig::SEGV, handler);
|
signal!(Sig::SEGV, handler); // handle segfaults
|
||||||
|
signal!(Sig::ILL, handler); // handle stack overflow and unsupported CPUs
|
||||||
|
signal!(Sig::IOT, handler); // handle double panics
|
||||||
|
signal!(Sig::BUS, handler); // handle invalid memory access
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(target_os = "android")]
|
#[cfg(target_os = "android")]
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[readPixelsBadArgs.html]
|
[readPixelsBadArgs.html]
|
||||||
type: testharness
|
type: testharness
|
||||||
expected: CRASH
|
expected: TIMEOUT
|
||||||
[WebGL test #0: testReadPixels]
|
[WebGL test #0: testReadPixels]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[read-pixels-pack-alignment.html]
|
[read-pixels-pack-alignment.html]
|
||||||
type: testharness
|
type: testharness
|
||||||
expected: CRASH
|
expected: TIMEOUT
|
||||||
[WebGL test #3: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).]
|
[WebGL test #3: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
[draw-arrays-out-of-bounds.html]
|
[draw-arrays-out-of-bounds.html]
|
||||||
type: testharness
|
type: testharness
|
||||||
expected: CRASH
|
expected: TIMEOUT
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
[draw-elements-out-of-bounds.html]
|
[draw-elements-out-of-bounds.html]
|
||||||
type: testharness
|
type: testharness
|
||||||
expected: CRASH
|
expected: TIMEOUT
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue