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

Weird JavaHL problem

From: Mark Phippard <markphip_at_gmail.com>
Date: Tue, 9 Sep 2008 09:53:10 -0400

I have had two different Subclipse on OSX users have a problem that
the JVM crashes as soon as Subclipse touches JavaHL. In both cases,
the error is this:

% gdb eclipse
(gdb) run

... lots of warnings ...

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0xf1f21bc8
[Switching to process 644 thread 0x2c903]
0x92f850a8 in Pool::~Pool ()

(gdb) bt
#0 0x92f850a8 in Pool::~Pool ()
#1 0x317ee050 in SVNClient::setConfigDirectory ()
#2 0x317fe9e4 in
Java_org_tigris_subversion_javahl_SVNClient_setConfigDirectory ()

We are most likely passing a NULL for the path of the config
directory. It was actually a problem in 1.4 that this would get an
error, but it was fixed in 1.5. The thing that is really odd, is that
I do all my development on OSX and do not see this, as does the other
Subclipse developer. I think we are all using the binaries that
Jeremy Whitlock produces. So it just seems odd that the behavior
would vary.

I thought that maybe the first user I helped was somehow getting a
1.4.x version of the library loaded but that turned out not to be the
case. I also had this user specify ~/.subversion in Subclipse so that
we were passing a String and not a NULL.

Does anyone have any ideas what could cause this or what to look at?

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-09-09 15:53:23 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.