51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 2326|回复: 0
打印 上一主题 下一主题

[原创] Purify遇到要命的问题了?跪求解答

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2008-12-12 15:08:33 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
各位哥哥、各位姐姐,你们帮帮我吧

     这两天领导告诉我我们的网上程序有内存泄露的问题,让我帮忙测一下,我用Purify测试时出现如下问题,跪求解答呀

我用的服务器是Resin-3.1.9,在不设置PurifyPlus环境变量 _JAVA_OPTIONS:-XrunPureJVMPIurify时,resin可以正常启动,
在设置PurifyPlus环境变量 _JAVA_OPTIONS:-XrunPureJVMPIurify之后,resin启动时就报错了,内容如下:

Resin-3.0.19 (built Mon, 15 May 2006 04:50:47 PDT)
Copyright(c) 1998-2006 Caucho Technology.  All rights reserved.

  Using Resin(R) Open Source under the GNU Public License (GPL).

  See http://www.caucho.com for information on Resin Professional,
  including caching, clustering, JNI acceleration, and OpenSSL integration.

Starting Resin on Fri, 12 Dec 2008 14:52:23 +0800 (CST)

#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  Internal Error (0xe06d7363), pid=2124, tid=2288
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_09-b03 mixed mode, sharing)
# Problematic frame:
# C  [kernel32.dll+0x12aeb]
#
# An error report file with more information is saved as hs_err_pid2124.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#

在resin目录下输出的错误日志如下:

#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  Internal Error (0xe06d7363), pid=236, tid=2208
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_09-b03 mixed mode, sharing)
# Problematic frame:
# C  [kernel32.dll+0x12aeb]
#

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

Current thread (0x00039a90):  JavaThread "main" [_thread_in_native, id=2208]

siginfo: ExceptionCode=0xe06d7363, ExceptionInformation=0x19930520 0x0007cfe8 0x1003e1f0

Registers:
EAX=0x0007cf2c, EBX=0x0461be5f, ECX=0x00000000, EDX=0x040906a8
ESP=0x0007cf28, EBP=0x0007cf7c, ESI=0x0007cfbc, EDI=0x0007cfbc
EIP=0x7c812aeb, EFLAGS=0x00000206

Top of Stack: (sp=0x0007cf28)
0x0007cf28:   1003c660 e06d7363 00000001 00000000
0x0007cf38:   7c812aeb 00000003 19930520 0007cfe8
0x0007cf48:   1003e1f0 1002979b 04635ad0 10009068
0x0007cf58:   04635ad0 0461be73 008b2320 0461be59
0x0007cf68:   ffffff01 04635ad1 00000037 0000003f
0x0007cf78:   1000e301 0007cfbc 100299c0 e06d7363
0x0007cf88:   00000001 00000003 0007cfb0 040906a8
0x0007cf98:   0461be21 e06d7363 00000001 00000000

Instructions: (pc=0x7c812aeb)
0x7c812adb:   8d 7d c4 f3 a5 5f 8d 45 b0 50 ff 15 10 15 80 7c
0x7c812aeb:   5e c9 c2 10 00 85 ff 0f 8e 36 93 ff ff 8b 55 fc


Stack: [0x00040000,0x00080000),  sp=0x0007cf28,  free space=243k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [kernel32.dll+0x12aeb]
C  [PureJVMPI.dll+0x299c0]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  java.lang.ClassLoader.findBootstrapClass(Ljava/lang/String;)Ljava/lang/Class;+0
j  java.lang.ClassLoader.findBootstrapClass0(Ljava/lang/String;)Ljava/lang/Class;+23
j  java.lang.ClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;+32
j  java.lang.ClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;+23
j  sun.misc.Launcher$AppClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;+36
j  java.lang.ClassLoader.loadClass(Ljava/lang/String;)Ljava/lang/Class;+3
j  java.lang.ClassLoader.loadClassInternal(Ljava/lang/String;)Ljava/lang/Class;+2
v  ~StubRoutines::call_stub
j  java.lang.ClassLoader.defineClass1(Ljava/lang/String;[BIILjava/security/ProtectionDomain;Ljava/lang/String;)Ljava/lang/Class;+0
j  java.lang.ClassLoader.defineClass(Ljava/lang/String;[BIILjava/security/ProtectionDomain;)Ljava/lang/Class;+34
j  java.security.SecureClassLoader.defineClass(Ljava/lang/String;[BIILjava/security/CodeSource;)Ljava/lang/Class;+27
j  java.net.URLClassLoader.defineClass(Ljava/lang/String;Lsun/misc/Resource;)Ljava/lang/Class;+253
j  java.net.URLClassLoader.access$100(Ljava/net/URLClassLoader;Ljava/lang/String;Lsun/misc/Resource;)Ljava/lang/Class;+3
j  java.net.URLClassLoader$1.run()Ljava/lang/Object;+43
v  ~StubRoutines::call_stub
j  java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+0
j  java.net.URLClassLoader.findClass(Ljava/lang/String;)Ljava/lang/Class;+13
j  java.lang.ClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;+43
j  sun.misc.Launcher$AppClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;+36
j  java.lang.ClassLoader.loadClass(Ljava/lang/String;)Ljava/lang/Class;+3
j  java.lang.ClassLoader.loadClassInternal(Ljava/lang/String;)Ljava/lang/Class;+2
v  ~StubRoutines::call_stub
j  com.caucho.loader.EnvironmentClassLoader.initializeEnvironment()V+104
j  com.caucho.server.resin.Resin.init()V+323
j  com.caucho.server.resin.Resin.main([Ljava/lang/String;)V+47
v  ~StubRoutines::call_stub

---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
  0x03dd3008 JavaThread "resin-5" daemon [_thread_blocked, id=2816]
  0x03dd1830 JavaThread "resin-4" daemon [_thread_blocked, id=1340]
  0x03e04b08 JavaThread "resin-3" daemon [_thread_blocked, id=3032]
  0x03e04008 JavaThread "resin-2" daemon [_thread_blocked, id=3496]
  0x03dce590 JavaThread "resin-1" daemon [_thread_blocked, id=3780]
  0x03dce408 JavaThread "resin-0" daemon [_thread_blocked, id=296]
  0x03e02588 JavaThread "resin-thread-scheduler" daemon [_thread_blocked, id=172]
  0x03dd01f8 JavaThread "resin-thread-launcher" daemon [_thread_blocked, id=792]
  0x03dfad20 JavaThread "resin-alarm" daemon [_thread_blocked, id=2308]
  0x00ac4c08 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=4012]
  0x00ac2970 JavaThread "CompilerThread0" daemon [_thread_blocked, id=220]
  0x00ac2da0 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3804]
  0x00a71568 JavaThread "Finalizer" daemon [_thread_blocked, id=484]
  0x00a70b30 JavaThread "Reference Handler" daemon [_thread_blocked, id=3068]
=>0x00039a90 JavaThread "main" [_thread_in_native, id=2208]

Other Threads:
  0x00a9f728 VMThread [id=2376]
  0x00aa6f28 WatcherThread [id=1652]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
def new generation   total 576K, used 576K [0x22ae0000, 0x22b80000, 0x22fc0000)
  eden space 512K, 100% used [0x22ae0000, 0x22b60000, 0x22b60000)
  from space 64K, 100% used [0x22b60000, 0x22b70000, 0x22b70000)
  to   space 64K,   0% used [0x22b70000, 0x22b70000, 0x22b80000)
tenured generation   total 1408K, used 706K [0x22fc0000, 0x23120000, 0x26ae0000)
   the space 1408K,  50% used [0x22fc0000, 0x23070828, 0x23070a00, 0x23120000)
compacting perm gen  total 8192K, used 870K [0x26ae0000, 0x272e0000, 0x2aae0000)
   the space 8192K,  10% used [0x26ae0000, 0x26bb9a10, 0x26bb9c00, 0x272e0000)
    ro space 8192K,  67% used [0x2aae0000, 0x2b03e5d8, 0x2b03e600, 0x2b2e0000)
    rw space 12288K,  47% used [0x2b2e0000, 0x2b8887f0, 0x2b888800, 0x2bee0000)


VM Arguments:
jvm_args: -Dresin.home=D:\resin-3.0.19 -Dserver.root=D:\resin-3.0.19 -Djava.util.logging.manager=com.caucho.log.LogManagerImpl -Djavax.management.builder.initial=com.caucho.jmx.MBeanServerBuilderImpl -XrunPureJVMPIurify
java_command: com.caucho.server.resin.Resin -socketwait 14948
Launcher Type: SUN_STANDARD

Environment Variables:
JAVA_HOME=C:\jdk1.5.0_09
_JAVA_OPTIONS=-XrunPureJVMPIurify
CLASSPATH=.;C:\jdk1.5.0_09\lib;C:\jdk1.5.0_09\lib\tools.jar;D:\Program Files\Rational\Rational Test\javaenabler\sqarobot.jar;D:\resin-3.0.19\classes;D:\resin-3.0.19\lib\resin.jar;C:\jdk1.5.0_09\lib\tools.jar;C:\jdk1.5.0_09\jre\lib\rt.jar;D:\resin-3.0.19\lib\aopalliance.jar;D:\resin-3.0.19\lib\classes12.jar;D:\resin-3.0.19\lib\dom.jar;D:\resin-3.0.19\lib\ejb-20.jar;D:\resin-3.0.19\lib\ejb-30.jar;D:\resin-3.0.19\lib\j2eedeploy.jar;D:\resin-3.0.19\lib\jca-15.jar;D:\resin-3.0.19\lib\jms-11.jar;D:\resin-3.0.19\lib\jmx-12.jar;D:\resin-3.0.19\lib\jsdk-24.jar;D:\resin-3.0.19\lib\jstl-11.jar;D:\resin-3.0.19\lib\jta-101.jar;D:\resin-3.0.19\lib\ojdbc14.jar;D:\resin-3.0.19\lib\portlet-10.jar;D:\resin-3.0.19\lib\quercus.jar;D:\resin-3.0.19\lib\resin-jdk15.jar;D:\resin-3.0.19\lib\resinboot.jar;D:\resin-3.0.19\lib\script-10.jar;D:\resin-3.0.19\lib\webutil.jar;D:\resin-3.0.19\lib\classes12.zip;.;C:\jdk1.5.0_09\lib;C:\jdk1.5.0_09\lib\tools.jar;D:\Program Files\Rational\Rational Test\javaenabler\sqarobot.jar
PATH=D:\Program Files\Rational\PurifyPlus\;C:\jdk1.5.0_09\bin;C:\jre1.5.0_09\bin;D:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;d:\Program Files\Sybase\SQL Anywhere 9\win32;d:\Program Files\Sybase\Shared\win32;d:\Program Files\Sybase\Shared\Sybase Central 4.2;d:\Program Files\Sybase\Shared\PowerBuilder;d:\Program Files\Sybase\Shared\Web Targets;;C:\ExPlatO;D:\Program Files\Rational\common;D:\Program Files\Rational\ClearCase\bin;D:\resin-3.0.19\bin;D:\resin-3.0.19\win32;\openssl\bin
USERNAME=Adminisitrator
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 15 Model 2 Stepping 7, GenuineIntel



---------------  S Y S T E M  ---------------

OS: Windows XP Build 2600 Service Pack 3

CPU:total 1 (cores per cpu 1, threads per core 1) family 15 model 2 stepping 7, cmov, cx8, fxsr, mmx, sse, sse2

Memory: 4k page, physical 1030892k(333968k free), swap 1696840k(848252k free)

vm_info: Java HotSpot(TM) Client VM (1.5.0_09-b03) for windows-x86, built on Oct 12 2006 01:20:10 by "java_re" with MS VC++ 6.0

各位哥哥、姐姐帮忙解决一下呀,我都快疯了
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

本版积分规则

关闭

站长推荐上一条 /1 下一条

小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

GMT+8, 2024-11-22 20:27 , Processed in 0.087555 second(s), 27 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

快速回复 返回顶部 返回列表