miningcore icon indicating copy to clipboard operation
miningcore copied to clipboard

System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

Open feculay opened this issue 1 year ago • 5 comments

Describe the bug in windows: A clear and concise description of what the bug is. [2022-08-01 07:09:59.9099] [I] [feculaypool] New work at height 15648229 and header 0x34176333e7c4ce9972d19a6fdbc994812d9b2644d952a9305062aabc3562ead3 via [POLL] [2022-08-01 07:09:59.9099] [I] [feculaypool] Broadcasting job 00000006 [2022-08-01 07:10:06.6946] [I] [feculaypool] New work at height 15648229 and header 0x833153af4829996758f95f791d1286f45f29f34b2b0a37c692530454ed426776 via [POLL] [2022-08-01 07:10:06.7008] [I] [feculaypool] Broadcasting job 00000007 [2022-08-01 07:10:07.2285] [I] [feculaypool] Pre-generating DAG for epoch 522 [2022-08-01 07:10:07.2285] [I] [feculaypool] Generating DAG for epoch 522 Fatal error. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

feculay avatar Aug 01 '22 10:08 feculay

Most likely a problem with available RAM or disk space.

oliverw avatar Aug 01 '22 10:08 oliverw

Most likely a problem with available RAM or disk space.

good morning, thank you very much for your answer, query: how do I configure for ethereum classic?

feculay avatar Aug 01 '22 10:08 feculay

ETC is currently not supported buts it's on my list.

oliverw avatar Aug 01 '22 10:08 oliverw

ETC is currently not supported buts it's on my list.

thank you

feculay avatar Aug 01 '22 10:08 feculay

Mining ore not support etc?

feculay avatar Aug 11 '22 19:08 feculay

@feculay, as OliverW has already explained, Ethereum Classic is not supported on Miningcore (yet), but might be in the future. Please see this list for supported coins: https://github.com/oliverw/miningcore/blob/master/src/Miningcore/coins.json

seperatis avatar Aug 21 '22 14:08 seperatis

Got this exact same error, but I have 20gb free RAM and 100gb free disk space. I tried restarting everything, but the same error appears. This happens exactly when miningcore pre-generates the next dag. Perhaps there's some error somewhere and not the availability of RAM and disk space? I tried setting the same miningcore build with my ERGO node and it works just fine.

Decidueye10 avatar Sep 26 '22 23:09 Decidueye10

Got this exact same error, but I have 20gb free RAM and 100gb free disk space. I tried restarting everything, but the same error appears. This happens exactly when miningcore pre-generates the next dag. Perhaps there's some error somewhere and not the availability of RAM and disk space? I tried setting the same miningcore build with my ERGO node and it works just fine.

Is this on Windows?

oliverw avatar Sep 27 '22 08:09 oliverw

Yes on Windows, same as OP.

If I leave miningcore running with no workers, it continues to run just fine. Now, after a worker is authorized, immediately after the worker sends a share, miningcore then pre-generates the next dag and it gives that error

Decidueye10 avatar Sep 27 '22 09:09 Decidueye10

Describe the bug in windows:

Just noticed this. DAG generation on Windows is notoriously unreliable and that's one of the reasons why running MC on Windows in production is not supported. I realize and apologize that this has not been explicitly stated in the README in the past, but that's been corrected now.

oliverw avatar Sep 27 '22 09:09 oliverw