On Thu, Jan 17, 2019 at 09:52:17PM +0100, Kamil Rytarowski wrote: > The problem is that when we are in coredump_getseghdrs_elf64() and call > copyin_proc() -> copyin_vmspace() -> copyin() we trigger a trap that is > translated through trap() -> ... -> genfs_getpages() to EINVAL as there > are no pages assigned to a mamory address.
This is normal behaviour and uvm should assign an empty page at that point. Why is that not working - i.e. what is special about this situation? Martin