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

DPDK input segfault #120

Open
thorgrin opened this issue Dec 20, 2022 · 0 comments
Open

DPDK input segfault #120

thorgrin opened this issue Dec 20, 2022 · 0 comments
Labels

Comments

@thorgrin
Copy link

thorgrin commented Dec 20, 2022

I'm running the ipfixprobe as follows:

/usr/bin/ipfixprobe -i 'dpdk;p=0;q=1;e=ipfixprobe-eal --lcores (0-7)@(1,3,5,7,9,11,13,15,17,19,21,23) -a 0000:d8:00.0 --file-prefix=11263' -s 'cache;size=20;active=300;inactive=60;split' -p basicplus -p dns -p http -p tls -p quic -p passivedns -o 'ipfix;host=target-host;port=4739;id=216;dir=216;'

There are quite a lot of segfaults:

Dec 16 13:45:50 hostname kernel: ipfixprobe[10853]: segfault at 0 ip 00007f07c71aa279 sp 00007ffea2cf58a0 error 4 in librte_eal.so.22.0[7f07c7185000+30000]
Dec 16 13:47:53 hostname kernel: ipfixprobe[10868]: segfault at 0 ip 00007f31d396e279 sp 00007ffff8642790 error 4 in librte_eal.so.22.0[7f31d3949000+30000]
Dec 19 13:45:45 hostname kernel: ipfixprobe[6696]: segfault at f300000002 ip 000056240332bfcc sp 00007f32be5f79b0 error 4 in ipfixprobe[56240330f000+56000]
Dec 19 14:47:33 hostname kernel: ipfixprobe[7357]: segfault at f900000002 ip 000055728698587c sp 00007f0eb98259b0 error 4 in ipfixprobe[557286960000+53000]
Dec 19 15:47:57 hostname kernel: ipfixprobe[8298]: segfault at 0 ip 000055a4e9a1287c sp 00007fb6cc24f9b0 error 4 in ipfixprobe[55a4e99ed000+53000]
Dec 19 15:51:16 hostname kernel: ipfixprobe[8367]: segfault at 0 ip 000055d40f68a87c sp 00007f152205d9b0 error 4 in ipfixprobe[55d40f665000+53000]
Dec 19 16:04:16 hostname kernel: ipfixprobe[8456]: segfault at 0 ip 00007f6a4e83a279 sp 00007ffc3aad4b20 error 4 in librte_eal.so.22.0[7f6a4e815000+30000]
Dec 19 21:05:33 hostname kernel: ipfixprobe[9904]: segfault at 0 ip 000055d719e2c4ec sp 00007f2897e3d9c0 error 4 in ipfixprobe[55d719e10000+52000]
Dec 19 21:24:52 hostname kernel: ipfixprobe[9983]: segfault at f800000002 ip 0000561085d574ec sp 00007f85266529c0 error 4 in ipfixprobe[561085d3b000+52000]
Dec 19 22:24:11 hostname kernel: ipfixprobe[10017]: segfault at f400000002 ip 0000557276e594ec sp 00007ff00fe699c0 error 4 in ipfixprobe[557276e3d000+52000]
Dec 20 00:19:32 hostname kernel: ipfixprobe[10079]: segfault at 0 ip 00005559c69c84ec sp 00007fb8562fd9c0 error 4 in ipfixprobe[5559c69ac000+52000]
Dec 20 01:14:10 hostname kernel: ipfixprobe[10306]: segfault at f400000002 ip 000055a1321244ec sp 00007f0ea50de9c0 error 4 in ipfixprobe[55a132108000+52000]

The monitored link utilization is 100k-200k pkt/s.

Setup

OS: Ubuntu 22.04 LTS
Compilation as deb package using make deb with modified dh_auto_configure in debian/rules

Full configure params:

 ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --libexecdir=\${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode --disable-d
ependency-tracking --with-pcap --with-quic --with-msects --with-dpdk --enable-debug 
@thorgrin thorgrin added the bug label Dec 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant