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

Re: Problem with KWallet and JavaHL

From: Patrick Mayweg <mayweg_at_qint.de>
Date: Mon, 19 May 2008 06:06:28 +0200

Hi Mark,
the first problem looks like a mix up of your threads. You cannot send
an event to an object of another thread.
For the jvm crash you should use the -verbose:jni and -Xcheck:jni flags
of the jvm. The jvm does not check for any problems in the calls from
the native unless you use these flags and if you should have any memory
management problems, the crash will happen anywhere. So the output of
the crash does not really help you.
Regards,
Patrick

Mark Phippard wrote:
> Build current trunk on Kubuntu. When trying to test JavaHL from
> Subclipse it crashes when trying to save a password. I started
> Eclipse from a console so that I could get some output. This is what
> I get:
>
> ASSERT failure in QCoreApplication::sendEvent: "Cannot send events to
> objects owned by a different thread. Current thread 82abf40. Receiver
> '' (of type 'QSocketNotifier') was created in thread 80e9218", file
> kernel/qcoreapplication.cpp, line 274
> Aborted
>
> The command line tests OK, although I notice that I now have to enter
> my KWallet password on every command. Which seems kind of pointless.
> It looks like if I manually open my wallet then I get the chance to
> say "Always Allow" and after that, while the wallet is open, I do not
> have to enter it again. So it looks like if Subversion opens your
> wallet, then it also closes it.
>
> Finally, I tested Eclipse one more time with the wallet already open.
> I still get a crash, but a different one. This time I get a JVM dump,
> which I have attached.
>
> Something that might be relevant? Is that Eclipse uses the GTK
> libraries for its GUI.
>
>
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: dev-help_at_subversion.tigris.org

-- 
Qint Software GmbH
Fichtenstr. 19
82110 Germering
+49 89 89026749
Sitz: München HRB 117326
Geschäftsführer: Hans Marggraff, Patrick Mayweg
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-05-19 06:06:48 CEST

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