When I tried to build iperf 2.2.1.with gcc-linaro-5.3, i've got Segmentation Fault when iperf received out-of-order datagrams on server side. Thread 2 "iperf" received signal SIGSEGV, Segmentation fault. [Switching to LWP 1438] 0x76d70dec in strlen () from /lib/libc.so.6 (gdb) backtrace #0 0x76d70dec in strlen () from /lib/libc.so.6 #1 0x76d4bab2 in vfprintf () from /lib/libc.so.6 #2 0x76d51384 in printf () from /lib/libc.so.6 #3 0x0002b9dc in _output_outoforder (stats=0x75403ba8) at ReportOutputs.c:186...
When I tried to build latest iperf with gcc-linaro-5.3, i've got Segmentation Fault when iperf received out-of-order datagrams. Thread 2 "iperf" received signal SIGSEGV, Segmentation fault. [Switching to LWP 1438] 0x76d70dec in strlen () from /lib/libc.so.6 (gdb) backtrace #0 0x76d70dec in strlen () from /lib/libc.so.6 #1 0x76d4bab2 in vfprintf () from /lib/libc.so.6 #2 0x76d51384 in printf () from /lib/libc.so.6 #3 0x0002b9dc in _output_outoforder (stats=0x75403ba8) at ReportOutputs.c:186 #4 udp_output_read...
When I tried to build latest iperf with gcc-linaro-5.3, i've got Segmentation Fault when iperf received out-of-order datagrams. I found that it caused by wrong printf format specifier for datagrams count. Corrent specifier solve this problem.