tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: bchill () ucdavis ! edu (Brian C Hill)
To: tru64-unix-managers
Subject: 4.0B - _bizarre_ ksh problem
Date: Sun, 24 Aug 1997 00:57:14 +0000	[thread overview]
Message-ID: <96078615810578.tru64-unix-managers.marc@archive.invalid> (raw)

	I have run into the strangest problem with ksh. I export
MAILCHECK in /etc/profile. If I export MAILCHECK in /etc/profile and
then again in a local user's .profile, ksh starts doing weird things.
For example, I get this message when I type "jobs -l":

	ksh: invalid multibyte character
	ksh: invalid multibyte character
	ksh: invalid multibyte character
	ksh: invalid multibyte character

I literally boiled down the example to /etc/profile and .profile having
JUST "export MAILCHECK" and not one other line (not even a comment) in
either, and ksh just went bananas with the above messages and finally
this message:

	Stack overflow: pid 1749, proc ksh, addr 0x11fdffff8, pc 0x120020740
	Memory fault(coredump)

	This strikes me as pretty clearly a bug in ksh somewhere.  Has
anyone else seen this? Can someone from DEC take a look at the code fpr
ksh and see what's up? 

	I am aware of obvious answers here - don't export MAILCHECK
2ce, use pdksh or tcsh or some other shell - but I want DEC to explain
this problem.

	Thanks.

   ____________________________________________________________________
  / Brian C. Hill                   bchill@ucdavis.edu  (916) 753-0358 \ 
  | Systems Programmer              University of California, Davis    |
  | Graduate School of Management & GIS Research Lab                   |

                 reply	other threads:[~1997-08-24  0:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox