Article View: best.general
Article #91Re: recent /bin/sh core dumping
From: Kim DeVaughn
Date: Thu, 05 Nov 1998 00:00
Date: Thu, 05 Nov 1998 00:00
33 lines
2319 bytes
2319 bytes
In article <71ldkh$jgq$1@shell3.ba.best.com>, Smith and O'Halloran <inwap@best.com> wrote: | | In article <363a5c8b$0$29747@nntp1.ba.best.com>, | Kim DeVaughn <kimdv@best.com> wrote: | > | >In the past few days, I've had several of my shell scripts core dump for no | >apparent reason. These have been very different scripts, some of which have | >been working for years without problems. Subsequent execution of the same | >scripts have been without incident. | | I have not seen that problem here, but some years back it bit me on a | SunOS system. The temporary workaround was to put | DUMMY="1234567890"; export DUMMY | in the script that called the one that failed. It appeared that the failure | occured only when the total size of the ENV variables was exactly n*1024. | Then a new version of the OS came out and I never saw the problem again. Hmmm. Perhaps they were malloc'ing 1k chunks, and then didn't account for adding a string terminating NULL, or some such. FWIW, I thought that maybe having had my screen(1)s up for many days might have had something to do with causing my mystery SEGV's (I dunno how, but when you're grasping at straws ...). Anyway, I killed 'em all off, and started fresh. No unexplained crashes since. Coincidence? Gnu only knows ... /kim ============================================================================ "We create the government that screws you, and then you're supposed to thank us for protecting you from it." --Congressman Vin Weber (R-Minn)
Technical Details
Message-ID:
<3641d7f7$0$29748@nntp1.ba.best.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<363a5c8b$0$29747@nntp1.ba.best.com> <71ldkh$jgq$1@shell3.ba.best.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f9f6d,94d96412b1c3c678 X-Google-Attributes: gidf9f6d,public X-Google-Thread: f669e,94d96412b1c3c678 X-Google-Attributes: gidf669e,public X-Google-Thread: 112e82,94d96412b1c3c678 X-Google-Attributes: gid112e82,public From: kimdv@best.com (Kim DeVaughn) Subject: Re: recent /bin/sh core dumping Date: 1998/11/05 Message-ID: <3641d7f7$0$29748@nntp1.ba.best.com> X-Deja-AN: 408709416 Distribution: best References: <363a5c8b$0$29747@nntp1.ba.best.com> <71ldkh$jgq$1@shell3.ba.best.com> Summary: fresh meat ... X-Trace: nntp1.ba.best.com 910284791 29748 kimdv@206.184.139.134 Organization: Kim's Home for Wayward Cocktail Waitresses & Hors d'oeuvre Girls Newsgroups: best.general,best.bugs,best.unix