Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Nov 2006 11:47:38 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/ddb db_command.c
Message-ID:  <200611021147.kA2Bld9Q036266@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
kib         2006-11-02 11:47:38 UTC

  FreeBSD src repository

  Modified files:
    sys/ddb              db_command.c 
  Log:
  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
  
  Revision  Changes    Path
  1.72      +14 -6     src/sys/ddb/db_command.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611021147.kA2Bld9Q036266>