[ 
https://issues.apache.org/jira/browse/SVN-4852?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17071483#comment-17071483
 ] 

Martin Liška commented on SVN-4852:
-----------------------------------

I've made a deeper analysis and it's really caused by a GCC revision. However, 
the revision only allowed more inlining and I still suspect a use-after-scope 
or another memory violation. Can you please run it with -fsanitize=address?

Link to the analysis: [https://bugzilla.opensuse.org/show_bug.cgi?id=1167467]

> 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)

Reply via email to