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

Re: JavaHL: JNIError: bad C++ this

From: Walter Klust <walter.klust_at_elego.de>
Date: Fri, 8 Jul 2016 16:16:19 +0200

On 08.07.2016 13:11, Branko Čibej wrote:
> On 08.07.2016 10:58, Walter Klust wrote:
>> Hello,
>>
>> I have an interesting problem concerning JavaHL:
>>
>> - Windows 7, JRE 8u66, Eclipse 4.2.1, Subclipse 1.8.22, JavaHL 1.8.10
>> - a changeset of around 2000 files; roughly 50% modified and 50%
>> deleted (probably to a large refactoring)
>> - on trying to commit the changes eclipse pops up a message after a
>> short time: "Internal error occured during SVNCommit", "bad C++ this"
>> - in the eclipse logs a stacktrace was found:
>>
>> org.apache.subversion.javahl.JNIError: bad C++ this
>> at org.apache.subversion.javahl.SVNClient.dispose(Native Method)
>> at
>> org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.dispose(AbstractJhlClientAdapter.java:3007)
>>
>> at
>> org.tigris.subversion.subclipse.core.SVNClientManager.returnSVNClient(SVNClientManager.java:162)
>>
>> at
>> org.tigris.subversion.subclipse.ui.operations.CommitOperation.execute(CommitOperation.java:113)
>>
>> at
>> org.tigris.subversion.subclipse.ui.operations.SVNOperation.run(SVNOperation.java:90)
>>
>> at
>> org.eclipse.team.internal.ui.actions.JobRunnableContext.run(JobRunnableContext.java:144)
>>
>> at
>> org.eclipse.team.internal.ui.actions.JobRunnableContext$ResourceJob.runInWorkspace(JobRunnableContext.java:72)
>>
>> at
>> org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
>>
>> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
>>
>>
>> - this error does not occur when trying to commit a subset of the
>> changes, e.g. any 2 of 4 subdirectories can be comitted successfully
>> but not all 4 together.
>>
>> It looks to me like a quantity problem; something like an internal
>> buffer overflow due to the large changeset. I tried to reproduce this
>> with a similar number of modified/deleted files but had no success so
>> far.
>>
>> Any ideas how to analyze this problem further ?
>
> Is there any chance you could try this with JavaHL 1.9.x? There've been
> a number of improvements since 1.8.
>
> -- Brane
>

It was tested with JavaHL 1.9.3. The error persists:

JAVAHL (JNI) 1.9.3 (r1718519)

  org.apache.subversion.javahl.JNIError: bad C++ this
          at org.apache.subversion.javahl.SVNClient.dispose(Native Method)
          at
  org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.dispose(AbstractJhlClientAdapter.java:3007)
          at
  org.tigris.subversion.subclipse.core.SVNClientManager.returnSVNClient(SVNClientManager.java:162)
          at
  org.tigris.subversion.subclipse.ui.operations.CommitOperation.execute(CommitOperation.java:104)
          at
  org.tigris.subversion.subclipse.ui.operations.SVNOperation.run(SVNOperation.java:90)
          at
  org.eclipse.team.internal.ui.actions.JobRunnableContext.run(JobRunnableContext.java:144)
          at
  org.eclipse.team.internal.ui.actions.JobRunnableContext$ResourceJob.runInWorkspace(JobRunnableContext.java:72)
          at
  org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
          at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)

-- 
Walter Klust, Director Support
fon +49 30 322 971 300, fax +49 30 2345 8695
elego Software Solutions GmbH, http://www.elegosoft.com
Building 12 (BIG), Gustav-Meyer-Allee 25, 13355 Berlin, Germany
Registered Office: Berlin, VAT Reg No: DE 163214194
Trade Register: District Court Charlottenburg HRB 77719
Managing Directors: Olaf Wagner
Received on 2016-07-08 16:16:26 CEST

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

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