i'm getting a lot of random-seeming (but completely reproduceable) seg
faults that i don't remember existing in the older versions of oxygen.

e.g. even busybox "tar" and "more" seg fault.

my main question is:  what's the best way to debug such problems
in the oxygen environment?  load a gdb.lrp? 

(and there's no core file...  why is that?  has someone done a
setrlimit somewhere?)

e.g.

sul-lockss12.stanford.edu # pwd
/etc/init.d
sul-lockss12.stanford.edu # ls
booted        halt          netbase       reboot        transparent
bootmisc.sh   hostname.sh   netstd_init   rmnologin     umountfs
checkfs.sh    hwclock.sh    netstd_misc   sendsigs      urandom
checkroot.sh  lockss.sh     network       setserial     watchdog
cron          modutils      rc            single
functions     mountall.sh   rcS           sysklogd
sul-lockss12.stanford.edu # tar cvf /tmp/f .
Segmentation fault
sul-lockss12.stanford.edu # tar h
BusyBox v0.48pre (2000.11.16-01:54+0000) multi-call binary -- GPL2

Usage: tar -[cxtvO] [--exclude File] [-f tarFile] [FILE(s)] ...

sul-lockss12.stanford.edu # uname -a
Linux sul-lockss12.stanford.edu 2.2.18 #21 Mon Feb 26 17:16:00 PST 2001 i686 unknown

sul-lockss10.stanford.edu:/etc/init.d # more network
#!/bin/sh

# Direct Network Settings

RCDLINKS="S,S42"        #LRP

. /etc/init.d/functions

loadiff /etc/network.conf

#========================================
#  Functions

INDEX="0 1 2 3 4 5"

if-conf () {
        eval "IFNAME=\$IF$1_IFNAME"
        eval "IPADDR=\$IF$1_IPADDR"
        eval "STATE=\$IF$1_STATE"
        eval "MASK=\$IF$1_NETMASK"
        eval "BROADCAST=\$IF$1_BROADCAST"
        eval "ETHER=\$IF$1_ETHER"

#       defaults

        [ -z $IFNAME ] && return 1
        [ -z $IPADDR ] && return 1

        if [ "$2" ]; then
                STATE=$2
        elif [ -z "$STATE" ]; then
                STATE=up
        fi

set -v
        echo -n "network: bringing $STATE interface $IFNAME on $IPADDR"
        [ -n "$MASK" ] && echo -n " with netmask $MASK"
        [ -n "$BROADCAST" ] && echo -n " with broadcast address $BROADCAST"
        [ -n "$ETHER" ] && echo -n " (with hardware address $ETHER)"
        echo

# what a weird bug:  ifconfig complains "netmask... unknown host".
Segmentation fault
sul-lockss10.stanford.edu:/etc/init.d # 



-- 
mark seiden, [EMAIL PROTECTED], 1-(650) 592 8559 (voice) Pacific Time Zone

_______________________________________________
Leaf-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to