Sender: root AT delorie DOT com Message-ID: <37C15753.9D76EE81@inti.gov.ar> Date: Mon, 23 Aug 1999 11:14:44 -0300 From: salvador Organization: INTI X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.0.36 i686) X-Accept-Language: es-AR, en, es MIME-Version: 1.0 To: Endlisnis CC: djgpp AT delorie DOT com, Eli Zaretskii Subject: Re: RHIDE crashes without traceback. [solved!] References: <37B77A79 DOT FA93DE01 AT unb DOT ca> <37B98062 DOT A17BA5C5 AT inti DOT gov DOT ar> <37BDC76C DOT 7F5EAE32 AT unb DOT ca> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Endlisnis wrote: > 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. That's because RHIDE blindly adds a / and gets: "P:\/" so Windows thinks that's a network path. SET -- Salvador Eduardo Tropea (SET). (Electronics Engineer) Visit my home page: http://welcome.to/SetSoft or http://www.geocities.com/SiliconValley/Vista/6552/ Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org set AT ieee DOT org set-soft AT bigfoot DOT com Address: Curapaligue 2124, Caseros, 3 de Febrero Buenos Aires, (1678), ARGENTINA Phone: +(5411) 4759 0013