[jira] [Commented] (SVN-4852) libsvnjavahl-1.so.0.0.0 can't be loaded by java with GCC 10

"Stefan Sperling (Jira)" <[email protected]>
Newsgroups gmane.comp.version-control.subversion.issues
Message-ID <[email protected]>
    [ https://issues.apache.org/jira/browse/SVN-4852?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17068937#comment-17068937 ] 

Stefan Sperling commented on SVN-4852:
--------------------------------------

Thanks for the crash dump.

I checked but I have no idea where the problem could be, sorry.

It seems to be a crash in the JavaHL test suite, so it could be a bug in Subversion's code or the tests,

though this test code has been successfully run across multiple platforms for quite some time without crashing like this.

 

Do you have any idea why this only happens with gcc 10?

> 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
>         Attachments: hs_err_pid16816.log
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.