Details
-
Bug
-
Resolution: Fixed
-
P3
-
8, 9, 10, 11, 12, 13
-
b24
-
linux
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8216240 | 13 | Jini George | P3 | Resolved | Fixed | team |
JDK-8219722 | 11.0.4-oracle | Jini George | P3 | Resolved | Fixed | b01 |
JDK-8220439 | 11.0.4 | Unassigned | P3 | Resolved | Fixed | b01 |
JDK-8226247 | openjdk8u232 | Andrew Dinn | P3 | Resolved | Fixed | b01 |
JDK-8225043 | openjdk8u222 | Andrew Dinn | P3 | Resolved | Fixed | master |
JDK-8220007 | 8u222 | Jini George | P3 | Resolved | Fixed | master |
JDK-8219949 | 8u221 | Jini George | P3 | Resolved | Fixed | b01 |
JDK-8224283 | emb-8u221 | Unassigned | P3 | Resolved | Fixed | master |
Description
sun.jvm.hotspot.debugger.DebuggerException: Can't attach to the process:
ptrace(PTRACE_ATTACH, ..) failed for 1415: No such process
sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: Can't attach to the process: ptrace(PTRACE_ATTACH, ..) failed for 1415: No such process
at jdk.hotspot.agent/sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal$LinuxDebuggerLocalWorkerThread.execute(LinuxDebuggerLocal.java:163)
at jdk.hotspot.agent/sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.attach(LinuxDebuggerLocal.java:274)
at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.attachDebugger(HotSpotAgent.java:672)
at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.setupDebuggerLinux(HotSpotAgent.java:612)
at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.setupDebugger(HotSpotAgent.java:338)
at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.go(HotSpotAgent.java:305)
at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.attach(HotSpotAgent.java:141)
at jdk.hotspot.agent/sun.jvm.hotspot.CLHSDB.attachDebugger(CLHSDB.java:180)
at jdk.hotspot.agent/sun.jvm.hotspot.CLHSDB.run(CLHSDB.java:61)
at jdk.hotspot.agent/sun.jvm.hotspot.CLHSDB.main(CLHSDB.java:40)
at jdk.hotspot.agent/sun.jvm.hotspot.SALauncher.runCLHSDB(SALauncher.java:191)
at jdk.hotspot.agent/sun.jvm.hotspot.SALauncher.main(SALauncher.java:439)
Caused by: sun.jvm.hotspot.debugger.DebuggerException: Can't attach to the process: ptrace(PTRACE_ATTACH, ..) failed for 1415: No such process
at jdk.hotspot.agent/sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.attach0(Native Method)
at jdk.hotspot.agent/sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.access$100(LinuxDebuggerLocal.java:62)
at jdk.hotspot.agent/sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal$1AttachTask.doit(LinuxDebuggerLocal.java:265)
at jdk.hotspot.agent/sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal$LinuxDebuggerLocalWorkerThread.run(LinuxDebuggerLocal.java:138)
stdout: [ Command not valid until attached to a VM
];
stderr: [ Command not valid until attached to a VM
]
exitValue = -1
IT happens when thread finishes after SA read threads structure for process and before it tries to this pthread.
Attachments
Issue Links
- backported by
-
JDK-8216240 SA: Attach/detach might fail on Linux if debugee application create/destroy threads during attaching
- Resolved
-
JDK-8219722 SA: Attach/detach might fail on Linux if debugee application create/destroy threads during attaching
- Resolved
-
JDK-8219949 SA: Attach/detach might fail on Linux if debugee application create/destroy threads during attaching
- Resolved
-
JDK-8220007 SA: Attach/detach might fail on Linux if debugee application create/destroy threads during attaching
- Resolved
-
JDK-8220439 SA: Attach/detach might fail on Linux if debugee application create/destroy threads during attaching
- Resolved
-
JDK-8224283 SA: Attach/detach might fail on Linux if debugee application create/destroy threads during attaching
- Resolved
-
JDK-8225043 SA: Attach/detach might fail on Linux if debugee application create/destroy threads during attaching
- Resolved
-
JDK-8226247 SA: Attach/detach might fail on Linux if debugee application create/destroy threads during attaching
- Resolved
- relates to
-
JDK-8215247 SA: Further robustize the attach mechanism
- Closed
-
JDK-8215042 Umbrella bug for all SA failures in tier1
- Closed