Subject: kern/11144: net/if.c revision 1.70 breaks cvsup on i386
To: None <gnats-bugs@gnats.netbsd.org>
From: None <kurek@uni-duisburg.de>
List: netbsd-bugs
Date: 10/05/2000 07:43:10
>Number:         11144
>Category:       kern
>Synopsis:       net/if.c revision 1.70  breaks cvsup on i386
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 05 07:43:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Markus Kurek
>Release:        NetBSD-1.5_ALPHA2/i386
>Organization:
>Environment:
>Description:
The change from 1.69 to 1.70 of net/if.c (pullup 1.62.4.2 to 1.62.4.3
on the 1.5 release branch) makes cvsup unusable, both the netbsd a.out and the
freebsd binaries show the same error.

#cvsup -g -L2 /etc/supfiles/netbsd-supfile
Parsing supfile "/etc/supfiles/netbsd-supfile"

***
*** runtime error:
***    Value out of range
***    file
"/home/jdp/pm3works/pm3-1.1.13_NetBSD/libs/libm3/src/uid/POSIX/MachineIDPosix.m3",
line 73
***

  use option @M3stackdump to get a stack trace
Abort (core dumped)

the stack trace is:
------------------ EXCEPTION HANDLER STACK ---------------------
0xbfbfcfc8 RAISES {}
0xbfbfd1a8 RAISES {}
0xbfbfd21c LOCK  mutex = 0x2a62e4
0xbfbfd228 RAISES {}
0xbfbfd298 RAISES {}
0xbfbfd40c TRY-FINALLY  proc = 0x259fc   frame = 0xbfbfd650
0xbfbfd46c TRY-EXCEPT  {Main.Error}
0xbfbfd508 TRY-EXCEPT  {Thread.Alerted}
----------------------------------------------------------------


here is the ktrace:

   574 cvsup    CALL  socket(0x1,0x1,0)
   574 cvsup    RET   socket 3
   574 cvsup    CALL  ioctl(0x3,OSIOCGIFCONF,0xbfbfd008)
   574 cvsup    RET   ioctl 0
   574 cvsup    CALL  ioctl(0x3,_IOWR('i',0x1c,0x1c),0xbfbfd170)
   574 cvsup    RET   ioctl -1 errno 45 Operation not supported
   574 cvsup    CALL  ioctl(0x3,_IOWR('i',0x1c,0x1c),0xbfbfd170)
   574 cvsup    RET   ioctl -1 errno 45 Operation not supported
   574 cvsup    CALL  ioctl(0x3,_IOWR('i',0x1c,0x1c),0xbfbfd170)
   574 cvsup    RET   ioctl -1 errno 45 Operation not supported
   574 cvsup    CALL  ioctl(0x3,_IOWR('i',0x1c,0x1c),0xbfbfd170)
   574 cvsup    RET   ioctl -1 errno 45 Operation not supported
   574 cvsup    CALL  ioctl(0x3,_IOWR('i',0x1c,0x1c),0xbfbfd170)
   574 cvsup    RET   ioctl -1 errno 45 Operation not supported
   574 cvsup    CALL  ioctl(0x3,_IOWR('i',0x1c,0x1c),0xbfbfd170)
   574 cvsup    RET   ioctl -1 errno 45 Operation not supported
   574 cvsup    CALL  ioctl(0x3,_IOWR('i',0x1c,0x1c),0xbfbfd170)
   574 cvsup    RET   ioctl -1 errno 45 Operation not supported
   574 cvsup    CALL  ioctl(0x3,_IOWR('i',0x1c,0x1c),0xbfbfd170)
   574 cvsup    RET   ioctl -1 errno 45 Operation not supported
   574 cvsup    CALL  ioctl(0x3,_IOWR('i',0x1c,0x1c),0xbfbfd170)
   574 cvsup    RET   ioctl -1 errno 45 Operation not supported
   574 cvsup    CALL  ioctl(0x3,_IOWR('i',0x1c,0x1c),0xbfbfd170)
   574 cvsup    RET   ioctl -1 errno 45 Operation not supported
   574 cvsup    CALL  ioctl(0x3,_IOWR('i',0x1c,0x1c),0xbfbfd170)
   574 cvsup    RET   ioctl -1 errno 45 Operation not supported
   574 cvsup    CALL  write(0x2,0x281ed4,0x9f)
   574 cvsup    GIO   fd 2 wrote 159 bytes
       "
        
        ***
        *** runtime error:
        ***    Value out of range



>How-To-Repeat:
start cvsup 
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted: