go-delve/delve · error
internal debugger error: CallInjectionComplete2 called when
Error message
internal debugger error: CallInjectionComplete2 called when there still are addresses to pin
What it means
Error "internal debugger error: CallInjectionComplete2 called when there still are addresses to pin" thrown in go-delve/delve.
Source
Thrown at pkg/proc/eval.go:1275
if actualArg.Name == "" {
actualArg.Name = astutil.ExprToString(op.ArgExpr)
}
stack.err = funcCallCopyOneArg(scope, fncall, actualArg, &fncall.formalArgs[op.ArgNum], curthread)
case *evalop.CallInjectionComplete:
fncall := stack.fncallPeek()
fncall.doPinning = op.DoPinning
if op.DoPinning {
fncall.undoInjection.doComplete2 = true
} else {
fncall.undoInjection = nil
}
stack.callInjectionContinue = true
case *evalop.CallInjectionComplete2:
fncall := stack.fncallPeek()
if len(fncall.addrsToPin) != 0 {
stack.err = fmt.Errorf("internal debugger error: CallInjectionComplete2 called when there still are addresses to pin")
}
fncall.undoInjection = nil
regs, err := curthread.Registers()
if err == nil {
callInjectionComplete2(scope, scope.BinInfo, fncall, regs, curthread)
stack.callInjectionContinue = true
} else {
stack.err = err
}
case *evalop.CallInjectionStartSpecial:
stack.callInjectionContinue = scope.callInjectionStartSpecial(stack, op, curthread)
case *evalop.ConvertAllocToString:
scope.convertAllocToString(stack)
case *evalop.SetValue:
lhv := stack.pop()View on GitHub (pinned to a23773e6c3)
When it happens
Trigger: Thrown at pkg/proc/eval.go:1275 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/08b795d38d375559.
Report an issue: GitHub.