NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

ifconfig carp0 dumping core



dell# uname -a
NetBSD dell 5.0.2 NetBSD 5.0.2 (GENERIC) #1: Fri Feb 19 13:22:30 GMT
2010  root@p3smp:/opt/obj.i386/sys/arch/i386/compile/GENERIC i386

Trying to set up carp on NetBSD, but it's dumping core. Any ideas?

dell# ifconfig carp0 vhid 1 pass test carpdev rtk1 192.168.1.150/24
[1]   Segmentation fault (core dumped) ifconfig carp0 vhid 1 pass test
carpdev rtk1 192.168.1.150/24

dell# gdb `which ifconfig` ./*.core
GNU gdb 6.5
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and
you are welcome to change it and/or distribute copies of it under
certain conditions. Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details. This GDB was configured as "i386--netbsdelf"...

warning: Can't read pathname for load map: Input/output error.
Reading symbols from /lib/libutil.so.7...done.
Loaded symbols for /lib/libutil.so.7
Reading symbols from /lib/libprop.so.0...done.
Loaded symbols for /lib/libprop.so.0
Reading symbols from /lib/libc.so.12...done.
Loaded symbols for /lib/libc.so.12

warning: Can't read pathname for load map: Input/output error.
Core was generated by `ifconfig'.
Program terminated with signal 11, Segmentation fault.
#0  0xbbb9f0c0 in strlcpy () from /lib/libc.so.12
(gdb) where
#0  0xbbb9f0c0 in strlcpy () from /lib/libc.so.12
#1  0x0804b150 in setcarpdev (env=0x0, oenv=0xbb903c40)
    at /opt/src/sbin/ifconfig/carp.c:270
#2  0x080539f9 in matches_exec (matches=0xbfbfe594, oenv=0xbb903c40,
#nmatch=9)
    at /opt/src/sbin/ifconfig/parse.c:981
#3  0x0805162f in main (argc=8, argv=0xbfbfe968)
    at /opt/src/sbin/ifconfig/ifconfig.c:655


Home | Main Index | Thread Index | Old Index