[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Possible Problem with JavaHL in 1.3.0 RC2

From: Mark Phippard <markp_at_softlanding.com>
Date: 2005-11-02 19:21:05 CET

Philip Martin <philip@codematters.co.uk> wrote on 11/02/2005 11:42:48 AM:

> Mark Phippard <markp@softlanding.com> writes:
>
> > Stack: [0xaff57000,0xaffd8000), sp=0xaffd61e8, free space=508k
> > Native frames: (J=compiled Java code, j=interpreted, Vv=VM code,
C=native code)
> > C [libsvnjavahl-1.so.0.0.0+0xf2b1]
_ZN7JNIUtil21isJavaExceptionThrownEv+0x21
> > C [libsvnjavahl-1.so.0.0.0+0x10afc]
> _ZN7Notify28onNotifyEPK15svn_wc_notify_tP10apr_pool_t+0x32c
> > C [libsvnjavahl-1.so.0.0.0+0x107c1]
> _ZN7Notify26notifyEPvPK15svn_wc_notify_tP10apr_pool_t+0x31
>
> $ echo _ZN7JNIUtil21isJavaExceptionThrownEv | c++filt
> JNIUtil::isJavaExceptionThrown()
>
> $ echo _ZN7Notify28onNotifyEPK15svn_wc_notify_tP10apr_pool_t | c++filt
> Notify2::onNotify(svn_wc_notify_t const*, apr_pool_t*)
>
> Perhaps getEnv is returning NULL?
>
> The static bool stuff in JNIUtil::JNIInit looks a bit dodgy.

I have done some additional crash scenarios (commit, checkout) and they
produce the same strack trace.

As I am not a C programmer I cannot really analyze the code, but I would
think you are right. Perhaps it has something to do with the
SVN_ASP_DOT_NET_HACK code that was added to the initialization. However,
none of that code should be compiled in the Linux version so it would seem
odd.

Also, I am still at a loss to explain what is different about Subclipse
using this and the test suite, although I imagine it has something to do
with why it works for some repositories and not others. That being said,
I hacked up a JUnit test that checks out that URL I have before and it
works fine. So maybe it is something to do with how the library is
initialized when it is run from Subclipse?

I can post an installable version of Subclipse for anyone that wants to
test this. You need this version because it has the required 1.3 changes
in it.

Thanks

Mark

_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. and SoftLanding Europe Plc by IBM Email Security Management Services powered by MessageLabs.
_____________________________________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Nov 2 19:22:09 2005

This is an archived mail posted to the Subversion Dev mailing list.