delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/05/14/11:00:04

From: "J. L." <jlsgarrido AT inbox DOT lv>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: no Dos memory (was: Too many open file)
Date: Wed, 14 May 2003 09:46:49 -0500
Lines: 94
Message-ID: <b9tkss$ncjph$1@ID-143309.news.dfncis.de>
References: <b9d99c$d41$1 AT saphir DOT jouy DOT inra DOT fr> <b9ftl1$ct7$1 AT saphir DOT jouy DOT inra DOT fr> <b9gid7$j7uee$1 AT ID-143309 DOT news DOT dfncis DOT de> <b9srvd$qr1$1 AT saphir DOT jouy DOT inra DOT fr>
NNTP-Posting-Host: 200.34.143.28
X-Trace: fu-berlin.de 1052923614 24530737 200.34.143.28 (16 [143309])
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4807.1700
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"Eric Wajnberg" <wajnberg AT antibes DOT inra DOT fr> escribió en el mensaje
news:b9srvd$qr1$1 AT saphir DOT jouy DOT inra DOT fr...
> J. L. (jlsgarrido AT inbox DOT lv) wrote:
> : "Eric Wajnberg" <wajnberg AT antibes DOT inra DOT fr> escribió en el
mensaje
> : news:b9ftl1$ct7$1 AT saphir DOT jouy DOT inra DOT fr...
> : > Hummm, that's me again.
> : >
> : > I find myself where the problem was. I used close() instead
of
> : fclose().
> : > Pfff...
> : >
> : > Unfortunately, this produces now another crash, after about
the
> : same time,
> : > and the message is now:
> : >
> : > Current value: load error: no Dos memory.
> : >
> : > Can someone help me on this now?
> : >
> : > Thanks for any help.
> : >
> : > Best, Eric.
>
> : Uff, with the lack of info, we can say anything useful. Can
you
> : produce minimal programs that reproduce this behavouir?
>
> Ok, here is a small code that generates the probleme.
>
> One code is:
>
> #include <stdio.h>
> #include <stdlib.h>
> #include <conio.h>
>
> int main(void)
>     {
>     return 0;
>     }
>
> It has to be compiled into a "b.exe" file.
>
> A second code is:
>
> #include <stdio.h>
> #include <stdlib.h>
> #include <conio.h>
>
> int main(void)
>     {
>     int i=0;
>     (void)system("cls");
>     while (1)
>           {
>           (void)system("b");
>           gotoxy (10,10);
>           (void)printf("%d",i);
>           i++;
>           }
>     return 0;
>     }
>
> As you can see, it lauchs b.exe an infinite number of times. If
I run this
> second code, I get a crash arround 2000-2500 on my system (under
Windows
> 98). If you want to see the error message, you should launch
this NOT in full
> screen mode.
>
> Any help is welcomed!
>


I can't reproduce the behaviour (on my system I need kill them).
What is the configuration of your system?, i.e. version of DJGPP
and GCC.

If you're using DJGPP 2.03, verify that the zip file be dated on
January 8, 2001, or after. If this is not the case, download the
last refresh.

Also, in another sub-thread, Eli Zaretskii suggest the alpha
version 2.04 of DJGPP. Did you try?

Regards
--
José L. Sánchez Garrido



- Raw text -


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