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

zhaorenhai edited comment on CASSANDRA-16390 at 1/19/21, 6:59 AM:
------------------------------------------------------------------

The backport issue  was already resolved in openjdk-11.0.11, but still not be 
released. [https://bugs.openjdk.java.net/browse/JDK-8258570#]

So I forked a jdk repository from [https://github.com/openjdk/jdk11u]

and refered this code [https://github.com/openjdk/jdk/pull/344/files]

to fix this issue by myself.

You can find the branch here: 
[https://github.com/zhaorenhai/jdk11u/tree/jdk-8258570]

and I compiled the openjdk by myself with the guide: 
[https://github.com/openjdk/jdk/blob/master/doc/building.md]

and with the manually compiled jdk, I tested again, this issue disappeared.

So I think maybe in our aarch64 CI, we can use this manully compiled JDK.

When official openjdk-11.0.11 is released, we can switch to it.


was (Author: renhaizhao):
The backport issue already was resolved in openjdk-11.0.11, but still not be 
released. [https://bugs.openjdk.java.net/browse/JDK-8258570#]

So I forked a jdk repository from [https://github.com/openjdk/jdk11u]

and refered this code [https://github.com/openjdk/jdk/pull/344/files]

to fix this issue by myself.

You can find the branch here: 
[https://github.com/zhaorenhai/jdk11u/tree/jdk-8258570]

and I compile the openjdk by myself with the guide: 
[https://github.com/openjdk/jdk/blob/master/doc/building.md]

and with the manually compiled jdk, I tested again, this issue disappeared.

So I think maybe in our aarch64 CI, we can use this manully compiled JDK.

When official openjdk-11.0.11 is released, we can switch to it.

> Testcase SASIIndexTest failed on aarch64 platform
> -------------------------------------------------
>
>                 Key: CASSANDRA-16390
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16390
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Feature/SASI
>            Reporter: zhaorenhai
>            Assignee: zhaorenhai
>            Priority: Normal
>         Attachments: hs_err_pid4230.log
>
>
> When run ant; ant test on aarch64 platform, SASIIndexTest failed,the output 
> as follows:
> {code:java}
> [junit-timeout] Testsuite: org.apache.cassandra.index.sasi.SASIIndexTest
> [junit-timeout] #
> [junit-timeout] # A fatal error has been detected by the Java Runtime 
> Environment:
> [junit-timeout] #
> [junit-timeout] #  SIGSEGV (0xb) at pc=0x0000000000000000, pid=4230, 
> tid=0x0000ffffb1ba11f0
> [junit-timeout] #
> [junit-timeout] # JRE version: OpenJDK Runtime Environment (8.0_275-b01) 
> (build 1.8.0_275-8u275-b01-0ubuntu1~18.04-b01)
> [junit-timeout] # Java VM: OpenJDK 64-Bit Server VM (25.275-b01 mixed mode 
> linux-aarch64 compressed oops)
> [junit-timeout] # Problematic frame:
> [junit-timeout] # C  0x0000000000000000
> [junit-timeout] #
> [junit-timeout] # Failed to write core dump. Core dumps have been disabled. 
> To enable core dumping, try "ulimit -c unlimited" before starting Java again
> [junit-timeout] #
> [junit-timeout] # An error report file with more information is saved as:
> [junit-timeout] # /home/cassandra/cassandra/hs_err_pid4230.log
> [junit-timeout] #
> [junit-timeout] # If you would like to submit a bug report, please visit:
> [junit-timeout] #   http://bugreport.java.com/bugreport/crash.jsp
> [junit-timeout] #
> [junit-timeout] Testsuite: org.apache.cassandra.index.sasi.SASIIndexTest
> [junit-timeout] Testsuite: org.apache.cassandra.index.sasi.SASIIndexTest 
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec
> [junit-timeout]
> [junit-timeout] Testcase: 
> org.apache.cassandra.index.sasi.SASIIndexTest:testTableRebuild:       Caused 
> an ERROR
> [junit-timeout] Forked Java VM exited abnormally. Please note the time in the 
> report does not reflect the time until the VM exit.
> [junit-timeout] junit.framework.AssertionFailedError: Forked Java VM exited 
> abnormally. Please note the time in the report does not reflect the time 
> until the VM exit.
> [junit-timeout]         at java.util.Vector.forEach(Vector.java:1277)
> [junit-timeout]         at java.util.Vector.forEach(Vector.java:1277)
> [junit-timeout]         at java.lang.Thread.run(Thread.java:748)
> [junit-timeout]
> [junit-timeout]
> [junit-timeout] Test org.apache.cassandra.index.sasi.SASIIndexTest FAILED 
> (crashed)
>    [delete] Deleting directory 
> /home/cassandra/cassandra/build/test/cassandra/commitlog:333
>    [delete] Deleting directory 
> /home/cassandra/cassandra/build/test/cassandra/data:333
>    [delete] Deleting directory 
> /home/cassandra/cassandra/build/test/cassandra/saved_caches:333
>    [delete] Deleting directory 
> /home/cassandra/cassandra/build/test/cassandra/hints:333
> {code}
> attached file hs_err_pid4230.log, finding the root cause



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to