Failed to mine block, runtime error


#1

Hi. When I start mining I can see my mining log and it says “starting mining…” and those stuff as “Creating key block candidate on the top” also. I can even check it is mining because of the verification. The heigh of the block is the same on localhost as on a remote peer. It also match the block hash of the latest block mined with the previous hash field of the new pending block to be mined. That’s ok.

The think is in my epoch_mining.log file I can see an error, but even with this error, the crash log file is empty (I can think this is because the mining is not crashing) but there is still an error it happen sometimes and I don’t know if when it founds a solution it is not being delivered.

Copying just a brief of my epoch_mining.log:

2018-11-27 10:22:39.254 [info] <0.1267.0>@aec_conductor:start_mining:674 Starting mining
2018-11-27 10:22:56.247 [info] <0.1267.0>@aec_conductor:start_mining:674 Starting mining
2018-11-27 10:23:13.366 [info] <0.1267.0>@aec_conductor:start_mining:674 Starting mining
2018-11-27 10:23:15.591 [info] <0.1267.0>@aec_conductor:handle_synced_block:833 synced_block: {key_block,{key_header,401,<<114,210,103,186,50,125,39,93,195,14,149,109,205,68,59,108,113,133,82,36,37,25,45,27,175,79,87,185,212,208,16,181>>,<<114,210,103,186,50,125,39,93,195,14,149,109,205,68,59,108,113,133,82,36,37,25,45,27,175,79,87,185,212,208,16,181>>,<<106,98,143,86,157,17,72,122,147,149,111,106,250,202,152,102,185,114,209,196,177,232,62,5,226,3,157,107,137,155,159,15>>,523763356,2141558813629885028,1543313655811,1,[12732591,24852692,32464088,34607143,81872772,82247608,85959707,123138118,127236312,147418751,153098207,165520672,185190554,211994471,214341177,234118705,235817283,256884196,280271868,296216960,299430106,329375112,346991328,351329294,379599218,384315589,390986137,401471288,405644841,426906156,439351671,440993866,447021541,467046353,468610722,500259429,500661440,503970400,504527593,526885425,528420345,529586380],<<171,80,159,36,136,252,104,246,144,231,39,201,63,58,169,156,249,54,93,245,203,119,12,177,234,211,145,252,37,96,219,121>>,<<228,136,98,200,228,141,120,196,226,96,145,151,191,90,77,234,1,189,32,168,103,72,163,14,120,193,158,87,78,104,111,168>>}}
2018-11-27 10:23:15.656 [info] <0.1267.0>@aec_conductor:create_key_block_candidate:804 Creating key block candidate on the top
2018-11-27 10:23:15.656 [info] <0.1267.0>@aec_conductor:create_key_block_candidate:804 Creating key block candidate on the top
2018-11-27 10:23:15.713 [info] <0.1267.0>@aec_conductor:handle_key_block_candidate_reply:812 Created key block candidate Its target is 523705064 (= difficulty 19952686773).
2018-11-27 10:23:15.713 [info] <0.1267.0>@aec_conductor:start_mining:674 Starting mining
2018-11-27 10:23:15.890 [error] <0.1267.0>@aec_conductor:handle_mining_reply:718 Failed to mine block, runtime error; retrying with different nonce (was 3879919300981989750). Error: {execution_failed,{signal,sigabrt,true}}
2018-11-27 10:23:15.892 [info] <0.1267.0>@aec_conductor:start_mining:674 Starting mining
2018-11-27 10:23:33.542 [info] <0.1267.0>@aec_conductor:start_mining:674 Starting mining
2018-11-27 10:23:51.262 [info] <0.1267.0>@aec_conductor:start_mining:674 Starting mining
2018-11-27 10:24:08.455 [info] <0.1267.0>@aec_conductor:start_mining:674 Starting mining
2018-11-27 10:24:25.292 [info] <0.1267.0>@aec_conductor:start_mining:674 Starting mining
2018-11-27 10:24:42.156 [info] <0.1267.0>@aec_conductor:start_mining:674 Starting mining
2018-11-27 10:24:58.512 [info] <0.1267.0>@aec_conductor:start_mining:674 Starting mining
2018-11-27 10:25:09.652 [info] <0.1267.0>@aec_conductor:handle_post_block:839 post_block: {key_block,{key_header,402,<<236,92,139,31,104,59,52,210,103,6,67,24,104,66,2,80,252,253,39,118,47,218,129,190,31,166,210,135,178,92,111,153>>,<<236,92,139,31,104,59,52,210,103,6,67,24,104,66,2,80,252,253,39,118,47,218,129,190,31,166,210,135,178,92,111,153>>,<<181,194,13,211,26,234,210,186,78,149,25,114,139,197,136,185,16,38,1,37,199,66,176,85,94,16,188,134,168,240,127,90>>,523705064,3499651842269523492,1543314190056,1,[36621477,44720437,49765245,52118875,98338763,104012387,105274574,111976847,116846692,118329392,120455405,123880900,126435138,159807619,176947680,182827750,202206215,216254425,231560752,279452251,329174092,336481641,349143797,372293804,373203340,432555103,440845064,444197632,444878571,459251495,469134767,469972407,473575742,478569656,487642464,488827304,490814150,500542979,508417406,516962003,526817193,528268056],<<75,225,78,90,230,98,219,66,67,250,83,236,100,21,241,137,190,36,143,208,86,182,59,85,132,234,68,152,3,35,108,41>>,<<186,203,214,163,246,107,124,137,222,135,217,193,221,104,215,16,94,25,47,35,97,96,99,179,23,38,226,135,232,249,24,44>>}}
2018-11-27 10:25:09.732 [info] <0.1267.0>@aec_conductor:create_key_block_candidate:804 Creating key block candidate on the top
2018-11-27 10:25:09.733 [info] <0.1267.0>@aec_conductor:create_key_block_candidate:804 Creating key block candidate on the top
2018-11-27 10:25:09.783 [info] <0.1267.0>@aec_conductor:handle_key_block_candidate_reply:812 Created key block candidate Its target is 523822267 (= difficulty 19325498837).
2018-11-27 10:25:09.787 [info] <0.1267.0>@aec_conductor:start_mining:674 Starting mining
2018-11-27 10:25:10.138 [error] <0.1267.0>@aec_conductor:handle_mining_reply:718 Failed to mine block, runtime error; retrying with different nonce (was 14025610492217920094). Error: {execution_failed,{signal,sigabrt,true}}
2018-11-27 10:25:10.139 [info] <0.1267.0>@aec_conductor:start_mining:674 Starting mining
2018-11-27 10:25:27.023 [info] <0.1267.0>@aec_conductor:start_mining:674 Starting mining
2018-11-27 10:25:39.644 [info] <0.1267.0>@aec_conductor:handle_synced_block:833 synced_block: {key_block,{key_header,403,<<196,46,146,125,164,144,80,76,243,106,113,143,238,6,243,113,216,219,126,88,144,101,233,202,180,137,159,19,229,167,104,136>>,<<196,46,146,125,164,144,80,76,243,106,113,143,238,6,243,113,216,219,126,88,144,101,233,202,180,137,159,19,229,167,104,136>>,<<123,164,235,22,209,224,50,82,111,181,217,194,96,229,34,161,143,199,243,51,8,42,244,188,244,39,213,59,76,78,1,92>>,523822267,17404219158643883577,1543314309085,1,[16731506,22076534,27750049,38045270,42054714,111935608,139191782,146906559,148582468,150769578,155715535,165167065,178275939,181638846,214476071,219370332,226905281,250359614,259911026,269445328,289459496,318923076,319896843,322262409,326219751,334446542,362729478,377881824,379335720,384143225,396410866,399112520,417404267,426721966,427816202,432752973,441740874,490210209,497798950,519570214,524000111,534546555],<<38,92,186,198,124,107,231,137,104,232,215,193,152,143,178,73,137,190,150,20,177,156,46,213,88,171,97,100,100,137,37,98>>,<<155,57,58,60,153,177,211,150,235,204,255,98,187,11,207,70,212,106,152,69,188,34,10,252,201,85,153,82,79,51,58,162>>}}
2018-11-27 10:25:39.693 [info] <0.1267.0>@aec_conductor:create_key_block_candidate:804 Creating key block candidate on the top
2018-11-27 10:25:39.693 [info] <0.1267.0>@aec_conductor:create_key_block_candidate:804 Creating key block candidate on the top
2018-11-27 10:25:39.733 [info] <0.1267.0>@aec_conductor:handle_key_block_candidate_reply:812 Created key block candidate Its target is 523800913 (= difficulty 19436815952).
2018-11-27 10:25:39.733 [info] <0.1267.0>@aec_conductor:start_mining:674 Starting mining
2018-11-27 10:25:39.910 [error] <0.1267.0>@aec_conductor:handle_mining_reply:718 Failed to mine block, runtime error; retrying with different nonce (was 4800614530009313895). Error: {execution_failed,{signal,sigabrt,true}}
2018-11-27 10:25:39.911 [info] <0.1267.0>@aec_conductor:start_mining:674 Starting mining
2018-11-27 10:25:56.761 [info] <0.1267.0>@aec_conductor:start_mining:674 Starting mining
2018-11-27 10:26:13.701 [info] <0.1267.0>@aec_conductor:start_mining:674 Starting mining

It says several times “Failed to mine block, runtime error; retrying with different nonce”

If you can please tell me how to solve this.

I am using a VM with Ubuntu 18.04 and the epoch is 1.0.0 rc6

Thank you


#2

Hey @reinaldo83,

Please find some troubleshooting guidance here.

Let us know how it goes.

Best,
Albena


#3

Hello @ae-albena

One more time, thank you so much. It seems it was solved following the guide you posted to me.

Let you know anyway if something else happens.

Thank you


#4

Great, I am happy it worked :wink:

Albena