技术文章 - CS141928

在 Windchill PDMLink 10.1 中,当 JVM 在执行 wt.occurrence.StandardOccurrenceService 的动态编译时方法服务器或后台方法服务器崩溃

已修改: 17-Nov-2015   


适用于

  • Windchill PDMLink 10.1 F000 to M050
  • Creo View Adapters 2.0 to 3.0

说明

  • 从 SolidWorks 检入数据时使方法服务器意外停止。
  • 当 JVM 在执行 wt.occurrence.StandardOccurrenceService 的动态编译时方法服务器或后台方法服务器崩溃
  • 在方法服务器日志中没有错误
  • 方法服务器停止处理请求并且没有任何警告或错误
  • 服务器管理器报告下面的错误
ERROR [MethodServerMonitor] wt.manager.ServerTable - Dead MethodServer reported; reported exception:    java.rmi.ConnectException: Connection refused to host: hostname; nested exception is:
    java.net.ConnectException: Connection refused: connect
 INFO  [MethodServerMonitor] wt.server.manager.startup - Starting 1 additional MethodServer instance
  • 客户报告的使用案例包括但不限于
    • 检入大量数据
    • 发布队列的执行
    • Windchill Bulk Migrator load of occurrence
  • 当问题出现时,hs_err_pid<PID>.log文件会被创建。
  • 下面是hs_err_pid<PID>.log文件的样例:
    • 样例1
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (bcEscapeAnalyzer.cpp:105), pid=3628, tid=8220
#  guarantee(_stack_height < _max_stack) failed: stack overflow
#
# JRE version: 6.0_41-b02
# Java VM: Java HotSpot(TM) 64-Bit Server VM (20.14-b01 mixed mode windows-amd64 compressed oops)
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#
 
---------------  T H R E A D  ---------------
 
Current thread (0x00000000061ca000):  JavaThread "C2 CompilerThread1" daemon [_thread_in_native, id=8220, stack(0x0000000007030000,0x0000000007130000)]
 
Stack: [0x0000000007030000,0x0000000007130000]
[error occurred during error reporting (printing stack bounds), id 0xc0000005]
 
 
Current CompileTask:
C2:1306966 3818  !   wt.occurrence.StandardOccurrenceService.saveUsesOccurrenceAndData(Lwt/fc/collections/WTKeyedMap;Lwt/fc/collections/WTKeyedMap;)Lwt/fc/collections/WTCollection; (1608 bytes)
 
 
---------------  P R O C E S S  ---------------
  • 样例2

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000006ddd6967, pid=4204, tid=5292
#
# JRE version: 6.0_41-b02
# Java VM: Java HotSpot(TM) 64-Bit Server VM (20.14-b01 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# V  [jvm.dll+0x516967]
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#

---------------  T H R E A D  ---------------

Current thread (0x0000000006e46000):  JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=5292, stack(0x0000000008790000,0x0000000008890000)]

siginfo: ExceptionCode=0xc0000005, reading address 0x0000000000000028

Registers:
RAX=0x000000000d1ec1e0, RBX=0x000000000d1ec1b0, RCX=0x0000000006e5a2a0, RDX=0x000000000888e680
RSP=0x000000000888dcb0, RBP=0x0000000000000000, RSI=0x0000000012d09078, RDI=0x000000000d1ec1b0
R8 =0x0000000000000000, R9 =0x0000000000000039, R10=0x000000000d1ebf30, R11=0x0000000000000000
R12=0x000000000ca0bbd8, R13=0x0000000000000001, R14=0x0000000000000000, R15=0x000000000a20be20
RIP=0x000000006ddd6967, EFLAGS=0x0000000000010287

Top of Stack: (sp=0x000000000888dcb0)
0x000000000888dcb0:   000000000a289bf0 000000000a20be20
0x000000000888dcc0:   0000000000000000 000000000ca0bbd8
0x000000000888dcd0:   000000000888df40 000000006ddb92c1
0x000000000888dce0:   000000000d1ec1b0 0000000000000000
0x000000000888dcf0:   000000000ca0bbd8 000000000888e680
0x000000000888dd00:   0000000000000000 000000006ddb21ae
0x000000000888dd10:   0000000000000000 000000000d1ec1b0
0x000000000888dd20:   000000000ca0bbd8 0000000000000004
0x000000000888dd30:   0000000000000000 000000006dd9ac79
0x000000000888dd40:   0000000000000000 000000006d8d6c84
0x000000000888dd50:   000000000a289510 000000006dd9aae5
0x000000000888dd60:   0000000000000000 000000006dd8ff95
0x000000000888dd70:   000000001514bc00 000000006dd9aae5
0x000000000888dd80:   0000000000000000 000000006dcf9a61
0x000000000888dd90:   0000000000000000 000000006dda9b81
0x000000000888dda0:   0000000000000001 000000000888df40

Current CompileTask:
C2: 786823 4209  !   wt.occurrence.StandardOccurrenceService.getNextSequence(Z)J (35 bytes)
这是文章 141928 的 PDF 版本,可能已过期。最新版本 CS141928