eclipse3.2+subclipse libapriconv-1.dll问题

来源:互联网 发布:h5手游源码 完整服务端 编辑:程序博客网 时间:2024/05/16 01:16

eclipse3.2+subclipse1.2.3,共享项目时,eclipse居然自动关闭了,试了好久都不知道什么问题。
错误信息如下
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x05037c0c, pid=1892, tid=2400
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0-b64 mixed mode, sharing)
# Problematic frame:
# C  [libapr-1.dll+0x7c0c]
#

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

Current thread (0x008233a0):  JavaThread "main" [_thread_in_native, id=2400]

siginfo: ExceptionCode=0xc0000005, reading address 0x00000000

Registers:
EAX=0x009d2348, EBX=0x00000000, ECX=0x00000000, EDX=0x00000000
ESP=0x00067ea4, EBP=0x00067eb0, ESI=0x0090e0f0, EDI=0x00000000
EIP=0x05037c0c, EFLAGS=0x00010246

Top of Stack: (sp=0x00067ea4)
0x00067ea4:   00000000 0090e0f0 009d2348 00069edc
0x00067eb4:   05021f32 00069ed8 009d2348 00000000
0x00067ec4:   00000000 00000000 0090e0f0 009d2348
0x00067ed4:   00000000 009d2348 00000000 009d2348
0x00067ee4:   009d23e8 6eec84f1 009d2348 00000010
0x00067ef4:   6ee40000 6eec11f2 009d2348 009d23e8
0x00067f04:   6eec1210 6eec8610 009d2348 009d2398
0x00067f14:   009d2348 009d2348 00000000 003a0043

Instructions: (pc=0x05037c0c)
0x05037bfc:   89 55 10 53 8b 5d 14 56 57 85 db 75 03 8b 58 18
0x05037c0c:   8b 03 bf 01 00 00 00 3b c7 0f 82 19 01 00 00 8b


Stack: [0x00030000,0x00070000),  sp=0x00067ea4,  free space=223k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [libapr-1.dll+0x7c0c]
C  [libapriconv-1.dll+0x1f32]
C  [libapriconv-1.dll+0x1da4]
C  [_tbl_simple.so+0x123b]
C  [_tbl_simple.so+0x11c4]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  org.tigris.subversion.javahl.SVNClient.status(Ljava/lang/String;ZZZZZ)[Lorg/tigris/subversion/javahl/Status;+0
j  org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.getStatus(Ljava/io/File;ZZZZ)[Lorg/tigris/subversion/svnclientadapter/ISVNStatus;+83
j  org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.getStatus(Ljava/io/File;ZZZ)[Lorg/tigris/subversion/svnclientadapter/ISVNStatus;+7
j  org.tigris.subversion.subclipse.core.client.PeekStatusCommand.execute(Lorg/tigris/subversion/svnclientadapter/ISVNClientAdapter;)V+61
j  org.tigris.subversion.subclipse.core.resources.SVNWorkspaceRoot.peekResourceStatusFor(Lorg/eclipse/core/resources/IResource;)Lorg/tigris/subversion/subclipse/core/resources/LocalResourceStatus;+16
j  org.tigris.subversion.subclipse.ui.wizards.sharing.SharingWizard.doesSVNDirectoryExist()Z+7
j  org.tigris.subversion.subclipse.ui.wizards.sharing.SharingWizard.addPages()V+10
j  org.eclipse.team.internal.ui.wizards.ConfigureProjectWizardMainPage$1.selectionChanged(Lorg/eclipse/jface/viewers/SelectionChangedEvent;)V+129
j  org.eclipse.jface.viewers.Viewer$2.run()V+8
.......


最后在找到一篇文章:
http://subclipse.tigris.org/serv ... ers&msgNo=10234
里面说是由于安装svn1.4.4和apache2.2时,一个环境变量所导致的,原文如下:
Subclipse can crash on Windows if you have the environment variable
APR_ICONV_PATH set and it is pointing at a set of libraries that were
built against Apache 2.2.  If that is the case, change the environment
variable name to APR_ICONV1_PATH and that will fix the problem.  The
libraries from 2.2 will look for the variable with the "1" in it first
anyway.  So this is a proper change to make.

If you want to be thorough, you could download the zip file for
Subversion 1.4.3, and point the APR_ICONV_PATH variable at the iconv
folder that came with it.

解决方法:
将环境变量 APR_ICONV_PATH改为APR_ICONV1_PATH
或者下载Subversion 1.4.3的zip包,将环境变量 APR_ICONV_PATH 指向解压后的 iconv文件夹。

http://doc.iusesvn.com/show-35-1.html

 

http://subclipse.tigris.org/issues/show_bug.cgi?id=523

libapr*-1.dllThe binaries includes with Subclipse are the "official" Subversion Windows
binaries for 1.3.x as posted to their web site.

原创粉丝点击