Subject: bin/11253: seg-fault in mopd on Oct 12/i386/1.5_ALPHA2
To: None <gnats-bugs@gnats.netbsd.org>
From: None <kwellsch@tampabay.rr.com>
List: netbsd-bugs
Date: 10/18/2000 05:16:13
>Number:         11253
>Category:       bin
>Synopsis:       mopd seg-faults on attempting to load a netbooting VAX
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 18 05:16:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Ken Wellsch
>Release:        1.5_ALPHA2, October 12, 2000
>Organization:
>Environment:
PPro200/NetBSD 1.5_ALPHA2
System: NetBSD arundel.fortyfour.org 1.5_ALPHA2 NetBSD 1.5_ALPHA2 (ARUNDEL) #0: Thu Oct 12 10:59:47 EDT 2000 kwellsch@arundel.fortyfour.org:/fsys/src/sys/arch/i386/compile/ARUNDEL i386


>Description:

% ./mopd -d tlp0

mopd: not running as daemon, -d given.
MOP RC 802.3 8:0:2b:2f:f4:c6   > ab:0:0:2:0:0      len   45 code 07 SID 
MOP RC 8:0:2b:2f:f4:c6   > ab:0:0:2:0:0      len   37 code 07 SID 
MOP DL 802.3 8:0:2b:2f:f4:c6   > ab:0:0:1:0:0      len   47 code 08 RPR 
MOP DL 802.3 0:0:c0:8f:8f:ef   > 8:0:2b:2f:f4:c6   len    9 code 03 ASV 
MOP DL 802.3 8:0:2b:2f:f4:c6   > 0:0:c0:8f:8f:ef   len   47 code 08 RPR 
Native Image (VAX)
Header Block Count: 1
Image Size:         00011400
Load Address:       00000000
Transfer Address:   00000000
MOP DL 802.3 0:0:c0:8f:8f:ef   > 8:0:2b:2f:f4:c6   len 1498 code 02 MLD 
MOP DL 802.3 8:0:2b:2f:f4:c6   > 0:0:c0:8f:8f:ef   len   11 code 0a RML 
MOP DL 802.3 0:0:c0:8f:8f:ef   > 8:0:2b:2f:f4:c6   len   40 code 14 PLT 
Segmentation fault (core dumped)

% gdb ./mopd *.core

GNU gdb 4.17
Copyright 1998 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--netbsd"...

Core was generated by `mopd'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/libexec/ld.elf_so...done.
Reading symbols from /usr/lib/libutil.so.5...done.
Reading symbols from /usr/lib/libkvm.so.5...done.
Reading symbols from /usr/lib/libc.so.12...done.

#0  0x804a16a in mopNextLoad (dst=0x8069018 "\b", src=0x8068048 "", 
    new_count=1 '\001', trans=2) at process.c:442
442             if (pfWrite(dle->ii->fd, pkt, index, trans) != index) {

(gdb) print dle
$1 = (struct dllist *) 0x8054a40
(gdb) print dle->ii
$2 = (struct if_info *) 0x0
(gdb) 

>How-To-Repeat:

I used it as I always have, but after the last rebuild of my system, on
October 12th, I find mopd is no longer working.

>Fix:

I wish I knew what exactly has broken.
>Release-Note:
>Audit-Trail:
>Unformatted: