- android - RelativeLayout 背景可绘制重叠内容
- android - 如何链接 cpufeatures lib 以获取 native android 库?
- java - OnItemClickListener 不起作用,但 OnLongItemClickListener 在自定义 ListView 中起作用
- java - Android 文件转字符串
我一直在尝试让我的公司软件 (HP Operations Orchestra) 在重新安装后运行很多次,但我无法打开它。相反,它会在其目录中生成一个错误日志文件,其中包含以下内容:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000007753fb75, pid=11308, tid=10292
#
# JRE version: 6.0_18-b07
# Java VM: Java HotSpot(TM) 64-Bit Server VM (16.0-b13 mixed mode windows-amd64 )
# Problematic frame:
# C [ntdll.dll+0x4fb75]
#
# 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 (0x000000000076c800): JavaThread "main" [_thread_in_Java, id=10292, stack(0x0000000002960000,0x0000000002b60000)]
siginfo: ExceptionCode=0xc0000005, reading address 0xffffffffffffffff
Registers:
EAX=0x0000000002b5c228, EBX=0x0000000000000002, ECX=0x0000000002b5c2f8, EDX=0x0000000002b5c268
ESP=0x0000000002b5c218, EBP=0x000007fee06cbe90, ESI=0x0000000000000020, EDI=0x0000000000000000
EIP=0x000000007753fb75, EFLAGS=0x0000000000010202
Top of Stack: (sp=0x0000000002b5c218)
0x0000000002b5c218: 0000000000000202 00000000774facb9
0x0000000002b5c228: 000007fffffdb000 0000000005dc6ab8
0x0000000002b5c238: 000000006d929986 000000000076cd10
0x0000000002b5c248: 0000000000000002 0000000048833800
0x0000000002b5c258: 0000000048835620 0000000000000000
0x0000000002b5c268: 0000000002b60000 0000000002b50000
0x0000000002b5c278: 0000000502b50000 0000000200000003
0x0000000002b5c288: 00000000486e90d0 000000004872c7b0
0x0000000002b5c298: 0000000002b5caa0 0000000002be8504
0x0000000002b5c2a8: 0000000002be7350 0000000000000000
0x0000000002b5c2b8: 0000000000000000 0000000002b5caa0
0x0000000002b5c2c8: 0000000002b5ca70 0000000002b96f7a
0x0000000002b5c2d8: 0000000002b96f10 0000000000000000
0x0000000002b5c2e8: 0000000000000000 0000000002b5ca70
0x0000000002b5c2f8: 0000000002b5cb40 0000000002b65ae2
0x0000000002b5c308: 0000000002b64e90 0000000000000000
Instructions: (pc=0x000000007753fb75)
0x000000007753fb65: 00 00 4c 89 b1 e8 00 00 00 4c 89 b9 f0 00 00 00
0x000000007753fb75: 0f ae 81 00 01 00 00 0f 29 81 a0 01 00 00 0f 29
Stack: [0x0000000002960000,0x0000000002b60000], sp=0x0000000002b5c218, free space=7f00000000000000000k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [ntdll.dll+0x4fb75]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
v blob 0x0000000002b9703f
j java.util.jar.Attributes.putValue(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;+13
j java.util.jar.Attributes.read(Ljava/util/jar/Manifest$FastInputStream;[B)V+301
j java.util.jar.Manifest.read(Ljava/io/InputStream;)V+291
j java.util.jar.Manifest.<init>(Ljava/io/InputStream;)V+28
j java.util.jar.JarFile.getManifestFromReference()Ljava/util/jar/Manifest;+60
j java.util.jar.JarFile.getManifest()Ljava/util/jar/Manifest;+1
j java.util.jar.JarFile.maybeInstantiateVerifier()V+70
j java.util.jar.JarFile.getInputStream(Ljava/util/zip/ZipEntry;)Ljava/io/InputStream;+1
j sun.misc.JarIndex.getJarIndex(Ljava/util/jar/JarFile;Lsun/misc/MetaIndex;)Lsun/misc/JarIndex;+34
j sun.misc.URLClassPath$JarLoader$1.run()Ljava/lang/Object;+80
v ~StubRoutines::call_stub
j java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;+0
j sun.misc.URLClassPath$JarLoader.ensureOpen()V+15
j sun.misc.URLClassPath$JarLoader.<init>(Ljava/net/URL;Ljava/net/URLStreamHandler;Ljava/util/HashMap;)V+132
j sun.misc.URLClassPath$3.run()Ljava/lang/Object;+82
v ~StubRoutines::call_stub
j java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;+0
j sun.misc.URLClassPath.getLoader(Ljava/net/URL;)Lsun/misc/URLClassPath$Loader;+9
j sun.misc.URLClassPath.getLoader(I)Lsun/misc/URLClassPath$Loader;+78
j sun.misc.URLClassPath.findResource(Ljava/lang/String;Z)Ljava/net/URL;+6
j java.net.URLClassLoader$2.run()Ljava/lang/Object;+12
v ~StubRoutines::call_stub
j java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+0
j java.net.URLClassLoader.findResource(Ljava/lang/String;)Ljava/net/URL;+13
j java.lang.ClassLoader.getResource(Ljava/lang/String;)Ljava/net/URL;+30
j java.lang.ClassLoader.getResourceAsStream(Ljava/lang/String;)Ljava/io/InputStream;+2
j org.apache.commons.logging.LogFactory$3.run()Ljava/lang/Object;+15
v ~StubRoutines::call_stub
j java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;)Ljava/lang/Object;+0
j org.apache.commons.logging.LogFactory.getResourceAsStream(Ljava/lang/ClassLoader;Ljava/lang/String;)Ljava/io/InputStream;+9
j org.apache.commons.logging.LogFactory.getFactory()Lorg/apache/commons/logging/LogFactory;+30
j org.apache.commons.logging.LogFactory.getLog(Ljava/lang/Class;)Lorg/apache/commons/logging/Log;+0
j com.iconclude.dharma.app.OperationStudio.<clinit>()V+20
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x0000000046414000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=8024, stack(0x0000000047540000,0x0000000047740000)]
0x0000000046400000 JavaThread "CompilerThread1" daemon [_thread_blocked, id=11732, stack(0x0000000047440000,0x0000000047540000)]
0x00000000463ed800 JavaThread "CompilerThread0" daemon [_thread_blocked, id=10924, stack(0x0000000047340000,0x0000000047440000)]
0x00000000463e1000 JavaThread "Attach Listener" daemon [_thread_blocked, id=10180, stack(0x0000000047140000,0x0000000047340000)]
0x00000000463d6000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=9760, stack(0x0000000046f40000,0x0000000047140000)]
0x0000000046319000 JavaThread "Finalizer" daemon [_thread_blocked, id=4976, stack(0x0000000046d40000,0x0000000046f40000)]
0x0000000046312000 JavaThread "Reference Handler" daemon [_thread_blocked, id=12024, stack(0x0000000046b40000,0x0000000046d40000)]
=>0x000000000076c800 JavaThread "main" [_thread_in_Java, id=10292, stack(0x0000000002960000,0x0000000002b60000)]
Other Threads:
0x0000000046308800 VMThread [stack: 0x0000000046a40000,0x0000000046b40000] [id=11912]
0x0000000046448800 WatcherThread [stack: 0x0000000047740000,0x0000000047840000] [id=11840]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
PSYoungGen total 38208K, used 10045K [0x0000000035b60000, 0x0000000038600000, 0x0000000045b60000)
eden space 32768K, 30% used [0x0000000035b60000,0x000000003652f728,0x0000000037b60000)
from space 5440K, 0% used [0x00000000380b0000,0x00000000380b0000,0x0000000038600000)
to space 5440K, 0% used [0x0000000037b60000,0x0000000037b60000,0x00000000380b0000)
PSOldGen total 87424K, used 0K [0x0000000015b60000, 0x000000001b0c0000, 0x0000000035b60000)
object space 87424K, 0% used [0x0000000015b60000,0x0000000015b60000,0x000000001b0c0000)
PSPermGen total 21248K, used 6037K [0x0000000005b60000, 0x0000000007020000, 0x0000000015b60000)
object space 21248K, 28% used [0x0000000005b60000,0x00000000061457f0,0x0000000007020000)
Dynamic libraries:
0x0000000000400000 - 0x000000000042e000 C:\Program Files\HEWLETT-PACKARD\Operations Orchestration\jre1.6\bin\javaw.exe
0x00000000774f0000 - 0x000000007769a000 C:\windows\SYSTEM32\ntdll.dll
0x00000000772d0000 - 0x00000000773ef000 C:\windows\system32\kernel32.dll
0x000007fefd5d0000 - 0x000007fefd63c000 C:\windows\system32\KERNELBASE.dll
0x000007fefdec0000 - 0x000007fefdf9b000 C:\windows\system32\ADVAPI32.dll
0x000007feff760000 - 0x000007feff7ff000 C:\windows\system32\msvcrt.dll
0x000007feff3b0000 - 0x000007feff3cf000 C:\windows\SYSTEM32\sechost.dll
0x000007feff040000 - 0x000007feff16d000 C:\windows\system32\RPCRT4.dll
0x00000000773f0000 - 0x00000000774ea000 C:\windows\system32\USER32.dll
0x000007feff3d0000 - 0x000007feff437000 C:\windows\system32\GDI32.dll
0x000007feff650000 - 0x000007feff65e000 C:\windows\system32\LPK.dll
0x000007fefe0d0000 - 0x000007fefe199000 C:\windows\system32\USP10.dll
0x000007fefd170000 - 0x000007fefd1c7000 C:\windows\system32\apphelp.dll
0x000007fef2160000 - 0x000007fef21ba000 C:\windows\AppPatch\AppPatch64\AcLayers.DLL
0x000007fefa510000 - 0x000007fefa581000 C:\windows\system32\WINSPOOL.DRV
0x000007fef27e0000 - 0x000007fef27f8000 C:\windows\system32\MPR.dll
0x000007fee0330000 - 0x000007fee0797000 C:\windows\AppPatch\AppPatch64\AcXtrnal.DLL
0x000007fef0230000 - 0x000007fef0281000 C:\windows\AppPatch\AppPatch64\AcGenral.DLL
0x000007fefd140000 - 0x000007fefd165000 C:\windows\system32\SspiCli.dll
0x000007feff660000 - 0x000007feff6d1000 C:\windows\system32\SHLWAPI.dll
0x000007fefd6f0000 - 0x000007fefd8f3000 C:\windows\system32\ole32.dll
0x000007fefe1a0000 - 0x000007fefef2b000 C:\windows\system32\SHELL32.dll
0x00000000738a0000 - 0x00000000738a3000 C:\windows\system32\sfc.dll
0x000007fef8ba0000 - 0x000007fef8bb0000 C:\windows\system32\sfc_os.DLL
0x000007fefd530000 - 0x000007fefd54e000 C:\windows\system32\USERENV.dll
0x000007fefd330000 - 0x000007fefd33f000 C:\windows\system32\profapi.dll
0x000007fefb240000 - 0x000007fefb258000 C:\windows\system32\dwmapi.dll
0x000007fefd900000 - 0x000007fefd92e000 C:\windows\system32\IMM32.DLL
0x000007fefef30000 - 0x000007feff039000 C:\windows\system32\MSCTF.dll
0x000007fef2430000 - 0x000007fef24d6000 C:\Program Files\McAfee\Host Intrusion Prevention\HcApi.dll
0x000000006f510000 - 0x000000006f51b000 C:\Program Files\McAfee\Host Intrusion Prevention\HcThe.dll
0x000000006d7f0000 - 0x000000006de95000 C:\Program Files\HEWLETT-PACKARD\Operations Orchestration\jre1.6\bin\server\jvm.dll
0x000007fefba30000 - 0x000007fefba6b000 C:\windows\system32\WINMM.dll
0x000000006d760000 - 0x000000006d76e000 C:\Program Files\HEWLETT-PACKARD\Operations Orchestration\jre1.6\bin\verify.dll
0x000000006d3b0000 - 0x000000006d3d7000 C:\Program Files\HEWLETT-PACKARD\Operations Orchestration\jre1.6\bin\java.dll
0x000000006d310000 - 0x000000006d31a000 C:\Program Files\HEWLETT-PACKARD\Operations Orchestration\jre1.6\bin\hpi.dll
0x00000000776c0000 - 0x00000000776c7000 C:\windows\system32\PSAPI.DLL
0x000000006d7b0000 - 0x000000006d7c2000 C:\Program Files\HEWLETT-PACKARD\Operations Orchestration\jre1.6\bin\zip.dll
VM Arguments:
jvm_args: -Xms128m -Xmx512m -Diconclude.home=C:\Program Files\Hewlett-Packard\Operations Orchestration -Dicons.dir=./Studio/extra/icons/ -Dstudio.mode=PRODUCT_MODE -Ddocs.dir=Studio/docs/ -Dtemplate.dir=Studio/extra/template/ -Xss2048k -Dsun.java2d.d3d=false -Xmx768M -XX:MaxPermSize=256M -Duser.language=en -Duser.region=US
java_command: com.iconclude.dharma.app.OperationStudio
Launcher Type: SUN_STANDARD
Environment Variables:
PATH=C:\ProgramData\Oracle\Java\javapath;C:\Program Files\RA2HP\;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Java\jdk1.8.0_45\bin;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;C:\Program Files\ActivIdentity\ActivClient\;C:\Program Files (x86)\ActivIdentity\ActivClient\;C:\HashiCorp\Vagrant\bin;C:\Program Files (x86)\HP\Virtual User Generator\strawberry-perl\perl\bin;C:\ProgramData\Hewlett-Packard\PC COE\VSC\Drivers\;C:\Program Files\HEWLETT-PACKARD\Operations Orchestration\Studio\..\jre1.6\bin
USERNAME=chengca
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 58 Stepping 9, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows 7 Build 7600
CPU:total 4 (8 cores per cpu, 2 threads per core) family 6 model 58 stepping 9, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, ht
Memory: 4k page, physical 8267484k(3974016k free), swap 16533108k(12078756k free)
vm_info: Java HotSpot(TM) 64-Bit Server VM (16.0-b13) for windows-amd64 JRE (1.6.0_18-b07), built on Dec 17 2009 13:24:11 by "java_re" with MS VC++ 8.0 (VS2005)
time: Tue Jun 09 19:10:06 2015
elapsed time: 0 seconds
谁能帮我解决这个问题,这样我就可以查明问题出在哪里?几天来我一直在对此进行故障排除(卸载/重新安装 JRE、以管理员身份运行、以兼容模式运行等),但我认输了。如果有人有任何想法,我将非常感激。
最佳答案
我遇到了这个解决方案:
http://www.java-forums.org/advanced-java/48035-solve-jvm-problem.html
似乎将“java.tools”位置(位于文件夹“java\lib”内)添加到 JAVA_HOME 解决了他的问题。
您还可以查看此链接以准确找出问题所在:https://weblogs.java.net/blog/kohsuke/archive/2009/02/crash_course_on.html
希望这对您有所帮助。
关于java - 由于 EXCEPTION_ACCESS_VIOLATION,我公司的软件无法运行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30731091/
我通过 spring ioc 编写了一些 Rest 应用程序。但我无法解决这个问题。这是我的异常(exception): org.springframework.beans.factory.BeanC
我对 TestNG、Spring 框架等完全陌生,我正在尝试使用注释 @Value通过 @Configuration 访问配置文件注释。 我在这里想要实现的目标是让控制台从配置文件中写出“hi”,通过
为此工作了几个小时。我完全被难住了。 这是 CS113 的实验室。 如果用户在程序(二进制计算器)结束时选择继续,我们需要使用 goto 语句来到达程序的顶部。 但是,我们还需要释放所有分配的内存。
我正在尝试使用 ffmpeg 库构建一个小的 C 程序。但是我什至无法使用 avformat_open_input() 打开音频文件设置检查错误代码的函数后,我得到以下输出: Error code:
使用 Spring Initializer 创建一个简单的 Spring boot。我只在可用选项下选择 DevTools。 创建项目后,无需对其进行任何更改,即可正常运行程序。 现在,当我尝试在项目
所以我只是在 Mac OS X 中通过 brew 安装了 qt。但是它无法链接它。当我尝试运行 brew link qt 或 brew link --overwrite qt 我得到以下信息: ton
我在提交和 pull 时遇到了问题:在提交的 IDE 中,我看到: warning not all local changes may be shown due to an error: unable
我跑 man gcc | grep "-L" 我明白了 Usage: grep [OPTION]... PATTERN [FILE]... Try `grep --help' for more inf
我有一段代码,旨在接收任何 URL 并将其从网络上撕下来。到目前为止,它运行良好,直到有人给了它这个 URL: http://www.aspensurgical.com/static/images/a
在过去的 5 个小时里,我一直在尝试在我的服务器上设置 WireGuard,但在完成所有设置后,我无法 ping IP 或解析域。 下面是服务器配置 [Interface] Address = 10.
我正在尝试在 GitLab 中 fork 我的一个私有(private)项目,但是当我按下 fork 按钮时,我会收到以下信息: No available namespaces to fork the
我这里遇到了一些问题。我是 node.js 和 Rest API 的新手,但我正在尝试自学。我制作了 REST API,使用 MongoDB 与我的数据库进行通信,我使用 Postman 来测试我的路
下面的代码在控制台中给出以下消息: Uncaught DOMException: Failed to execute 'appendChild' on 'Node': The new child el
我正在尝试调用一个新端点来显示数据,我意识到在上一组有效的数据中,它在数据周围用一对额外的“[]”括号进行控制台,我认为这就是问题是,而新端点不会以我使用数据的方式产生它! 这是 NgFor 失败的原
我正在尝试将我的 Symfony2 应用程序部署到我的 Azure Web 应用程序,但遇到了一些麻烦。 推送到远程时,我在终端中收到以下消息 remote: Updating branch 'mas
Minikube已启动并正在运行,没有任何错误,但是我无法 curl IP。我在这里遵循:https://docs.traefik.io/user-guide/kubernetes/,似乎没有提到关闭
每当我尝试docker组成任何项目时,都会出现以下错误。 我尝试过有和没有sudo 我在这台机器上只有这个问题。我可以在Mac和Amazon WorkSpace上运行相同的容器。 (myslabs)
我正在尝试 pip install stanza 并收到此消息: ERROR: No matching distribution found for torch>=1.3.0 (from stanza
DNS 解析看起来不错,但我无法 ping 我的服务。可能是什么原因? 来自集群中的另一个 Pod: $ ping backend PING backend.default.svc.cluster.l
我正在使用Hibernate 4 + Spring MVC 4当我开始 Apache Tomcat Server 8我收到此错误: Error creating bean with name 'wel
我是一名优秀的程序员,十分优秀!