-
Notifications
You must be signed in to change notification settings - Fork 2.2k
ethminer failes to generate DAG file for any block larger than 3870000 (serious bug) #4021
Comments
Hint: I suspect this may something to do with "int" overflow? Since DAG file is now nearly 2^32 / 2 in size, standard int would overflow at that number. |
Thank you for reporting this! @nicehashdev is right, good old int overflow happens for me on Windows here: @kenshirothefist Which OS do you use? |
@gumb0 I was testing under Windows 7 / 10. |
Thanks, I'll look into this |
@kenshirothefist Could you please check if this branch works for you https://github.com/ethereum/cpp-ethereum/tree/fix-mining-fseek ? |
@gumb0 I just tested fix-mining-fseek branch under Ubuntu 16 and it works ... DAG file was correctly generated for "-D 3870000". So this looks good. I'll also test under Windows, but I have to prepare build env... |
@kenshirothefist Thanks for your help, it works for me on Windows. |
When trying to generate DAG file for any block larger than 3870000, it will only produce a 0-size file.
Try this:
ethminer.exe -D 3870000
It will run just of a few seconds, generate 0-bytes file "full-R23-3868abc5dcee2334" and exit (or even crash in some cases).
If you try to generate DAG for any previous block, for example:
ethminer.exe -D 3840000
it will work just fine.
The text was updated successfully, but these errors were encountered: