HomeFreeBSD

On trap while inside ddb, the trap handler calls kdb_reenter(), that
rS163909Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

On trap while inside ddb, the trap handler calls kdb_reenter(), that
longjmp to the default context. As result, "alltrace" command may
be prematurely terminated (without error message). This is happens,
for instance, when system is low on memory and referenced page in
kernel-mode thread stack is swapped out.

Protect "alltrace" against termination on trap by setting temporary
kdb_jmpbuf context.

Submitted by: Peter Holm

Details

Provenance
kibAuthored on
Parents
rS163908: Bump .Dd for -f|-F.
Branches
Unknown
Tags
Unknown

Event Timeline