You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Gerard Toonstra <to...@uol.com.br> on 2004/11/25 13:33:52 UTC

JavaHL bindings native core dump

Hi there,

I am starting to use the JavaHL bindings. I depend largely on versioned 
properties
for versioned files ( not revisions ).

When I query a path for a property that does not exist ( was NULL ) in that 
version,
the Java HL binding causes an access violation in native code:

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at 
PC=0x398A2D8
Function=[Unknown.]
Library=C:\WINNT\system32\libsvnjavahl-1.dll

NOTE: We are unable to locate the function name symbol for the error
       just occurred. Please refer to release documentation for possible
       reason and solutions.


Current Java thread:
at org.tigris.subversion.javahl.SVNClient.revProperty(Native Method)
at 
org.tigris.subversion.javahl.SVNClientSynchronized.revProperty(SVNClientSynchronized.java:604)
- locked <0x14684c68> (a java.lang.Class)

I believe this is most probably caused by the "createJavaProperty" when 
it's trying
to build a value for a property ( that has no value attached and is 
therefore NULL? ) as SVNClient.cpp does:

jstring jValue = JNIUtil::makeJString(value->data);

Platform = win32. Subversion = 1.1.1 (downloaded binaries). The
binding libraries are also 1.1.1, also downloaded from the site ( both JAR 
and DLL ).

Cheers,

Gerard