Bug#609540: iftop: Silently SIGSEVs on certain interfaces (ppp0, sixxs)

2011-10-01 Thread Graham Inggs
tags 609540 patch
thanks

I ran into the same problem with the gprs0 interface on the Nokia
N900.  Diff attached.


skip-null-ifa_addr.diff
Description: Binary data


Bug#609540: iftop: Silently SIGSEVs on certain interfaces (ppp0, sixxs)

2011-01-10 Thread Julian Mehnle
Package: iftop
Version: 0.17-17
Severity: important

I just pulled 0.17-17 from experimental in order to get IPv6 support.  Now
I cannot get iftop to work on any interfaces other than eth0 and lo.  If,
e.g., I run it on the ppp0 (PPP) or sixxs (tunnel) interface, it merely
prints the interface name and exits with an exit code of 139, which I think
means it died from SIGSEV:

$ sudo iftop
interface: eth0
IP address is: 192.168.0.1
IPv6 address is: 2001:a60:f01d::1
MAC address is: 00:30:1b:bd:30:df
[starts up ncurses view]

$ sudo iftop -i eth0
interface: eth0
IP address is: 192.168.0.1
IPv6 address is: 2001:a60:f01d::1
MAC address is: 00:30:1b:bd:30:df
[starts up ncurses view]

$ sudo iftop -i lo
interface: lo
IP address is: 127.0.0.1
IPv6 address is: ::1
MAC address is: 00:00:00:00:00:00
[starts up ncurses view]

$ sudo iftop -i ppp0
interface: ppp0
$ echo $?
139

$ sudo iftop -i sixxs
interface: sixxs
$ echo $?
139

Doesn't happen with 0.17-16.

-Julian


-- System Information:
Debian Release: 6.0
  APT prefers testing
  APT policy: (600, 'testing'), (90, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages iftop depends on:
ii  libc6 2.11.2-7   Embedded GNU C Library: Shared lib
ii  libncurses5   5.7+20100313-4 shared libraries for terminal hand
ii  libpcap0.81.1.1-2system interface for user-level pa

iftop recommends no packages.

iftop suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org