如何获取 Java.exe/jvm.dll 的符号文件来分析崩溃核心转储文件?

发布于 2024-07-12 10:48:51 字数 2801 浏览 7 评论 0原文

我有一个在 Websphere 应用程序服务器上运行的 Java 应用程序。 当我分析系统崩溃核心转储文件时,我得到一些如下信息:

ERROR: Symbol file could not be found.  Defaulted to export symbols for J9THR23.dll 

How can I get symbol files for Java?

提前致谢。

更多详情请参见:

*******************************************************************************
*                                                                             *
*                        Exception Analysis                                   *
*                                                                             *
*******************************************************************************

*** ERROR: Symbol file could not be found.  Defaulted to export symbols for J9THR23.dll - 
*************************************************************************
***                                                                   ***
***                                                                   ***
***    Your debugger is not using the correct symbols                 ***
***                                                                   ***
***    In order for this command to work properly, your symbol path   ***
***    must point to .pdb files that have full type information.      ***
***                                                                   ***
***    Certain .pdb files (such as the public OS symbols) do not      ***
***    contain the required information.  Contact the group that      ***
***    provided you with these symbols if you need this command to    ***
***    work.                                                          ***
***                                                                   ***
***    Type referenced: ntdll!_PEB                                    ***
***                                                                   ***
*************************************************************************
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for j9jit23.dll - 
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for java.dll - 
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for j9gc23.dll - 
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for jvm.dll - 
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for jclscar_23.dll - 
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for j9ute23.dll - 
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for J9PRT23.dll - 
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for j9vm23.dll - 
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for DBGHELP.DLL - 

Alice Kong

I have a Java application running on a Websphere application server. When I analyse the system crash core dump file, I get some info like this:

ERROR: Symbol file could not be found.  Defaulted to export symbols for J9THR23.dll 

How can I get symbol files for Java?

Thanks in advance.

More details are here:

*******************************************************************************
*                                                                             *
*                        Exception Analysis                                   *
*                                                                             *
*******************************************************************************

*** ERROR: Symbol file could not be found.  Defaulted to export symbols for J9THR23.dll - 
*************************************************************************
***                                                                   ***
***                                                                   ***
***    Your debugger is not using the correct symbols                 ***
***                                                                   ***
***    In order for this command to work properly, your symbol path   ***
***    must point to .pdb files that have full type information.      ***
***                                                                   ***
***    Certain .pdb files (such as the public OS symbols) do not      ***
***    contain the required information.  Contact the group that      ***
***    provided you with these symbols if you need this command to    ***
***    work.                                                          ***
***                                                                   ***
***    Type referenced: ntdll!_PEB                                    ***
***                                                                   ***
*************************************************************************
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for j9jit23.dll - 
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for java.dll - 
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for j9gc23.dll - 
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for jvm.dll - 
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for jclscar_23.dll - 
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for j9ute23.dll - 
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for J9PRT23.dll - 
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for j9vm23.dll - 
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for DBGHELP.DLL - 

Alice Gong

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

似狗非友 2024-07-19 10:48:51

您可以在此站点获取 JDK 的调试版本。

http://download.java.net/jdk6/

查找 jdk-6u12-ea-bin-b03-windows-i586-debug-22dec2008.jar,91.47 MB

​​ 它包括 .pdb 文件

You can get a DEBUG build of the JDK at this site.

http://download.java.net/jdk6/

Look for jdk-6u12-ea-bin-b03-windows-i586-debug-22dec2008.jar, 91.47 MB

It includes .pdb files

梦幻的心爱 2024-07-19 10:48:51

看起来调试器正在寻找 PDB 文件,据我所知,java 应用程序的调试信息不​​是 PDB 文件。 PDB 文件是在创建 Windows 本机应用程序时由 VisualStudio 生成的,因此调试器似乎正在寻找应用程序服务器的调试符号。 不知道WebSphere是否有自己的调试版本。 另一方面,如果您想要调试 java 应用程序的符号,则只需使用 -g 选项重新编译它。

It looks like the debugger is looking for PDB files, and as far as I can tell debug information for java application doesn't come as PDB files. PDB files are generated by VisualStudio when creating Windows native applications, so it seems the debugger is looking for the application server's debug symbols. Don't know if WebSphere comes with its own debug version. On the other hand, if you want debug symbols for a java app you only need to recompile it with the -g option.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文