delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/20/21:39:27

Message-ID: <37BDC76C.7F5EAE32@unb.ca>
Date: Fri, 20 Aug 1999 17:23:56 -0400
From: Endlisnis <s257m AT unb DOT ca>
X-Mailer: Mozilla 4.61 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: salvador AT inti DOT gov DOT ar
CC: djgpp AT delorie DOT com, Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
Subject: Re: RHIDE crashes without traceback. [solved!]
References: <Pine DOT SUN DOT 3 DOT 91 DOT 990815104524 DOT 1935B-100000 AT is> <37B77A79 DOT FA93DE01 AT unb DOT ca> <37B98062 DOT A17BA5C5 AT inti DOT gov DOT ar>
Reply-To: djgpp AT delorie DOT com

salvador wrote:

> >     OK, I've discovered that it doesn't actually "crash", it just get's hung for ~2
> > minutes when trying to do something with DJDIR.  Running it in gdb doesn't change
> > anything.  Using exe2coff/go32-v2 doesn't change anything.  If I wait 2 minutes, it loads
> > and runs normally.  During the 2 minute wait, it does not respond to ^C/^Break.
> > (Remember, it still loads normally under DOS)
>
> Check your TEMP, TMPDIR and TMP definitions! (including the definition found in djgpp.env)
> most probably one of them is pointing to an invalid drive (or non-existant directory). RHIDE
> and CVS will wait for a long time before giving up (is libc). I added a lot of checks in the
> editor code to avoid such a problem.
> RHIDE uses DJDIR as part of the TMP guess so it could be the reason.
> SET

    OK, I figured out what was causing the problem.  It was the HOME environmental variable.
For some reason, when RHIDE loads with the HOME environmental variable set to the root directory
of any drive, it waits 120 seconds before loading, but only if DJDIR is set.  I had my DJGPP
installed in a subst'ed drive, and my HOME was set to "P:\", but when i changed it to the real
location "E:\DJGPP\", rhide loads fine.
    Thanx for your assistance.


--
     (\/) Endlisnis (\/)
          s257m AT unb DOT ca
          Endlisnis AT HotMail DOT com
          ICQ: 32959047


- Raw text -


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