You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Mark Phippard <ma...@gmail.com> on 2009/04/05 15:43:59 UTC

Gnome Keyring in 1.6 not working with JavaHL

I think we had this problem when the feature was first added and it
was fixed, but I cannot find it now in the history, maybe it was for
KWallet?  I do know this feature was working well at one time though.

When a Subclipse user uses JavaHL and it has been built with gnome
keyring, their Eclipse essentially hangs.  A Subclipse user that uses
Gentoo has filed a bug report with some details:

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

Basically, it is an Invalid Thread Access exception.

I see the same thing with the RPM's we are packaging at CollabNet.  I
was in the process of testing my own build when this bug report came
in.

-- 
Thanks

Mark Phippard
http://markphip.blogspot.com/

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1552313

Re: Gnome Keyring in 1.6 not working with JavaHL

Posted by Arfrever Frehtes Taifersar Arahesis <Ar...@GMail.Com>.
2009-04-06 00:14:12 Mark Phippard napisał(a):
> On Sun, Apr 5, 2009 at 12:11 PM, Arfrever Frehtes Taifersar Arahesis
> <ar...@gmail.com> wrote:
> > 2009-04-05 17:43:59 Mark Phippard napisał(a):
> >> I think we had this problem when the feature was first added and it
> >> was fixed, but I cannot find it now in the history, maybe it was for
> >> KWallet?
> >
> > There was a problem when libsvn_auth_kwallet was creating KApplication
> > object which was crashing Eclipse. It was fixed in r31854 and r31861.
> >
> >> I do know this feature was working well at one time though.
> >
> > libsvn_auth_kwallet was also working correctly with Subclipse after r31854.
> >
> >> When a Subclipse user uses JavaHL and it has been built with gnome
> >> keyring, their Eclipse essentially hangs.
> >
> > I'm confirming the same problem when using libsvn_auth_kwallet with Subclipse.
> > (I was able to reproduce this problem with r35737.)
> 
> So are you saying that the problem also exists with KWallet even
> though you had seemingly fixed it at one point?

This problem (Eclipse hangs) exists now also with KWallet. In r31854 and r31861
I fixed a different problem (Eclipse was crashing).

Eclipse started to hang between 2008-06-25 and 2009-02-01.

> I tested both when the features were first added.  I reported the
> KWallet problem as you noted and fixed.  Gnome worked fine back when I
> was testing.  I have not done much testing with in Subclipse since
> then as I do not normally work on Linux.

-- 
Arfrever Frehtes Taifersar Arahesis

Re: Gnome Keyring in 1.6 not working with JavaHL

Posted by Mark Phippard <ma...@gmail.com>.
On Sun, Apr 5, 2009 at 12:11 PM, Arfrever Frehtes Taifersar Arahesis
<ar...@gmail.com> wrote:
> 2009-04-05 17:43:59 Mark Phippard napisał(a):
>> I think we had this problem when the feature was first added and it
>> was fixed, but I cannot find it now in the history, maybe it was for
>> KWallet?
>
> There was a problem when libsvn_auth_kwallet was creating KApplication
> object which was crashing Eclipse. It was fixed in r31854 and r31861.
>
>> I do know this feature was working well at one time though.
>
> libsvn_auth_kwallet was also working correctly with Subclipse after r31854.
>
>> When a Subclipse user uses JavaHL and it has been built with gnome
>> keyring, their Eclipse essentially hangs.
>
> I'm confirming the same problem when using libsvn_auth_kwallet with Subclipse.
> (I was able to reproduce this problem with r35737.)

So are you saying that the problem also exists with KWallet even
though you had seemingly fixed it at one point?

I tested both when the features were first added.  I reported the
KWallet problem as you noted and fixed.  Gnome worked fine back when I
was testing.  I have not done much testing with in Subclipse since
then as I do not normally work on Linux.

-- 
Thanks

Mark Phippard
http://markphip.blogspot.com/

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1555257


Re: Gnome Keyring in 1.6 not working with JavaHL

Posted by Arfrever Frehtes Taifersar Arahesis <Ar...@GMail.Com>.
2009-04-05 17:43:59 Mark Phippard napisał(a):
> I think we had this problem when the feature was first added and it
> was fixed, but I cannot find it now in the history, maybe it was for
> KWallet?

There was a problem when libsvn_auth_kwallet was creating KApplication
object which was crashing Eclipse. It was fixed in r31854 and r31861.

> I do know this feature was working well at one time though.

libsvn_auth_kwallet was also working correctly with Subclipse after r31854.

> When a Subclipse user uses JavaHL and it has been built with gnome
> keyring, their Eclipse essentially hangs.

I'm confirming the same problem when using libsvn_auth_kwallet with Subclipse.
(I was able to reproduce this problem with r35737.)

> A Subclipse user that uses Gentoo has filed a bug report with some details:
> 
> http://subclipse.tigris.org/issues/show_bug.cgi?id=889
> 
> Basically, it is an Invalid Thread Access exception.
> 
> I see the same thing with the RPM's we are packaging at CollabNet.  I
> was in the process of testing my own build when this bug report came
> in.

-- 
Arfrever Frehtes Taifersar Arahesis

Re: Gnome Keyring in 1.6 not working with JavaHL

Posted by Mark Phippard <ma...@gmail.com>.
On Mon, Apr 6, 2009 at 7:34 AM, Senthil Kumaran S <se...@collab.net> wrote:
> Mark Phippard wrote:
>> http://subclipse.tigris.org/issues/show_bug.cgi?id=889
>>
>> Basically, it is an Invalid Thread Access exception.
>
> I am trying to reproduce this problem in subversion (in my dev environment). If
> anyone has an easy way to do the same. Let me know.

Install Subclipse 1.6.x into Eclipse.  Follow instructions on this
Wiki for controlling the JavaHL library it uses:

http://subclipse.tigris.org/wiki/JavaHL

-- 
Thanks

Mark Phippard
http://markphip.blogspot.com/

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1560877

Re: Gnome Keyring in 1.6 not working with JavaHL

Posted by Senthil Kumaran S <se...@collab.net>.
Mark Phippard wrote:
> http://subclipse.tigris.org/issues/show_bug.cgi?id=889
> 
> Basically, it is an Invalid Thread Access exception.

I am trying to reproduce this problem in subversion (in my dev environment). If
anyone has an easy way to do the same. Let me know.

Thank You.
-- 
Senthil Kumaran S
http://www.stylesen.org/

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1560857

Re: Gnome Keyring in 1.6 not working with JavaHL

Posted by Stefan Sperling <st...@elego.de>.
On Sun, Apr 05, 2009 at 11:43:59AM -0400, Mark Phippard wrote:
> I think we had this problem when the feature was first added and it
> was fixed, but I cannot find it now in the history, maybe it was for
> KWallet?  I do know this feature was working well at one time though.
> 
> When a Subclipse user uses JavaHL and it has been built with gnome
> keyring, their Eclipse essentially hangs.  A Subclipse user that uses
> Gentoo has filed a bug report with some details:
> 
> http://subclipse.tigris.org/issues/show_bug.cgi?id=889
> 
> Basically, it is an Invalid Thread Access exception.
> 
> I see the same thing with the RPM's we are packaging at CollabNet.  I
> was in the process of testing my own build when this bug report came
> in.

On OpenBSD, I had to put -pthread into CFLAGS for *all* of Subversion,
because otherwise the linker complained about unresolved symbols wrt
pthread when the GNOME keyring library was loaded at run time.

The OpenBSD Subversion 1.6 port has this in its Makefile:

  # gnome-keyring depends on dbus depends on pthread, so svn won't be able
  # to load libsvn_auth_gnome_keyring without this:
  WANTLIB-main+=	pthread
  CFLAGS+=	-pthread

I don't know if that is related. Mentioning it just in case it helps.

Stefan