[
https://issues.apache.org/jira/browse/SVN-4852?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17068724#comment-17068724
]
Stefan Sperling commented on SVN-4852:
--------------------------------------
Please discuss problems like this on our mailing list before opening an issue.
See [http://subversion.apache.org/reporting-issues.html]
Since this problem involves a segmentation fault, a backtrace of this crash
obtained from a debugger would be very important information for anyone trying
to help.
Unless you are certain that all binaries involved (including the JDK and any
relevant system libraries) have all been built with the same compiler, it is
possible that this is a local issue in your system or distribution.
> libsvnjavahl-1.so.0.0.0 can't be loaded by java with GCC 10
> -----------------------------------------------------------
>
> Key: SVN-4852
> URL: https://issues.apache.org/jira/browse/SVN-4852
> Project: Subversion
> Issue Type: Bug
> Environment: I'm building subversion package with GCC 10 and I see
> the following error:
>
> {code:java}
> [ 6562s] /usr/lib64/jvm/java/bin/java -Xcheck:jni
> "-Dtest.rootdir=/home/abuild/rpmbuild/BUILD/subversion-1.13.0/subversion/bindings/javahl/test-work"
>
> "-Dtest.srcdir=/home/abuild/rpmbuild/BUILD/subversion-1.13.0/subversion/bindings/javahl"
> "-Dtest.rooturl=" "-Dtest.fstype="
> "-Djava.library.path=subversion/bindings/javahl/native/.libs:/usr/lib64"
> -classpath
> "subversion/bindings/javahl/classes:/home/abuild/rpmbuild/BUILD/subversion-1.13.0/subversion/bindings/javahl/src:/usr/share/java/junit.jar"
> "-Dtest.cleanup=" "-Dtest.tests=" org.apache.subversion.javahl.RunTests [
> 6575s] ...................................# [ 6575s] # A fatal error has been
> detected by the Java Runtime Environment: [ 6575s] # [ 6575s] # SIGSEGV (0xb)
> at pc=0x00007fbd31db7a58, pid=20246, tid=20247 [ 6575s] # [ 6575s] # JRE
> version: OpenJDK Runtime Environment (11.0.6+10) (build
> 11.0.6+10-suse-145.1-x8664) [ 6575s] # Java VM: OpenJDK 64-Bit Server VM
> (11.0.6+10-suse-145.1-x8664, mixed mode, tiered, compressed oops, g1 gc,
> linux-amd64) [ 6575s] # Problematic frame: [ 6575s] # C
> [libsvnjavahl-1.so.0.0.0+0x57a58] SVNClient::copy(CopySources&, char const*,
> CommitMessage*, bool, bool, bool, bool, bool, _jobject*, PropertyTable&,
> CommitCallback*)+0x348{code}
> I suspect an ABI change.
> Reporter: Martin Liška
> Priority: Major
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)