adoptium / adoptium/aqa-tests

arm linux renaissance-db-shootout_0 unsafe memory access operation

Open
#6,669 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
155
Forks
346
Avg merge
2d 9h
Merged PRs (30d)
36

Description

ref: https://github.com/adoptium/aqa-tests/issues/6662#issuecomment-3410538368
BUILD_LIST=perf
TARGET=testList TESTLIST=renaissance-db-shootout_0
```
11:15:04 Benchmark 'db-shootout' failed with exception:
11:15:04 java.lang.InternalError: a fault occurred in a recent unsafe memory access operation in compiled Java code
11:15:04 at net.openhft.chronicle.map.ChronicleMapBuilder.createWithNewFile(ChronicleMapBuilder.java:1858)
11:15:04 at net.openhft.chronicle.map.ChronicleMapBuilder.createWithFile(ChronicleMapBuilder.java:1755)
11:15:04 at net.openhft.chronicle.map.ChronicleMapBuilder.createPersistedTo(ChronicleMapBuilder.java:1618)
11:15:04 at org.lmdbjava.bench.Chronicle$CommonChronicleMap.setup(Chronicle.java:122)
11:15:04 at org.lmdbjava.bench.Chronicle$Reader.setup(Chronicle.java:204)
11:15:04 at org.renaissance.database.DbShootout.setUpBeforeAll(DbShootout.scala:96)
11:15:04 at org.renaissance.harness.ExecutionDriver.executeBenchmark(ExecutionDriver.java:82)
11:15:04 at org.renaissance.harness.RenaissanceSuite$.runBenchmarks$$anonfun$1(RenaissanceSuite.scala:172)
11:15:04 at scala.runtime.function.JProcedure1.apply(JProcedure1.java:15)
11:15:04 at scala.runtime.function.JProcedure1.apply(JProcedure1.java:10)
11:15:04 at scala.collection.immutable.List.foreach(List.scala:334)
11:15:04 at org.renaissance.harness.RenaissanceSuite$.runBenchmarks(RenaissanceSuite.scala:161)
11:15:04 at org.renaissance.harness.RenaissanceSuite$.main(RenaissanceSuite.scala:130)
11:15:04 at org.renaissance.harness.RenaissanceSuite.main(RenaissanceSuite.scala)
11:15:04 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
11:15:04 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
11:15:04 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
11:15:04 at java.base/java.lang.reflect.Method.invoke(Method.java:566)
11:15:04 at org.renaissance.core.Launcher.loadAndInvokeHarnessClass(Launcher.java:129)
11:15:04 at org.renaissance.core.Launcher.launchHarnessClass(Launcher.java:78)
11:15:04 at org.renaissance.core.Launcher.main(Launcher.java:43)
11:15:04 The following benchmarks failed: db-shootout
```

Contributor guide

Open the contributing guide

Research direction

Reproduce the BUILD_LIST=perf run for TARGET=testList and TESTLIST=renaissance-db-shootout_0 on ARM Linux, then inspect the failure beginning at ChronicleMapBuilder.createWithNewFile and the callers in Chronicle.java and DbShootout.scala. Done means the db-shootout benchmark completes without the unsafe memory access error and the regression is covered by the relevant test or benchmark run.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, scala
Domain
operating-systems, testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.