-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Panic Crash from libcore/result.rs on Ubuntu 16.04.5 #190
Comments
You just beat me to posting this!! Here is my output. Only happening on one out of 3 machines. |
I'm seeing nearly the same thing about once every 2 days on only one machine. The final error is slightly different than above, but the rest of the stack backtrace is the same: Thread 'client_controller' panicked with message: |
For me, it happens as soon as we find an accepted share from grinmint. It seems to be the thread that is getting work from the pool. The miner will continue to hash, but will not receive or send jobs.
|
Single panic would kill controller_thread, as result no shares will be send to a pool while all solvers work fine. This pr reduces number of unwraps. Underlying reason for errors seems to be incorrect read impl, I'll address it in the next pr. Partially address mimblewimble#190 and mimblewimble#193
I think #192 also fixes part of the problem. I tested those 2 prs, no panics. However there may be still an issue with low-level socket read, but chances to see it are pretty low |
Oh I somehow missed that issue. The issue was that Grinmint was sending a new line ( |
Does grinmint know to fix it?
…On Fri, Feb 15, 2019, 8:59 AM Quentin Le Sceller ***@***.***> wrote:
Oh I somehow missed that issue. The issue was that Grinmint was sending a
new line (\n) after the submit (share accepted) message. Which makes
grin-miner crashs. So I think we can close this since it is a pool side
issue.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#190 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AATDjI5jvATeL6iTOyk9AR35DUa7Qx7Jks5vNstTgaJpZM4a2lHS>
.
|
We already fixed it pool side. However grin-miner should not crash on this anyway. Leaving this issue open then. |
@quentinlesceller Thank you!! I can confirm that we're back to mining with grinmint after accepted shares! |
@quentinlesceller Are you sure it's fixed properly? I'm still getting mentioned error. |
@lukaszmatczak In which region (EU or US)? |
I am in the US and the problem appears to be fixed. I have been running
several days now without incident. Thanks so much! 😁☕🌟
…On Mon, Feb 18, 2019 at 9:21 AM Quentin Le Sceller ***@***.***> wrote:
@lukaszmatczak <https://github.com/lukaszmatczak> In which region (EU or
US)?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#190 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAD49C-CgpI9dAY8_TQoO3eGtpw5ejVjks5vOrbugaJpZM4a2lHS>
.
--
*Jeffrey ThompsonJANOAH, INC.*
[email protected] | Website <http://janoah.com/> | Twitter
<http://twitter.com/janoahinc>
404-660-1119 *Creating Information Technology Solutions that
work for Your Business!*
|
@quentinlesceller In EU. |
For me worksfine ;) |
@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. |
Still getting issues here, on GrinMint in the EU:
After this it simply never identifies another accepted solution. Is this related or is it something new? |
Closing. Feel free to reopen if this is still relevant. |
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 anErr
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::new::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::thread::start_thread::h44127e03e78ca137
at libstd/sys_common/thread.rs:24
15: 0x559ad2fdd6c5 - std::sys::unix::thread::Thread::new::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!
The text was updated successfully, but these errors were encountered: