X-Authentication-Warning: smtp3.ihug.com.au: Host p6-apx1.syd.ihug.com.au [203.173.140.6] claimed to be acceleron Message-ID: <001501c1143c$2eaff000$0a02a8c0@acceleron> From: "Andrew Cottrell" To: "Eli Zaretskii" Cc: References: Subject: Re: Make 3.791 on Windows 2000 test Date: Tue, 24 Jul 2001 22:28:43 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Reply-To: djgpp-workers AT delorie DOT com > On Mon, 23 Jul 2001, Andrew Cottrell wrote: > > > > > > make.exe[1]: Entering directory `d:/dj204/gnu/make-3.791' > > > > > Extended Error 183 > > > Any luck in finding out where did this message come from? This message comes from the following, which is spawned from line job.c approx line 1200 (+/- 30 lines due to debugging ) from the spawnvpe line 1) Reproducable Windows 2000 command line prompt: DJGPP_204 D:\dj204\gnu\make-3.791>command.com /c if not exist glob\nul md glob Extended Error 183 2) Debugged code output: job.c 1199 argv[0] = command.com argv[1] = /c argv[2] = if argv[3] = not argv[4] = exist argv[5] = glob\nul argv[6] = md argv[7] = glob Tests on Win2000 box: 1) If I run the following in the command prompt there is no error if not exist glob\nul md glob 2) If I run the following in the command prompt there the output informs me the echo is on command.com /C if not exist glob\nul echo 3) If there is no glob directory the following command runs okay the first time it is run, but the second time and until the glob directory is deleted the error occurs. command.com /C if not exist glob\nul md glob Conclusion for Extended Error 183: Windows 2000 command.com is not able to perform the test for a directory as per DOS and Winodows 9x via a check for directory\nul. > > > > I have download YAMD to see if this can find anything tomorrow night. > > > > > > YAMD will not help you on Windows, because it relies on support for > > > function 0507h of Int 31h, which is part of DPMI 1.0 and unsupported by > > > Windows (this is the same function our startup code uses to uncommit the > > > null page and catch NUL pointer dereferences). > > > > On the Win 98 box I re-started in DOS mode , not a DOS BOX and I got the > > same traceback for the leak info from YAMD in DOS as I did on NT. > > Do I understand correctly that, when you used Make built with YAMD in DOS > mode, you saw the same crash inside malloc as the crash you reported on > Windows 2000? If so, it's probably better to debug this in plain DOS > mode. My fault I as was not clear enough. I do not get the crash, but I did get the same YAMD memory messages. I modified make's main.c and added the following line, but the crash still occured and I couldn't see any extra debug info or extra info in the crash outout. int _crt0_startup_flags = (_CRT0_FLAG_UNIX_SBRK); Any other suggestions on where to look or what to do next?