vm: restore stacktrace on SIGSEGV
This commit is contained in:
parent
51a3e84a97
commit
b258ab0e66
1 changed files with 1 additions and 0 deletions
|
@ -75,6 +75,7 @@ void do_pagefaults(message *m)
|
||||||
assert(PFERR_NOPAGE(err));
|
assert(PFERR_NOPAGE(err));
|
||||||
printf("VM: pagefault: SIGSEGV %d bad addr 0x%x; %s\n",
|
printf("VM: pagefault: SIGSEGV %d bad addr 0x%x; %s\n",
|
||||||
ep, addr, pf_errstr(err));
|
ep, addr, pf_errstr(err));
|
||||||
|
sys_sysctl_stacktrace(ep);
|
||||||
}
|
}
|
||||||
if((s=sys_kill(vmp->vm_endpoint, SIGSEGV)) != OK)
|
if((s=sys_kill(vmp->vm_endpoint, SIGSEGV)) != OK)
|
||||||
panic("sys_kill failed: %d", s);
|
panic("sys_kill failed: %d", s);
|
||||||
|
|
Loading…
Reference in a new issue