grin-miner: Panic Crash from libcore/result.rs on Ubuntu 16.04.5
The grin-miner ran for several days producing grin in the grinmint.com mining pool. And then last night it had a panic and it stopped getting jobs to mine but the mining software did not crash altogether.
Here is the info when it starts:
Jan 31 12:06:49.625 INFO This is Grin-Miner version 1.0.2 (git v1.0.2), built for x86_64-unknown-linux-gnu by rustc 1.31.1 (b6c32da9b 2018-12-18). Jan 31 12:06:49.625 DEBG Built with profile “release”, features “CURSIVE, DEFAULT, OCL_CUCKAROO, OCL_CUCKATOO, OPENCL, TUI” on Thu, 17 Jan 2019 09:43:20 GMT.
and Here is where it crashed: Feb 12 00:11:11.005 DEBG Received request type: job Feb 12 00:11:11.005 INFO Got a new job: JobTemplate { height: 39430, job_id: 3, difficulty: 4, pre_pow: “00010000000000009a06000000005c62556e00000432c09220561897b63950dc11dc17d21ab52455021b92b4a946446a20ab5414520edb2120febdd8cd202208572811575a11d3a9a91c812807818f9b509c7e26c64bab11a404a0b9d74b43cd3abaa1c8502d953eeb0c506007f2f3d9c0cd5caaafb8343570fb616f58bfe6966beda6b843353058d15d64434a75d07d375d552ca66ec5eb6bec2fc20db13484276ebc00eb8abd73e4f1a5ab3ab2f260f66121f27053454267fc310b0734a740cfb0435ec3de6e142b6713aed38f08b70c2000000000000c017500000000000459d0000039ddbf872c7200000287” } Feb 12 00:11:11.030 DEBG Miner received message: ReceivedJob(39430, 3, 4, “00010000000000009a06000000005c62556e00000432c09220561897b63950dc11dc17d21ab52455021b92b4a946446a20ab5414520edb2120febdd8cd202208572811575a11d3a9a91c812807818f9b509c7e26c64bab11a404a0b9d74b43cd3abaa1c8502d953eeb0c506007f2f3d9c0cd5caaafb8343570fb616f58bfe6966beda6b843353058d15d64434a75d07d375d552ca66ec5eb6bec2fc20db13484276ebc00eb8abd73e4f1a5ab3ab2f260f66121f27053454267fc310b0734a740cfb0435ec3de6e142b6713aed38f08b70c2000000000000c017500000000000459d0000039ddbf872c7200000287”) Feb 12 00:11:13.033 DEBG Mining: Plugin 0 - Device 0 (GeForce RTX 2080 Ti) at Cuck(at)oo31 - Status: OK : Last Graph time: 0.560584634s; Graphs per second: 1.784 - Total Attempts: 706875 Feb 12 00:11:13.033 INFO Mining: Cuck(at)oo at 1.7838519633772194 gps (graphs per second) Feb 12 00:11:13.239 DEBG Client received message: FoundSolution(39430, 3, 31, 15270924600114336991, [23150379, 140394068, 176602746, 233131845, 254527682, 275630563, 430809295, 438190395, 443527841, 492392869, 541438859, 596208812, 671254592, 672524181, 680011578, 760516074, 813496589, 828940225, 852570167, 872603272, 967043109, 1111579502, 1134288998, 1161434550, 1336547978, 1350297477, 1377672514, 1379905486, 1430748492, 1585477454, 1634796748, 1645559722, 1667688873, 1769978789, 1772459407, 1814854289, 1858586928, 1947437214, 1956353992, 1989749836, 2034552763, 2111759480]) Feb 12 00:11:13.239 DEBG sending request: {“id”:“0”,“jsonrpc”:“2.0”,“method”:“submit”,“params”:{“edge_bits”:31,“height”:39430,“job_id”:3,“nonce”:15270924600114336991,“pow”:[23150379,140394068,176602746,233131845,254527682,275630563,430809295,438190395,443527841,492392869,541438859,596208812,671254592,672524181,680011578,760516074,813496589,828940225,852570167,872603272,967043109,1111579502,1134288998,1161434550,1336547978,1350297477,1377672514,1379905486,1430748492,1585477454,1634796748,1645559722,1667688873,1769978789,1772459407,1814854289,1858586928,1947437214,1956353992,1989749836,2034552763,2111759480]}} Feb 12 00:11:15.006 DEBG Received message: {“id”:“0”,“jsonrpc”:“2.0”,“method”:“submit”,“result”:“ok”}
Feb 12 00:11:15.006 DEBG Received response with id: 0 Feb 12 00:11:15.006 INFO Share Accepted!! Feb 12 00:11:15.007 DEBG Received message:
Feb 12 00:11:15.743 ERRO
thread ‘client_controller’ panicked at ‘called Result::unwrap() on an Err value: Error(“EOF while parsing a value”, line: 2, column: 0)’: libcore/result.rs:1009stack backtrace:
0: 0x559ad2fc263d - backtrace::backtrace::trace::h6a895d5d279a8d2f
1: 0x559ad2fc1852 - <backtrace::capture::Backtrace as core::default::Default>::default::h03a8d770395d927e
2: 0x559ad2fc18c9 - backtrace::capture::Backtrace:🆕:h2eb1c11c92f206be
3: 0x559ad2f96420 - grin_miner_util::logger::send_panic_to_log::{{closure}}::h4bb1012a1843d723
4: 0x559ad2feef56 - std::panicking::rust_panic_with_hook::hde420d6fd4455550
at libstd/panicking.rs:480
5: 0x559ad2feeaa1 - std::panicking::continue_panic_fmt::h8f394f3c578bcc76
at libstd/panicking.rs:390
6: 0x559ad2fee985 - rust_begin_unwind
at libstd/panicking.rs:325
7: 0x559ad303564c - core::panicking::panic_fmt::hca5dc4e8b320bc56
at libcore/panicking.rs:77
8: 0x559ad2eea27e - core::result::unwrap_failed::h676613393beddaff
9: 0x559ad2e9929f - grin_miner::client::Controller::run::h2d80e4893dd1fee2
10: 0x559ad2eb6273 - std::sys_common::backtrace::__rust_begin_short_backtrace::hb4b8ef8be700886b
11: 0x559ad2ec6588 - std::panicking::try::do_call::h26b7446fed7a5990
12: 0x559ad2ffefe9 - __rust_maybe_catch_panic
at libpanic_unwind/lib.rs:102
13: 0x559ad2ed4de7 - <F as alloc::boxed::FnBox>::call_box::hbcb2a2093a904eb3
14: 0x559ad2fec3ad - <alloc::boxed::Box<(dyn alloc::boxed::FnBox<A, Output=R> + 'a)> as core::ops::function::FnOnce>::call_once::h9d902c911a417e39
at liballoc/boxed.rs:682
- std::sys_common:🧵:start_thread::h44127e03e78ca137
at libstd/sys_common/thread.rs:24
15: 0x559ad2fdd6c5 - std::sys::unix:🧵:Thread:🆕:thread_start::h8f17b97f2223146c
at libstd/sys/unix/thread.rs:90
16: 0x7f9f848b26b9 - start_thread
17: 0x7f9f843ca41c - clone
Feb 12 00:11:16.035 DEBG Mining: Plugin 0 - Device 0 (GeForce RTX 2080 Ti) at Cuck(at)oo31 - Status: OK : Last Graph time: 0.558719433s; Graphs per second: 1.790 - Total Attempts: 706881 Feb 12 00:11:16.035 INFO Mining: Cuck(at)oo at 1.7898070855180008 gps (graphs per second) Feb 12 00:11:19.038 DEBG Mining: Plugin 0 - Device 0 (GeForce RTX 2080 Ti) at Cuck(at)oo31 - Status: OK : Last Graph time: 0.562284339s; Graphs per second: 1.778 - Total Attempts: 706886 Feb 12 00:11:19.038 INFO Mining: Cuck(at)oo at 1.7784596344590704 gps (graphs per second) Feb 12 00:11:22.041 DEBG Mining: Plugin 0 - Device 0 (GeForce RTX 2080 Ti) at Cuck(at)oo31 - Status: OK : Last Graph time: 0.558745807s; Graphs per second: 1.790 - Total Attempts: 706891 Feb 12 00:11:22.041 INFO Mining: Cuck(at)oo at 1.7897226027863509 gps (graphs per second)
Thanks!
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 3
- Comments: 16 (6 by maintainers)
Oh I somehow missed that issue. The issue was that Grinmint was sending a new line (
\n) after thesubmit(share accepted) message. Which makes grin-miner crashs. So I think we can close this since it is a pool side issue.@lukaszmatczak I think one of our server in Europe is not updated yet. Try reconnecting again and you’ll end up on a good one.
We already fixed it pool side. However grin-miner should not crash on this anyway. Leaving this issue open then.