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
Hello, I have a problem
err = handle.WritePacketData(buf.Bytes()) Report an error:
SIGSEGV: segmentation violation PC=0x24106a7 m=68 sigcode=1 signal arrived during cgo execution
goroutine 1530934 [syscall]: runtime.cgocall(0x240dd20, 0xc029b06b78) /go/pkg/mod/golang.org/toolchain@v0.0.1-go1.21.5.linux-amd64/src/runtime/cgocall.go:157 +0x4b fp=0xc029b06b50 sp=0xc029b06b18 pc=0x40836b github.com/google/gopacket/pcap._Cfunc_pcap_sendpacket(0x0, 0xc077327e66, 0x5a) _cgo_gotypes.go:640 +0x4b fp=0xc029b06b78 sp=0xc029b06b50 pc=0xf167eb github.com/google/gopacket/pcap.(*Handle).pcapSendpacket.func1(0xc029b06bd8?, {0xc077327e66, 0x5a, 0x0?}) /go/pkg/mod/github.com/google/gopacket@v1.1.19/pcap/pcap_unix.go:521 +0x68 fp=0xc029b06bb0 sp=0xc029b06b78 pc=0xf196c8 github.com/google/gopacket/pcap.(*Handle).pcapSendpacket(0x3845be8?, {0xc077327e66?, 0xc077271c20?, 0xc029b06d28?}) /go/pkg/mod/github.com/google/gopacket@v1.1.19/pcap/pcap_unix.go:521 +0x1d fp=0xc029b06be8 sp=0xc029b06bb0 pc=0xf195fd github.com/google/gopacket/pcap.(*Handle).WritePacketData(...) /go/pkg/mod/github.com/google/gopacket@v1.1.19/pcap/pcap.go:696
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello, I have a problem
err = handle.WritePacketData(buf.Bytes())
Report an error:
SIGSEGV: segmentation violation
PC=0x24106a7 m=68 sigcode=1
signal arrived during cgo execution
goroutine 1530934 [syscall]:
runtime.cgocall(0x240dd20, 0xc029b06b78)
/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.21.5.linux-amd64/src/runtime/cgocall.go:157 +0x4b fp=0xc029b06b50 sp=0xc029b06b18 pc=0x40836b
github.com/google/gopacket/pcap._Cfunc_pcap_sendpacket(0x0, 0xc077327e66, 0x5a)
_cgo_gotypes.go:640 +0x4b fp=0xc029b06b78 sp=0xc029b06b50 pc=0xf167eb
github.com/google/gopacket/pcap.(*Handle).pcapSendpacket.func1(0xc029b06bd8?, {0xc077327e66, 0x5a, 0x0?})
/go/pkg/mod/github.com/google/gopacket@v1.1.19/pcap/pcap_unix.go:521 +0x68 fp=0xc029b06bb0 sp=0xc029b06b78 pc=0xf196c8
github.com/google/gopacket/pcap.(*Handle).pcapSendpacket(0x3845be8?, {0xc077327e66?, 0xc077271c20?, 0xc029b06d28?})
/go/pkg/mod/github.com/google/gopacket@v1.1.19/pcap/pcap_unix.go:521 +0x1d fp=0xc029b06be8 sp=0xc029b06bb0 pc=0xf195fd
github.com/google/gopacket/pcap.(*Handle).WritePacketData(...)
/go/pkg/mod/github.com/google/gopacket@v1.1.19/pcap/pcap.go:696
The text was updated successfully, but these errors were encountered: