grf cannot analyze the large core dump generated by gcore.

Open
#73 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Quiet
Tech stack
go
Domain
devtools

Research direction

Start by reproducing the failure with the reported gcore-generated kube-apiserver dump and the ./grf core kube-apiserver core.599019 -v 5 command. Investigate the repeated parametric-type and interface-resolution errors; done means grf can analyze this large core dump without those failures.

Written by the indexing model from the issue text.

Description

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.

Dominant language
Go
Stars
1k
Forks
49
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from cloudwego/goref

All issues in cloudwego/goref

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.