Your message dated Wed, 14 Dec 2011 09:04:54 +0000
with message-id <[email protected]>
and subject line Bug#609540: fixed in iftop 0.17-19
has caused the Debian Bug report #609540,
regarding iftop: segfault on interface with empty MAC address
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
609540: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=609540
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: iftop
Version: 0.17-17
Severity: normal


Hi, 

iftop -i tun 

results in a segfault for me, whereas

jnettop -i tun 

works fine.

# gdb --args iftop -i tun
GNU gdb (GDB) 7.2-debian
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/sbin/iftop...Reading symbols from 
/usr/lib/debug/usr/sbin/iftop...done.
done.
(gdb) run
Starting program: /usr/sbin/iftop -i tun
[Thread debugging using libthread_db enabled]
interface: tun

Program received signal SIGSEGV, Segmentation fault.
0x00000000004083a7 in get_addrs_ioctl (interface=0x60e060 "tun",
    if_hw_addr=<value optimized out>, if_ip_addr=0x60c6b8,
    if_ip6_addr=0x60c670) at addrs_ioctl.c:135
135     addrs_ioctl.c: No such file or directory.
        in addrs_ioctl.c
(gdb) bt
#0  0x00000000004083a7 in get_addrs_ioctl (interface=0x60e060 "tun",
    if_hw_addr=<value optimized out>, if_ip_addr=0x60c6b8,
    if_ip6_addr=0x60c670) at addrs_ioctl.c:135
#1  0x0000000000403536 in packet_init () at iftop.c:621
#2  0x0000000000404328 in main (argc=3, argv=0x7fffffffe3b8) at iftop.c:722
(gdb) bt full
#0  0x00000000004083a7 in get_addrs_ioctl (interface=0x60e060 "tun",
    if_hw_addr=<value optimized out>, if_ip_addr=0x60c6b8,
    if_ip6_addr=0x60c670) at addrs_ioctl.c:135
        s = <value optimized out>
        ifr = {ifr_ifrn = {ifrn_name = "tun", '\000' <repeats 12 times>},
          ifr_ifru = {ifru_addr = {sa_family = 65534,
              sa_data = '\000' <repeats 13 times>}, ifru_dstaddr = {
              sa_family = 65534, sa_data = '\000' <repeats 13 times>},
            ifru_broadaddr = {sa_family = 65534,
              sa_data = '\000' <repeats 13 times>}, ifru_netmask = {
              sa_family = 65534, sa_data = '\000' <repeats 13 times>},
            ifru_hwaddr = {sa_family = 65534,
              sa_data = '\000' <repeats 13 times>}, ifru_flags = -2,
            ifru_ivalue = 65534, ifru_mtu = 65534, ifru_map = {
              mem_start = 65534, mem_end = 0, base_addr = 0, irq = 0 '\000',
              dma = 0 '\000', port = 0 '\000'},
            ifru_slave = "\376\377", '\000' <repeats 13 times>,
            ifru_newname = "\376\377", '\000' <repeats 13 times>,
            ifru_data = 0xfffe <Address 0xfffe out of bounds>}}
        got_hw_addr = 1
        got_ip_addr = 0
        got_ip6_addr = 0
        ifa = 0x60f050
---Type <return> to continue, or q <return> to quit---
        ifas = 0x60eee0
#1  0x0000000000403536 in packet_init () at iftop.c:621
        errbuf = 
"\260\343\377\377\377\177\000\000\000\000\000\000\000\000\000\000@\002\000\000\000\000\000\000\270\356\327\001\060\000\000\000\310\356\327\001\060\000\000\000y\360\252\001\060\000\000\000\070\002\000\000\000\000\000\000\201\361\246\001\060\000\000\000p\350`\000\000\000\000\000\200\341\377\377\377\177\000\000
 
\000\000\000\000\000\000\000\270\356\327\001\060\000\000\000\310\356\327\001\060",
 '\000' <repeats 11 times>, 
"\004\000\000\000\000\000\000\000`\356\327\001\002\000\000\000@\000\000\000\000\000\000\000\001\000\000\000\002\000\000\000\360\354`\000\000\000\000\000\320\354`\000\000\000\000\000@2@\000\000\000\000\000\000\000\000\004\000\000\000\000
 \360`\002\060", '\000' <repeats 74 times>
        m = <value optimized out>
        dlt = <value optimized out>
        result = <value optimized out>
#2  0x0000000000404328 in main (argc=3, argv=0x7fffffffe3b8) at iftop.c:722
        thread = 4204176
        sa = {__sigaction_handler = {sa_handler = 0x403240 <finish>,
            sa_sigaction = 0x403240 <finish>}, sa_mask = {__val = {
              0 <repeats 16 times>}}, sa_flags = 0, sa_restorer = 0}
(gdb)                                                               

# ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:23:54:5e:5d:d5
          inet addr:192.168.1.101  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::223:54ff:fe5e:5dd5/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:19465713 errors:0 dropped:0 overruns:0 frame:0
          TX packets:21001115 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:13551266367 (12.6 GiB)  TX bytes:18967823839 (17.6 GiB)
          Interrupt:42 Base address:0x4000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:190582 errors:0 dropped:0 overruns:0 frame:0
          TX packets:190582 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:17828646 (17.0 MiB)  TX bytes:17828646 (17.0 MiB)

tun       Link encap:UNSPEC  HWaddr 
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet6 addr: 2001:c08:3700:ffff::17:d407/128 Scope:Global
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1280  Metric:1
          RX packets:28421 errors:0 dropped:0 overruns:0 frame:0
          TX packets:39940 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:500
          RX bytes:3708848 (3.5 MiB)  TX bytes:42570465 (40.5 MiB)


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.39-git6 (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages iftop depends on:
ii  libc6                         2.13-4     Embedded GNU C Library: Shared lib
ii  libncurses5                   5.9-1      shared libraries for terminal hand
ii  libpcap0.8                    1.1.1-6    system interface for user-level pa

iftop recommends no packages.

iftop suggests no packages.

-- debconf-show failed



--- End Message ---
--- Begin Message ---
Source: iftop
Source-Version: 0.17-19

We believe that the bug you reported is fixed in the latest version of
iftop, which is due to be installed in the Debian FTP archive:

iftop-dbg_0.17-19_amd64.deb
  to main/i/iftop/iftop-dbg_0.17-19_amd64.deb
iftop_0.17-19.diff.gz
  to main/i/iftop/iftop_0.17-19.diff.gz
iftop_0.17-19.dsc
  to main/i/iftop/iftop_0.17-19.dsc
iftop_0.17-19_amd64.deb
  to main/i/iftop/iftop_0.17-19_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alexander Reichle-Schmehl <[email protected]> (supplier of updated iftop 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 13 Dec 2011 16:05:19 +0100
Source: iftop
Binary: iftop iftop-dbg
Architecture: source amd64
Version: 0.17-19
Distribution: unstable
Urgency: low
Maintainer: Alexander Reichle-Schmehl <[email protected]>
Changed-By: Alexander Reichle-Schmehl <[email protected]>
Description: 
 iftop      - displays bandwidth usage information on an network interface
 iftop-dbg  - displays bandwidth usage information on an network interface (deb
Closes: 609540
Changes: 
 iftop (0.17-19) unstable; urgency=low
 .
   * Add debian/patches/12-allow-iface-with-emtpy-mac.patch which fixes a
     segfault when called upon interfaces with emtpy MAC address
     (Closes: #609540)
Checksums-Sha1: 
 52ead1eb6756428dc7a7971b7c486033f43cb3b8 1920 iftop_0.17-19.dsc
 06383c3bfc7429120ef580184eb5ffa3d7e0abad 19270 iftop_0.17-19.diff.gz
 dba1d7f834e267f51ce812f4c79dcd41126d7b10 38346 iftop_0.17-19_amd64.deb
 e61db94a4e05cdc93d1161cd8d571f7e047fc75b 13626 iftop-dbg_0.17-19_amd64.deb
Checksums-Sha256: 
 965532b90292ef02e928d7b18252a25585429dd8a9d678c52bc0f328ac7940e8 1920 
iftop_0.17-19.dsc
 19677012c012083b41e6e97668992159d29c5feec74de175cfd9ad6f34865ae4 19270 
iftop_0.17-19.diff.gz
 51816a7121be55a930c11183ff9c2a1ced793c68ff3a8953c2eb0bd9461e0360 38346 
iftop_0.17-19_amd64.deb
 9c5a43986c76f8d6e2693082380c885c6f767530c5ddccfd60513b547e924417 13626 
iftop-dbg_0.17-19_amd64.deb
Files: 
 3a3ff112e212b6ee50f71f3fc3da916c 1920 net optional iftop_0.17-19.dsc
 ceccbf5e7a8cf5d0968d4b7510f86cd8 19270 net optional iftop_0.17-19.diff.gz
 a139c04df69c798c0ae7831ec2b58bde 38346 net optional iftop_0.17-19_amd64.deb
 847d95af10eddabfdd9370e7edad8ed7 13626 debug extra iftop-dbg_0.17-19_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAEBCAAGBQJO6FghAAoJEMJLZaJnLIsSQf8P/jtSBIafbOO4GFYvRrVBt94K
sCA97CJxR3osIt6im/DufEayT/8n1Y31GOOyEGKSmiXHd1Q6uvxU9IJ+N68Fsnl4
MIonNPtlNgRlLgmBM2UdllRvghhZe1p4Uh9KgxPfp5Gn4182pgnzcri0fsXOdI6r
RAc1bF9O0OEcQXXqsJot82TA4NLZ51Gy11CQpHbwOipkrl/dzbVUEt5gzdcODEtY
D2oaqtNIo1xZ0SZT1AbI8lIHwbDXPyMku/FNVO8Xtjfmt2OPyS1TGLwSWdUZKb2w
zHenBw8TnJ2D2wCaIPQYTgX7+4uGF7+3rdnm5Ck/wfBnyBbBwnxnBy3MgidCe5Mi
Esp6enUHL06BUXDr/h02fucaVQ7KWmtEpqXU3jqRaIMA6YsRc8Wv5USVJDl6zo2p
4pmYObmZe2RhbENsCe+4+z3LMxqufvnBQyDP1O6TzK+tDfVOnsFRvAIcUoUiT76V
I8bKDt7xyZFHbOSanNovycMns7fz3Pa1s0993qsWIyKaF7pukOjBznWiqyhdp60x
tgNSPkoFmlOYZUIF/k1ullt+KENoLk/HPTIMm/lu+lAY9BciFGqX5x4X/Xs0uw4f
IYNsvatpGsSZeLPvpYRZiNWNH6aop5PmAvgqfEhgt7cAVHIsXSVAQ/ndHG0pGRDR
Ra/ZSEhBk7ZHyWtyyT+g
=OHvC
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to