www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/15/02:22:08

Message-ID: <38F80615.77AAB41D@home.com>
From: Robin Johnson <robbat2 AT home DOT com>
Organization: Orbit Computers
X-Mailer: Mozilla 4.7 [en] (Win98; U)
X-Accept-Language: en,af,es
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: DJGPP and Win2K
X-Priority: 1 (Highest)
References: <38E8D282 DOT 3099144C AT americasm01 DOT nt DOT com> <38F7F2CD DOT BD3034C1 AT unb DOT ca>
Lines: 40
Date: Sat, 15 Apr 2000 06:02:53 GMT
NNTP-Posting-Host: 24.113.36.103
X-Complaints-To: abuse AT home DOT net
X-Trace: news1.rdc1.bc.home.com 955778573 24.113.36.103 (Fri, 14 Apr 2000 23:02:53 PDT)
NNTP-Posting-Date: Fri, 14 Apr 2000 23:02:53 PDT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Just a thought on this, from something I ran into while trying to compile an 
old Turbo Pascal v7.0 program on Win2K, part of the code involved calling
command.com to do some stuff, and then spawning a child process for a few
other things, but I traced the crash to the moment that any child
process tried to do any file access, it died. So just an idea to look at 
the code of SetEdit or anything, and see where it calls spawn(), or
maybe just try something that you know will write a file.

Endlisnis wrote:

> 
> I tried some stuff in Win2k.  What I found was a little puzzling...
> 
> It only seems to crash after gcc has compiled something.
> I tried it with SetEdit as well.  I told SetEdit to run "gcc a.cc -o a.exe".
> It ran fine, but then crashed when I hit a key (any key).
> I told SetEdit to run "ls".  Proper output was printed, and that did not crash
> anything.
> I told SetEdit to run "gcc".  The 'no input files' message was printed and i
> did not crash.
> I tried running bash, and then ls and other stuff from there.  Nothing caused
> a crash.
> 
> Maybe it had to do with whether the sub-djgpp program opens files... I'll
> check that later...
> 
> --
>      (\/) Endlisnis (\/)
>           s257m AT unb DOT ca
>           Endlisnis AT HotMail DOT com
>           ICQ: 32959047

-- 
Robin Hugh Johnson
"Robbat2"
QTOD: "I used to be an idealist, but I got mugged by reality."
E-Mail     : robbat2 AT tesla DOT t-p-l DOT com
ICQ#       : 30269588 or 41961639
Home Page  : http://robbat2.t-p-l.com
Time Zone  : Pacific Daylight (GMT - 8)

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019