madMAx43v3r / chia-plotter

Apache License 2.0
2.27k stars 662 forks source link

The program stops abnormally and no errors are reported #161

Open qwsxmkoi opened 3 years ago

qwsxmkoi commented 3 years ago

Program will immediately shutdown when it start The program runs until the basic information is displayed and it exits directly before it is completely displayed. Display information before the pool key Already try powershell and CMD. This is just happened on the new version of the windows system, I have some computer that is still on 1803 and it work good

Compiled version used: madMAx43v3r/chia-plotter windows build v0.0.3-alpha(https://github.com/stotiks/chia-plotter/releases) System: Winodws 20H2 CPU E5 2696v2 Dram: 3*16G SSD: Samsung 980 1T QQ图片20210610234938 QQ图片20210610234941

zpzyyzp commented 3 years ago

My E3 1230v2 also get an error. And someone reported E5 2670 get error two.

SiriusCZ commented 3 years ago

Same error on X5670 2.93GHz.

pbeumer2001 commented 3 years ago

Same problem on I7-2600

zpzyyzp commented 3 years ago

Maybe all of them do not support AVX2?

madMAx43v3r commented 3 years ago

must be a problem with the windows build you got

pbeumer2001 commented 3 years ago

Well then I guess alot of people are having faulty windiws builds then? I have build 19042.1052

But I have a seconds PC with the exact same build (both got updated yesterday) which is running fine. It has an i7-4790T cpu in it

madMAx43v3r commented 3 years ago

Check the code:

std::cout << "Process ID: " << GETPID() << std::endl;
    std::cout << "Number of Threads: " << num_threads << std::endl;
    std::cout << "Number of Buckets: 2^" << log_num_buckets
            << " (" << (1 << log_num_buckets) << ")" << std::endl;

    const bls::G1Element pool_key = bls::G1Element::FromByteVector(pool_key_bytes);
    const bls::G1Element farmer_key = bls::G1Element::FromByteVector(farmer_key_bytes);

After that Number of Buckets message the pool and farmer key are converted, so most likely it craps out somewhere in that code, which is from https://github.com/Chia-Network/bls-signatures/

madMAx43v3r commented 3 years ago

Could also be a problem with the loading of a DLL which is needed for that bls code.

pbeumer2001 commented 3 years ago

Im no programmer so Im sorry, this doesn`t say anything to me... Do we know which dll it uses? I can try to copy it from my other pc

madMAx43v3r commented 3 years ago

https://stackoverflow.com/questions/475148/how-do-i-find-out-which-dlls-an-executable-will-load

qwsxmkoi commented 3 years ago

must be a problem with the windows build you got

I will try build by myself ,for now I am using this one: https://github.com/stotiks/chia-plotter/releases New test, For all of mine X79 will have this problem, 3900X and 10600kf is working good They are using same build and system(1803 or 20H2)