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

Wireshark-bugs: [Wireshark-bugs] [Bug 6850] dumpcap dies with Segmentation violation

Date: Thu, 23 Feb 2012 12:49:52 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6850

Jeff Morriss <jeff.morriss.ws@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |jeff.morriss.ws@xxxxxxxxx
         Resolution|                            |DUPLICATE

--- Comment #1 from Jeff Morriss <jeff.morriss.ws@xxxxxxxxx> 2012-02-23 12:49:51 PST ---
This doesn't happen in current trunk (r41165) but it does happen in the current
trunk-1.6 (last change: r41163).  Here's the backtrace:

(gdb) bt
#0  0x00007f43ac4f5a83 in pcap_stats () from /usr/local/lib/libpcap.so.1
#1  0x0000000000409cde in libpcap_write_interface_statistics_block
(fp=0xf62780, interface_id=0, pd=0x0, 
    bytes_written=0x60f930, err=0x7fffa851dd9c) at pcapio.c:472
#2  0x0000000000408a99 in capture_loop_close_output () at dumpcap.c:2467
#3  capture_loop_start (capture_opts=0x60f960, stats_known=0x7fffa851e0d8,
stats=0x7fffa851e0a0) at dumpcap.c:3127
#4  0x0000000000409437 in main (argc=<value optimized out>, argv=<value
optimized out>) at dumpcap.c:3915

Looks like we need r37413 and maybe also 37341 (from bug 5939) in trunk-1.6. 
We can track that through bug 5939.

*** This bug has been marked as a duplicate of bug 5939 ***

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.