delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/21/03:30:50

Date: Thu, 21 Aug 1997 10:28:38 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Dim Zegebart <zager AT post DOT comstar DOT ru>
cc: DJGPP Mail List <djgpp AT delorie DOT com>
Subject: Re: Stable crash of my programm.
In-Reply-To: <33FBC624.3FA@post.comstar.ru>
Message-ID: <Pine.SUN.3.91.970821102340.26010L-100000@is>
MIME-Version: 1.0

On Thu, 21 Aug 1997, Dim Zegebart wrote:

>   if (access(p,D_OK)!=0) //directory not exists     !!!!!!!!!!! Note, if
> network connection is lost or server shutdowned this string
>                          //                         !!!!!!!!!!! coused a
> GPF             

It's a good idea to post the crash traceback also (hint, hint).

Are you sure the crash happened inside the `access' call?  If you are, 
can you please disassemble near the EIP value that was printed with the 
traceback and post what's there.  (E.g., in GDB, use the `disassemble' 
command.)  `access' issues quite a few file-oriented DOS calls, and it is 
important to know which one of them causes the crash, to come up with a 
work-around.

Which DPMI server are you using, btw?

- Raw text -


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