Date: Mon, 6 Apr 2015 14:40:57 +0200 From: Johannes Dieterich <dieterich.joh@gmail.com> To: Jung-uk Kim <jkim@freebsd.org>, freebsd-java@freebsd.org Subject: Re: dtrace, jstack and lang/openjdk7 or 8 Message-ID: <CABquGzXwotmUW-kU0dkAWQyBPATqAo-v27eeoXG4t_=66b3X9A@mail.gmail.com> In-Reply-To: <55146F51.3030404@FreeBSD.org> References: <CABquGzWu7Y2v80D8EOfQ8QR9T_hCb9T9t6a%2BkjissxEsKbjLCA@mail.gmail.com> <55146F51.3030404@FreeBSD.org>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] Hi, sorry for the late response! On Thu, Mar 26, 2015 at 9:42 PM, Jung-uk Kim <jkim@freebsd.org> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > On 03/25/2015 19:02, Johannes Dieterich wrote: >> Hi, >> >> I am currently trying to get dtrace to work with either >> java/openjdk7 or java/openjdk8 (as per Brendan Gregg's howto: >> http://www.brendangregg.com/blog/2014-06-12/java-flame-graphs.html). >> >> Unfortunately, I get exactly what he describes: I am missing >> everything inside the JVM. I suspect this has to do with jstack() >> not working. The bundled jstack executable (yes, I know that they >> are only vaguely related) also seems to work only so-so. Basically, >> I can get a working stack trace without a variable, with -l, but >> not with -m, and not with -F. It causes exceptions like this: >> >> $ /usr/local/openjdk7/bin/jstack -m 84749 > ... >> So, what I am asking is: anybody out there got a working setup for >> dtrace+openjdk on FreeBSD? If so, it would be fantastic if you >> could post the necessary steps! > > jstack from java/openjdk8 works fine AFAICT. Unfortunately, dtrace is > unimplemented for FreeBSD. I did a bit of research and found this in the hotspot sources: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/file/87ee5ee27509/src/os/bsd/dtrace/jhelper.d . Do I interpret this (and the entire directory) correctly that there are at least the stubs available in openJDK8? Is so, what is missing for dtrace to work? > BTW, 'jstack -m <pid>' is invalid command, i.e., it does not work with > a running process. You need to set '-F' option to force it. > > % /usr/local/openjdk8/bin/jstack > Usage: > jstack [-l] <pid> > (to connect to running process) > jstack -F [-m] [-l] <pid> > (to connect to a hung process) > jstack [-m] [-l] <executable> <core> > (to connect to a core file) > jstack [-m] [-l] [server_id@]<remote server IP or hostname> > (to connect to a remote debug server) > > Options: > -F to force a thread dump. Use when jstack <pid> does not respond > (process is hung) > -m to print both java and native frames (mixed mode) > -l long listing. Prints additional information about locks > -h or -help to print this help message Thanks, it seems Dmitry below thinks -m should imply -F (so did I). Indeed, jstack -m -F $PID also throws a stack for me. I attached the full one, in case it helps? Thanks again for all the responses! Johannes > Jung-uk Kim > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2 > > iQEcBAEBCAAGBQJVFG9MAAoJEHyflib82/FG4F0H/3Z+5fTXMzQYBCeWGMZicjMB > 092HOaXctRZ5P+I5HZO199bfFLffV6Pu1pd2/jjguOqkmF4eVL6AXwQBglg19RPs > BEwhSLRLhuWc11XyikE2RG3PvvDRvhXl6AeqtKkcUi4LedjS3BlqmlGpTorJzpO3 > OqarnzGMyAHPS5QxPPUcASG4B+la6o1sVn94UiynUWnd3yXTe4uE4Ed4YeV2oBXh > BGVLhTdsWoamNpMwX9JrOMNwRPahYpoDCjeC2jlKPGPCXQiTWthlupLidXuKUI/a > OJi+VSAzNPMx5s1p2JSKwAp+tT6oX8BaFK0zA+J6cyBcBqqbWvA6LV+v9f8c/5A= > =x1pC > -----END PGP SIGNATURE----- [-- Attachment #2 --] Attaching to process ID 83086, please wait... Debugger attached successfully. Server compiler detected. JVM version is 25.40-b25 sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$BsdDebuggerLocalWorkerThread.execute(BsdDebuggerLocal.java:169) at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.getThreadIntegerRegisterSet(BsdDebuggerLocal.java:497) at sun.jvm.hotspot.debugger.bsd.BsdThread.getContext(BsdThread.java:68) at sun.jvm.hotspot.runtime.bsd_amd64.BsdAMD64JavaThreadPDAccess.getCurrentFrameGuess(BsdAMD64JavaThreadPDAccess.java:97) at sun.jvm.hotspot.runtime.JavaThread.getCurrentFrameGuess(JavaThread.java:256) at sun.jvm.hotspot.runtime.JavaThread.getLastJavaVFrameDbg(JavaThread.java:218) at sun.jvm.hotspot.tools.PStack.initJFrameCache(PStack.java:203) at sun.jvm.hotspot.tools.PStack.run(PStack.java:71) at sun.jvm.hotspot.tools.PStack.run(PStack.java:58) at sun.jvm.hotspot.tools.PStack.run(PStack.java:53) at sun.jvm.hotspot.tools.JStack.run(JStack.java:66) at sun.jvm.hotspot.tools.Tool.startInternal(Tool.java:260) at sun.jvm.hotspot.tools.Tool.start(Tool.java:223) at sun.jvm.hotspot.tools.Tool.execute(Tool.java:118) at sun.jvm.hotspot.tools.JStack.main(JStack.java:92) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at sun.tools.jstack.JStack.runJStackTool(JStack.java:140) at sun.tools.jstack.JStack.main(JStack.java:106) Caused by: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.getThreadIntegerRegisterSet0(Native Method) at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.access$800(BsdDebuggerLocal.java:65) at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$1GetThreadIntegerRegisterSetTask.doit(BsdDebuggerLocal.java:491) at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$BsdDebuggerLocalWorkerThread.run(BsdDebuggerLocal.java:144) sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$BsdDebuggerLocalWorkerThread.execute(BsdDebuggerLocal.java:169) at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.getThreadIntegerRegisterSet(BsdDebuggerLocal.java:497) at sun.jvm.hotspot.debugger.bsd.BsdThread.getContext(BsdThread.java:68) at sun.jvm.hotspot.runtime.bsd_amd64.BsdAMD64JavaThreadPDAccess.getCurrentFrameGuess(BsdAMD64JavaThreadPDAccess.java:97) at sun.jvm.hotspot.runtime.JavaThread.getCurrentFrameGuess(JavaThread.java:256) at sun.jvm.hotspot.runtime.JavaThread.getLastJavaVFrameDbg(JavaThread.java:218) at sun.jvm.hotspot.tools.PStack.initJFrameCache(PStack.java:203) at sun.jvm.hotspot.tools.PStack.run(PStack.java:71) at sun.jvm.hotspot.tools.PStack.run(PStack.java:58) at sun.jvm.hotspot.tools.PStack.run(PStack.java:53) at sun.jvm.hotspot.tools.JStack.run(JStack.java:66) at sun.jvm.hotspot.tools.Tool.startInternal(Tool.java:260) at sun.jvm.hotspot.tools.Tool.start(Tool.java:223) at sun.jvm.hotspot.tools.Tool.execute(Tool.java:118) at sun.jvm.hotspot.tools.JStack.main(JStack.java:92) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at sun.tools.jstack.JStack.runJStackTool(JStack.java:140) at sun.tools.jstack.JStack.main(JStack.java:106) Caused by: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.getThreadIntegerRegisterSet0(Native Method) at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.access$800(BsdDebuggerLocal.java:65) at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$1GetThreadIntegerRegisterSetTask.doit(BsdDebuggerLocal.java:491) at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$BsdDebuggerLocalWorkerThread.run(BsdDebuggerLocal.java:144) sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$BsdDebuggerLocalWorkerThread.execute(BsdDebuggerLocal.java:169) at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.getThreadIntegerRegisterSet(BsdDebuggerLocal.java:497) at sun.jvm.hotspot.debugger.bsd.BsdThread.getContext(BsdThread.java:68) at sun.jvm.hotspot.runtime.bsd_amd64.BsdAMD64JavaThreadPDAccess.getCurrentFrameGuess(BsdAMD64JavaThreadPDAccess.java:97) at sun.jvm.hotspot.runtime.JavaThread.getCurrentFrameGuess(JavaThread.java:256) at sun.jvm.hotspot.runtime.JavaThread.getLastJavaVFrameDbg(JavaThread.java:218) at sun.jvm.hotspot.tools.PStack.initJFrameCache(PStack.java:203) at sun.jvm.hotspot.tools.PStack.run(PStack.java:71) at sun.jvm.hotspot.tools.PStack.run(PStack.java:58) at sun.jvm.hotspot.tools.PStack.run(PStack.java:53) at sun.jvm.hotspot.tools.JStack.run(JStack.java:66) at sun.jvm.hotspot.tools.Tool.startInternal(Tool.java:260) at sun.jvm.hotspot.tools.Tool.start(Tool.java:223) at sun.jvm.hotspot.tools.Tool.execute(Tool.java:118) at sun.jvm.hotspot.tools.JStack.main(JStack.java:92) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at sun.tools.jstack.JStack.runJStackTool(JStack.java:140) at sun.tools.jstack.JStack.main(JStack.java:106) Caused by: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.getThreadIntegerRegisterSet0(Native Method) at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.access$800(BsdDebuggerLocal.java:65) at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$1GetThreadIntegerRegisterSetTask.doit(BsdDebuggerLocal.java:491) at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$BsdDebuggerLocalWorkerThread.run(BsdDebuggerLocal.java:144) sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$BsdDebuggerLocalWorkerThread.execute(BsdDebuggerLocal.java:169) at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.getThreadIntegerRegisterSet(BsdDebuggerLocal.java:497) at sun.jvm.hotspot.debugger.bsd.BsdThread.getContext(BsdThread.java:68) at sun.jvm.hotspot.runtime.bsd_amd64.BsdAMD64JavaThreadPDAccess.getCurrentFrameGuess(BsdAMD64JavaThreadPDAccess.java:97) at sun.jvm.hotspot.runtime.JavaThread.getCurrentFrameGuess(JavaThread.java:256) at sun.jvm.hotspot.runtime.JavaThread.getLastJavaVFrameDbg(JavaThread.java:218) at sun.jvm.hotspot.tools.PStack.initJFrameCache(PStack.java:203) at sun.jvm.hotspot.tools.PStack.run(PStack.java:71) at sun.jvm.hotspot.tools.PStack.run(PStack.java:58) at sun.jvm.hotspot.tools.PStack.run(PStack.java:53) at sun.jvm.hotspot.tools.JStack.run(JStack.java:66) at sun.jvm.hotspot.tools.Tool.startInternal(Tool.java:260) at sun.jvm.hotspot.tools.Tool.start(Tool.java:223) at sun.jvm.hotspot.tools.Tool.execute(Tool.java:118) at sun.jvm.hotspot.tools.JStack.main(JStack.java:92) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at sun.tools.jstack.JStack.runJStackTool(JStack.java:140) at sun.tools.jstack.JStack.main(JStack.java:106) Caused by: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.getThreadIntegerRegisterSet0(Native Method) at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.access$800(BsdDebuggerLocal.java:65) at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$1GetThreadIntegerRegisterSetTask.doit(BsdDebuggerLocal.java:491) at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$BsdDebuggerLocalWorkerThread.run(BsdDebuggerLocal.java:144) sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$BsdDebuggerLocalWorkerThread.execute(BsdDebuggerLocal.java:169) at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.getThreadIntegerRegisterSet(BsdDebuggerLocal.java:497) at sun.jvm.hotspot.debugger.bsd.BsdThread.getContext(BsdThread.java:68) at sun.jvm.hotspot.runtime.bsd_amd64.BsdAMD64JavaThreadPDAccess.getCurrentFrameGuess(BsdAMD64JavaThreadPDAccess.java:97) at sun.jvm.hotspot.runtime.JavaThread.getCurrentFrameGuess(JavaThread.java:256) at sun.jvm.hotspot.runtime.JavaThread.getLastJavaVFrameDbg(JavaThread.java:218) at sun.jvm.hotspot.tools.PStack.initJFrameCache(PStack.java:203) at sun.jvm.hotspot.tools.PStack.run(PStack.java:71) at sun.jvm.hotspot.tools.PStack.run(PStack.java:58) at sun.jvm.hotspot.tools.PStack.run(PStack.java:53) at sun.jvm.hotspot.tools.JStack.run(JStack.java:66) at sun.jvm.hotspot.tools.Tool.startInternal(Tool.java:260) at sun.jvm.hotspot.tools.Tool.start(Tool.java:223) at sun.jvm.hotspot.tools.Tool.execute(Tool.java:118) at sun.jvm.hotspot.tools.JStack.main(JStack.java:92) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at sun.tools.jstack.JStack.runJStackTool(JStack.java:140) at sun.tools.jstack.JStack.main(JStack.java:106) Caused by: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.getThreadIntegerRegisterSet0(Native Method) at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.access$800(BsdDebuggerLocal.java:65) at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$1GetThreadIntegerRegisterSetTask.doit(BsdDebuggerLocal.java:491) at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$BsdDebuggerLocalWorkerThread.run(BsdDebuggerLocal.java:144) sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$BsdDebuggerLocalWorkerThread.execute(BsdDebuggerLocal.java:169) at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.getThreadIntegerRegisterSet(BsdDebuggerLocal.java:497) at sun.jvm.hotspot.debugger.bsd.BsdThread.getContext(BsdThread.java:68) at sun.jvm.hotspot.runtime.bsd_amd64.BsdAMD64JavaThreadPDAccess.getCurrentFrameGuess(BsdAMD64JavaThreadPDAccess.java:97) at sun.jvm.hotspot.runtime.JavaThread.getCurrentFrameGuess(JavaThread.java:256) at sun.jvm.hotspot.runtime.JavaThread.getLastJavaVFrameDbg(JavaThread.java:218) at sun.jvm.hotspot.tools.PStack.initJFrameCache(PStack.java:203) at sun.jvm.hotspot.tools.PStack.run(PStack.java:71) at sun.jvm.hotspot.tools.PStack.run(PStack.java:58) at sun.jvm.hotspot.tools.PStack.run(PStack.java:53) at sun.jvm.hotspot.tools.JStack.run(JStack.java:66) at sun.jvm.hotspot.tools.Tool.startInternal(Tool.java:260) at sun.jvm.hotspot.tools.Tool.start(Tool.java:223) at sun.jvm.hotspot.tools.Tool.execute(Tool.java:118) at sun.jvm.hotspot.tools.JStack.main(JStack.java:92) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at sun.tools.jstack.JStack.runJStackTool(JStack.java:140) at sun.tools.jstack.JStack.main(JStack.java:106) Caused by: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.getThreadIntegerRegisterSet0(Native Method) at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.access$800(BsdDebuggerLocal.java:65) at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$1GetThreadIntegerRegisterSetTask.doit(BsdDebuggerLocal.java:491) at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$BsdDebuggerLocalWorkerThread.run(BsdDebuggerLocal.java:144) sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$BsdDebuggerLocalWorkerThread.execute(BsdDebuggerLocal.java:169) at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.getThreadIntegerRegisterSet(BsdDebuggerLocal.java:497) at sun.jvm.hotspot.debugger.bsd.BsdThread.getContext(BsdThread.java:68) at sun.jvm.hotspot.runtime.bsd_amd64.BsdAMD64JavaThreadPDAccess.getCurrentFrameGuess(BsdAMD64JavaThreadPDAccess.java:97) at sun.jvm.hotspot.runtime.JavaThread.getCurrentFrameGuess(JavaThread.java:256) at sun.jvm.hotspot.runtime.JavaThread.getLastJavaVFrameDbg(JavaThread.java:218) at sun.jvm.hotspot.tools.PStack.initJFrameCache(PStack.java:203) at sun.jvm.hotspot.tools.PStack.run(PStack.java:71) at sun.jvm.hotspot.tools.PStack.run(PStack.java:58) at sun.jvm.hotspot.tools.PStack.run(PStack.java:53) at sun.jvm.hotspot.tools.JStack.run(JStack.java:66) at sun.jvm.hotspot.tools.Tool.startInternal(Tool.java:260) at sun.jvm.hotspot.tools.Tool.start(Tool.java:223) at sun.jvm.hotspot.tools.Tool.execute(Tool.java:118) at sun.jvm.hotspot.tools.JStack.main(JStack.java:92) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at sun.tools.jstack.JStack.runJStackTool(JStack.java:140) at sun.tools.jstack.JStack.main(JStack.java:106) Caused by: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.getThreadIntegerRegisterSet0(Native Method) at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.access$800(BsdDebuggerLocal.java:65) at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$1GetThreadIntegerRegisterSetTask.doit(BsdDebuggerLocal.java:491) at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$BsdDebuggerLocalWorkerThread.run(BsdDebuggerLocal.java:144) sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$BsdDebuggerLocalWorkerThread.execute(BsdDebuggerLocal.java:169) at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.getThreadIntegerRegisterSet(BsdDebuggerLocal.java:497) at sun.jvm.hotspot.debugger.bsd.BsdThread.getContext(BsdThread.java:68) at sun.jvm.hotspot.runtime.bsd_amd64.BsdAMD64JavaThreadPDAccess.getCurrentFrameGuess(BsdAMD64JavaThreadPDAccess.java:97) at sun.jvm.hotspot.runtime.JavaThread.getCurrentFrameGuess(JavaThread.java:256) at sun.jvm.hotspot.runtime.JavaThread.getLastJavaVFrameDbg(JavaThread.java:218) at sun.jvm.hotspot.tools.PStack.initJFrameCache(PStack.java:203) at sun.jvm.hotspot.tools.PStack.run(PStack.java:71) at sun.jvm.hotspot.tools.PStack.run(PStack.java:58) at sun.jvm.hotspot.tools.PStack.run(PStack.java:53) at sun.jvm.hotspot.tools.JStack.run(JStack.java:66) at sun.jvm.hotspot.tools.Tool.startInternal(Tool.java:260) at sun.jvm.hotspot.tools.Tool.start(Tool.java:223) at sun.jvm.hotspot.tools.Tool.execute(Tool.java:118) at sun.jvm.hotspot.tools.JStack.main(JStack.java:92) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at sun.tools.jstack.JStack.runJStackTool(JStack.java:140) at sun.tools.jstack.JStack.main(JStack.java:106) Caused by: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.getThreadIntegerRegisterSet0(Native Method) at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.access$800(BsdDebuggerLocal.java:65) at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$1GetThreadIntegerRegisterSetTask.doit(BsdDebuggerLocal.java:491) at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$BsdDebuggerLocalWorkerThread.run(BsdDebuggerLocal.java:144) sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$BsdDebuggerLocalWorkerThread.execute(BsdDebuggerLocal.java:169) at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.getThreadIntegerRegisterSet(BsdDebuggerLocal.java:497) at sun.jvm.hotspot.debugger.bsd.BsdThread.getContext(BsdThread.java:68) at sun.jvm.hotspot.runtime.bsd_amd64.BsdAMD64JavaThreadPDAccess.getCurrentFrameGuess(BsdAMD64JavaThreadPDAccess.java:97) at sun.jvm.hotspot.runtime.JavaThread.getCurrentFrameGuess(JavaThread.java:256) at sun.jvm.hotspot.runtime.JavaThread.getLastJavaVFrameDbg(JavaThread.java:218) at sun.jvm.hotspot.tools.PStack.initJFrameCache(PStack.java:203) at sun.jvm.hotspot.tools.PStack.run(PStack.java:71) at sun.jvm.hotspot.tools.PStack.run(PStack.java:58) at sun.jvm.hotspot.tools.PStack.run(PStack.java:53) at sun.jvm.hotspot.tools.JStack.run(JStack.java:66) at sun.jvm.hotspot.tools.Tool.startInternal(Tool.java:260) at sun.jvm.hotspot.tools.Tool.start(Tool.java:223) at sun.jvm.hotspot.tools.Tool.execute(Tool.java:118) at sun.jvm.hotspot.tools.JStack.main(JStack.java:92) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at sun.tools.jstack.JStack.runJStackTool(JStack.java:140) at sun.tools.jstack.JStack.main(JStack.java:106) Caused by: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.getThreadIntegerRegisterSet0(Native Method) at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.access$800(BsdDebuggerLocal.java:65) at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$1GetThreadIntegerRegisterSetTask.doit(BsdDebuggerLocal.java:491) at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$BsdDebuggerLocalWorkerThread.run(BsdDebuggerLocal.java:144) sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$BsdDebuggerLocalWorkerThread.execute(BsdDebuggerLocal.java:169) at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.getThreadIntegerRegisterSet(BsdDebuggerLocal.java:497) at sun.jvm.hotspot.debugger.bsd.BsdThread.getContext(BsdThread.java:68) at sun.jvm.hotspot.runtime.bsd_amd64.BsdAMD64JavaThreadPDAccess.getCurrentFrameGuess(BsdAMD64JavaThreadPDAccess.java:97) at sun.jvm.hotspot.runtime.JavaThread.getCurrentFrameGuess(JavaThread.java:256) at sun.jvm.hotspot.runtime.JavaThread.getLastJavaVFrameDbg(JavaThread.java:218) at sun.jvm.hotspot.tools.PStack.initJFrameCache(PStack.java:203) at sun.jvm.hotspot.tools.PStack.run(PStack.java:71) at sun.jvm.hotspot.tools.PStack.run(PStack.java:58) at sun.jvm.hotspot.tools.PStack.run(PStack.java:53) at sun.jvm.hotspot.tools.JStack.run(JStack.java:66) at sun.jvm.hotspot.tools.Tool.startInternal(Tool.java:260) at sun.jvm.hotspot.tools.Tool.start(Tool.java:223) at sun.jvm.hotspot.tools.Tool.execute(Tool.java:118) at sun.jvm.hotspot.tools.JStack.main(JStack.java:92) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at sun.tools.jstack.JStack.runJStackTool(JStack.java:140) at sun.tools.jstack.JStack.main(JStack.java:106) Caused by: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.getThreadIntegerRegisterSet0(Native Method) at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.access$800(BsdDebuggerLocal.java:65) at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$1GetThreadIntegerRegisterSetTask.doit(BsdDebuggerLocal.java:491) at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$BsdDebuggerLocalWorkerThread.run(BsdDebuggerLocal.java:144) Deadlock Detection: No deadlocks found. ----------------- 0 ----------------- 0x0000000800a55f8c ???????? 0x00000000004077cd ContinueInNewThread0 + 0x6d 0x0000000000405b8c ContinueInNewThread + 0x9c 0x0000000000403997 JLI_Launch + 0x1697 0x0000000000409b7c main + 0x6c 0x0000000000401eff _start + 0x16f ----------------- 0 ----------------- 0x0000000800a55f8c ???????? 0x0000000800a5446e ???????? 0x00000008023b7474 _ZN6Parker4parkEbl + 0x284 0x00000008024e81c1 Unsafe_Park + 0x131 0x0000000803c47894 <interpreter> method entry point (kind = native) 0x0000000803c39a66 <interpreter> invoke return entry points 0x0000000803c39a66 <interpreter> invoke return entry points 0x0000000803c39470 <interpreter> invoke return entry points 0x0000000803c39897 <interpreter> invoke return entry points 0x0000000803c39a66 <interpreter> invoke return entry points 0x0000000803c397b0 <interpreter> invoke return entry points 0x0000000803c39a66 <interpreter> invoke return entry points 0x0000000803c324e7 <StubRoutines> 0x00000008021a14d2 _ZN9JavaCalls11call_helperEP9JavaValueP12methodHandleP17JavaCallArgumentsP6Thread + 0x942 0x00000008021bd6b0 _ZL17jni_invoke_staticP7JNIEnv_P9JavaValueP8_jobject11JNICallTypeP10_jmethodIDP18JNI_ArgumentPusherP6Thread + 0x370 0x00000008021c1af6 jni_CallStaticVoidMethod + 0x1e6 0x0000000000404b0c JavaMain + 0xc0c 0x0000000800a4a734 ???????? ----------------- 0 ----------------- 0x0000000800a55f8c ???????? 0x0000000800a5446e ???????? 0x00000008023b715b _ZN2os13PlatformEvent4parkEv + 0xcb 0x00000008023885a2 _ZN7Monitor5IWaitEP6Threadl + 0xd2 0x0000000802388c14 _ZN7Monitor4waitEblb + 0x74 0x000000080210dc02 _ZN13GCTaskManager8get_taskEj + 0x62 0x000000080210eeb2 _ZN12GCTaskThread3runEv + 0x132 0x00000008023b21ef _ZL10java_startP6Thread + 0xff 0x0000000800a4a734 ???????? ----------------- 0 ----------------- 0x0000000800a55f8c ???????? 0x0000000800a5446e ???????? 0x00000008023b715b _ZN2os13PlatformEvent4parkEv + 0xcb 0x00000008023885a2 _ZN7Monitor5IWaitEP6Threadl + 0xd2 0x0000000802388c14 _ZN7Monitor4waitEblb + 0x74 0x000000080210dc02 _ZN13GCTaskManager8get_taskEj + 0x62 0x000000080210eeb2 _ZN12GCTaskThread3runEv + 0x132 0x00000008023b21ef _ZL10java_startP6Thread + 0xff 0x0000000800a4a734 ???????? ----------------- 0 ----------------- 0x0000000800a55f8c ???????? 0x0000000800a5446e ???????? 0x00000008023b715b _ZN2os13PlatformEvent4parkEv + 0xcb 0x00000008023885a2 _ZN7Monitor5IWaitEP6Threadl + 0xd2 0x0000000802388c14 _ZN7Monitor4waitEblb + 0x74 0x000000080210dc02 _ZN13GCTaskManager8get_taskEj + 0x62 0x000000080210eeb2 _ZN12GCTaskThread3runEv + 0x132 0x00000008023b21ef _ZL10java_startP6Thread + 0xff 0x0000000800a4a734 ???????? ----------------- 0 ----------------- 0x0000000800a55f8c ???????? 0x0000000800a5446e ???????? 0x00000008023b715b _ZN2os13PlatformEvent4parkEv + 0xcb 0x00000008023885a2 _ZN7Monitor5IWaitEP6Threadl + 0xd2 0x0000000802388c14 _ZN7Monitor4waitEblb + 0x74 0x000000080210dc02 _ZN13GCTaskManager8get_taskEj + 0x62 0x000000080210eeb2 _ZN12GCTaskThread3runEv + 0x132 0x00000008023b21ef _ZL10java_startP6Thread + 0xff 0x0000000800a4a734 ???????? ----------------- 0 ----------------- 0x0000000800a55f8c ???????? 0x0000000800a5446e ???????? 0x00000008023b4bf6 _ZN2os13PlatformEvent4parkEl + 0x176 0x00000008023885be _ZN7Monitor5IWaitEP6Threadl + 0xee 0x0000000802388c14 _ZN7Monitor4waitEblb + 0x74 0x0000000802524ef9 _ZN8VMThread4loopEv + 0x1a9 0x0000000802524c45 _ZN8VMThread3runEv + 0x75 0x00000008023b21ef _ZL10java_startP6Thread + 0xff 0x0000000800a4a734 ???????? ----------------- 0 ----------------- 0x0000000800a55f8c ???????? 0x0000000800a5446e ???????? 0x00000008023b715b _ZN2os13PlatformEvent4parkEv + 0xcb 0x00000008023a6fee _ZN13ObjectMonitor4waitElbP6Thread + 0x38e 0x00000008021f9114 JVM_MonitorWait + 0x174 0x0000000803c47894 <interpreter> method entry point (kind = native) 0x0000000803c39a66 <interpreter> invoke return entry points 0x0000000803c39a66 <interpreter> invoke return entry points 0x0000000803c324e7 <StubRoutines> 0x00000008021a14d2 _ZN9JavaCalls11call_helperEP9JavaValueP12methodHandleP17JavaCallArgumentsP6Thread + 0x942 0x000000080219fe9d _ZN9JavaCalls12call_virtualEP9JavaValue11KlassHandleP6SymbolS4_P17JavaCallArgumentsP6Thread + 0x1dd 0x00000008021a00cc _ZN9JavaCalls12call_virtualEP9JavaValue6Handle11KlassHandleP6SymbolS5_P6Thread + 0x5c 0x000000080220b55e _ZL12thread_entryP10JavaThreadP6Thread + 0xae 0x00000008024b9c8e _ZN10JavaThread17thread_main_innerEv + 0xee 0x00000008023b21ef _ZL10java_startP6Thread + 0xff 0x0000000800a4a734 ???????? ----------------- 0 ----------------- 0x0000000800a55f8c ???????? 0x0000000800a5446e ???????? 0x00000008023b715b _ZN2os13PlatformEvent4parkEv + 0xcb 0x00000008023a6fee _ZN13ObjectMonitor4waitElbP6Thread + 0x38e 0x00000008021f9114 JVM_MonitorWait + 0x174 0x0000000803c47894 <interpreter> method entry point (kind = native) 0x0000000803c39a66 <interpreter> invoke return entry points 0x0000000803fc8af4 <Unknown compiled code> 0x0000000803c324e7 <StubRoutines> 0x00000008021a14d2 _ZN9JavaCalls11call_helperEP9JavaValueP12methodHandleP17JavaCallArgumentsP6Thread + 0x942 0x000000080219fe9d _ZN9JavaCalls12call_virtualEP9JavaValue11KlassHandleP6SymbolS4_P17JavaCallArgumentsP6Thread + 0x1dd 0x00000008021a00cc _ZN9JavaCalls12call_virtualEP9JavaValue6Handle11KlassHandleP6SymbolS5_P6Thread + 0x5c 0x000000080220b55e _ZL12thread_entryP10JavaThreadP6Thread + 0xae 0x00000008024b9c8e _ZN10JavaThread17thread_main_innerEv + 0xee 0x00000008023b21ef _ZL10java_startP6Thread + 0xff 0x0000000800a4a734 ???????? ----------------- 0 ----------------- 0x0000000800cd958a __umtx_op + 0xa 0x00000008023b3b20 _ZN2os11signal_waitEv + 0x160 0x00000008023ae8c9 _ZL19signal_thread_entryP10JavaThreadP6Thread + 0x39 0x00000008024b9c8e _ZN10JavaThread17thread_main_innerEv + 0xee 0x00000008023b21ef _ZL10java_startP6Thread + 0xff 0x0000000800a4a734 ???????? ----------------- 0 ----------------- 0x0000000800a55f8c ???????? 0x0000000800a5446e ???????? 0x00000008023b4bf6 _ZN2os13PlatformEvent4parkEl + 0x176 0x00000008023885be _ZN7Monitor5IWaitEP6Threadl + 0xee 0x0000000802388d75 _ZN7Monitor4waitEblb + 0x1d5 0x000000080202ac43 _ZN12CompileQueue3getEv + 0x93 0x000000080202dcd4 _ZN13CompileBroker20compiler_thread_loopEv + 0x174 0x00000008024b9c8e _ZN10JavaThread17thread_main_innerEv + 0xee 0x00000008023b21ef _ZL10java_startP6Thread + 0xff 0x0000000800a4a734 ???????? ----------------- 0 ----------------- 0x0000000800a55f8c ???????? 0x0000000800a5446e ???????? 0x00000008023b4bf6 _ZN2os13PlatformEvent4parkEl + 0x176 0x00000008023885be _ZN7Monitor5IWaitEP6Threadl + 0xee 0x0000000802388d75 _ZN7Monitor4waitEblb + 0x1d5 0x000000080202ac43 _ZN12CompileQueue3getEv + 0x93 0x000000080202dcd4 _ZN13CompileBroker20compiler_thread_loopEv + 0x174 0x00000008024b9c8e _ZN10JavaThread17thread_main_innerEv + 0xee 0x00000008023b21ef _ZL10java_startP6Thread + 0xff 0x0000000800a4a734 ???????? ----------------- 0 ----------------- 0x0000000800a55f8c ???????? 0x0000000800a5446e ???????? 0x00000008023b4bf6 _ZN2os13PlatformEvent4parkEl + 0x176 0x00000008023885be _ZN7Monitor5IWaitEP6Threadl + 0xee 0x0000000802388d75 _ZN7Monitor4waitEblb + 0x1d5 0x000000080202ac43 _ZN12CompileQueue3getEv + 0x93 0x000000080202dcd4 _ZN13CompileBroker20compiler_thread_loopEv + 0x174 0x00000008024b9c8e _ZN10JavaThread17thread_main_innerEv + 0xee 0x00000008023b21ef _ZL10java_startP6Thread + 0xff 0x0000000800a4a734 ???????? ----------------- 0 ----------------- 0x0000000800a55f8c ???????? 0x0000000800a5446e ???????? 0x00000008023b715b _ZN2os13PlatformEvent4parkEv + 0xcb 0x00000008023885a2 _ZN7Monitor5IWaitEP6Threadl + 0xd2 0x0000000802388c14 _ZN7Monitor4waitEblb + 0x74 0x000000080242c3b5 _ZN13ServiceThread20service_thread_entryEP10JavaThreadP6Thread + 0x125 0x00000008024b9c8e _ZN10JavaThread17thread_main_innerEv + 0xee 0x00000008023b21ef _ZL10java_startP6Thread + 0xff 0x0000000800a4a734 ???????? ----------------- 0 ----------------- 0x0000000800a55f8c ???????? 0x0000000800a5446e ???????? 0x00000008023b4bf6 _ZN2os13PlatformEvent4parkEl + 0x176 0x00000008023885be _ZN7Monitor5IWaitEP6Threadl + 0xee 0x0000000802388c14 _ZN7Monitor4waitEblb + 0x74 0x00000008024b8e0f _ZNK13WatcherThread5sleepEv + 0x7f 0x00000008024b8eed _ZN13WatcherThread3runEv + 0x4d 0x00000008023b21ef _ZL10java_startP6Thread + 0xff 0x0000000800a4a734 ???????? ----------------- 0 ----------------- 0x0000000800dbb26a _write + 0xa 0x0000000803816b5e handleWrite + 0x2e 0x000000080381669d writeBytes + 0x15d 0x000000080380e0fb Java_java_io_FileOutputStream_writeBytes + 0x1b 0x0000000803dc3b9e <Unknown compiled code> 0x0000000803eb8768 <Unknown compiled code> ----------------- 0 ----------------- 0x0000000800a55f8c ???????? 0x0000000800a5446e ???????? 0x00000008023b4bf6 _ZN2os13PlatformEvent4parkEl + 0x176 0x00000008023a5762 _ZN13ObjectMonitor6EnterIEP6Thread + 0x222 0x00000008023a4cf8 _ZN13ObjectMonitor5enterEP6Thread + 0x208 0x0000000801f8c46a _ZN8Runtime112monitorenterEP10JavaThreadP7oopDescP15BasicObjectLock + 0xca 0x0000000803d2e2c8 <RuntimeStub> 0x000000080416f6c2 <Unknown compiled code> 0x0000000804224fac <Unknown compiled code> 0x0000000803c39a66 <interpreter> invoke return entry points 0x0000000803c39aab <interpreter> invoke return entry points 0x0000000803c324e7 <StubRoutines> 0x00000008021a14d2 _ZN9JavaCalls11call_helperEP9JavaValueP12methodHandleP17JavaCallArgumentsP6Thread + 0x942 0x000000080219fe9d _ZN9JavaCalls12call_virtualEP9JavaValue11KlassHandleP6SymbolS4_P17JavaCallArgumentsP6Thread + 0x1dd 0x00000008021a00cc _ZN9JavaCalls12call_virtualEP9JavaValue6Handle11KlassHandleP6SymbolS5_P6Thread + 0x5c 0x000000080220b55e _ZL12thread_entryP10JavaThreadP6Thread + 0xae 0x00000008024b9c8e _ZN10JavaThread17thread_main_innerEv + 0xee 0x00000008023b21ef _ZL10java_startP6Thread + 0xff 0x0000000800a4a734 ????????help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABquGzXwotmUW-kU0dkAWQyBPATqAo-v27eeoXG4t_=66b3X9A>
