Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-p crash loop #1

Open
fishinstud opened this issue Jan 26, 2021 · 10 comments
Open

-p crash loop #1

fishinstud opened this issue Jan 26, 2021 · 10 comments

Comments

@fishinstud
Copy link

Ryzen 7 with 8 cores crashes the program with parameters -p 8

Using build parameter GOOS=386, Windows 10 x64

@christiankakesa
Copy link
Collaborator

christiankakesa commented Jan 26, 2021

Use GOOS=windows GOARCH=386 run the binary on Windows 32bit
Use GOOS=windows GOARCH=amd64 run the binary on Windows 64bit

@fishinstud
Copy link
Author

fishinstud commented Jan 26, 2021

upload1
In the first image I built a amd64 exe and it does not run no matter the -p value

upload2
The original question is, can I use all eight core with -p 8 on any build? This image is the 386 build and it will run with stability at -p 4. When I use any value higher than 4 it crashes.

Let me know what you think,
fishinstud

@christiankakesa
Copy link
Collaborator

Can you try if you have the same result with the tag v0.11.0 : https://github.com/Axentro/minaxnt/tree/v0.11.0, you can download the archive.

@fishinstud
Copy link
Author

Your release of v0.11.0 amd64 and i386 gave the same result and I tried different -p values 1 though 8.

@christiankakesa
Copy link
Collaborator

There no reason for that -p 8 crashes if -p 4 work.
Can you send me the crash screenshot with your windows 32bit build and -p 8, I'll try to reproduce and investigate.
Be sure to disable your antivirus and power management.

/!\ Currently the master branch use the new mining system which is not deployed on mainnet

@fishinstud
Copy link
Author

Sorry for the wall of txt. Below is the full output w/ wallet id removed:
`
C:\Users\Christopher\Downloads\minaxnt_0.12.0_windows_i386>TIMEOUT 30

Waiting for 26 seconds, press a key to continue ...

C:\Users\Christopher\Downloads\minaxnt_0.12.0_windows_i386>minaxnt.exe -n http://mainnet.axentro.io -a TTBkZGZhNmUxMmJiYmMzZGJmMTkwZGFmM2QxMjliZjFkODUwNzVkMjAzZGM5MjAz -p 8


| \ / \ \ / | \ | \ \ | \
| ▓▓\ / ▓▓\▓▓_______ | ▓▓▓▓▓▓\ ▓▓ | ▓▓ ▓▓\ | ▓▓\▓▓▓▓▓▓▓▓
| ▓▓▓\ / ▓▓▓ \ | ▓▓__| ▓▓\▓▓/ ▓▓ ▓▓▓| ▓▓ | ▓▓
| ▓▓▓▓\ ▓▓▓▓ ▓▓ ▓▓▓▓▓▓▓\ ▓▓ ▓▓ >▓▓ ▓▓| ▓▓▓▓\ ▓▓ | ▓▓
| ▓▓\▓▓ ▓▓ ▓▓ ▓▓ ▓▓ | ▓▓ ▓▓▓▓▓▓▓▓/ ▓▓▓▓| ▓▓\▓▓ ▓▓ | ▓▓
| ▓▓ \▓▓▓| ▓▓ ▓▓ ▓▓ | ▓▓ ▓▓ | ▓▓ ▓▓ \▓▓\ ▓▓ \▓▓▓▓ | ▓▓
| ▓▓ \▓ | ▓▓ ▓▓ ▓▓ | ▓▓ ▓▓ | ▓▓ ▓▓ | ▓▓ ▓▓ \▓▓▓ | ▓▓
\▓▓ \▓▓\▓▓\▓▓ \▓▓\▓▓ \▓▓\▓▓ \▓▓\▓▓ \▓▓ \▓▓

=> miner name: MinAXNT - v0.0.0
=> miner id: 9809d9ca29df445dba7ef39fde733699
=> connected to node: http://mainnet.axentro.io
=> miner address:
=> miner process: 8
=> cpu model: AMD Ryzen 7 2700X Eight-Core Processor
=> cpu cores: Physical => 8, Logical => 16, Threads/core => 2
=> cpu caches: L2 => 524 kB, L3 => 8.4 MB
=> cpu features: SSE:[✔], SSE2:[✔], SSE4:[✔], AVX:[✔], AVX2:[✔]
INFO[2021-01-26T14:04:48-09:00] [START MINING]: block index 76594 at approximate difficulty: 30
INFO[2021-01-26T14:04:58-09:00] Total Speed: 34.0 Work/s, Time: 10.0s
INFO[2021-01-26T14:05:08-09:00] Total Speed: 35.2 Work/s, Time: 10.0s
INFO[2021-01-26T14:05:18-09:00] Total Speed: 36.1 Work/s, Time: 10.0s
INFO[2021-01-26T14:05:28-09:00] Total Speed: 34.9 Work/s, Time: 10.0s
INFO[2021-01-26T14:05:38-09:00] Total Speed: 36.7 Work/s, Time: 10.0s
INFO[2021-01-26T14:05:48-09:00] Total Speed: 36.4 Work/s, Time: 10.0s
INFO[2021-01-26T14:05:58-09:00] Total Speed: 36.5 Work/s, Time: 10.0s
INFO[2021-01-26T14:06:08-09:00] Total Speed: 37.9 Work/s, Time: 10.0s
INFO[2021-01-26T14:06:13-09:00] [NEW BLOCK]: block index 76596 at approximate difficulty: 30
INFO[2021-01-26T14:06:18-09:00] Total Speed: 35.1 Work/s, Time: 10.0s
INFO[2021-01-26T14:06:28-09:00] Total Speed: 36.5 Work/s, Time: 10.0s
INFO[2021-01-26T14:06:38-09:00] Total Speed: 36.8 Work/s, Time: 10.0s
INFO[2021-01-26T14:06:48-09:00] Total Speed: 35.7 Work/s, Time: 10.0s
INFO[2021-01-26T14:06:58-09:00] Total Speed: 35.6 Work/s, Time: 10.0s
INFO[2021-01-26T14:07:08-09:00] Total Speed: 33.7 Work/s, Time: 10.0s
INFO[2021-01-26T14:07:18-09:00] Total Speed: 37.7 Work/s, Time: 10.0s
INFO[2021-01-26T14:07:28-09:00] Total Speed: 35.0 Work/s, Time: 10.0s
INFO[2021-01-26T14:07:38-09:00] Total Speed: 35.1 Work/s, Time: 10.0s
INFO[2021-01-26T14:07:48-09:00] Total Speed: 36.3 Work/s, Time: 10.0s
INFO[2021-01-26T14:07:58-09:00] Total Speed: 36.3 Work/s, Time: 10.0s
INFO[2021-01-26T14:08:08-09:00] Total Speed: 35.8 Work/s, Time: 10.0s
INFO[2021-01-26T14:08:12-09:00] [NEW BLOCK]: block index 76598 at approximate difficulty: 30
INFO[2021-01-26T14:08:18-09:00] Total Speed: 36.7 Work/s, Time: 10.0s
INFO[2021-01-26T14:08:28-09:00] Total Speed: 37.8 Work/s, Time: 10.0s
INFO[2021-01-26T14:08:38-09:00] Total Speed: 37.2 Work/s, Time: 10.0s
INFO[2021-01-26T14:08:48-09:00] Total Speed: 37.3 Work/s, Time: 10.0s
INFO[2021-01-26T14:08:58-09:00] Total Speed: 36.5 Work/s, Time: 10.0s
INFO[2021-01-26T14:09:08-09:00] Total Speed: 37.6 Work/s, Time: 10.0s
INFO[2021-01-26T14:09:18-09:00] Total Speed: 36.7 Work/s, Time: 10.0s
INFO[2021-01-26T14:09:28-09:00] Total Speed: 37.9 Work/s, Time: 10.0s
INFO[2021-01-26T14:09:38-09:00] Total Speed: 33.7 Work/s, Time: 10.0s
INFO[2021-01-26T14:09:48-09:00] Total Speed: 33.2 Work/s, Time: 10.0s
INFO[2021-01-26T14:09:58-09:00] Total Speed: 37.3 Work/s, Time: 10.0s
INFO[2021-01-26T14:10:01-09:00] [NEW BLOCK]: block index 76600 at approximate difficulty: 30
INFO[2021-01-26T14:10:08-09:00] Total Speed: 35.6 Work/s, Time: 10.0s
INFO[2021-01-26T14:10:18-09:00] Total Speed: 34.0 Work/s, Time: 10.0s
INFO[2021-01-26T14:10:28-09:00] Total Speed: 36.8 Work/s, Time: 10.0s
INFO[2021-01-26T14:10:38-09:00] Total Speed: 36.9 Work/s, Time: 10.0s
INFO[2021-01-26T14:10:48-09:00] Total Speed: 37.3 Work/s, Time: 10.0s
INFO[2021-01-26T14:10:58-09:00] Total Speed: 37.8 Work/s, Time: 10.0s
INFO[2021-01-26T14:11:08-09:00] Total Speed: 36.0 Work/s, Time: 10.0s
INFO[2021-01-26T14:11:18-09:00] Total Speed: 35.7 Work/s, Time: 10.0s
INFO[2021-01-26T14:11:28-09:00] Total Speed: 36.1 Work/s, Time: 10.0s
INFO[2021-01-26T14:11:38-09:00] Total Speed: 35.9 Work/s, Time: 10.0s
INFO[2021-01-26T14:11:48-09:00] Total Speed: 37.1 Work/s, Time: 10.0s
INFO[2021-01-26T14:11:58-09:00] Total Speed: 37.6 Work/s, Time: 10.0s
INFO[2021-01-26T14:12:08-09:00] Total Speed: 35.5 Work/s, Time: 10.0s
INFO[2021-01-26T14:12:08-09:00] [NEW BLOCK]: block index 76602 at approximate difficulty: 30
INFO[2021-01-26T14:12:18-09:00] Total Speed: 34.1 Work/s, Time: 10.0s
INFO[2021-01-26T14:12:28-09:00] Total Speed: 31.1 Work/s, Time: 10.0s
INFO[2021-01-26T14:12:38-09:00] Total Speed: 31.9 Work/s, Time: 10.0s
INFO[2021-01-26T14:12:48-09:00] Total Speed: 32.8 Work/s, Time: 10.0s
INFO[2021-01-26T14:12:58-09:00] Total Speed: 35.2 Work/s, Time: 10.0s
INFO[2021-01-26T14:13:12-09:00] Total Speed: 37.5 Work/s, Time: 14.0s
INFO[2021-01-26T14:13:22-09:00] Total Speed: 37.5 Work/s, Time: 10.0s
INFO[2021-01-26T14:13:32-09:00] Total Speed: 37.5 Work/s, Time: 10.0s
INFO[2021-01-26T14:13:42-09:00] Total Speed: 38.1 Work/s, Time: 10.0s
runtime: out of memory: cannot allocate 67108864-byte block (1546125312 in use)
fatal error: out of memory

runtime stack:
runtime.throw(0x6d1efe, 0xd)
/usr/lib/go-1.13/src/runtime/panic.go:774 +0x64
runtime.largeAlloc(0x4000000, 0x101, 0x11ae0000)
/usr/lib/go-1.13/src/runtime/malloc.go:1140 +0x108
runtime.mallocgc.func1()
/usr/lib/go-1.13/src/runtime/malloc.go:1033 +0x39
runtime.systemstack(0x0)
/usr/lib/go-1.13/src/runtime/asm_386.s:399 +0x53
runtime.mstart()
/usr/lib/go-1.13/src/runtime/proc.go:1146

goroutine 79826 [running]:
runtime.systemstack_switch()
/usr/lib/go-1.13/src/runtime/asm_386.s:360 fp=0x1595fa60 sp=0x1595fa5c pc=0x44f9e0
runtime.mallocgc(0x4000000, 0x685ee0, 0x2cbafe01, 0x1189f400)
/usr/lib/go-1.13/src/runtime/malloc.go:1032 +0x684 fp=0x1595fab4 sp=0x1595fa60 pc=0x40a314
runtime.makeslice(0x685ee0, 0x10000, 0x10000, 0x11a280f0)
/usr/lib/go-1.13/src/runtime/slice.go:49 +0x4f fp=0x1595fac8 sp=0x1595fab4 pc=0x43c60f
golang.org/x/crypto/argon2.initBlocks(0x11a280a0, 0x10000, 0x1, 0x11b040c0, 0x10, 0x10)
/root/go/pkg/mod/golang.org/x/[email protected]/argon2/argon2.go:160 +0x49 fp=0x1595fb0c sp=0x1595fac8 pc=0x632b89
golang.org/x/crypto/argon2.deriveKey(0x2, 0x11bd02c0, 0x40, 0x40, 0x11b040c0, 0x10, 0x10, 0x0, 0x0, 0x0, ...)
/root/go/pkg/mod/golang.org/x/[email protected]/argon2/argon2.go:115 +0x185 fp=0x1595fbb0 sp=0x1595fb0c pc=0x6327b5
golang.org/x/crypto/argon2.IDKey(...)
/root/go/pkg/mod/golang.org/x/[email protected]/argon2/argon2.go:99
minaxnt/miner.computeDifficulty(0x11bd0280, 0x40, 0x3ca0ad79, 0x8967e089, 0x11bd0280)
/root/Downloads/minaxnt-master/miner/miner.go:32 +0x176 fp=0x1595fc60 sp=0x1595fbb0 pc=0x638306
minaxnt/miner.Mining(0x12b3a, 0x0, 0x1188e300, 0x1, 0x4, 0x11bb0060, 0x13, 0x11b70380, 0x40, 0x11be0000, ...)
/root/Downloads/minaxnt-master/miner/miner.go:78 +0x25d fp=0x1595fd28 sp=0x1595fc60 pc=0x63877d
minaxnt/miner.(*Client).foundNonce(0x118549a0, 0x0, 0x12b3a, 0x0, 0x1188e300, 0x1, 0x4, 0x8c0f50, 0x1, 0x11b70380, ...)
/root/Downloads/minaxnt-master/miner/client.go:177 +0x202 fp=0x1595fee0 sp=0x1595fd28 pc=0x636772
minaxnt/miner.(*Client).recv.func3.1()
/root/Downloads/minaxnt-master/miner/client.go:333 +0x4f fp=0x1595ff90 sp=0x1595fee0 pc=0x6392ff
github.com/alitto/pond.worker(0x11a5e0d0, 0x11812800, 0x118924d4, 0x11a10088, 0x6ea6fc)
/root/go/pkg/mod/github.com/alitto/[email protected]/pond.go:340 +0x102 fp=0x1595ffd8 sp=0x1595ff90 pc=0x4d8ea2
runtime.goexit()
/usr/lib/go-1.13/src/runtime/asm_386.s:1325 +0x1 fp=0x1595ffdc sp=0x1595ffd8 pc=0x4512f1
created by github.com/alitto/pond.(*WorkerPool).maybeStartWorker
/root/go/pkg/mod/github.com/alitto/[email protected]/pond.go:276 +0x94

goroutine 1 [chan receive, 8 minutes]:
main.main()
/root/Downloads/minaxnt-master/main.go:57 +0x1e5

goroutine 6 [syscall, 8 minutes]:
os/signal.signal_recv(0x0)
/usr/lib/go-1.13/src/runtime/sigqueue.go:147 +0x12f
os/signal.loop()
/usr/lib/go-1.13/src/os/signal/signal_unix.go:23 +0x1a
created by os/signal.init.0
/usr/lib/go-1.13/src/os/signal/signal_unix.go:29 +0x37

goroutine 21 [sleep]:
runtime.goparkunlock(...)
/usr/lib/go-1.13/src/runtime/proc.go:310
time.Sleep(0x540be400, 0x2)
/usr/lib/go-1.13/src/runtime/time.go:105 +0x159
minaxnt/miner.(*Stats).Start(0x118522a0)
/root/Downloads/minaxnt-master/miner/stats.go:41 +0x89
created by minaxnt/miner.(*Client).Start
/root/Downloads/minaxnt-master/miner/client.go:153 +0x36

goroutine 22 [chan receive, 8 minutes]:
minaxnt/miner.(*Client).send(0x118549a0)
/root/Downloads/minaxnt-master/miner/client.go:249 +0x69
created by minaxnt/miner.(*Client).Start
/root/Downloads/minaxnt-master/miner/client.go:154 +0x54

goroutine 23 [IO wait, 1 minutes]:
internal/poll.runtime_pollWait(0x31ab4fc0, 0x72, 0x7378a0)
/usr/lib/go-1.13/src/runtime/netpoll.go:184 +0x4b
internal/poll.(*pollDesc).wait(0x118747dc, 0x72, 0x8ba100, 0x0, 0x0)
/usr/lib/go-1.13/src/internal/poll/fd_poll_runtime.go:87 +0x37
internal/poll.(*ioSrv).ExecIO(0x8f4894, 0x118746f4, 0x6ea778, 0x0, 0x0, 0x11a10050)
/usr/lib/go-1.13/src/internal/poll/fd_windows.go:228 +0xef
internal/poll.(*FD).Read(0x118746e0, 0x118be000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/lib/go-1.13/src/internal/poll/fd_windows.go:527 +0x10a
net.(*netFD).Read(0x118746e0, 0x118be000, 0x1000, 0x1000, 0x62b555, 0x1181c4dc, 0x11894000)
/usr/lib/go-1.13/src/net/fd_windows.go:152 +0x3f
net.(*conn).Read(0x11806780, 0x118be000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/lib/go-1.13/src/net/net.go:184 +0x56
bufio.(*Reader).fill(0x11852240)
/usr/lib/go-1.13/src/bufio/bufio.go:100 +0xe9
bufio.(*Reader).Peek(0x11852240, 0x2, 0x62b16f, 0x11a2cf80, 0x11a60080, 0xcb4c4a51, 0x66)
/usr/lib/go-1.13/src/bufio/bufio.go:138 +0x41
github.com/gorilla/websocket.(*Conn).read(0x1188c0c0, 0x2, 0x11a2cf80, 0x4, 0x11a60080, 0x7, 0x0)
/root/go/pkg/mod/github.com/gorilla/[email protected]/conn.go:370 +0x30
github.com/gorilla/websocket.(*Conn).advanceFrame(0x1188c0c0, 0x0, 0x0, 0x11a5e0f0)
/root/go/pkg/mod/github.com/gorilla/[email protected]/conn.go:798 +0x60
github.com/gorilla/websocket.(*Conn).NextReader(0x1188c0c0, 0x69da01, 0x7, 0x62c32a, 0x1181c4d8, 0x40a55c)
/root/go/pkg/mod/github.com/gorilla/[email protected]/conn.go:980 +0x89
github.com/gorilla/websocket.(*Conn).ReadJSON(0x1188c0c0, 0x66ae20, 0x11a5e0f0, 0x1, 0x1)
/root/go/pkg/mod/github.com/gorilla/[email protected]/json.go:50 +0x25
minaxnt/miner.(*Client).recv(0x118549a0)
/root/Downloads/minaxnt-master/miner/client.go:271 +0xee
created by minaxnt/miner.(*Client).Start
/root/Downloads/minaxnt-master/miner/client.go:155 +0x72

goroutine 79827 [semacquire]:
sync.runtime_Semacquire(0x159330e8)
/usr/lib/go-1.13/src/runtime/sema.go:56 +0x36
sync.(*WaitGroup).Wait(0x159330e0)
/usr/lib/go-1.13/src/sync/waitgroup.go:130 +0x7c
golang.org/x/crypto/argon2.processBlocks(0x259b0000, 0x10000, 0x10000, 0x1, 0x10000, 0x1, 0x2)
/root/go/pkg/mod/golang.org/x/[email protected]/argon2/argon2.go:236 +0x101
golang.org/x/crypto/argon2.deriveKey(0x2, 0x11b42140, 0x40, 0x40, 0x159330a0, 0x10, 0x10, 0x0, 0x0, 0x0, ...)
/root/go/pkg/mod/golang.org/x/[email protected]/argon2/argon2.go:116 +0x1e2
golang.org/x/crypto/argon2.IDKey(...)
/root/go/pkg/mod/golang.org/x/[email protected]/argon2/argon2.go:99
minaxnt/miner.computeDifficulty(0x11b42100, 0x40, 0xe4fa79e5, 0x13aca13b, 0x11b42100)
/root/Downloads/minaxnt-master/miner/miner.go:32 +0x176
minaxnt/miner.Mining(0x12b3a, 0x0, 0x1188e300, 0x1, 0x4, 0x11b92020, 0x13, 0x11b70380, 0x40, 0x11be0000, ...)
/root/Downloads/minaxnt-master/miner/miner.go:78 +0x25d
minaxnt/miner.(*Client).foundNonce(0x118549a0, 0x0, 0x12b3a, 0x0, 0x1188e300, 0x1, 0x4, 0x8c0f50, 0x1, 0x11b70380, ...)
/root/Downloads/minaxnt-master/miner/client.go:177 +0x202
minaxnt/miner.(*Client).recv.func3.1()
/root/Downloads/minaxnt-master/miner/client.go:333 +0x4f
github.com/alitto/pond.worker(0x11a5e0e0, 0x11812800, 0x118924d4, 0x11a10090, 0x6ea6fc)
/root/go/pkg/mod/github.com/alitto/[email protected]/pond.go:340 +0x102
created by github.com/alitto/pond.(*WorkerPool).maybeStartWorker
/root/go/pkg/mod/github.com/alitto/[email protected]/pond.go:276 +0x94

goroutine 96497 [runnable]:
golang.org/x/crypto/argon2.blamkaGeneric(0x119e0fb8, 0x119e0fc0, 0x119e1038, 0x119e1040, 0x119e10b8, 0x119e10c0, 0x119e1138, 0x119e1140, 0x119e11b8, 0x119e11c0, ...)
/root/go/pkg/mod/golang.org/x/[email protected]/argon2/blamka_generic.go:41 +0x128c
golang.org/x/crypto/argon2.processBlockGeneric(0x3ccd4400, 0x3ccd4000, 0x3cab1c00, 0x4001)
/root/go/pkg/mod/golang.org/x/[email protected]/argon2/blamka_generic.go:23 +0x36b
golang.org/x/crypto/argon2.processBlockXOR(...)
/root/go/pkg/mod/golang.org/x/[email protected]/argon2/blamka_ref.go:14
golang.org/x/crypto/argon2.processBlocks.func1(0x0, 0x1, 0x0, 0x11bd9090)
/root/go/pkg/mod/golang.org/x/[email protected]/argon2/argon2.go:223 +0x1d1
created by golang.org/x/crypto/argon2.processBlocks
/root/go/pkg/mod/golang.org/x/[email protected]/argon2/argon2.go:234 +0xe6

goroutine 79761 [runnable]:
golang.org/x/crypto/argon2.initBlocks(0x11b26000, 0x10000, 0x1, 0x1180b7d0, 0x10, 0x10)
/root/go/pkg/mod/golang.org/x/[email protected]/argon2/argon2.go:160 +0x49
golang.org/x/crypto/argon2.deriveKey(0x2, 0x11b4e140, 0x40, 0x40, 0x1180b7d0, 0x10, 0x10, 0x0, 0x0, 0x0, ...)
/root/go/pkg/mod/golang.org/x/[email protected]/argon2/argon2.go:115 +0x185
golang.org/x/crypto/argon2.IDKey(...)
/root/go/pkg/mod/golang.org/x/[email protected]/argon2/argon2.go:99
minaxnt/miner.computeDifficulty(0x11b4e100, 0x40, 0xde3018b0, 0x4e56c938, 0x11b4e100)
/root/Downloads/minaxnt-master/miner/miner.go:32 +0x176
minaxnt/miner.Mining(0x12b3a, 0x0, 0x1188e300, 0x1, 0x4, 0x11aa6020, 0x13, 0x11b70380, 0x40, 0x11be0000, ...)
/root/Downloads/minaxnt-master/miner/miner.go:78 +0x25d
minaxnt/miner.(*Client).foundNonce(0x118549a0, 0x0, 0x12b3a, 0x0, 0x1188e300, 0x1, 0x4, 0x8c0f50, 0x1, 0x11b70380, ...)
/root/Downloads/minaxnt-master/miner/client.go:177 +0x202
minaxnt/miner.(*Client).recv.func3.1()
/root/Downloads/minaxnt-master/miner/client.go:333 +0x4f
github.com/alitto/pond.worker(0x11a5e0c0, 0x11812800, 0x118924d4, 0x11a10080, 0x6ea6fc)
/root/go/pkg/mod/github.com/alitto/[email protected]/pond.go:340 +0x102
created by github.com/alitto/pond.(*WorkerPool).maybeStartWorker
/root/go/pkg/mod/github.com/alitto/[email protected]/pond.go:276 +0x94

goroutine 79758 [semacquire]:
sync.runtime_Semacquire(0x159330d8)
/usr/lib/go-1.13/src/runtime/sema.go:56 +0x36
sync.(*WaitGroup).Wait(0x159330d0)
/usr/lib/go-1.13/src/sync/waitgroup.go:130 +0x7c
golang.org/x/crypto/argon2.processBlocks(0x299b0000, 0x10000, 0x10000, 0x1, 0x10000, 0x1, 0x2)
/root/go/pkg/mod/golang.org/x/[email protected]/argon2/argon2.go:236 +0x101
golang.org/x/crypto/argon2.deriveKey(0x2, 0x11bd0140, 0x40, 0x40, 0x1591b080, 0x10, 0x10, 0x0, 0x0, 0x0, ...)
/root/go/pkg/mod/golang.org/x/[email protected]/argon2/argon2.go:116 +0x1e2
golang.org/x/crypto/argon2.IDKey(...)
/root/go/pkg/mod/golang.org/x/[email protected]/argon2/argon2.go:99
minaxnt/miner.computeDifficulty(0x11bd0100, 0x40, 0xc5d053d0, 0x8b276e30, 0x11bd0100)
/root/Downloads/minaxnt-master/miner/miner.go:32 +0x176
minaxnt/miner.Mining(0x12b3a, 0x0, 0x1188e300, 0x1, 0x4, 0x11bb0000, 0x14, 0x11b70380, 0x40, 0x11be0000, ...)
/root/Downloads/minaxnt-master/miner/miner.go:78 +0x25d
minaxnt/miner.(*Client).foundNonce(0x118549a0, 0x0, 0x12b3a, 0x0, 0x1188e300, 0x1, 0x4, 0x8c0f50, 0x1, 0x11b70380, ...)
/root/Downloads/minaxnt-master/miner/client.go:177 +0x202
minaxnt/miner.(*Client).recv.func3.1()
/root/Downloads/minaxnt-master/miner/client.go:333 +0x4f
github.com/alitto/pond.worker(0x11a5e090, 0x11812800, 0x118924d4, 0x11a10068, 0x6ea6fc)
/root/go/pkg/mod/github.com/alitto/[email protected]/pond.go:340 +0x102
created by github.com/alitto/pond.(*WorkerPool).maybeStartWorker
/root/go/pkg/mod/github.com/alitto/[email protected]/pond.go:276 +0x94

goroutine 96560 [runnable]:
golang.org/x/crypto/argon2.blamkaGeneric(0x159631d8, 0x159631e0, 0x159631e8, 0x159631f0, 0x159631f8, 0x15963200, 0x15963208, 0x15963210, 0x15963218, 0x15963220, ...)
/root/go/pkg/mod/golang.org/x/[email protected]/argon2/blamka_generic.go:41 +0x128c
golang.org/x/crypto/argon2.processBlockGeneric(0x2b20cc00, 0x2b20c800, 0x2afd2000, 0x4001)
/root/go/pkg/mod/golang.org/x/[email protected]/argon2/blamka_generic.go:15 +0x118
golang.org/x/crypto/argon2.processBlockXOR(...)
/root/go/pkg/mod/golang.org/x/[email protected]/argon2/blamka_ref.go:14
golang.org/x/crypto/argon2.processBlocks.func1(0x0, 0x1, 0x0, 0x159330d0)
/root/go/pkg/mod/golang.org/x/[email protected]/argon2/argon2.go:223 +0x1d1
created by golang.org/x/crypto/argon2.processBlocks
/root/go/pkg/mod/golang.org/x/[email protected]/argon2/argon2.go:234 +0xe6

goroutine 96583 [runnable]:
golang.org/x/crypto/argon2.blamkaGeneric(0x119e9058, 0x119e9060, 0x119e9068, 0x119e9070, 0x119e9078, 0x119e9080, 0x119e9088, 0x119e9090, 0x119e9098, 0x119e90a0, ...)
/root/go/pkg/mod/golang.org/x/[email protected]/argon2/blamka_generic.go:41 +0x128c
golang.org/x/crypto/argon2.processBlockGeneric(0x24be9000, 0x24be8c00, 0x24634c00, 0x4001)
/root/go/pkg/mod/golang.org/x/[email protected]/argon2/blamka_generic.go:15 +0x118
golang.org/x/crypto/argon2.processBlockXOR(...)
/root/go/pkg/mod/golang.org/x/[email protected]/argon2/blamka_ref.go:14
golang.org/x/crypto/argon2.processBlocks.func1(0x0, 0x3, 0x0, 0x1593e060)
/root/go/pkg/mod/golang.org/x/[email protected]/argon2/argon2.go:223 +0x1d1
created by golang.org/x/crypto/argon2.processBlocks
/root/go/pkg/mod/golang.org/x/[email protected]/argon2/argon2.go:234 +0xe6

goroutine 79760 [semacquire]:
sync.runtime_Semacquire(0x1593e068)
/usr/lib/go-1.13/src/runtime/sema.go:56 +0x36
sync.(*WaitGroup).Wait(0x1593e060)
/usr/lib/go-1.13/src/sync/waitgroup.go:130 +0x7c
golang.org/x/crypto/argon2.processBlocks(0x2198e000, 0x10000, 0x10000, 0x1, 0x10000, 0x1, 0x2)
/root/go/pkg/mod/golang.org/x/[email protected]/argon2/argon2.go:236 +0x101
golang.org/x/crypto/argon2.deriveKey(0x2, 0x11b60300, 0x40, 0x40, 0x11afe080, 0x10, 0x10, 0x0, 0x0, 0x0, ...)
/root/go/pkg/mod/golang.org/x/[email protected]/argon2/argon2.go:116 +0x1e2
golang.org/x/crypto/argon2.IDKey(...)
/root/go/pkg/mod/golang.org/x/[email protected]/argon2/argon2.go:99
minaxnt/miner.computeDifficulty(0x11b602c0, 0x40, 0x91e7fb57, 0x4467bdee, 0x11b602c0)
/root/Downloads/minaxnt-master/miner/miner.go:32 +0x176
minaxnt/miner.Mining(0x12b3a, 0x0, 0x1188e300, 0x1, 0x4, 0x11ae4060, 0x13, 0x11b70380, 0x40, 0x11be0000, ...)
/root/Downloads/minaxnt-master/miner/miner.go:78 +0x25d
minaxnt/miner.(*Client).foundNonce(0x118549a0, 0x0, 0x12b3a, 0x0, 0x1188e300, 0x1, 0x4, 0x8c0f50, 0x1, 0x11b70380, ...)
/root/Downloads/minaxnt-master/miner/client.go:177 +0x202
minaxnt/miner.(*Client).recv.func3.1()
/root/Downloads/minaxnt-master/miner/client.go:333 +0x4f
github.com/alitto/pond.worker(0x11a5e0b0, 0x11812800, 0x118924d4, 0x11a10078, 0x6ea6fc)
/root/go/pkg/mod/github.com/alitto/[email protected]/pond.go:340 +0x102
created by github.com/alitto/pond.(*WorkerPool).maybeStartWorker
/root/go/pkg/mod/github.com/alitto/[email protected]/pond.go:276 +0x94

goroutine 96561 [runnable]:
golang.org/x/crypto/argon2.blamkaGeneric(0x119132d8, 0x119132e0, 0x119132e8, 0x119132f0, 0x119132f8, 0x11913300, 0x11913308, 0x11913310, 0x11913318, 0x11913320, ...)
/root/go/pkg/mod/golang.org/x/[email protected]/argon2/blamka_generic.go:41 +0x128c
golang.org/x/crypto/argon2.processBlockGeneric(0x27a04400, 0x27a04000, 0x26802400, 0x4001)
/root/go/pkg/mod/golang.org/x/[email protected]/argon2/blamka_generic.go:15 +0x118
golang.org/x/crypto/argon2.processBlockXOR(...)
/root/go/pkg/mod/golang.org/x/[email protected]/argon2/blamka_ref.go:14
golang.org/x/crypto/argon2.processBlocks.func1(0x0, 0x2, 0x0, 0x159330e0)
/root/go/pkg/mod/golang.org/x/[email protected]/argon2/argon2.go:223 +0x1d1
created by golang.org/x/crypto/argon2.processBlocks
/root/go/pkg/mod/golang.org/x/[email protected]/argon2/argon2.go:234 +0xe6

goroutine 79759 [runnable]:
golang.org/x/crypto/argon2.initBlocks(0x11ba0190, 0x10000, 0x1, 0x11aff0f0, 0x10, 0x10)
/root/go/pkg/mod/golang.org/x/[email protected]/argon2/argon2.go:160 +0x49
golang.org/x/crypto/argon2.deriveKey(0x2, 0x11b60480, 0x40, 0x40, 0x11aff0f0, 0x10, 0x10, 0x0, 0x0, 0x0, ...)
/root/go/pkg/mod/golang.org/x/[email protected]/argon2/argon2.go:115 +0x185
golang.org/x/crypto/argon2.IDKey(...)
/root/go/pkg/mod/golang.org/x/[email protected]/argon2/argon2.go:99
minaxnt/miner.computeDifficulty(0x11b60440, 0x40, 0xf953a80c, 0x19734e50, 0x11b60440)
/root/Downloads/minaxnt-master/miner/miner.go:32 +0x176
minaxnt/miner.Mining(0x12b3a, 0x0, 0x1188e300, 0x1, 0x4, 0x11ae40a0, 0x13, 0x11b70380, 0x40, 0x11be0000, ...)
/root/Downloads/minaxnt-master/miner/miner.go:78 +0x25d
minaxnt/miner.(*Client).foundNonce(0x118549a0, 0x0, 0x12b3a, 0x0, 0x1188e300, 0x1, 0x4, 0x8c0f50, 0x1, 0x11b70380, ...)
/root/Downloads/minaxnt-master/miner/client.go:177 +0x202
minaxnt/miner.(*Client).recv.func3.1()
/root/Downloads/minaxnt-master/miner/client.go:333 +0x4f
github.com/alitto/pond.worker(0x11a5e0a0, 0x11812800, 0x118924d4, 0x11a10070, 0x6ea6fc)
/root/go/pkg/mod/github.com/alitto/[email protected]/pond.go:340 +0x102
created by github.com/alitto/pond.(*WorkerPool).maybeStartWorker
/root/go/pkg/mod/github.com/alitto/[email protected]/pond.go:276 +0x94

goroutine 79757 [semacquire]:
sync.runtime_Semacquire(0x1180a058)
/usr/lib/go-1.13/src/runtime/sema.go:56 +0x36
sync.(*WaitGroup).Wait(0x1180a050)
/usr/lib/go-1.13/src/sync/waitgroup.go:130 +0x7c
golang.org/x/crypto/argon2.processBlocks(0x33000000, 0x10000, 0x10000, 0x1, 0x10000, 0x1, 0x2)
/root/go/pkg/mod/golang.org/x/[email protected]/argon2/argon2.go:236 +0x101
golang.org/x/crypto/argon2.deriveKey(0x2, 0x11b20140, 0x40, 0x40, 0x1190b050, 0x10, 0x10, 0x0, 0x0, 0x0, ...)
/root/go/pkg/mod/golang.org/x/[email protected]/argon2/argon2.go:116 +0x1e2
golang.org/x/crypto/argon2.IDKey(...)
/root/go/pkg/mod/golang.org/x/[email protected]/argon2/argon2.go:99
minaxnt/miner.computeDifficulty(0x11b20100, 0x40, 0x3fcb9857, 0xc34ca644, 0x11b20100)
/root/Downloads/minaxnt-master/miner/miner.go:32 +0x176
minaxnt/miner.Mining(0x12b3a, 0x0, 0x1188e300, 0x1, 0x4, 0x11b54000, 0x14, 0x11b70380, 0x40, 0x11be0000, ...)
/root/Downloads/minaxnt-master/miner/miner.go:78 +0x25d
minaxnt/miner.(*Client).foundNonce(0x118549a0, 0x0, 0x12b3a, 0x0, 0x1188e300, 0x1, 0x4, 0x8c0f50, 0x1, 0x11b70380, ...)
/root/Downloads/minaxnt-master/miner/client.go:177 +0x202
minaxnt/miner.(*Client).recv.func3.1()
/root/Downloads/minaxnt-master/miner/client.go:333 +0x4f
github.com/alitto/pond.worker(0x11a5e080, 0x11812800, 0x118924d4, 0x11a10060, 0x6ea6fc)
/root/go/pkg/mod/github.com/alitto/[email protected]/pond.go:340 +0x102
created by github.com/alitto/pond.(*WorkerPool).maybeStartWorker
/root/go/pkg/mod/github.com/alitto/[email protected]/pond.go:276 +0x94

goroutine 79756 [semacquire]:
sync.runtime_Semacquire(0x11bd9098)
/usr/lib/go-1.13/src/runtime/sema.go:56 +0x36
sync.(*WaitGroup).Wait(0x11bd9090)
/usr/lib/go-1.13/src/sync/waitgroup.go:130 +0x7c
golang.org/x/crypto/argon2.processBlocks(0x3b400000, 0x10000, 0x10000, 0x1, 0x10000, 0x1, 0x2)
/root/go/pkg/mod/golang.org/x/[email protected]/argon2/argon2.go:236 +0x101
golang.org/x/crypto/argon2.deriveKey(0x2, 0x11812400, 0x40, 0x40, 0x11bd9070, 0x10, 0x10, 0x0, 0x0, 0x0, ...)
/root/go/pkg/mod/golang.org/x/[email protected]/argon2/argon2.go:116 +0x1e2
golang.org/x/crypto/argon2.IDKey(...)
/root/go/pkg/mod/golang.org/x/[email protected]/argon2/argon2.go:99
minaxnt/miner.computeDifficulty(0x118123c0, 0x40, 0x32b653e9, 0x9284bd5, 0x118123c0)
/root/Downloads/minaxnt-master/miner/miner.go:32 +0x176
minaxnt/miner.Mining(0x12b3a, 0x0, 0x1188e300, 0x1, 0x4, 0x11b40020, 0x12, 0x11b70380, 0x40, 0x11be0000, ...)
/root/Downloads/minaxnt-master/miner/miner.go:78 +0x25d
minaxnt/miner.(*Client).foundNonce(0x118549a0, 0x0, 0x12b3a, 0x0, 0x1188e300, 0x1, 0x4, 0x8c0f50, 0x1, 0x11b70380, ...)
/root/Downloads/minaxnt-master/miner/client.go:177 +0x202
minaxnt/miner.(*Client).recv.func3.1()
/root/Downloads/minaxnt-master/miner/client.go:333 +0x4f
github.com/alitto/pond.worker(0x11a5e070, 0x11812800, 0x118924d4, 0x11a10058, 0x6ea6fc)
/root/go/pkg/mod/github.com/alitto/[email protected]/pond.go:340 +0x102
created by github.com/alitto/pond.(*WorkerPool).maybeStartWorker
/root/go/pkg/mod/github.com/alitto/[email protected]/pond.go:276 +0x94

goroutine 96256 [runnable]:
golang.org/x/crypto/argon2.blamkaGeneric(0x1595cfc8, 0x1595cfd0, 0x1595d048, 0x1595d050, 0x1595d0c8, 0x1595d0d0, 0x1595d148, 0x1595d150, 0x1595d1c8, 0x1595d1d0, ...)
/root/go/pkg/mod/golang.org/x/[email protected]/argon2/blamka_generic.go:41 +0x128c
golang.org/x/crypto/argon2.processBlockGeneric(0x34abd800, 0x34abd400, 0x34a96400, 0x4001)
/root/go/pkg/mod/golang.org/x/[email protected]/argon2/blamka_generic.go:23 +0x36b
golang.org/x/crypto/argon2.processBlockXOR(...)
/root/go/pkg/mod/golang.org/x/[email protected]/argon2/blamka_ref.go:14
golang.org/x/crypto/argon2.processBlocks.func1(0x0, 0x1, 0x0, 0x1180a050)
/root/go/pkg/mod/golang.org/x/[email protected]/argon2/argon2.go:223 +0x1d1
created by golang.org/x/crypto/argon2.processBlocks
/root/go/pkg/mod/golang.org/x/[email protected]/argon2/argon2.go:234 +0xe6
`

Please assist,
fishinstud

@christiankakesa
Copy link
Collaborator

Looks like you don't have enough free RAM, can you check or be sure that you have at leat +1Gio of RAM available before running MinAXNT.

@fishinstud
Copy link
Author

Hi Fenicks, this system has 32GB of ram and shows only 5.7G in use running windows 10 and Minaxnt -p 8. I think there is some sort of int32 calculation/conversion that is off. I do not know.

Thoughts?
fishinstud

@christiankakesa
Copy link
Collaborator

Which version of Golang are you using to compile MinAXNT?

@christiankakesa
Copy link
Collaborator

christiankakesa commented Feb 7, 2021

The limitation is because of the 32-bit OS in your case
I'll read on crypto lib we use, looks like it's happen on Argon2 part

Try to run on 64-bit OS I'll give a feedback after investigating on Argon2 implementation with 32-bit OS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants