{"record":{"id":"18449223a4e944b1","repo":"go-delve/delve","slug":"stop-err-s-on-thread-d","errorCode":null,"errorMessage":"stop err %s on thread %d","messagePattern":"stop err (.+?) on thread (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"pkg/proc/native/threads_linux.go","lineNumber":26,"sourceCode":"\ntype waitStatus sys.WaitStatus\n\n// osSpecificDetails hold Linux specific\n// process details.\ntype osSpecificDetails struct {\n\tdelayedSignal       int\n\trunning             bool\n\tsetbp               bool\n\tphantomBreakpointPC uint64\n}\n\nfunc (t *nativeThread) stop() (err error) {\n\terr = sys.Tgkill(t.dbp.pid, t.ID, sys.SIGSTOP)\n\tif err != nil {\n\t\tif err == sys.ESRCH {\n\t\t\treturn\n\t\t}\n\t\terr = fmt.Errorf(\"stop err %s on thread %d\", err, t.ID)\n\t\treturn\n\t}\n\treturn\n}\n\n// Stopped returns whether the thread is stopped at\n// the operating system level.\nfunc (t *nativeThread) Stopped() bool {\n\tstate := status(t.ID, t.dbp.os.comm)\n\treturn state == statusTraceStop || state == statusTraceStopT\n}\n\nfunc (t *nativeThread) resume() error {\n\tsig := t.os.delayedSignal\n\tt.os.delayedSignal = 0\n\treturn t.resumeWithSig(sig)\n}\n","sourceCodeStart":8,"sourceCodeEnd":44,"githubUrl":"https://github.com/go-delve/delve/blob/a23773e6c31361e43246bc43a424ee009679b174/pkg/proc/native/threads_linux.go#L8-L44","documentation":"Error \"stop err %s on thread %d\" thrown in go-delve/delve.","triggerScenarios":"Thrown at pkg/proc/native/threads_linux.go:26 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"}