go-delve/delve · error
parametric type without a dictionary
Error message
parametric type without a dictionary
What it means
Error "parametric type without a dictionary" thrown in go-delve/delve.
Source
Thrown at pkg/proc/types.go:114
return nil, false, fmt.Errorf("invalid interface type: %v", err)
}
return typ, getRuntimeTypeDirect(_type), nil
}
}
}
return nil, false, errors.New("could not resolve interface type")
}
// resolveParametricType returns the real type of t if t is a parametric
// type, by reading the correct dictionary entry.
func resolveParametricType(bi *BinaryInfo, mem MemoryReadWriter, t godwarf.Type, dictAddr uint64) (godwarf.Type, error) {
ptyp, _ := t.(*godwarf.ParametricType)
if ptyp == nil {
return t, nil
}
if dictAddr == 0 {
return ptyp.TypedefType.Type, errors.New("parametric type without a dictionary")
}
rtypeAddr, err := readUintRaw(mem, dictAddr+uint64(ptyp.DictIndex*int64(bi.Arch.PtrSize())), int64(bi.Arch.PtrSize()))
if err != nil {
return ptyp.TypedefType.Type, err
}
runtimeType, err := bi.findType(bi.runtimeTypeTypename())
if err != nil {
return ptyp.TypedefType.Type, err
}
_type := newVariable("", rtypeAddr, runtimeType, bi, mem)
mds, err := bi.getModuleData(_type.mem)
if err != nil {
return ptyp.TypedefType.Type, err
}
typ, _, err := RuntimeTypeToDIE(_type, 0, mds)
if err != nil {View on GitHub (pinned to a23773e6c3)
When it happens
Trigger: Thrown at pkg/proc/types.go:114 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of go-delve/delve@a23773e6c3 (2026-08-31).
Data as JSON: /api/errors/5da390a7a06721f1.
Report an issue: GitHub.