Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Jul 2019 21:21:26 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 239053] kgdb -n ... does not work automatically with compressed core dumps
Message-ID:  <bug-239053-227@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 239053
           Summary: kgdb -n ... does not work automatically with
                    compressed core dumps
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: np@FreeBSD.org
                CC: markj@FreeBSD.org

When compressed core dumps are enabled the vmcore file is generated with a
.zst extension.  kgdb -n seems to have problems dealing with this.

# grep dump /etc/rc.conf
dumpdev=3D"AUTO"
dumpon_flags=3D"-Z"

# ls -l /var/crash
total 374612
-rw-r--r--  1 root  wheel          2 Jul  1 15:25 bounds
-rw-r--r--  1 root  wheel      81324 Jul  1 15:26 core.txt.3
-rw-------  1 root  wheel        449 Jul  1 15:25 info.3
lrwxr-xr-x  1 root  wheel          6 Jul  1 15:25 info.last@ -> info.3
-rw-r--r--  1 root  wheel          5 May 24 00:12 minfree
drwxr-xr-x  2 root  wheel          2 May 31 21:36 procs/
-rw-------  1 root  wheel  426533590 Jul  1 15:25 vmcore.3.zst
lrwxr-xr-x  1 root  wheel         12 Jul  1 15:25 vmcore.last.zst@ ->
vmcore.3.zst

# kgdb -n last
kgdb: /var/crash/vmcore.last: No such file or directory
# kgdb -n 3
kgdb: /var/crash/vmcore.3: No such file or directory
# kgdb -n last.zst
kgdb: /var/crash/info.last.zst: No such file or directory
kgdb: couldn't find a suitable kernel image

--=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-239053-227>