{"record":{"id":"5341e02160bff6e1","repo":"go-delve/delve","slug":"can-not-pin-address-v","errorCode":null,"errorMessage":"can not pin address: %v","messagePattern":"can not pin address: (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"pkg/proc/eval.go","lineNumber":1308,"sourceCode":"\t\tscope.convertAllocToString(stack)\n\n\tcase *evalop.SetValue:\n\t\tlhv := stack.pop()\n\t\trhv := stack.pop()\n\t\tstack.err = scope.setValue(lhv, rhv, astutil.ExprToString(op.Rhe))\n\n\tcase *evalop.PushPinAddress:\n\t\tdebugPinCount++\n\t\tfncall := stack.fncallPeek()\n\t\taddrToPin := fncall.addrsToPin[len(fncall.addrsToPin)-1]\n\t\tfncall.addrsToPin = fncall.addrsToPin[:len(fncall.addrsToPin)-1]\n\t\ttyp, err := scope.BinInfo.findType(\"unsafe.Pointer\")\n\t\tif ptyp, ok := typ.(*godwarf.PtrType); err == nil && ok {\n\t\t\tv := newVariable(\"\", 0, typ, scope.BinInfo, scope.Mem)\n\t\t\tv.Children = []Variable{*(newVariable(\"\", uint64(addrToPin), ptyp.Type, scope.BinInfo, scope.Mem))}\n\t\t\tstack.push(v)\n\t\t} else {\n\t\t\tstack.err = fmt.Errorf(\"can not pin address: %v\", err)\n\t\t}\n\n\tcase *evalop.SetDebugPinner:\n\t\tstack.debugPinner = stack.pop()\n\n\tcase *evalop.PushDebugPinner:\n\t\tstack.push(stack.debugPinner)\n\n\tcase *evalop.PushBreakpointHitCount:\n\t\tstack.push(newVariable(evalop.BreakpointHitCountVarNameQualified, fakeAddressUnresolv, godwarf.FakeSliceType(godwarf.FakeBasicType(\"uint\", 64)), scope.BinInfo, scope.Mem))\n\n\tcase *evalop.PushRuntimeType:\n\t\ttypeAddr, _, _, err := dwarfToRuntimeType(scope.BinInfo, scope.Mem, op.Type)\n\t\tif err != nil {\n\t\t\tstack.err = err\n\t\t\tbreak\n\t\t}\n\t\trttyp, err := scope.BinInfo.findType(scope.BinInfo.runtimeTypeTypename())","sourceCodeStart":1290,"sourceCodeEnd":1326,"githubUrl":"https://github.com/go-delve/delve/blob/a23773e6c31361e43246bc43a424ee009679b174/pkg/proc/eval.go#L1290-L1326","documentation":"Error \"can not pin address: %v\" thrown in go-delve/delve.","triggerScenarios":"Thrown at pkg/proc/eval.go:1308 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"a23773e6c31361e43246bc43a424ee009679b174","analyzedAt":"2026-08-31T15:12:45.221Z","schemaVersion":2},"datasetVersion":"2026-08-31T19:17:28.585Z"}