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

panic invalid memory address or nil pointer dereference #132

Open
randoms opened this issue Nov 3, 2020 · 0 comments
Open

panic invalid memory address or nil pointer dereference #132

randoms opened this issue Nov 3, 2020 · 0 comments

Comments

@randoms
Copy link

randoms commented Nov 3, 2020

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

goroutine 234510 [running]:
bufio.(*Writer).Flush(0xc000287340, 0xc0005dd96c, 0x115)
	/opt/hostedtoolcache/go/1.13.10/x64/src/bufio/bufio.go:593 +0x5c
bufio.(*Writer).Write(0xc000287340, 0xc0005dd96c, 0x51d, 0x6d694, 0xb, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.13.10/x64/src/bufio/bufio.go:629 +0xe4
net/http.(*response).write(0xc000190380, 0x51d, 0xc0005dd96c, 0x51d, 0x6d694, 0x0, 0x0, 0xb, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.13.10/x64/src/net/http/server.go:1572 +0x29a
net/http.(*response).Write(0xc000190380, 0xc0005dd96c, 0x51d, 0x6d694, 0xb, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.13.10/x64/src/net/http/server.go:1541 +0x56
livego/protocol/httpflv.(*FLVWriter).SendPacket(0xc0001620c0, 0xaba7f8, 0xc000177970)
	/home/runner/work/livego/livego/protocol/httpflv/writer.go:144 +0x191
livego/protocol/httpflv.NewFLVWriter.func1(0xc0001620c0)
	/home/runner/work/livego/livego/protocol/httpflv/writer.go:49 +0x2f
created by livego/protocol/httpflv.NewFLVWriter
	/home/runner/work/livego/livego/protocol/httpflv/writer.go:48 +0x35e

Crashed after running for about an hour.

sSimuSs added a commit to sSimuSs/livego that referenced this issue Dec 15, 2020
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