ilkerccom / bitcrackrandomiser

Solo pool for Bitcoin Puzzle Transaction 66, 67 and 68.
https://btcpuzzle.info/
MIT License
85 stars 41 forks source link

error when running on an amd pc #45

Open goatshags opened 5 months ago

goatshags commented 5 months ago

Unhandled exception. System.ArgumentNullException: String reference not set to an instance of a String. (Parameter 's') at System.Text.Encoding.GetBytes(String s) at System.Text.UTF8Encoding.UTF8EncodingSealed.GetBytes(String s) at BitcrackRandomiser.Helpers.Helper.SHA256Hash(String data) in C:\Users\ilker\source\repos\bitcrackrandomiser\BitcrackRandomiser\Helpers\Helper.cs:line 168 at BitcrackRandomiser.Helpers.Flagger.Flag(Settings settings, String hex, Int32 gpuIndex, String proofKey, String gpuName) in C:\Users\ilker\source\repos\bitcrackrandomiser\BitcrackRandomiser\Helpers\Flagger.cs:line 25 at BitcrackRandomiser.Randomiser.JobFinished(String targetAddress, String hex, Settings settings, Boolean keyFound, Int32 gpuIndex) in C:\Users\ilker\source\repos\bitcrackrandomiser\BitcrackRandomiser\Randomiser.cs:line 272 at BitcrackRandomiser.Randomiser.OutputReceivedHandler(Object o, DataReceivedEventArgs e, String targetAddress, List`1 proofValues, String hex, Settings settings, Process process, Int32 gpuIndex) in C:\Users\ilker\source\repos\bitcrackrandomiser\BitcrackRandomiser\Randomiser.cs:line 301 at BitcrackRandomiser.Randomiser.<>c__DisplayClass8_0.b0(Object o, DataReceivedEventArgs s) in C:\Users\ilker\source\repos\bitcrackrandomiser\BitcrackRandomiser\Randomiser.cs:line 209 at System.Diagnostics.Process.ErrorReadNotifyUser(String data) at System.Diagnostics.AsyncStreamReader.FlushMessageQueue(Boolean rethrowInNewThread) --- End of stack trace from previous location --- at System.Diagnostics.AsyncStreamReader.<>c.b18_0(Object edi) at System.Threading.QueueUserWorkItemCallbackDefaultContext.Execute() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart() at System.Threading.Thread.StartCallback()

masikrus commented 5 months ago

@goatshags just update you dotnet sdk https://dotnet.microsoft.com/en-us/download/dotnet/6.0

ilkerccom commented 5 months ago

Use Bitcrack v0.30 for AMD gpus. Vanitysearch doesnt support AMD, cuda only.

Julienbxl commented 3 months ago

bitcrack

Got same problem donet is last version, and in settings it is configured to use bitcrack and not vanitysearch

FachruRozi77 commented 3 months ago

i've got the same problem. latest 6.0 SDK and bitcrack version 0.30. the problem is the same as above. string s.

thewhitegrizzli commented 3 months ago

why do you even bother running any of these tools other than on 1,0000000 billion Google Cloud 224vcpu instances you will not crakc anything, do you understand that? Laurent

On Fri, Aug 16, 2024 at 8:56 PM FachruRozi77 @.***> wrote:

i've got the same problem. latest 6.0 SDK and bitcrack version 0.30.

— Reply to this email directly, view it on GitHub https://github.com/ilkerccom/bitcrackrandomiser/issues/45#issuecomment-2294506707, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACBZKLBOK333MPFXZ7WRKHTZR2NTPAVCNFSM6AAAAABI7VRBGKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJUGUYDMNZQG4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>

thewhitegrizzli commented 3 months ago

like JEsus. Laurent

On Fri, Aug 16, 2024 at 8:56 PM FachruRozi77 @.***> wrote:

i've got the same problem. latest 6.0 SDK and bitcrack version 0.30.

— Reply to this email directly, view it on GitHub https://github.com/ilkerccom/bitcrackrandomiser/issues/45#issuecomment-2294506707, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACBZKLBOK333MPFXZ7WRKHTZR2NTPAVCNFSM6AAAAABI7VRBGKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJUGUYDMNZQG4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>

luongthomas commented 2 months ago

Running into the same issue when both running vanitysearch and bitcrack.

Using GTX 3080 and latest dotnet 6.0 SDK

[2024-08-25-21:53:42] [Info] Scan completed.                                                                                    Unhandled exception. System.ArgumentNullException: String reference not set to an instance of a String. (Parameter 's')
   at System.Text.Encoding.GetBytes(String s)
   at BitcrackRandomiser.Helpers.Helper.SHA256Hash(String data) in /app/cloned/bitcrackrandomiser/BitcrackRandomiser/Helpers/Helper.cs:line 168
   at BitcrackRandomiser.Helpers.Flagger.Flag(Settings settings, String hex, Int32 gpuIndex, String proofKey, String gpuName) in /app/cloned/bitcrackrandomiser/BitcrackRandomiser/Helpers/Flagger.cs:line 25
   at BitcrackRandomiser.Randomiser.JobFinished(String targetAddress, String hex, Settings settings, Boolean keyFound, Int32 gpuIndex) in /app/cloned/bitcrackrandomiser/BitcrackRandomiser/Randomiser.cs:line 272
   at BitcrackRandomiser.Randomiser.OutputReceivedHandler(Object o, DataReceivedEventArgs e, String targetAddress, List`1 proofValues, String hex, Settings settings, Process process, Int32 gpuIndex) in /app/cloned/bitcrackrandomiser/BitcrackRandomiser/Randomiser.cs:line 301
   at BitcrackRandomiser.Randomiser.<>c__DisplayClass8_0.<Scan>b__0(Object o, DataReceivedEventArgs s) in /app/cloned/bitcrackrandomiser/BitcrackRandomiser/Randomiser.cs:line 209
   at System.Diagnostics.Process.ErrorReadNotifyUser(String data)
   at System.Diagnostics.AsyncStreamReader.FlushMessageQueue(Boolean rethrowInNewThread)
--- End of stack trace from previous location ---
   at System.Diagnostics.AsyncStreamReader.<>c.<FlushMessageQueue>b__18_0(Object edi)
   at System.Threading.QueueUserWorkItemCallbackDefaultContext.Execute()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
   at System.Threading.Thread.StartCallback()
Aborted
ilkerccom commented 1 month ago

bitcrack

Got same problem donet is last version, and in settings it is configured to use bitcrack and not vanitysearch

Using AMD or NVidia?

i've got the same problem. latest 6.0 SDK and bitcrack version 0.30. the problem is the same as above. string s.

The problem seems to be related to AMD and OpenCL. I will do a test on AMD based systems soon. I will give information about the subject.

Running into the same issue when both running vanitysearch and bitcrack.

Using GTX 3080 and latest dotnet 6.0 SDK

[2024-08-25-21:53:42] [Info] Scan completed.                                                                                    Unhandled exception. System.ArgumentNullException: String reference not set to an instance of a String. (Parameter 's')
   at System.Text.Encoding.GetBytes(String s)
   at BitcrackRandomiser.Helpers.Helper.SHA256Hash(String data) in /app/cloned/bitcrackrandomiser/BitcrackRandomiser/Helpers/Helper.cs:line 168
   at BitcrackRandomiser.Helpers.Flagger.Flag(Settings settings, String hex, Int32 gpuIndex, String proofKey, String gpuName) in /app/cloned/bitcrackrandomiser/BitcrackRandomiser/Helpers/Flagger.cs:line 25
   at BitcrackRandomiser.Randomiser.JobFinished(String targetAddress, String hex, Settings settings, Boolean keyFound, Int32 gpuIndex) in /app/cloned/bitcrackrandomiser/BitcrackRandomiser/Randomiser.cs:line 272
   at BitcrackRandomiser.Randomiser.OutputReceivedHandler(Object o, DataReceivedEventArgs e, String targetAddress, List`1 proofValues, String hex, Settings settings, Process process, Int32 gpuIndex) in /app/cloned/bitcrackrandomiser/BitcrackRandomiser/Randomiser.cs:line 301
   at BitcrackRandomiser.Randomiser.<>c__DisplayClass8_0.<Scan>b__0(Object o, DataReceivedEventArgs s) in /app/cloned/bitcrackrandomiser/BitcrackRandomiser/Randomiser.cs:line 209
   at System.Diagnostics.Process.ErrorReadNotifyUser(String data)
   at System.Diagnostics.AsyncStreamReader.FlushMessageQueue(Boolean rethrowInNewThread)
--- End of stack trace from previous location ---
   at System.Diagnostics.AsyncStreamReader.<>c.<FlushMessageQueue>b__18_0(Object edi)
   at System.Threading.QueueUserWorkItemCallbackDefaultContext.Execute()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
   at System.Threading.Thread.StartCallback()
Aborted

This problem usually occurs when it cannot find the "proof of work" addresses. Is the problem resolved or is it still ongoing?