Re: CURRENT: ifconfig tap0 results in core dump

From: Scot Hetzel <swhetzel_at_gmail.com>
Date: Thu, 19 May 2005 10:09:20 -0500
On 5/19/05, Matti Saarinen <mjsaarin_at_cc.helsinki.fi> wrote:
> Now, I've terminated PID 584 (openvpn)
> 
> % ifconfig tap0
> tap0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
>        inet6 fe80::2bd:9ff:fe7c:100%tap0 prefixlen 64 scopeid 0x5
> zsh: segmentation fault (core dumped)  ifconfig tap0
> 
> 
> I remember that ifconfig didn't dump core when my laptop ran CURRENT
> from a few months ago.
> 
You'll probably need to build a version of ifconfig with debugging
symbols. And then provide a backtrace of the core dump.

How soon after killing openvpn, do you use the ifconfig command.  It
might be possible that devfs was in the process of removing tap0, when
you used the ifconfig command.

Another possibility is that openvpn didn't properly cleanup after
itself when it shutdown.  So you may also need to look at the openvpn
code.

>  If I restart the openvpn process, the tap0 interface works but ifconfig tap0
> still dumps core.

Does tap0 really work, or is there a new tap1 interface (i.e. openvpn
sees tap0 in use, and creates tap1), using the tap0 settings.

Scot
Received on Thu May 19 2005 - 13:09:22 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:34 UTC