8302226: failure_handler native.core should wait for coredump to finish
Reviewed-by: erikj
This commit is contained in:
parent
fef3eab9bd
commit
6120319afd
@ -54,8 +54,11 @@ native.stack.args.delimiter=\0
|
||||
native.stack.params.repeat=6
|
||||
|
||||
# has to be the last command
|
||||
native.core.app=kill
|
||||
native.core.args=-ABRT %p
|
||||
native.core.app=bash
|
||||
# The below trick was found on https://stackoverflow.com/a/41613532
|
||||
native.core.args=-c\0kill -ABRT %p && tail --pid=%p -f /dev/null
|
||||
native.core.args.delimiter=\0
|
||||
native.core.timeout=600000
|
||||
|
||||
cores=native.gdb
|
||||
native.gdb.app=gdb
|
||||
|
@ -62,8 +62,11 @@ native.stack.params.repeat=6
|
||||
native.stack.args=-c\0DevToolsSecurity --status | grep -q enabled && lldb -o 'attach %p' -o 'thread backtrace all' -o 'detach' -o 'quit'
|
||||
|
||||
# has to be the last command
|
||||
native.core.app=kill
|
||||
native.core.args=-ABRT %p
|
||||
native.core.app=bash
|
||||
# The below trick was found on https://stackoverflow.com/a/41613532
|
||||
native.core.args=-c\0kill -ABRT %p && lsof -p %p +r 1 &>/dev/null
|
||||
native.core.delimiter=\0
|
||||
native.core.timeout=600000
|
||||
|
||||
cores=native.lldb
|
||||
native.lldb.app=lldb
|
||||
|
Loading…
x
Reference in New Issue
Block a user