Skip to content

grf cannot analyze the large core dump generated by gcore. #73

Description

@chenk008

Describe the bug

Using gcore to generate kube-apiserver coredump, grf failed to analyze.

To Reproduce

Steps to reproduce the behavior:

  1. Run kube-apiserver
  2. gcore ${pid}, the core.599019 is nearly 107G
  3. ./grf core kube-apiserver core.599019 -v 5
  4. See error
2026-05-20T11:45:42+08:00 info layer=debugger opening core file core.599019 (executable kube-apiserver)
2026-05-20T11:45:43+08:00 debug layer=debugger Adding target 599019 ""
2026-05-20T11:45:50+08:00 error layer=debugger could not resolve parametric type of waitingEntryByData: could not resolve interface type
2026-05-20T11:45:50+08:00 error layer=debugger could not resolve parametric type of waitingEntryByData: could not resolve interface type
2026-05-20T11:45:50+08:00 error layer=debugger could not resolve parametric type of waitingEntryByData: could not resolve interface type
2026-05-20T11:45:50+08:00 error layer=debugger could not resolve parametric type of waitingEntryByData: could not resolve interface type
2026-05-20T11:45:50+08:00 error layer=debugger could not resolve parametric type of waitingEntryByData: could not resolve interface type
2026-05-20T11:45:50+08:00 error layer=debugger could not resolve parametric type of waitingEntryByData: could not resolve interface type
2026-05-20T11:45:50+08:00 error layer=debugger could not resolve parametric type of s: parametric type without a dictionary
2026-05-20T11:45:50+08:00 error layer=debugger could not resolve parametric type of waitingEntryByData: could not resolve interface type
2026-05-20T11:45:50+08:00 error layer=debugger could not resolve parametric type of waitingEntryByData: could not resolve interface type
2026-05-20T11:45:50+08:00 error layer=debugger could not resolve parametric type of waitingEntryByData: could not resolve interface type
2026-05-20T11:45:50+08:00 error layer=debugger could not resolve parametric type of waitingEntryByData: could not resolve interface type
2026-05-20T11:45:50+08:00 error layer=debugger could not resolve parametric type of waitingEntryByData: could not resolve interface type
2026-05-20T11:45:50+08:00 error layer=debugger could not resolve parametric type of waitingEntryByData: could not resolve interface type
2026-05-20T11:45:50+08:00 error layer=debugger could not resolve parametric type of waitingEntryByData: could not resolve interface type
2026-05-20T11:45:50+08:00 error layer=debugger could not resolve parametric type of waitingEntryByData: could not resolve interface type
2026-05-20T11:45:50+08:00 error layer=debugger could not resolve parametric type of waitingEntryByData: could not resolve interface type
2026-05-20T11:45:50+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:50+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:50+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:50+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:51+08:00 error layer=debugger could not resolve parametric type of waitingEntryByData: could not resolve interface type
2026-05-20T11:45:51+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:51+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:51+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:51+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:51+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:51+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:51+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:51+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:51+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:51+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:51+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:51+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:51+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:51+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:51+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:51+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:51+08:00 error layer=debugger could not resolve parametric type of waitingEntryByData: could not resolve interface type
2026-05-20T11:45:51+08:00 error layer=debugger could not resolve parametric type of waitingEntryByData: could not resolve interface type
2026-05-20T11:45:51+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:51+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:51+08:00 error layer=debugger could not resolve parametric type of waitingEntryByData: could not resolve interface type
2026-05-20T11:45:51+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:51+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of waitingEntryByData: could not resolve interface type
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of waitingEntryByData: could not resolve interface type
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of waitingEntryByData: could not resolve interface type
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of waitingEntryByData: could not resolve interface type
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of waitingEntryByData: could not resolve interface type
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of waitingEntryByData: could not resolve interface type
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of waitingEntryByData: could not resolve interface type
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of waitingEntryByData: could not resolve interface type
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of waitingEntryByData: could not resolve interface type
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of waitingEntryByData: could not resolve interface type
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of waitingEntryByData: could not resolve interface type
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:52+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:53+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:53+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:53+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:53+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:53+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:53+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:53+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:53+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:53+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:53+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:53+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:53+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:53+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:53+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:53+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:53+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:53+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:53+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:53+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:53+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:53+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:53+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:53+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:53+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:53+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:53+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:53+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:53+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:53+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:53+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:53+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:53+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:53+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:53+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:53+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:53+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:53+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:53+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026-05-20T11:45:53+08:00 error layer=debugger could not resolve parametric type of q: parametric type without a dictionary
2026-05-20T11:45:53+08:00 error layer=debugger could not resolve parametric type of item: parametric type without a dictionary
2026/05/20 11:46:02 reference.go:614: successfully output to `grf.out`
2026-05-20T11:46:02+08:00 debug layer=debugger detaching
  1. go tool pprof show nothing

Expected behavior

go tool pprof will show the memory reference distribution of heap objects

Screenshots

If applicable, add screenshots to help explain your problem.

Goref version:

Please provide the version of goref you are using.

Environment:

The output of go env.

Additional context

Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions