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

macOS: panic: runtime error: slice bounds out of range #2825

Open
WenjunII opened this issue Jun 4, 2024 · 2 comments
Open

macOS: panic: runtime error: slice bounds out of range #2825

WenjunII opened this issue Jun 4, 2024 · 2 comments
Labels
kind/bug A bug in existing code (including security flaws) need/author-input Needs input from the original author need/triage Needs initial labeling and prioritization topic/macos MacOS specific

Comments

@WenjunII
Copy link

WenjunII commented Jun 4, 2024

👉️ Please describe what you were doing when this error happened.

Specifications

  • OS: darwin 23.5.0
  • IPFS Desktop Version: 0.34.0
  • Electron Version: 19.1.9
  • Chrome Version: 102.0.5005.167

Error

Error: Initializing daemon...
Kubo version: 0.27.0
Repo version: 15
System version: amd64/darwin
Golang version: go1.21.7
panic: runtime error: slice bounds out of range [33554436:80]

goroutine 57 [running]:
internal/poll.(*FD).Write(0xc000b60b80, {0xc000380482, 0x50, 0x200})
	internal/poll/fd_unix.go:380  0x469
net.(*netFD).Write(0xc000b60b80, {0xc000380482?, 0xc0008c8e50?, 0x105aede?})
	net/fd_posix.go:96  0x25
net.(*conn).Write(0xc0002e6058, {0xc000380482?, 0x0?, 0x0?})
	net/net.go:191  0x45
net.dnsPacketRoundTrip({_, _}, _, {{{0x5f, 0x64, 0x6e, 0x73, 0x61, 0x64, 0x64, ...}, ...}, ...}, ...)
	net/dnsclient_unix.go:102  0x9e
net.(*Resolver).exchange(_, {_, _}, {_, _}, {{{0x5f, 0x64, 0x6e, 0x73, 0x61, ...}, ...}, ...}, ...)
	net/dnsclient_unix.go:187  0x528
net.(*Resolver).tryOneName(_, {_, _}, _, {_, _}, _)
	net/dnsclient_unix.go:277  0x466
net.(*Resolver).lookup(_, {_, _}, {_, _}, _, _)
	net/dnsclient_unix.go:444  0x2c5
net.(*Resolver).goLookupTXT(0x696c2e7061727473?, {0x2d1d850?, 0xc000051bd0?}, {0xc001280ae0, 0x20})
	net/lookup.go:845  0x85
net.(*Resolver).lookupTXT(...)
	net/lookup_unix.go:116
net.(*Resolver).LookupTXT(0xc000362738?, {0x2d1d850?, 
@WenjunII WenjunII added kind/bug A bug in existing code (including security flaws) need/triage Needs initial labeling and prioritization labels Jun 4, 2024

This comment was marked as resolved.

@lidel
Copy link
Member

lidel commented Jun 12, 2024

@WenjunII seems this is a known bug in Apple's macOS Sonoma: golang/go#61060 (comment)

Are you able to

@lidel lidel added need/author-input Needs input from the original author topic/macos MacOS specific labels Jun 12, 2024
@lidel lidel changed the title [gui error report] Error: Initializing daemon... macOS: panic: runtime error: slice bounds out of range Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug A bug in existing code (including security flaws) need/author-input Needs input from the original author need/triage Needs initial labeling and prioritization topic/macos MacOS specific
Projects
No open projects
Status: No status
Development

No branches or pull requests

2 participants