Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] Err when using a pipe

From: Jeff Morriss <jeff.morriss.ws@xxxxxxxxx>
Date: Sun, 04 Mar 2012 23:24:20 -0500
On 03/04/2012 05:28 PM, vijay wrote:
This is from dumpcap. Here is the complete stack. It occurring *while
writing the IDB*

#0  0x00ac7433 in pcap_stats () from /usr/lib/libpcap.so.0.8
#1  0x080513de in libpcap_write_interface_statistics_block
(fp=0x805af70, interface_id=0, pd=0x0, bytes_written=0x80572fc,
err=0xbfffd2a8) at pcapio.c:472
#2  0x080501c8 in capture_loop_close_output (stats_known=<value
optimized out>, stats=<value optimized out>, capture_opts=<value
optimized out>) at dumpcap.c:2467
#3  capture_loop_start (stats_known=<value optimized out>, stats=<value
optimized out>, capture_opts=<value optimized out>) at dumpcap.c:3127
#4  0x08051224 in main (argc=<value optimized out>, argv=<value
optimized out>) at dumpcap.c:3916

And one more important stuff i could figure out is that this
segmentation fault occurs only when *wireshark is capturing in PCAPNG
forma*t.
I c*hanged the capture format to LIBPCAP and it worked fine*.

See:

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5939

It's scheduled to be fixed in 1.6.6.