X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: Charles Sandmann Newsgroups: comp.os.msdos.djgpp Subject: Re: sh-utils 1.12 in MSDOS: env produces segfault Date: Mon, 04 Mar 2002 10:36:11 CST Organization: Rice University, Houston TX Lines: 15 Message-ID: <3c83a27b.sandmann@clio.rice.edu> References: NNTP-Posting-Host: clio.rice.edu X-Trace: joe.rice.edu 1015260310 20448 128.42.105.3 (4 Mar 2002 16:45:10 GMT) X-Complaints-To: abuse AT rice DOT edu NNTP-Posting-Date: 4 Mar 2002 16:45:10 GMT X-NewsEditor: ED-1.5.9 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com > > I'm running the MSDOS ports of sh-utils 1.12 and bash 2.03, on a Win98SE > > box. When I run env with no arguments, I get a segfault: > > ~ $ env > > Exiting due to signal SIGSEGV > > General Protection Fault at eip=00004695 Without a symify of stack trace it's hard to know for sure, but I believe this is the bug which was fixed in CVS in late January. (Related to env setup, caching in putenv, patch in crt1.c : cvs 1.8) > Is the DJGPP variable set in the environment? Setting DJGPP env variable usually made the original bug go away, so this is something to try if it's not set.