Open garethtdavies opened 3 years ago
There's no monadic bind between getting the ledger and this failed call, so the mask was detached when obtained. Is there a guarantee of the attachment stability of a ledger in a breadcrumb?
The purpose of the call is to get a receipt chain status, which I believe is not meaningful now. Can we omit this code, somehow?
This could be one of those rare race condition bugs we have seen because of the lack of transition frontier synchronization for extensions. This RFC specifies the issue and how to solve it, we just haven't had a chance to take this work yet. https://github.com/MinaProtocol/mina/blob/develop/rfcs/0028-frontier-synchronization.md
minaprotocol/mina-daemon:1.2.0-fe51f1e-mainnet crash report node crashed after block creation
Generating crash report
exn: {
"commit_id": "fe51f1ef5cfbcb4d5f559af39080963cf28ff1af",
"sexp": [
"monitor.ml.Error",
[
"Merkle_mask.Masking_merkle_tree.Make(Inputs).Attached.Dangling_parent_reference(\"f601d181-8062-3061-bdc0-91e56b866876\", \"File \\"src/lib/mina_lib/mina_lib.ml\\", line 1357, characters 49-56\")"
],
[
"Raised at file \"src/lib/merkle_mask/masking_merkle_tree.ml\", line 116, characters 10-57",
"Called from file \"src/lib/merkle_mask/masking_merkle_tree.ml\", line 542, characters 6-26",
"Called from file \"src/lib/network_pool/snark_pool.ml\", line 265, characters 18-115",
"Called from file \"src/lib/network_pool/snark_pool.ml\", line 429, characters 10-59",
"Called from file \"src/lib/network_pool/snark_pool_diff.ml\", line 121, characters 17-65",
"Called from file \"src/lib/network_pool/network_pool_base.ml\", line 172, characters 22-68",
"Called from file \"src/result.ml\", line 151, characters 9-15",
"Caught by monitor coda"
]
],
"backtrace": [
"Raised at file \"stdlib.ml\", line 33, characters 17-33",
"Called from file \"src/pipe.ml\", line 873, characters 10-13",
"Called from file \"src/job_queue.ml\" (inlined), line 131, characters 2-5",
"Called from file \"src/job_queue.ml\", line 171, characters 6-47"
]
}
2021-11-03 23:15:33 UTC [Fatal] Unhandled top-level exception: $exn
Generating crash report
exn: {
"commit_id": "fe51f1ef5cfbcb4d5f559af39080963cf28ff1af",
"sexp": [
"monitor.ml.Error",
[
"Failure",
"traced task R&snark_pool_verification
failed, exception reported to parent monitor"
],
[
"Raised at file \"stdlib.ml\", line 33, characters 17-33",
"Called from file \"src/pipe.ml\", line 873, characters 10-13",
"Called from file \"src/job_queue.ml\" (inlined), line 131, characters 2-5",
"Called from file \"src/job_queue.ml\", line 171, characters 6-47",
"Caught by monitor coda"
]
],
"backtrace": [
"Raised at file \"format.ml\" (inlined), line 242, characters 35-52",
"Called from file \"format.ml\", line 469, characters 8-33",
"Called from file \"format.ml\", line 484, characters 6-24"
]
}
2021-11-03 23:15:34 UTC [Info] Coda daemon is booting up; built with commit "fe51f1ef5cfbcb4d5f559af39080963cf28ff1af" on branch "master"