Ethereal-dev: [Ethereal-dev] Memory leaks causing tethereal crash
Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.
From: Radek Vokal <rvokal@xxxxxxxxxx>
Date: Wed, 05 Jan 2005 15:08:04 +0100
Hi, it seems like the latest version of tethereal still has some memory leaks which I hoped were fixed in 0.10.8. Running tethereal -i eth0 and accessing different webpages occasionaly but reproducibly causes tethereal crash. (cut the adns message from the eth.leak report, second report comes from another Fedora user) The packet causing crash 362.132689 x -> 128.242.99.116 TCP [TCP Dup ACK 2423#1] 34735 > http [ACK] Seq=765 Ack=6656 Win=19920 Len=0 TSV=49247313 TSER=2434332449 362.140098 128.242.99.116 -> x HTTP HTTP/1.1 200 OK (JPEG JFIF image) *** glibc detected *** free(): invalid next size (normal): 0x09fed0a0 *** I've also seen this error message with malloc() -- Radek Vokál <rvokal@xxxxxxxxxx> -- Red Hat, Inc. Linux 2.6.9-1.681_FC3smp #1 SMP Thu Nov 18 15:19:10 EST 2004 i686 GNU/Linux
# valgrind --tool=memcheck --leak-check=yes tethereal -i eth0 > tethereal.leaks ==27445== Memcheck, a memory error detector for x86-linux. ==27445== Copyright (C) 2002-2004, and GNU GPL'd, by Julian Seward et al. ==27445== Using valgrind-2.2.0, a program supervision framework for x86-linux. ==27445== Copyright (C) 2000-2004, and GNU GPL'd, by Julian Seward et al. ==27445== For more details, rerun with: -v ==27445== adns: /etc/resolv.conf:2: invalid nameserver address `localhost' ==27445== Syscall param socketcall.setsockopt(optval) contains uninitialised or unaddressable byte(s) ==27445== at 0x928962: setsockopt (in /lib/tls/i486/libc-2.3.4.so) ==27445== by 0x1065A6: pcap_setfilter (in /usr/lib/libpcap.so.0.8.3) ==27445== by 0x805CA4F: (within /usr/sbin/tethereal) ==27445== by 0x805E7C2: main (in /usr/sbin/tethereal) ==27445== Address 0x52BEE012 is on thread 1's stack Capturing on eth0 ==27445== ==27445== Invalid read of size 1 ==27445== at 0x9B3D32: inflate (in /usr/lib/libz.so.1.2.2.1) ==27445== by 0x1BAD7581: tvb_uncompress (in /usr/lib/libethereal.so.0.0.1) ==27445== by 0x1BCC7445: (within /usr/lib/libethereal.so.0.0.1) ==27445== by 0x1BCC7D1D: (within /usr/lib/libethereal.so.0.0.1) ==27445== Address 0x1CA8E2CA is 0 bytes after a block of size 10 alloc'd ==27445== at 0x1B902A90: malloc (vg_replace_malloc.c:131) ==27445== by 0xBF0C32: g_malloc (in /usr/lib/libglib-2.0.so.0.400.8) ==27445== by 0x1BAD5CF3: tvb_memdup (in /usr/lib/libethereal.so.0.0.1) ==27445== by 0x1BAD74A8: tvb_uncompress (in /usr/lib/libethereal.so.0.0.1) 245 packets dropped 29898 packets captured ==27445== ==27445== ERROR SUMMARY: 7 errors from 2 contexts (suppressed: 112 from 2) ==27445== malloc/free: in use at exit: 3822060 bytes in 35026 blocks. ==27445== malloc/free: 136627 allocs, 101601 frees, 15591303 bytes allocated. ==27445== For counts of detected errors, rerun with: -v ==27445== searching for pointers to 35026 not-freed blocks. ==27445== checked 17592768 bytes. ==27445== ==27445== ==27445== 12 bytes in 3 blocks are definitely lost in loss record 2 of 26 ==27445== at 0x1B902A90: malloc (vg_replace_malloc.c:131) ==27445== by 0x8D1DE8: strdup (in /lib/tls/i486/libc-2.3.4.so) ==27445== by 0x1C5D8236: proto_register_asn1 (in /usr/lib/ethereal/plugins/0.10.8/asn1.so.so) ==27445== by 0x1C5D9F2A: plugin_init (in /usr/lib/ethereal/plugins/0.10.8/asn1.so.so) ==27445== ==27445== ==27445== 84 bytes in 10 blocks are possibly lost in loss record 8 of 26 ==27445== at 0x1B902A90: malloc (vg_replace_malloc.c:131) ==27445== by 0xBF0C32: g_malloc (in /usr/lib/libglib-2.0.so.0.400.8) ==27445== by 0x1BCC6819: (within /usr/lib/libethereal.so.0.0.1) ==27445== by 0x1BCC7D1D: (within /usr/lib/libethereal.so.0.0.1) ==27445== ==27445== ==27445== 516 bytes in 9 blocks are possibly lost in loss record 13 of 26 ==27445== at 0x1B9034FA: realloc (vg_replace_malloc.c:197) ==27445== by 0x8061435: (within /usr/sbin/tethereal) ==27445== by 0x80615E0: adns__query_done (in /usr/sbin/tethereal) ==27445== by 0x806158D: adns__query_done (in /usr/sbin/tethereal) ==27445== ==27445== ==27445== 120428 bytes in 17 blocks are possibly lost in loss record 23 of 26 ==27445== at 0x1B902A90: malloc (vg_replace_malloc.c:131) ==27445== by 0x9B299D: zcalloc (in /usr/lib/libz.so.1.2.2.1) ==27445== by 0x9B2AE3: inflateInit2_ (in /usr/lib/libz.so.1.2.2.1) ==27445== by 0x1BAD7539: tvb_uncompress (in /usr/lib/libethereal.so.0.0.1) ==27445== ==27445== ==27445== 171299 bytes in 16881 blocks are definitely lost in loss record 25 of 26 ==27445== at 0x1B902A90: malloc (vg_replace_malloc.c:131) ==27445== by 0xBF0C32: g_malloc (in /usr/lib/libglib-2.0.so.0.400.8) ==27445== by 0x1BCC6819: (within /usr/lib/libethereal.so.0.0.1) ==27445== by 0x1BCC7D1D: (within /usr/lib/libethereal.so.0.0.1) ==27445== ==27445== LEAK SUMMARY: ==27445== definitely lost: 171311 bytes in 16884 blocks. ==27445== possibly lost: 121028 bytes in 36 blocks. ==27445== still reachable: 3529521 bytes in 18105 blocks. ==27445== suppressed: 200 bytes in 1 blocks. ==27445== Reachable blocks (those to which a pointer was found) are not shown.
==5277== Memcheck, a memory error detector for x86-linux. ==5277== Copyright (C) 2002-2004, and GNU GPL'd, by Julian Seward et al. ==5277== Using valgrind-2.2.0, a program supervision framework for x86-linux. ==5277== Copyright (C) 2000-2004, and GNU GPL'd, by Julian Seward et al. ==5277== ==5277== My PID = 5277, parent PID = 4827. Prog and args are: ==5277== /usr/sbin/tethereal ==5277== -i ==5277== eth0 ==5277== For more details, rerun with: -v ==5277== ==5277== Syscall param socketcall.setsockopt(optval) contains uninitialised or unaddressable byte(s) ==5277== at 0xB18AF7: setsockopt (in /lib/tls/libc-2.3.4.so) ==5277== by 0x1C2475A6: pcap_setfilter (in /usr/lib/libpcap.so.0.8.3) ==5277== by 0x805B3CC: ??? (tethereal.c:1864) ==5277== by 0x805D0D4: main (tethereal.c:1677) ==5277== Address 0x52BEDF62 is on thread 1's stack ==5277== ==5277== Invalid read of size 1 ==5277== at 0x1395A8: g_strdup (in /usr/lib/libglib-2.0.so.0.400.8) ==5277== by 0x1BC66D5E: ??? (packet-http.c:779) ==5277== by 0x1BC67623: ??? (packet-http.c:1526) ==5277== by 0x1BA8955C: ??? (packet.c:363) ==5277== by 0x1BA897CD: ??? (packet.c:513) ==5277== by 0x1BA8A196: dissector_try_port (packet.c:776) ==5277== by 0x1BE12A61: decode_tcp_ports (packet-tcp.c:2381) ==5277== by 0x1BE12B5C: ??? (packet-tcp.c:2428) ==5277== by 0x1BE13125: dissect_tcp_payload (packet-tcp.c:2508) ==5277== by 0x1BE1484E: ??? (packet-tcp.c:2915) ==5277== by 0x1BA8955C: ??? (packet.c:363) ==5277== by 0x1BA897CD: ??? (packet.c:513) ==5277== by 0x1BA8A196: dissector_try_port (packet.c:776) ==5277== by 0x1BC80701: ??? (packet-ip.c:1098) ==5277== by 0x1BA8955C: ??? (packet.c:363) ==5277== by 0x1BA897CD: ??? (packet.c:513) ==5277== by 0x1BA8A196: dissector_try_port (packet.c:776) ==5277== by 0x1BBCF7C2: ethertype (packet-ethertype.c:179) ==5277== by 0x1BBCEA58: ??? (packet-eth.c:292) ==5277== by 0x1BA8955C: ??? (packet.c:363) ==5277== by 0x1BA897CD: ??? (packet.c:513) ==5277== by 0x1BA8A196: dissector_try_port (packet.c:776) ==5277== by 0x1BBF2F5A: ??? (packet-frame.c:184) ==5277== by 0x1BA8955C: ??? (packet.c:363) ==5277== by 0x1BA897CD: ??? (packet.c:513) ==5277== by 0x1BA8991C: call_dissector (packet.c:1614) ==5277== by 0x1BA89C6A: dissect_packet (packet.c:311) ==5277== by 0x1BA875F0: epan_dissect_run (epan.c:153) ==5277== by 0x80599E6: ??? (tethereal.c:2574) ==5277== by 0x805A27D: ??? (tethereal.c:2216) ==5277== by 0x1C2454AD: (within /usr/lib/libpcap.so.0.8.3) ==5277== by 0x1C246E36: pcap_dispatch (in /usr/lib/libpcap.so.0.8.3) ==5277== by 0x805ADDA: ??? (tethereal.c:2025) ==5277== by 0x805D0D4: main (tethereal.c:1677) ==5277== Address 0x1C3C8E6B is 11 bytes inside a block of size 25 free'd ==5277== at 0x1B902FB1: free (vg_replace_malloc.c:153) ==5277== by 0x12AD80: g_free (in /usr/lib/libglib-2.0.so.0.400.8) ==5277== by 0x1BC670C2: ??? (packet-http.c:1427) ==5277== by 0x1BC67623: ??? (packet-http.c:1526) ==5277== by 0x1BA8955C: ??? (packet.c:363) ==5277== by 0x1BA897CD: ??? (packet.c:513) ==5277== by 0x1BA8A196: dissector_try_port (packet.c:776) ==5277== by 0x1BE12A61: decode_tcp_ports (packet-tcp.c:2381) ==5277== by 0x1BE12B5C: ??? (packet-tcp.c:2428) ==5277== by 0x1BE13125: dissect_tcp_payload (packet-tcp.c:2508) ==5277== by 0x1BE1484E: ??? (packet-tcp.c:2915) ==5277== by 0x1BA8955C: ??? (packet.c:363) ==5277== by 0x1BA897CD: ??? (packet.c:513) ==5277== by 0x1BA8A196: dissector_try_port (packet.c:776) ==5277== by 0x1BC80701: ??? (packet-ip.c:1098) ==5277== by 0x1BA8955C: ??? (packet.c:363) ==5277== by 0x1BA897CD: ??? (packet.c:513) ==5277== by 0x1BA8A196: dissector_try_port (packet.c:776) ==5277== by 0x1BBCF7C2: ethertype (packet-ethertype.c:179) ==5277== by 0x1BBCEA58: ??? (packet-eth.c:292) ==5277== by 0x1BA8955C: ??? (packet.c:363) ==5277== by 0x1BA897CD: ??? (packet.c:513) ==5277== by 0x1BA8A196: dissector_try_port (packet.c:776) ==5277== by 0x1BBF2F5A: ??? (packet-frame.c:184) ==5277== by 0x1BA8955C: ??? (packet.c:363) ==5277== by 0x1BA897CD: ??? (packet.c:513) ==5277== by 0x1BA8991C: call_dissector (packet.c:1614) ==5277== by 0x1BA89C6A: dissect_packet (packet.c:311) ==5277== by 0x1BA875F0: epan_dissect_run (epan.c:153) ==5277== by 0x80599E6: ??? (tethereal.c:2574) ==5277== by 0x805A27D: ??? (tethereal.c:2216) ==5277== by 0x1C2454AD: (within /usr/lib/libpcap.so.0.8.3) ==5277== by 0x1C246E36: pcap_dispatch (in /usr/lib/libpcap.so.0.8.3) ==5277== by 0x805ADDA: ??? (tethereal.c:2025) ==5277== by 0x805D0D4: main (tethereal.c:1677) ==5277== ==5277== Invalid read of size 1 ==5277== at 0x1B9026E0: memcpy (mac_replace_strmem.c:285) ==5277== by 0x1395CA: g_strdup (in /usr/lib/libglib-2.0.so.0.400.8) ==5277== by 0x1BC66D5E: ??? (packet-http.c:779) ==5277== by 0x1BC67623: ??? (packet-http.c:1526) ==5277== by 0x1BA8955C: ??? (packet.c:363) ==5277== by 0x1BA897CD: ??? (packet.c:513) ==5277== by 0x1BA8A196: dissector_try_port (packet.c:776) ==5277== by 0x1BE12A61: decode_tcp_ports (packet-tcp.c:2381) ==5277== by 0x1BE12B5C: ??? (packet-tcp.c:2428) ==5277== by 0x1BE13125: dissect_tcp_payload (packet-tcp.c:2508) ==5277== by 0x1BE1484E: ??? (packet-tcp.c:2915) ==5277== by 0x1BA8955C: ??? (packet.c:363) ==5277== by 0x1BA897CD: ??? (packet.c:513) ==5277== by 0x1BA8A196: dissector_try_port (packet.c:776) ==5277== by 0x1BC80701: ??? (packet-ip.c:1098) ==5277== by 0x1BA8955C: ??? (packet.c:363) ==5277== by 0x1BA897CD: ??? (packet.c:513) ==5277== by 0x1BA8A196: dissector_try_port (packet.c:776) ==5277== by 0x1BBCF7C2: ethertype (packet-ethertype.c:179) ==5277== by 0x1BBCEA58: ??? (packet-eth.c:292) ==5277== by 0x1BA8955C: ??? (packet.c:363) ==5277== by 0x1BA897CD: ??? (packet.c:513) ==5277== by 0x1BA8A196: dissector_try_port (packet.c:776) ==5277== by 0x1BBF2F5A: ??? (packet-frame.c:184) ==5277== by 0x1BA8955C: ??? (packet.c:363) ==5277== by 0x1BA897CD: ??? (packet.c:513) ==5277== by 0x1BA8991C: call_dissector (packet.c:1614) ==5277== by 0x1BA89C6A: dissect_packet (packet.c:311) ==5277== by 0x1BA875F0: epan_dissect_run (epan.c:153) ==5277== by 0x80599E6: ??? (tethereal.c:2574) ==5277== by 0x805A27D: ??? (tethereal.c:2216) ==5277== by 0x1C2454AD: (within /usr/lib/libpcap.so.0.8.3) ==5277== by 0x1C246E36: pcap_dispatch (in /usr/lib/libpcap.so.0.8.3) ==5277== by 0x805ADDA: ??? (tethereal.c:2025) ==5277== by 0x805D0D4: main (tethereal.c:1677) ==5277== Address 0x1C3C8E78 is 24 bytes inside a block of size 25 free'd ==5277== at 0x1B902FB1: free (vg_replace_malloc.c:153) ==5277== by 0x12AD80: g_free (in /usr/lib/libglib-2.0.so.0.400.8) ==5277== by 0x1BC670C2: ??? (packet-http.c:1427) ==5277== by 0x1BC67623: ??? (packet-http.c:1526) ==5277== by 0x1BA8955C: ??? (packet.c:363) ==5277== by 0x1BA897CD: ??? (packet.c:513) ==5277== by 0x1BA8A196: dissector_try_port (packet.c:776) ==5277== by 0x1BE12A61: decode_tcp_ports (packet-tcp.c:2381) ==5277== by 0x1BE12B5C: ??? (packet-tcp.c:2428) ==5277== by 0x1BE13125: dissect_tcp_payload (packet-tcp.c:2508) ==5277== by 0x1BE1484E: ??? (packet-tcp.c:2915) ==5277== by 0x1BA8955C: ??? (packet.c:363) ==5277== by 0x1BA897CD: ??? (packet.c:513) ==5277== by 0x1BA8A196: dissector_try_port (packet.c:776) ==5277== by 0x1BC80701: ??? (packet-ip.c:1098) ==5277== by 0x1BA8955C: ??? (packet.c:363) ==5277== by 0x1BA897CD: ??? (packet.c:513) ==5277== by 0x1BA8A196: dissector_try_port (packet.c:776) ==5277== by 0x1BBCF7C2: ethertype (packet-ethertype.c:179) ==5277== by 0x1BBCEA58: ??? (packet-eth.c:292) ==5277== by 0x1BA8955C: ??? (packet.c:363) ==5277== by 0x1BA897CD: ??? (packet.c:513) ==5277== by 0x1BA8A196: dissector_try_port (packet.c:776) ==5277== by 0x1BBF2F5A: ??? (packet-frame.c:184) ==5277== by 0x1BA8955C: ??? (packet.c:363) ==5277== by 0x1BA897CD: ??? (packet.c:513) ==5277== by 0x1BA8991C: call_dissector (packet.c:1614) ==5277== by 0x1BA89C6A: dissect_packet (packet.c:311) ==5277== by 0x1BA875F0: epan_dissect_run (epan.c:153) ==5277== by 0x80599E6: ??? (tethereal.c:2574) ==5277== by 0x805A27D: ??? (tethereal.c:2216) ==5277== by 0x1C2454AD: (within /usr/lib/libpcap.so.0.8.3) ==5277== by 0x1C246E36: pcap_dispatch (in /usr/lib/libpcap.so.0.8.3) ==5277== by 0x805ADDA: ??? (tethereal.c:2025) ==5277== by 0x805D0D4: main (tethereal.c:1677) ==5277== ==5277== Invalid read of size 1 ==5277== at 0x1B9026E5: memcpy (mac_replace_strmem.c:286) ==5277== by 0x1395CA: g_strdup (in /usr/lib/libglib-2.0.so.0.400.8) ==5277== by 0x1BC66D5E: ??? (packet-http.c:779) ==5277== by 0x1BC67623: ??? (packet-http.c:1526) ==5277== by 0x1BA8955C: ??? (packet.c:363) ==5277== by 0x1BA897CD: ??? (packet.c:513) ==5277== by 0x1BA8A196: dissector_try_port (packet.c:776) ==5277== by 0x1BE12A61: decode_tcp_ports (packet-tcp.c:2381) ==5277== by 0x1BE12B5C: ??? (packet-tcp.c:2428) ==5277== by 0x1BE13125: dissect_tcp_payload (packet-tcp.c:2508) ==5277== by 0x1BE1484E: ??? (packet-tcp.c:2915) ==5277== by 0x1BA8955C: ??? (packet.c:363) ==5277== by 0x1BA897CD: ??? (packet.c:513) ==5277== by 0x1BA8A196: dissector_try_port (packet.c:776) ==5277== by 0x1BC80701: ??? (packet-ip.c:1098) ==5277== by 0x1BA8955C: ??? (packet.c:363) ==5277== by 0x1BA897CD: ??? (packet.c:513) ==5277== by 0x1BA8A196: dissector_try_port (packet.c:776) ==5277== by 0x1BBCF7C2: ethertype (packet-ethertype.c:179) ==5277== by 0x1BBCEA58: ??? (packet-eth.c:292) ==5277== by 0x1BA8955C: ??? (packet.c:363) ==5277== by 0x1BA897CD: ??? (packet.c:513) ==5277== by 0x1BA8A196: dissector_try_port (packet.c:776) ==5277== by 0x1BBF2F5A: ??? (packet-frame.c:184) ==5277== by 0x1BA8955C: ??? (packet.c:363) ==5277== by 0x1BA897CD: ??? (packet.c:513) ==5277== by 0x1BA8991C: call_dissector (packet.c:1614) ==5277== by 0x1BA89C6A: dissect_packet (packet.c:311) ==5277== by 0x1BA875F0: epan_dissect_run (epan.c:153) ==5277== by 0x80599E6: ??? (tethereal.c:2574) ==5277== by 0x805A27D: ??? (tethereal.c:2216) ==5277== by 0x1C2454AD: (within /usr/lib/libpcap.so.0.8.3) ==5277== by 0x1C246E36: pcap_dispatch (in /usr/lib/libpcap.so.0.8.3) ==5277== by 0x805ADDA: ??? (tethereal.c:2025) ==5277== by 0x805D0D4: main (tethereal.c:1677) ==5277== Address 0x1C3C8E77 is 23 bytes inside a block of size 25 free'd ==5277== at 0x1B902FB1: free (vg_replace_malloc.c:153) ==5277== by 0x12AD80: g_free (in /usr/lib/libglib-2.0.so.0.400.8) ==5277== by 0x1BC670C2: ??? (packet-http.c:1427) ==5277== by 0x1BC67623: ??? (packet-http.c:1526) ==5277== by 0x1BA8955C: ??? (packet.c:363) ==5277== by 0x1BA897CD: ??? (packet.c:513) ==5277== by 0x1BA8A196: dissector_try_port (packet.c:776) ==5277== by 0x1BE12A61: decode_tcp_ports (packet-tcp.c:2381) ==5277== by 0x1BE12B5C: ??? (packet-tcp.c:2428) ==5277== by 0x1BE13125: dissect_tcp_payload (packet-tcp.c:2508) ==5277== by 0x1BE1484E: ??? (packet-tcp.c:2915) ==5277== by 0x1BA8955C: ??? (packet.c:363) ==5277== by 0x1BA897CD: ??? (packet.c:513) ==5277== by 0x1BA8A196: dissector_try_port (packet.c:776) ==5277== by 0x1BC80701: ??? (packet-ip.c:1098) ==5277== by 0x1BA8955C: ??? (packet.c:363) ==5277== by 0x1BA897CD: ??? (packet.c:513) ==5277== by 0x1BA8A196: dissector_try_port (packet.c:776) ==5277== by 0x1BBCF7C2: ethertype (packet-ethertype.c:179) ==5277== by 0x1BBCEA58: ??? (packet-eth.c:292) ==5277== by 0x1BA8955C: ??? (packet.c:363) ==5277== by 0x1BA897CD: ??? (packet.c:513) ==5277== by 0x1BA8A196: dissector_try_port (packet.c:776) ==5277== by 0x1BBF2F5A: ??? (packet-frame.c:184) ==5277== by 0x1BA8955C: ??? (packet.c:363) ==5277== by 0x1BA897CD: ??? (packet.c:513) ==5277== by 0x1BA8991C: call_dissector (packet.c:1614) ==5277== by 0x1BA89C6A: dissect_packet (packet.c:311) ==5277== by 0x1BA875F0: epan_dissect_run (epan.c:153) ==5277== by 0x80599E6: ??? (tethereal.c:2574) ==5277== by 0x805A27D: ??? (tethereal.c:2216) ==5277== by 0x1C2454AD: (within /usr/lib/libpcap.so.0.8.3) ==5277== by 0x1C246E36: pcap_dispatch (in /usr/lib/libpcap.so.0.8.3) ==5277== by 0x805ADDA: ??? (tethereal.c:2025) ==5277== by 0x805D0D4: main (tethereal.c:1677) ==5277== ==5277== Invalid read of size 1 ==5277== at 0x1B9026EB: memcpy (mac_replace_strmem.c:287) ==5277== by 0x1395CA: g_strdup (in /usr/lib/libglib-2.0.so.0.400.8) ==5277== by 0x1BC66D5E: ??? (packet-http.c:779) ==5277== by 0x1BC67623: ??? (packet-http.c:1526) ==5277== by 0x1BA8955C: ??? (packet.c:363) ==5277== by 0x1BA897CD: ??? (packet.c:513) ==5277== by 0x1BA8A196: dissector_try_port (packet.c:776) ==5277== by 0x1BE12A61: decode_tcp_ports (packet-tcp.c:2381) ==5277== by 0x1BE12B5C: ??? (packet-tcp.c:2428) ==5277== by 0x1BE13125: dissect_tcp_payload (packet-tcp.c:2508) ==5277== by 0x1BE1484E: ??? (packet-tcp.c:2915) ==5277== by 0x1BA8955C: ??? (packet.c:363) ==5277== by 0x1BA897CD: ??? (packet.c:513) ==5277== by 0x1BA8A196: dissector_try_port (packet.c:776) ==5277== by 0x1BC80701: ??? (packet-ip.c:1098) ==5277== by 0x1BA8955C: ??? (packet.c:363) ==5277== by 0x1BA897CD: ??? (packet.c:513) ==5277== by 0x1BA8A196: dissector_try_port (packet.c:776) ==5277== by 0x1BBCF7C2: ethertype (packet-ethertype.c:179) ==5277== by 0x1BBCEA58: ??? (packet-eth.c:292) ==5277== by 0x1BA8955C: ??? (packet.c:363) ==5277== by 0x1BA897CD: ??? (packet.c:513) ==5277== by 0x1BA8A196: dissector_try_port (packet.c:776) ==5277== by 0x1BBF2F5A: ??? (packet-frame.c:184) ==5277== by 0x1BA8955C: ??? (packet.c:363) ==5277== by 0x1BA897CD: ??? (packet.c:513) ==5277== by 0x1BA8991C: call_dissector (packet.c:1614) ==5277== by 0x1BA89C6A: dissect_packet (packet.c:311) ==5277== by 0x1BA875F0: epan_dissect_run (epan.c:153) ==5277== by 0x80599E6: ??? (tethereal.c:2574) ==5277== by 0x805A27D: ??? (tethereal.c:2216) ==5277== by 0x1C2454AD: (within /usr/lib/libpcap.so.0.8.3) ==5277== by 0x1C246E36: pcap_dispatch (in /usr/lib/libpcap.so.0.8.3) ==5277== by 0x805ADDA: ??? (tethereal.c:2025) ==5277== by 0x805D0D4: main (tethereal.c:1677) ==5277== Address 0x1C3C8E76 is 22 bytes inside a block of size 25 free'd ==5277== at 0x1B902FB1: free (vg_replace_malloc.c:153) ==5277== by 0x12AD80: g_free (in /usr/lib/libglib-2.0.so.0.400.8) ==5277== by 0x1BC670C2: ??? (packet-http.c:1427) ==5277== by 0x1BC67623: ??? (packet-http.c:1526) ==5277== by 0x1BA8955C: ??? (packet.c:363) ==5277== by 0x1BA897CD: ??? (packet.c:513) ==5277== by 0x1BA8A196: dissector_try_port (packet.c:776) ==5277== by 0x1BE12A61: decode_tcp_ports (packet-tcp.c:2381) ==5277== by 0x1BE12B5C: ??? (packet-tcp.c:2428) ==5277== by 0x1BE13125: dissect_tcp_payload (packet-tcp.c:2508) ==5277== by 0x1BE1484E: ??? (packet-tcp.c:2915) ==5277== by 0x1BA8955C: ??? (packet.c:363) ==5277== by 0x1BA897CD: ??? (packet.c:513) ==5277== by 0x1BA8A196: dissector_try_port (packet.c:776) ==5277== by 0x1BC80701: ??? (packet-ip.c:1098) ==5277== by 0x1BA8955C: ??? (packet.c:363) ==5277== by 0x1BA897CD: ??? (packet.c:513) ==5277== by 0x1BA8A196: dissector_try_port (packet.c:776) ==5277== by 0x1BBCF7C2: ethertype (packet-ethertype.c:179) ==5277== by 0x1BBCEA58: ??? (packet-eth.c:292) ==5277== by 0x1BA8955C: ??? (packet.c:363) ==5277== by 0x1BA897CD: ??? (packet.c:513) ==5277== by 0x1BA8A196: dissector_try_port (packet.c:776) ==5277== by 0x1BBF2F5A: ??? (packet-frame.c:184) ==5277== by 0x1BA8955C: ??? (packet.c:363) ==5277== by 0x1BA897CD: ??? (packet.c:513) ==5277== by 0x1BA8991C: call_dissector (packet.c:1614) ==5277== by 0x1BA89C6A: dissect_packet (packet.c:311) ==5277== by 0x1BA875F0: epan_dissect_run (epan.c:153) ==5277== by 0x80599E6: ??? (tethereal.c:2574) ==5277== by 0x805A27D: ??? (tethereal.c:2216) ==5277== by 0x1C2454AD: (within /usr/lib/libpcap.so.0.8.3) ==5277== by 0x1C246E36: pcap_dispatch (in /usr/lib/libpcap.so.0.8.3) ==5277== by 0x805ADDA: ??? (tethereal.c:2025) ==5277== by 0x805D0D4: main (tethereal.c:1677) ==5277== ==5277== Invalid read of size 1 ==5277== at 0x1B9026F2: memcpy (mac_replace_strmem.c:288) ==5277== by 0x1395CA: g_strdup (in /usr/lib/libglib-2.0.so.0.400.8) ==5277== by 0x1BC66D5E: ??? (packet-http.c:779) ==5277== by 0x1BC67623: ??? (packet-http.c:1526) ==5277== by 0x1BA8955C: ??? (packet.c:363) ==5277== by 0x1BA897CD: ??? (packet.c:513) ==5277== by 0x1BA8A196: dissector_try_port (packet.c:776) ==5277== by 0x1BE12A61: decode_tcp_ports (packet-tcp.c:2381) ==5277== by 0x1BE12B5C: ??? (packet-tcp.c:2428) ==5277== by 0x1BE13125: dissect_tcp_payload (packet-tcp.c:2508) ==5277== by 0x1BE1484E: ??? (packet-tcp.c:2915) ==5277== by 0x1BA8955C: ??? (packet.c:363) ==5277== by 0x1BA897CD: ??? (packet.c:513) ==5277== by 0x1BA8A196: dissector_try_port (packet.c:776) ==5277== by 0x1BC80701: ??? (packet-ip.c:1098) ==5277== by 0x1BA8955C: ??? (packet.c:363) ==5277== by 0x1BA897CD: ??? (packet.c:513) ==5277== by 0x1BA8A196: dissector_try_port (packet.c:776) ==5277== by 0x1BBCF7C2: ethertype (packet-ethertype.c:179) ==5277== by 0x1BBCEA58: ??? (packet-eth.c:292) ==5277== by 0x1BA8955C: ??? (packet.c:363) ==5277== by 0x1BA897CD: ??? (packet.c:513) ==5277== by 0x1BA8A196: dissector_try_port (packet.c:776) ==5277== by 0x1BBF2F5A: ??? (packet-frame.c:184) ==5277== by 0x1BA8955C: ??? (packet.c:363) ==5277== by 0x1BA897CD: ??? (packet.c:513) ==5277== by 0x1BA8991C: call_dissector (packet.c:1614) ==5277== by 0x1BA89C6A: dissect_packet (packet.c:311) ==5277== by 0x1BA875F0: epan_dissect_run (epan.c:153) ==5277== by 0x80599E6: ??? (tethereal.c:2574) ==5277== by 0x805A27D: ??? (tethereal.c:2216) ==5277== by 0x1C2454AD: (within /usr/lib/libpcap.so.0.8.3) ==5277== by 0x1C246E36: pcap_dispatch (in /usr/lib/libpcap.so.0.8.3) ==5277== by 0x805ADDA: ??? (tethereal.c:2025) ==5277== by 0x805D0D4: main (tethereal.c:1677) ==5277== Address 0x1C3C8E75 is 21 bytes inside a block of size 25 free'd ==5277== at 0x1B902FB1: free (vg_replace_malloc.c:153) ==5277== by 0x12AD80: g_free (in /usr/lib/libglib-2.0.so.0.400.8) ==5277== by 0x1BC670C2: ??? (packet-http.c:1427) ==5277== by 0x1BC67623: ??? (packet-http.c:1526) ==5277== by 0x1BA8955C: ??? (packet.c:363) ==5277== by 0x1BA897CD: ??? (packet.c:513) ==5277== by 0x1BA8A196: dissector_try_port (packet.c:776) ==5277== by 0x1BE12A61: decode_tcp_ports (packet-tcp.c:2381) ==5277== by 0x1BE12B5C: ??? (packet-tcp.c:2428) ==5277== by 0x1BE13125: dissect_tcp_payload (packet-tcp.c:2508) ==5277== by 0x1BE1484E: ??? (packet-tcp.c:2915) ==5277== by 0x1BA8955C: ??? (packet.c:363) ==5277== by 0x1BA897CD: ??? (packet.c:513) ==5277== by 0x1BA8A196: dissector_try_port (packet.c:776) ==5277== by 0x1BC80701: ??? (packet-ip.c:1098) ==5277== by 0x1BA8955C: ??? (packet.c:363) ==5277== by 0x1BA897CD: ??? (packet.c:513) ==5277== by 0x1BA8A196: dissector_try_port (packet.c:776) ==5277== by 0x1BBCF7C2: ethertype (packet-ethertype.c:179) ==5277== by 0x1BBCEA58: ??? (packet-eth.c:292) ==5277== by 0x1BA8955C: ??? (packet.c:363) ==5277== by 0x1BA897CD: ??? (packet.c:513) ==5277== by 0x1BA8A196: dissector_try_port (packet.c:776) ==5277== by 0x1BBF2F5A: ??? (packet-frame.c:184) ==5277== by 0x1BA8955C: ??? (packet.c:363) ==5277== by 0x1BA897CD: ??? (packet.c:513) ==5277== by 0x1BA8991C: call_dissector (packet.c:1614) ==5277== by 0x1BA89C6A: dissect_packet (packet.c:311) ==5277== by 0x1BA875F0: epan_dissect_run (epan.c:153) ==5277== by 0x80599E6: ??? (tethereal.c:2574) ==5277== by 0x805A27D: ??? (tethereal.c:2216) ==5277== by 0x1C2454AD: (within /usr/lib/libpcap.so.0.8.3) ==5277== by 0x1C246E36: pcap_dispatch (in /usr/lib/libpcap.so.0.8.3) ==5277== by 0x805ADDA: ??? (tethereal.c:2025) ==5277== by 0x805D0D4: main (tethereal.c:1677) ==5277== ==5277== Invalid read of size 1 ==5277== at 0x1B902708: memcpy (mac_replace_strmem.c:292) ==5277== by 0x1395CA: g_strdup (in /usr/lib/libglib-2.0.so.0.400.8) ==5277== by 0x1BC66D5E: ??? (packet-http.c:779) ==5277== by 0x1BC67623: ??? (packet-http.c:1526) ==5277== by 0x1BA8955C: ??? (packet.c:363) ==5277== by 0x1BA897CD: ??? (packet.c:513) ==5277== by 0x1BA8A196: dissector_try_port (packet.c:776) ==5277== by 0x1BE12A61: decode_tcp_ports (packet-tcp.c:2381) ==5277== by 0x1BE12B5C: ??? (packet-tcp.c:2428) ==5277== by 0x1BE13125: dissect_tcp_payload (packet-tcp.c:2508) ==5277== by 0x1BE1484E: ??? (packet-tcp.c:2915) ==5277== by 0x1BA8955C: ??? (packet.c:363) ==5277== by 0x1BA897CD: ??? (packet.c:513) ==5277== by 0x1BA8A196: dissector_try_port (packet.c:776) ==5277== by 0x1BC80701: ??? (packet-ip.c:1098) ==5277== by 0x1BA8955C: ??? (packet.c:363) ==5277== by 0x1BA897CD: ??? (packet.c:513) ==5277== by 0x1BA8A196: dissector_try_port (packet.c:776) ==5277== by 0x1BBCF7C2: ethertype (packet-ethertype.c:179) ==5277== by 0x1BBCEA58: ??? (packet-eth.c:292) ==5277== by 0x1BA8955C: ??? (packet.c:363) ==5277== by 0x1BA897CD: ??? (packet.c:513) ==5277== by 0x1BA8A196: dissector_try_port (packet.c:776) ==5277== by 0x1BBF2F5A: ??? (packet-frame.c:184) ==5277== by 0x1BA8955C: ??? (packet.c:363) ==5277== by 0x1BA897CD: ??? (packet.c:513) ==5277== by 0x1BA8991C: call_dissector (packet.c:1614) ==5277== by 0x1BA89C6A: dissect_packet (packet.c:311) ==5277== by 0x1BA875F0: epan_dissect_run (epan.c:153) ==5277== by 0x80599E6: ??? (tethereal.c:2574) ==5277== by 0x805A27D: ??? (tethereal.c:2216) ==5277== by 0x1C2454AD: (within /usr/lib/libpcap.so.0.8.3) ==5277== by 0x1C246E36: pcap_dispatch (in /usr/lib/libpcap.so.0.8.3) ==5277== by 0x805ADDA: ??? (tethereal.c:2025) ==5277== by 0x805D0D4: main (tethereal.c:1677) ==5277== Address 0x1C3C8E6C is 12 bytes inside a block of size 25 free'd ==5277== at 0x1B902FB1: free (vg_replace_malloc.c:153) ==5277== by 0x12AD80: g_free (in /usr/lib/libglib-2.0.so.0.400.8) ==5277== by 0x1BC670C2: ??? (packet-http.c:1427) ==5277== by 0x1BC67623: ??? (packet-http.c:1526) ==5277== by 0x1BA8955C: ??? (packet.c:363) ==5277== by 0x1BA897CD: ??? (packet.c:513) ==5277== by 0x1BA8A196: dissector_try_port (packet.c:776) ==5277== by 0x1BE12A61: decode_tcp_ports (packet-tcp.c:2381) ==5277== by 0x1BE12B5C: ??? (packet-tcp.c:2428) ==5277== by 0x1BE13125: dissect_tcp_payload (packet-tcp.c:2508) ==5277== by 0x1BE1484E: ??? (packet-tcp.c:2915) ==5277== by 0x1BA8955C: ??? (packet.c:363) ==5277== by 0x1BA897CD: ??? (packet.c:513) ==5277== by 0x1BA8A196: dissector_try_port (packet.c:776) ==5277== by 0x1BC80701: ??? (packet-ip.c:1098) ==5277== by 0x1BA8955C: ??? (packet.c:363) ==5277== by 0x1BA897CD: ??? (packet.c:513) ==5277== by 0x1BA8A196: dissector_try_port (packet.c:776) ==5277== by 0x1BBCF7C2: ethertype (packet-ethertype.c:179) ==5277== by 0x1BBCEA58: ??? (packet-eth.c:292) ==5277== by 0x1BA8955C: ??? (packet.c:363) ==5277== by 0x1BA897CD: ??? (packet.c:513) ==5277== by 0x1BA8A196: dissector_try_port (packet.c:776) ==5277== by 0x1BBF2F5A: ??? (packet-frame.c:184) ==5277== by 0x1BA8955C: ??? (packet.c:363) ==5277== by 0x1BA897CD: ??? (packet.c:513) ==5277== by 0x1BA8991C: call_dissector (packet.c:1614) ==5277== by 0x1BA89C6A: dissect_packet (packet.c:311) ==5277== by 0x1BA875F0: epan_dissect_run (epan.c:153) ==5277== by 0x80599E6: ??? (tethereal.c:2574) ==5277== by 0x805A27D: ??? (tethereal.c:2216) ==5277== by 0x1C2454AD: (within /usr/lib/libpcap.so.0.8.3) ==5277== by 0x1C246E36: pcap_dispatch (in /usr/lib/libpcap.so.0.8.3) ==5277== by 0x805ADDA: ??? (tethereal.c:2025) ==5277== by 0x805D0D4: main (tethereal.c:1677) ==5277== ==5277== ERROR SUMMARY: 57 errors from 7 contexts (suppressed: 30 from 2) ==5277== malloc/free: in use at exit: 1743751 bytes in 17352 blocks. ==5277== malloc/free: 436762 allocs, 419410 frees, 27731757 bytes allocated. ==5277== For a detailed leak analysis, rerun with: --leak-check=yes ==5277== For counts of detected errors, rerun with: -v
- Prev by Date: [Ethereal-dev] A new counters tree window, and some implementations (IP, HTTP, ISUP)
- Next by Date: [Ethereal-dev] GIOP decoding broken, assertion in epan/proto.c:2072
- Previous by thread: Re: [Ethereal-dev] A new counters tree window, and some implementations (IP, HTTP, ISUP)
- Next by thread: [Ethereal-dev] GIOP decoding broken, assertion in epan/proto.c:2072
- Index(es):