Hello,
We encouter crash when lauch nfcapd (v 1.6.8p1) with too many sources :
Command :
/usr/local/bin/nfcapd -w -z -t 900 -p 999 -M /home/portailcli/rapports2/nfcap/ -P /var/run/nefcap.pid -B 200000 -D -S 1
kernel: nfcapd[488]: segfault at 8 ip 0000000000415875 sp 00007fff697d1410 error 4 in nfcapd[400000+32000]
gdb ./nfcapd ./core.32754
GNU gdb (GDB) Red Hat Enterprise Linux (7.2-60.el6)
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type \"show copying\"
and \"show warranty\" for details.
This GDB was configured as \"x86_64-redhat-linux-gnu\".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/local/bin/nfcapd...done.
BFD: Warning: /usr/local/bin/./core.32754 is truncated: expected core file size >= 6703403008, found: 1245184.
[New Thread 32754]
Cannot access memory at address 0x7fca0560a168
Cannot access memory at address 0x7fca0560a168
Cannot access memory at address 0x7fca0560a168
Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Failed to read a valid object file image from memory.
Core was generated by `./nfcapd -w -z -t 900 -p 999 -M /home/portailcli/rapports2/nfcap/ -P /var/run/n\'.
Program terminated with signal 11, Segmentation fault.
#0 CheckBufferSpace (fs=<value optimized out>, exporter=<value optimized out>) at nffile_inline.c:59
59 if ( (nffile->block_header->size + required ) > WRITE_BUFFSIZE ) {
Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.80.el6_3.5.x86_64
thanks