mirror of https://github.com/microsoft/WSL
Add WTI rule to detect usermode crashes (#13574)
This commit is contained in:
parent
05d6129c4f
commit
8540b2b6f5
|
|
@ -211,6 +211,15 @@ rules:
|
||||||
capture:
|
capture:
|
||||||
field1: error
|
field1: error
|
||||||
|
|
||||||
|
- logline:
|
||||||
|
provider: Microsoft.Windows.Lxss.Manager
|
||||||
|
task: LinuxCrash
|
||||||
|
set:
|
||||||
|
name: linux-crash
|
||||||
|
capture:
|
||||||
|
field3: linux-crash-path
|
||||||
|
field6: linux-crash-process
|
||||||
|
|
||||||
- logline:
|
- logline:
|
||||||
provider: Microsoft.Windows.Lxss.Manager
|
provider: Microsoft.Windows.Lxss.Manager
|
||||||
set: wsl-service-logs
|
set: wsl-service-logs
|
||||||
|
|
@ -256,6 +265,11 @@ actions:
|
||||||
debug_message: 'Detected user visible error: $error'
|
debug_message: 'Detected user visible error: $error'
|
||||||
skip_similar_issues: false
|
skip_similar_issues: false
|
||||||
|
|
||||||
|
- foreach:
|
||||||
|
var: linux-crash
|
||||||
|
debug_message: 'Found evidence of linux crash: $linux-crash-process (dump: $linux-crash-path)'
|
||||||
|
skip_similar_issues: false
|
||||||
|
|
||||||
- foreach:
|
- foreach:
|
||||||
var: disk-attach-error
|
var: disk-attach-error
|
||||||
debug_message: 'Found evidence of disk failing to attach. Error: $error, Path: $vhdpath'
|
debug_message: 'Found evidence of disk failing to attach. Error: $error, Path: $vhdpath'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue