Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#19 closed defect (fixed)

Buy Rolex Watches

Reported by: matt@… Owned by: perry
Priority: major Milestone: libtrace3
Component: tools Version: 3.0
Keywords: Cc:

Description

Trace report does not work with erf or pcap input.

matt@argon:~/src/netspeed$ tracereport pcap:xtra-iperf-throughput.pcap
pcap:xtra-iperf-throughput.pcap:
Segmentation fault
matt@argon:~/src/netspeed$ tracereport erf:test.erf
erf:test.erf:
# Errors:
RX Errors: 0
IP Checksum errors: 0
# Flows:
Flows: 0
# TOS breakdown:
ToS                            bytes         packets
# Protocol breakdown:
Protocol                       bytes         packets
# Port breakdown:
Port                           Bytes         Packets
# TTL breakdown:
TTL                            bytes         packets
# Direction
Direction                      bytes         packets

Attachments (1)

test.pcap (855 bytes) - added by matt@… 14 years ago.
pcap file that segfaults tracereport

Download all attachments as: .zip

Change History (5)

comment:1 Changed 14 years ago by perry

It works for me?

comment:2 Changed 14 years ago by matt@…

Ok, ERF works, my erffile from last night (generated by tracemerge) was only 23 bytes...

PCAP still segfaults, backtrace and pcap file attached

Program received signal SIGSEGV, Segmentation fault.
0x0000000000401f84 in dir_per_packet (packet=0x10507010) at dir_report.c:13
13              dir_bytes[trace_get_direction(packet)]+=trace_get_wire_length(packet);
(gdb) bt full
#0  0x0000000000401f84 in dir_per_packet (packet=0x10507010) at dir_report.c:13
No locals.
#1  0x000000000040112f in run_trace (uri=0x7fffffdf695e "pcap:test.pcap",
    filter=0x0, count=999) at tracereport.c:96
        psize = 186
        packet = (struct libtrace_packet_t *) 0x10507010
#2  0x00000000004011a5 in main (argc=2, argv=0x7fffffdf5018)
    at tracereport.c:117
        i = 1
        filter = (libtrace_filter_t *) 0x0

Changed 14 years ago by matt@…

pcap file that segfaults tracereport

comment:3 Changed 14 years ago by perry

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r847: Trace formats that don't support direction tagging were indexing -1 into an array.

comment:4 Changed 14 years ago by Buy Rolex Watches

  • Summary changed from tracereport does not work to Buy Rolex Watches

<a href=http://rolex.4h.pl>Buy Rolex Watches</a> http://rolex.4h.pl [URL=http://rolex.4h.pl]Buy Rolex WatchesURL 4cf78146005e80f

Note: See TracTickets for help on using tickets.