|
| 1 | += Concurrent test failed = |
| 2 | + |
| 3 | +java.lang.IllegalStateException: Check failed. |
| 4 | + at org.jetbrains.kotlinx.lincheck_test.representation.AccessFieldRepresentationTest.block(AccessFunctionRepresentationTest.kt:49) |
| 5 | + at org.jetbrains.kotlinx.lincheck_test.representation.AccessFieldRepresentationTest.block(AccessFunctionRepresentationTest.kt:42) |
| 6 | + at org.jetbrains.kotlinx.lincheck_test.representation.BaseRunConcurrentRepresentationTest$testRunWithModelChecker$result$1$1.invoke(RunConcurrentRepresentationTests.kt:40) |
| 7 | + at java.base/java.lang.Thread.run(Thread.java:840) |
| 8 | + |
| 9 | +The following interleaving leads to the error: |
| 10 | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
| 11 | +| Thread 1 | |
| 12 | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
| 13 | +| AccessFieldRepresentationTest#1.block(): threw IllegalStateException at BaseRunConcurrentRepresentationTest$testRunWithModelChecker$result$1$1.invoke(RunConcurrentRepresentationTests.kt:40) | |
| 14 | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
| 15 | + |
| 16 | +Detailed trace: |
| 17 | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
| 18 | +| Thread 1 | |
| 19 | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
| 20 | +| AccessFieldRepresentationTest#1.block(): threw IllegalStateException at BaseRunConcurrentRepresentationTest$testRunWithModelChecker$result$1$1.invoke(RunConcurrentRepresentationTests.kt:40) | |
| 21 | +| block(): threw IllegalStateException at AccessFieldRepresentationTest.block(AccessFunctionRepresentationTest.kt:42) | |
| 22 | +| AccessFunctionRepresentationTestKt.runn(block$1) at AccessFieldRepresentationTest.block(AccessFunctionRepresentationTest.kt:48) | |
| 23 | +| block$1.invoke() at AccessFunctionRepresentationTestKt.runn(AccessFunctionRepresentationTest.kt:39) | |
| 24 | +| invoke() at AccessFieldRepresentationTest$block$1.invoke(AccessFunctionRepresentationTest.kt:48) | |
| 25 | +| AccessFieldRepresentationTest#1.a ➜ 1 at AccessFieldRepresentationTest$block$1.invoke(AccessFunctionRepresentationTest.kt:48) | |
| 26 | +| AccessFieldRepresentationTest#1.a = 2 at AccessFieldRepresentationTest$block$1.invoke(AccessFunctionRepresentationTest.kt:48) | |
| 27 | +| result: IllegalStateException #1 | |
| 28 | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
0 commit comments