Closed cang233 closed 4 years ago
I use the VectorSeparateFunction,which is called by SetVectorHandlerDrop,return errors too.
------------***------ Starting FlowFunctions -----***------------
DEBUG: Start SCHEDULER at 0 core
DEBUG: Start STOP at scheduler 0 core
DEBUG: Start new instance for receiverPort1
DEBUG: Start new clone for receiverPort1 instance 0 at 1 core
DEBUG: Start new instance for segment1
DEBUG: Start new clone for segment1 instance 0 at 2 core
DEBUG: Start new instance for segment2
DEBUG: Start new clone for segment2 instance 0 at 3 core
SIGILL: illegal instruction
PC=0x779964 m=5 sigcode=2
goroutine 115 [running, locked to thread]:
github.com/intel-go/nff-go/asm.GenerateMask(0xc00cdcc060, 0x1200040, 0xc00cdcc040, 0xc00cde0008)
/home/pvs1/gopath/pkg/mod/github.com/intel-go/nff-go@v0.9.2/asm/asm.s:21 +0x14 fp=0xc00cddc9f0 sp=0xc00cddc9e8 pc=0x779964
github.com/intel-go/nff-go/flow.segmentProcess(0xa09b40, 0xc00014e330, 0xc00cdc6000, 0x11, 0x11, 0xc00cdd4000, 0xc00cdd4060, 0xc00cdd2000, 0xc0000aaa80, 0x3, ...)
/home/pvs1/gopath/pkg/mod/github.com/intel-go/nff-go@v0.9.2/flow/flow.go:1510 +0x994 fp=0xc00cddcef0 sp=0xc00cddc9f0 pc=0x789204
github.com/intel-go/nff-go/flow.(*instance).startNewClone.func1(0xc000082900, 0x3, 0xc00017de00)
/home/pvs1/gopath/pkg/mod/github.com/intel-go/nff-go@v0.9.2/flow/scheduler.go:289 +0x245 fp=0xc00cddcfc8 sp=0xc00cddcef0 pc=0x790175
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1357 +0x1 fp=0xc00cddcfd0 sp=0xc00cddcfc8 pc=0x490b91
created by github.com/intel-go/nff-go/flow.(*instance).startNewClone
/home/pvs1/gopath/pkg/mod/github.com/intel-go/nff-go@v0.9.2/flow/scheduler.go:283 +0x2b2
goroutine 1 [chan receive, locked to thread]:
github.com/intel-go/nff-go/flow.(*scheduler).measure(0xc000e42000, 0x7, 0x1, 0xed)
/home/pvs1/gopath/pkg/mod/github.com/intel-go/nff-go@v0.9.2/flow/scheduler.go:836 +0x2cf
github.com/intel-go/nff-go/flow.(*scheduler).systemStart(0xc000e42000, 0xc0000e6120, 0xa1d7c0)
/home/pvs1/gopath/pkg/mod/github.com/intel-go/nff-go@v0.9.2/flow/scheduler.go:244 +0x3ca
github.com/intel-go/nff-go/flow.SystemStartScheduler(0x0, 0x0)
/home/pvs1/gopath/pkg/mod/github.com/intel-go/nff-go@v0.9.2/flow/flow.go:794 +0x31
github.com/intel-go/nff-go/flow.SystemStart(0x0, 0xada178)
/home/pvs1/gopath/pkg/mod/github.com/intel-go/nff-go@v0.9.2/flow/flow.go:822 +0x35
main.main()
/home/pvs1/gopath/src/flowparser/main.go:70 +0x2ef
goroutine 19 [syscall]:
os/signal.signal_recv(0x0)
/usr/local/go/src/runtime/sigqueue.go:147 +0x9c
os/signal.loop()
/usr/local/go/src/os/signal/signal_unix.go:23 +0x22
created by os/signal.init.0
/usr/local/go/src/os/signal/signal_unix.go:29 +0x41
goroutine 38 [sleep]:
runtime.goparkunlock(...)
/usr/local/go/src/runtime/proc.go:310
time.Sleep(0x3b9aca00)
/usr/local/go/src/runtime/time.go:105 +0x157
main.IPv4TCPCounter()
/home/pvs1/gopath/src/flowparser/main.go:75 +0xfe
created by main.main
/home/pvs1/gopath/src/flowparser/main.go:67 +0x2ea
goroutine 39 [syscall]:
github.com/intel-go/nff-go/internal/low._Cfunc_nff_go_stop(0x7f4a44000a20, 0x7f4a00000010, 0xc000e42074, 0x0, 0xc0000e6180)
_cgo_gotypes.go:790 +0x45
github.com/intel-go/nff-go/internal/low.Stop.func1(0xc000134080, 0x10, 0x10, 0xc000e42074, 0x0, 0xc0000e6180)
/home/pvs1/gopath/pkg/mod/github.com/intel-go/nff-go@v0.9.2/internal/low/low.go:542 +0xa7
github.com/intel-go/nff-go/internal/low.Stop(0xc000134080, 0x10, 0x10, 0xc000e42074, 0x0, 0xc0000e6180)
/home/pvs1/gopath/pkg/mod/github.com/intel-go/nff-go@v0.9.2/internal/low/low.go:542 +0x5d
github.com/intel-go/nff-go/flow.(*scheduler).systemStart.func1(0xc000e42000, 0x0, 0xc0000e6180)
/home/pvs1/gopath/pkg/mod/github.com/intel-go/nff-go@v0.9.2/flow/scheduler.go:234 +0x5e
created by github.com/intel-go/nff-go/flow.(*scheduler).systemStart
/home/pvs1/gopath/pkg/mod/github.com/intel-go/nff-go@v0.9.2/flow/scheduler.go:233 +0x215
goroutine 24 [syscall]:
github.com/intel-go/nff-go/internal/low._Cfunc_receiveRSS(0xa00000, 0xc004e20000, 0x7f4a140008c0, 0xc0000b8278, 0x1, 0xc00014c0ac, 0xc0000ee2b8)
_cgo_gotypes.go:858 +0x45
github.com/intel-go/nff-go/internal/low.ReceiveRSS.func1(0x200000000, 0xc004e20000, 0x11, 0x11, 0xc00002c180, 0x10, 0x10, 0xc0000b8278, 0x1, 0xc00014c0ac, ...)
/home/pvs1/gopath/pkg/mod/github.com/intel-go/nff-go@v0.9.2/internal/low/low.go:508 +0xd9
github.com/intel-go/nff-go/internal/low.ReceiveRSS(0x0, 0xc004e20000, 0x11, 0x11, 0xc00002c180, 0x10, 0x10, 0xc0000b8278, 0x1, 0xc00014c0ac, ...)
/home/pvs1/gopath/pkg/mod/github.com/intel-go/nff-go@v0.9.2/internal/low/low.go:508 +0xf9
github.com/intel-go/nff-go/flow.recvRSS(0xa09ac0, 0xc0000ee280, 0xc004e20000, 0x11, 0x11, 0xc0000b8278, 0x1)
/home/pvs1/gopath/pkg/mod/github.com/intel-go/nff-go@v0.9.2/flow/flow.go:1541 +0x127
github.com/intel-go/nff-go/flow.(*instance).startNewClone.func1(0xc000082600, 0x1, 0xc0000cb680)
/home/pvs1/gopath/pkg/mod/github.com/intel-go/nff-go@v0.9.2/flow/scheduler.go:294 +0xd2
created by github.com/intel-go/nff-go/flow.(*instance).startNewClone
/home/pvs1/gopath/pkg/mod/github.com/intel-go/nff-go@v0.9.2/flow/scheduler.go:283 +0x2b2
goroutine 25 [runnable, locked to thread]:
github.com/intel-go/nff-go/internal/low.nffgoRingMcDoDequeue(0x1c68350, 0xc000e45ac0, 0x20, 0x20, 0x20, 0x0)
/home/pvs1/gopath/pkg/mod/github.com/intel-go/nff-go@v0.9.2/internal/low/low.go:440 +0x119
github.com/intel-go/nff-go/internal/low.nffgoRingMcDequeueBurst(...)
/home/pvs1/gopath/pkg/mod/github.com/intel-go/nff-go@v0.9.2/internal/low/low.go:494
github.com/intel-go/nff-go/internal/low.(*Ring).DequeueBurst(...)
/home/pvs1/gopath/pkg/mod/github.com/intel-go/nff-go@v0.9.2/internal/low/low.go:307
github.com/intel-go/nff-go/flow.segmentProcess(0xa09b40, 0xc00014e180, 0xc004e20050, 0x11, 0x11, 0xc00009e060, 0xc00009e0c0, 0xc00cdbe600, 0xc00cdc4000, 0x8, ...)
/home/pvs1/gopath/pkg/mod/github.com/intel-go/nff-go@v0.9.2/flow/flow.go:1446 +0x369
github.com/intel-go/nff-go/flow.(*instance).startNewClone.func1(0xc000082780, 0x2, 0xc0000cb980)
/home/pvs1/gopath/pkg/mod/github.com/intel-go/nff-go@v0.9.2/flow/scheduler.go:289 +0x245
created by github.com/intel-go/nff-go/flow.(*instance).startNewClone
/home/pvs1/gopath/pkg/mod/github.com/intel-go/nff-go@v0.9.2/flow/scheduler.go:283 +0x2b2
goroutine 117 [runnable, locked to thread]:
github.com/intel-go/nff-go/flow.segmentProcess(0xa09b40, 0xc000122690, 0xc00ce007e0, 0x8, 0x8, 0xc00cdea480, 0xc00cdea4e0, 0xc004e5d000, 0x0, 0x0, ...)
/home/pvs1/gopath/pkg/mod/github.com/intel-go/nff-go@v0.9.2/flow/flow.go:1423 +0xc36
github.com/intel-go/nff-go/flow.(*scheduler).measure.func1(0x4, 0xc000122690, 0xc00ce007e0, 0x8, 0x8, 0xc00cde8060, 0xc004e5d000)
/home/pvs1/gopath/pkg/mod/github.com/intel-go/nff-go@v0.9.2/flow/scheduler.go:830 +0xab
created by github.com/intel-go/nff-go/flow.(*scheduler).measure
/home/pvs1/gopath/pkg/mod/github.com/intel-go/nff-go@v0.9.2/flow/scheduler.go:828 +0x441
rax 0xc00cdcc060
rbx 0x1200040
rcx 0xc00cdcc040
rdx 0xc00cde0008
rdi 0xc00cde0008
rsi 0xc00cdcc060
rbp 0xc00cddcee0
rsp 0xc00cddc9e8
r8 0xc00cde0000
r9 0x0
r10 0x0
r11 0x3202
r12 0x0
r13 0x40
r14 0x5
r15 0xaa
rip 0x779964
rflags 0x13256
cs 0x33
fs 0x0
gs 0x0
exit status 2
@cang233 is this issue still actual?
I run the github.com/intel-go/nff-go/test/stability/testSingleWorkingFF
TestVectorSplit
test function bygo test -run TestVectorSplit
,then return error,but the other TestSplit,TestVectorHandle,TestHandle is ok.even I wrote a simple test myself,it return error like above.
update dpdk binding NIC info: