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

"Daniel Sahlberg (Jira)" <[email protected]> Fri, 31 Jan 2025 12:32:00 +0000 (UTC)
Newsgroups gmane.comp.version-control.subversion.issues
Message-ID <[email protected]>
    [ https://issues.apache.org/jira/browse/SVN-4852?page=3Dcom.atlassian.j=
ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D179227=
06#comment-17922706 ]=20

Daniel Sahlberg commented on SVN-4852:
--------------------------------------

This issue seems to be the same as [https://lists.apache.org/thread/zzjzw6v=
3o16kog7y2ww8pv4h95y4mvcl,] the call stack references the same line in jni_=
string_mapp.hpp.

=C2=A0

This was fixed in r1880886.

> 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 se=
e the following error:
> =C2=A0
> {code:java}
> [ 6562s] /usr/lib64/jvm/java/bin/java -Xcheck:jni "-Dtest.rootdir=3D/home=
/abuild/rpmbuild/BUILD/subversion-1.13.0/subversion/bindings/javahl/test-wo=
rk" "-Dtest.srcdir=3D/home/abuild/rpmbuild/BUILD/subversion-1.13.0/subversi=
on/bindings/javahl" "-Dtest.rooturl=3D" "-Dtest.fstype=3D" "-Djava.library.=
path=3Dsubversion/bindings/javahl/native/.libs:/usr/lib64" -classpath "subv=
ersion/bindings/javahl/classes:/home/abuild/rpmbuild/BUILD/subversion-1.13.=
0/subversion/bindings/javahl/src:/usr/share/java/junit.jar" "-Dtest.cleanup=
=3D" "-Dtest.tests=3D" org.apache.subversion.javahl.RunTests [ 6575s] .....=
..............................# [ 6575s] # A fatal error has been detected =
by the Java Runtime Environment: [ 6575s] # [ 6575s] # SIGSEGV (0xb) at pc=
=3D0x00007fbd31db7a58, pid=3D20246, tid=3D20247 [ 6575s] # [ 6575s] # JRE v=
ersion: 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, b=
ool, _jobject*, PropertyTable&, CommitCallback*)+0x348{code}
> I suspect an ABI change.
>            Reporter: Martin Li=C5=A1ka
>            Priority: Major
>         Attachments: hs_err_pid16816.log
>
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)