To examine it, you will need a native debugger. We can see that the problematic frame where the crash happened is in native code , in dump. The native method was called by the jaokim.
If we however want to get more details from the native code in dump. To get those missing details, we have to use a native debugger ex. WinDbg on Windows and the generated core dump. Below is a WinDbg screenshot pointing directly at the crashing line! To find the exact source line, the native debugger needs to have the debugging symbols. For Windows, these are in the. You can put the.
When the JVM crashes, it can write a core dump that contains details of the crashed process. If core dump writing is disabled, the JVM will tell you it failed to write a core dump — this has however nothing to do with the actual reason the JVM crashed.
The example code used to crash, is available on my GitHub. Microsoft has a free tool called Userdump. It's pretty simple to use that tool to create a dump. You can open Task Manager by right clicking the task bar , find your process in the processes tab, right-click it and select Create Dump File. You might try using WinDbg as described here. You can use adplus to produce a crash dump for a running application. The command may look something like this:.
I refer you to the follows MS KB article on the subject. You would typically debug the dump file using one of the Windows debugging tools, e. There are many articles on the web describing how to do this. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. How can I configure windows to generate a core dump from an application? Ask Question. Asked 11 years ago.
Active 7 years, 6 months ago. When trying to debug a process which may be behaving erratically or seemingly deadlocked hung , it might be worthwhile creating a core dump from the process which is still running. For Zimbra purposes, this technique is valuable when trying to identifiy and solve problems with the Zimbra Connector for Outlook. This core dump can be sent to Zimbra support for further analysis.
The easiest way to do this is using WinDbg. Once downloaded and installed, there will be a WinDbg shortcut in installed programs folder, i.
At this point the debugger is attaching to the process. The attach is complete when you see output that resembles the following in the output window:. Once WinDbg has attached the the process, you will need to focus on the command input window at the bottom of the WinDbg window and enter a command that looks similar to:.
You should specify a filename that is more meaningful for you. Also make sure that the file is created some place where you can easily retrieve it in the future. Once you have created the dump file, please forward it to Zimbra support at support zimbra.
0コメント