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 7467] New: pcapng - mergecap aborts with "Floating point e

Date: Tue, 10 Jul 2012 20:07:17 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7467

           Summary: pcapng - mergecap aborts with "Floating point
                    exception"
           Product: Wireshark
           Version: 1.9.x (Experimental)
          Platform: x86
        OS/Version: Mac OS X 10.6
            Status: NEW
          Severity: Critical
          Priority: Low
         Component: Extras
        AssignedTo: bugzilla-admin@xxxxxxxxxxxxx
        ReportedBy: jyoung@xxxxxxx


Created attachment 8762
  --> https://bugs.wireshark.org/bugzilla/attachment.cgi?id=8762
Small pcapng file with 5 arp packets.

Build Information:
Mergecap 1.9.0 (SVN Rev 43649 from /trunk)
Merge two or more capture files into one.
See http://www.wireshark.org for more information.

Usage: mergecap [options] -w <outfile>|- <infile> [<infile> ...]

Output:
  -a                concatenate rather than merge files.
                    default is to merge based on frame timestamps.
  -s <snaplen>      truncate packets to <snaplen> bytes of data.
  -w <outfile>|-    set the output filename to <outfile> or '-' for stdout.
  -F <capture type> set the output file type; default is pcapng.
                    an empty "-F" option will list the file types.
  -T <encap type>   set the output file encapsulation type;
                    default is the same as the first input file.
                    an empty "-T" option will list the encapsulation types.

Miscellaneous:
  -h                display this help and exit.
  -v                verbose output.

--
With SVN 43649 mergecap aborts with "Floating point exception" when generating
pcapng output file.

To reproduce use attached test file and issue following command:

> mergecap -w combined.pcapng test1.pcapng

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