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

invalid memory address or nil pointer dereference #338

Open
88250 opened this issue Apr 3, 2024 · 0 comments
Open

invalid memory address or nil pointer dereference #338

88250 opened this issue Apr 3, 2024 · 0 comments

Comments

@88250
Copy link
Contributor

88250 commented Apr 3, 2024

抱歉不太清楚重现步骤,是进程挂了以后看的日志:

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x30 pc=0xb40547]

goroutine 10779366 [running]:
net/http/httptrace.ContextClientTrace(...)
	/usr/lib/go-1.21/src/net/http/httptrace/trace.go:25
github.com/imroc/req/v3.(*Transport).dialConn(0xc000007860, {0x0, 0x0}, {{}, 0x0, {0xc000135550, 0x4}, {0xc001df0540, 0x1c}, 0x0})
	/root/go/pkg/mod/github.com/imroc/req/[email protected]/transport.go:2004 +0x2e7
github.com/imroc/req/v3.(*Transport).dialConnFor(0x0?, 0xc00116dad0)
	/root/go/pkg/mod/github.com/imroc/req/[email protected]/transport.go:1832 +0xbd
created by github.com/imroc/req/v3.(*Transport).queueForDial in goroutine 10779363
	/root/go/pkg/mod/github.com/imroc/req/[email protected]/transport.go:1796 +0x3cb
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