From: Matthew Dillon Date: Thu, 28 Jul 2011 23:20:33 +0000 (-0700) Subject: kernel - remove debugging print_backtrace() when a vkernel is killed X-Git-Tag: v2.12.0~274 X-Git-Url: http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/5fb4f156a8c394bdd558af7d5ffc80df76a43200 kernel - remove debugging print_backtrace() when a vkernel is killed * In certain cases a debugging print_backtrace() occurs when a vkernel is killed while one or more of its cpu threads is active. This can crash 64-bit systems. * Remove the call for now. --- diff --git a/sys/vm/vm_vmspace.c b/sys/vm/vm_vmspace.c index 13e0b65..d8b1854 100644 --- a/sys/vm/vm_vmspace.c +++ b/sys/vm/vm_vmspace.c @@ -678,7 +678,6 @@ vkernel_lwp_exit(struct lwp *lp) if ((ve = vklp->ve) != NULL) { kprintf("Warning, pid %d killed with " "active VC!\n", lp->lwp_proc->p_pid); - print_backtrace(-1); pmap_setlwpvm(lp, lp->lwp_proc->p_vmspace); vklp->ve = NULL; KKASSERT(ve->refs > 0);