mirror of
https://github.com/microsoft/WSL.git
synced 2025-12-10 00:44:55 -06:00
Add WTI rule to detect usermode crashes (#13574)
This commit is contained in:
parent
05d6129c4f
commit
8540b2b6f5
@ -211,6 +211,15 @@ rules:
|
||||
capture:
|
||||
field1: error
|
||||
|
||||
- logline:
|
||||
provider: Microsoft.Windows.Lxss.Manager
|
||||
task: LinuxCrash
|
||||
set:
|
||||
name: linux-crash
|
||||
capture:
|
||||
field3: linux-crash-path
|
||||
field6: linux-crash-process
|
||||
|
||||
- logline:
|
||||
provider: Microsoft.Windows.Lxss.Manager
|
||||
set: wsl-service-logs
|
||||
@ -256,6 +265,11 @@ actions:
|
||||
debug_message: 'Detected user visible error: $error'
|
||||
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:
|
||||
var: disk-attach-error
|
||||
debug_message: 'Found evidence of disk failing to attach. Error: $error, Path: $vhdpath'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user