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

Unexpected panic: runtime error: slice bounds out of range #1981

Open
ukane-philemon opened this issue Jan 5, 2024 · 0 comments
Open

Unexpected panic: runtime error: slice bounds out of range #1981

ukane-philemon opened this issue Jan 5, 2024 · 0 comments

Comments

@ukane-philemon
Copy link
Collaborator

I encountered this during a fresh sync. No exact steps to reproduce.


2024-01-04 13:42:11.038 [INF] PSQL: Collecting all UTXO data prior to height 1293616...
2024-01-04 13:46:59.699 [INF] PSQL: Pre-warming UTXO cache with 1895171 UTXOs...
2024-01-04 13:47:01.947 [INF] PSQL: UTXO cache is ready.
2024-01-04 13:47:01.948 [INF] PSQL: Large bulk load: Removing indexes and disabling duplicate checks.
2024-01-04 13:47:01.993 [INF] PSQL: Creating temporary index on addresses(tx_vin_vout_row_id).
panic: runtime error: slice bounds out of range [33554436:97]

goroutine 37 [running]:
internal/poll.(*FD).Write(0xc0004d6c80, {0xc035d50000, 0x61, 0x61})
	/usr/local/Cellar/go/1.21.3/libexec/src/internal/poll/fd_unix.go:380 +0x469
net.(*netFD).Write(0xc0004d6c80, {0xc035d50000?, 0x1010849?, 0x1bcc320?})
	/usr/local/Cellar/go/1.21.3/libexec/src/net/fd_posix.go:96 +0x25
net.(*conn).Write(0xc00005c000, {0xc035d50000?, 0x28086f8?, 0xc035d50000?})
	/usr/local/Cellar/go/1.21.3/libexec/src/net/net.go:191 +0x45
crypto/tls.(*Conn).write(0xc00037a380, {0xc035d50000?, 0x5?, 0x61?})
	/usr/local/Cellar/go/1.21.3/libexec/src/crypto/tls/conn.go:944 +0x109
crypto/tls.(*Conn).writeRecordLocked(0xc00037a380, 0x17, {0xc00014c008, 0x4b, 0x1006})
	/usr/local/Cellar/go/1.21.3/libexec/src/crypto/tls/conn.go:1025 +0x68e
crypto/tls.(*Conn).Write(0x0?, {0xc00014c008, 0x4b, 0x1006})
	/usr/local/Cellar/go/1.21.3/libexec/src/crypto/tls/conn.go:1232 +0x3f6
github.com/gorilla/websocket.(*Conn).write(0xc000440f20, 0x1, {0x100?, 0x5d?, 0x0?}, {0xc00014c008, 0x4b, 0x1006}, {0x0, 0x0, ...})
	/Users/philemon/go/pkg/mod/github.com/gorilla/[email protected]/conn.go:392 +0x19f
github.com/gorilla/websocket.(*messageWriter).flushFrame(0xc08c084240, 0x1, {0x0?, 0x0?, 0x0?})
	/Users/philemon/go/pkg/mod/github.com/gorilla/[email protected]/conn.go:621 +0x3a5
github.com/gorilla/websocket.(*messageWriter).Close(0xc08c084240?)
	/Users/philemon/go/pkg/mod/github.com/gorilla/[email protected]/conn.go:731 +0x35
github.com/gorilla/websocket.(*Conn).WriteMessage(0xc00006bf98?, 0xc00006bf50?, {0xc00040e410, 0x45, 0x50})
	/Users/philemon/go/pkg/mod/github.com/gorilla/[email protected]/conn.go:780 +0x189
github.com/decred/dcrd/rpcclient/v8.(*Client).wsOutHandler(0xc0000b05a0)
	/Users/philemon/go/pkg/mod/github.com/decred/dcrd/rpcclient/[email protected]/infrastructure.go:496 +0x15c
created by github.com/decred/dcrd/rpcclient/v8.(*Client).start in goroutine 1
	/Users/philemon/go/pkg/mod/github.com/decred/dcrd/rpcclient/[email protected]/infrastructure.go:1099 +0x1d6

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

1 participant