We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
例如请求http://127.0.0.1:8080/hls/api/pull?streamPath
panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0xb218ee]
goroutine 117 [running]: m7s.live/engine/v4.(*IO).IsClosed(...) /root/go/pkg/mod/m7s.live/engine/[email protected]/io.go:55 m7s.live/engine/v4.(*IO).close(0xc0009aa380, {0xc000652500, 0x1, 0x1}) /root/go/pkg/mod/m7s.live/engine/[email protected]/io.go:109 +0x2e m7s.live/engine/v4.(*IO).Stop(...) /root/go/pkg/mod/m7s.live/engine/[email protected]/io.go:125 m7s.live/plugin/hls/v4.(*HLSPuller).Disconnect(0xc0009aa380) /root/go/pkg/mod/m7s.live/plugin/hls/[email protected]/pull.go:305 +0xcb m7s.live/engine/v4.(*Puller).startPull.func1() /root/go/pkg/mod/m7s.live/engine/[email protected]/puller.go:65 +0x67 m7s.live/engine/v4.(*Puller).startPull(0xc0009aa478, {0x25b9ee0?, 0xc0009aa380}) /root/go/pkg/mod/m7s.live/engine/[email protected]/puller.go:89 +0xd10 created by m7s.live/engine/v4.(*Plugin).Pull in goroutine 114 /root/go/pkg/mod/m7s.live/engine/[email protected]/plugin.go:281 +0x4da
The text was updated successfully, but these errors were encountered:
这个不能为空
Sorry, something went wrong.
不能为空,也不用导致进程panic吧
你说的对,这里需要判断一下
No branches or pull requests
例如请求http://127.0.0.1:8080/hls/api/pull?streamPath
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0xb218ee]
goroutine 117 [running]:
m7s.live/engine/v4.(*IO).IsClosed(...)
/root/go/pkg/mod/m7s.live/engine/[email protected]/io.go:55
m7s.live/engine/v4.(*IO).close(0xc0009aa380, {0xc000652500, 0x1, 0x1})
/root/go/pkg/mod/m7s.live/engine/[email protected]/io.go:109 +0x2e
m7s.live/engine/v4.(*IO).Stop(...)
/root/go/pkg/mod/m7s.live/engine/[email protected]/io.go:125
m7s.live/plugin/hls/v4.(*HLSPuller).Disconnect(0xc0009aa380)
/root/go/pkg/mod/m7s.live/plugin/hls/[email protected]/pull.go:305 +0xcb
m7s.live/engine/v4.(*Puller).startPull.func1()
/root/go/pkg/mod/m7s.live/engine/[email protected]/puller.go:65 +0x67
m7s.live/engine/v4.(*Puller).startPull(0xc0009aa478, {0x25b9ee0?, 0xc0009aa380})
/root/go/pkg/mod/m7s.live/engine/[email protected]/puller.go:89 +0xd10
created by m7s.live/engine/v4.(*Plugin).Pull in goroutine 114
/root/go/pkg/mod/m7s.live/engine/[email protected]/plugin.go:281 +0x4da
The text was updated successfully, but these errors were encountered: