bitcrackrandomiser icon indicating copy to clipboard operation
bitcrackrandomiser copied to clipboard

error when running on an amd pc

Open goatshags opened this issue 1 year ago • 8 comments

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.<Scan>b__0(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.<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()

goatshags avatar Jun 08 '24 04:06 goatshags

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

masikrus avatar Jun 13 '24 10:06 masikrus

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

ilkerccom avatar Jun 16 '24 15:06 ilkerccom

bitcrack

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

Julienbxl avatar Aug 01 '24 06:08 Julienbxl

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

FachruRozi77 avatar Aug 17 '24 00:08 FachruRozi77

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 avatar Aug 17 '24 00:08 thewhitegrizzli

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: @.***>

thewhitegrizzli avatar Aug 17 '24 00:08 thewhitegrizzli

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

luongthomas avatar Aug 25 '24 21:08 luongthomas

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?

ilkerccom avatar Oct 11 '24 21:10 ilkerccom