Mail Archives: djgpp/2000/04/18/14:43:54
Eli Zaretskii wrote:
> On Sat, 15 Apr 2000, Endlisnis wrote:
>
> > Maybe it had to do with whether the sub-djgpp program opens files...
>
> Every DJGPP program opens at least one file: DJGPP.ENV. So this
> probably isn't the reason for the crashes.
>
> GCC is special in that it itself runs DJGPP programs. Perhaps you
> need deeper nesting of DJGPP programs to cause NTVDM to crash. For
> example, what if you invoke Bash from Make and then invoke ls from
> that Bash?
It crashes when bash exits. It does not crash when 'ls' is run from
inside that bash, inside the make.
This is my best educated guess right now:
If we have 2 djgpp programs, called 'a' and 'b'. And we invoke 'a', and
then 'a' runs 'b', than 'a' terminates itself, the crash will occur after
'a' has terminated AND there is any sort of keyboard activity (press or
release of any key, including things like 'alt' and 'shift').
I'll run some tests to try to confirm this hypothesis of mine when I get
home and post the results here.
> Another possibility is that applications which *write* to files are
> those in trouble (if file access is at all the problem, which I
> doubt, frankly).
You're right, it isn't simply file-access. I tried writting a hello
world program except it outputs to a file instead of the screen, and
executed it from bash. That didn't crash.
--
(\/) Rolf Campbell (\/)
- Raw text -