]> Zhao Yanbai Git Server - minix.git/commitdiff
vm: restore stacktrace on SIGSEGV
authorBen Gras <ben@minix3.org>
Fri, 4 Jan 2013 18:30:12 +0000 (18:30 +0000)
committerBen Gras <ben@minix3.org>
Tue, 8 Jan 2013 15:47:37 +0000 (15:47 +0000)
servers/vm/pagefaults.c

index 97d9678da4d7290b2893b18df885a175acc06103..acc497562ac5493d3cd92d3f96d6f682fff79b7e 100644 (file)
@@ -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);