libplanet
libplanet copied to clipboard
`System.Threading.ThreadAbortException` occurs on `linux-unity-test`
System.Threading.ThreadAbortException occurs on various tests of linux-unity-test.
Below are some of them.
FAIL Libplanet.Tests.Blockchain.DefaultStoreBlockChainTest.MineBlock: 3.182188s
System.Threading.ThreadAbortException:
at (wrapper managed-to-native) System.Object.MemberwiseClone(object)
at System.Array.Clone () [0x00000] in <a1e9f114a6e64f4eacb529fc802ec93d>:0
at Org.BouncyCastle.Math.BigInteger.AddToMagnitude (System.Int32[] magToAdd) [0x00055] in <a3172f9b2f4a45059d64d4fd49357606>:0
FAIL Libplanet.Tests.Blockchain.DefaultStoreBlockChainTest.StateAfterForkingAndAddingExistingBlock: 0s
System.Threading.ThreadAbortException:
at (wrapper managed-to-native) System.Array.FastCopy(System.Array,int,System.Array,int,int)
at System.Array.Copy (System.Array sourceArray, System.Int32 sourceIndex, System.Array destinationArray, System.Int32 destinationIndex, System.Int32 length) [0x00081] in <a1e9f114a6e64f4eacb529fc802ec93d>:0
at Org.BouncyCastle.Math.BigInteger.ShiftRight (System.Int32 n) [0x00056] in <a3172f9b2f4a45059d64d4fd49357606>:0
FAIL Libplanet.Tests.Blocks.PreEvaluationBlockTest.SafeConstructorWithPreEvaluationHash: 0s
System.Threading.ThreadAbortException:
at (wrapper managed-to-native) System.Object.__icall_wrapper_ves_icall_object_new_specific(intptr)
at Org.BouncyCastle.Math.EC.ECPoint.ImplIsValid (System.Boolean decompressed, System.Boolean checkOrder) [0x0000a] in <a3172f9b2f4a45059d64d4fd49357606>:0
FAIL Libplanet.Tests.Store.BlockSetTest.CanStoreItem: 0s
System.Threading.ThreadAbortException:
at Libplanet.Tests.Store.MemoryStoreFixture..ctor (Libplanet.Action.IAction blockAction) [0x00000] in /mnt/ramdisk/Libplanet.Tests/Store/MemoryStoreFixture.cs:10
FAIL Libplanet.Tests.Blockchain.DefaultStoreBlockChainTest.GetBlockLocator: 0.3993193s
System.Threading.ThreadAbortException:
at Org.BouncyCastle.Math.BigInteger.Equals (System.Object obj) [0x00006] in <a3172f9b2f4a45059d64d4fd49357606>:0
FAIL Libplanet.Tests.Blockchain.BlockChainTest.FindNextHashesAfterFork: 0s
System.Threading.ThreadAbortException:
at (wrapper managed-to-native) System.Object.__icall_wrapper_ves_icall_object_new_specific(intptr)
at Org.BouncyCastle.Math.EC.FpFieldElement.Multiply (Org.BouncyCastle.Math.EC.ECFieldElement b) [0x0001e] in <a3172f9b2f4a45059d64d4fd49357606>:0
FAIL Libplanet.Tests.Blockchain.BlockChainTest.GetNextTxNonceWithStaleTx: 0s
System.Threading.ThreadAbortException:
at (wrapper managed-to-native) System.Object.__icall_wrapper_ves_icall_object_new_specific(intptr)
at Org.BouncyCastle.Math.BigInteger.AddToMagnitude (System.Int32[] magToAdd) [0x0006c] in <a3172f9b2f4a45059d64d4fd49357606>:0
FAIL Libplanet.Tests.Blockchain.BlockChainTest.Fork: 1.1873418s
System.Threading.ThreadAbortException:
at (wrapper managed-to-native) System.Object.__icall_wrapper_ves_icall_array_new_specific(intptr,int)
at Org.BouncyCastle.Math.BigInteger.ShiftRight (System.Int32 n) [0x00043] in <a3172f9b2f4a45059d64d4fd49357606>:0
FAIL Libplanet.Tests.Blockchain.DefaultStoreBlockChainTest.MineBlockWithMaxTransactions: 3.2209828s
System.Threading.ThreadAbortException:
at (wrapper managed-to-native) System.Array.FastCopy(System.Array,int,System.Array,int,int)
at System.Array.Copy (System.Array sourceArray, System.Int32 sourceIndex, System.Array destinationArray, System.Int32 destinationIndex, System.Int32 length) [0x00081] in <a1e9f114a6e64f4eacb529fc802ec93d>:0
at Org.BouncyCastle.Math.BigInteger.LastNBits (System.Int32 n) [0x0002a] in <a3172f9b2f4a45059d64d4fd49357606>:0
FAIL Libplanet.Tests.Blockchain.DefaultStoreBlockChainTest.GetBlockLocator: 0.3993193s
System.Threading.ThreadAbortException:
at Org.BouncyCastle.Math.BigInteger.Equals (System.Object obj) [0x00006] in <a3172f9b2f4a45059d64d4fd49357606>:0
at Org.BouncyCastle.Math.EC.FpFieldElement.ModReduce (Org.BouncyCastle.Math.BigInteger x) [0x00056] in <a3172f9b2f4a45059d64d4fd49357606>:0
Most of them are aborted on operation of Org.BouncyCastle.Math.BigInteger, but reason is not identified yet.
Suspect that managed c++ dll does not work properly, but couldn't figure out the reason.