Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Sep 2020 16:43:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 249067] coredumps include whole maps
Message-ID:  <bug-249067-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249067

            Bug ID: 249067
           Summary: coredumps include whole maps
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: brooks@FreeBSD.org

FreeBSD coredumps dump whole apps even when most pages haven't been touched=
.=20
Modern allocators often allocate very large regions of VA e.g. with 1GiB-10=
0GiB
mmaps rather than making repeated calls to mmap. When such processes dump c=
ore
the whole map gets dumped even though it's nearly all unmapped pages.  Linux
breaks such maps into a set of PT_LOADs where unbacked anonymous pages aren=
't
present in the file.

We ran into this on a very slow riscv (100MHz FPGA with very slow disk), bu=
t we
believe it effects everyone.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-249067-227>