From: Ben Gras Date: Fri, 4 Jan 2013 18:30:12 +0000 (+0000) Subject: vm: restore stacktrace on SIGSEGV X-Git-Tag: v3.2.1~136 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/Bv9ARM.ch11.html?a=commitdiff_plain;h=b258ab0e6609eb97c9ff067b8bbb1a0388383565;p=minix.git vm: restore stacktrace on SIGSEGV --- diff --git a/servers/vm/pagefaults.c b/servers/vm/pagefaults.c index 97d9678da..acc497562 100644 --- a/servers/vm/pagefaults.c +++ b/servers/vm/pagefaults.c @@ -75,6 +75,7 @@ void do_pagefaults(message *m) assert(PFERR_NOPAGE(err)); printf("VM: pagefault: SIGSEGV %d bad addr 0x%x; %s\n", ep, addr, pf_errstr(err)); + sys_sysctl_stacktrace(ep); } if((s=sys_kill(vmp->vm_endpoint, SIGSEGV)) != OK) panic("sys_kill failed: %d", s);