From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,aaae69811e1cadb5,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-03-18 12:29:50 PST Newsgroups: comp.unix.osf.osf1 Path: gmd.de!Germany.EU.net!EU.net!uunet!mercury.hsi.com!hsi.com!addiss From: addiss@hsi.com (Justus Addiss) Subject: KSH core dumps on subshell push with typeset -L variable Message-ID: Keywords: osf1 ksh coredump core dump typeset environment Sender: news@hsi.com (USENET news) Nntp-Posting-Host: jupiter.hsi.com Reply-To: addiss@hsi.com Organization: 3M Health Information Systems X-Newsreader: mxrn 6.18-9 Date: Fri, 18 Mar 1994 20:29:50 GMT I've discovered a bug in OSF/1 V2.0 that causes the korn shell to core dump when you run it from itself (e.g, push a shell, run a script, etc.) enter the following: foo=bla typeset -L foo export foo ksh (of course you could also enter just 'typeset -xL foo=bla; ksh') The bug is the '-L' argument to typeset. Somehow the environment given to the new instance of ksh causes it to core dump before it reads any profiles or does any other real work. The final command 'ksh' should push a shell but instead it dumps core. I have a DEC problem number and elevation number for this if anyone wants it. -- Justus J. Addiss, Sr. Software Engineer, 3M Health Information Systems addiss@hsi.com, 203-949-6414